kheresy
Forum Replies Created
-
Thank you for your detailed assistance. Everything seems to be working fine now
The button next to Refresh Summary Totals is Refresh Totals, and when Refresh Summary Totals is stuck in the background tasks, that button becomes grayed out and cannot be used.
I tried manually adding the wp_statistics_summary_totals_data_migration_cron hook through Cron Events and executed it. After that, the background task for Refresh Summary Totals disappeared.It looks like there are no stuck background tasks now. Thank you for your assistance.
Thank you for your reply.
I found that my configuration did prevent Docker from accessing /wp-admin/admin-ajax.php.After fixing it, most of the background tasks were completed and disappeared once I manually triggered them.
However, “Refresh Summary Totals: 0% complete (0/365)” is still not moving at all.
Maybe I should leave it for a while and see if it progresses?Thank you for your response. Here’s what I’ve confirmed on my side:
- I did not find any
DISABLE_WP_CRONinwp-config.php. - Under Tools → Site Health, it shows “Your site can perform loopback requests”.
- In the Cron Events list, everything appears to be running normally and there are no overdue tasks. However, the actions for
wp_statistics_dbmaint_hookandwp_statistics_referrals_db_hookare shown as “none”.
All cron events with
wp_statisticsprefix(and its action):wp_statistics_update_visitors_source_channel_cron:WP_Statistics\Service\Database\Migrations\BackgroundProcess\Jobs\SourceChannelUpdater->handle_cron_healthcheck()
wp_statistics_update_unknown_visitor_geoip_cron:WP_Statistics\Service\Database\Migrations\BackgroundProcess\Jobs\IncompleteGeoIpUpdater->handle_cron_healthcheck()
wp_statistics_dbmaint_hook:- None
wp_statistics_daily_cron_hook:WP_Statistics\Service\CronEventManager->handleDailyTasks()
wp_statistics_record_daily_summary:WP_Statistics\Service\Summary\SummaryEvents->recordSummaryTotalsData()
wp_statistics_referrals_db_hook:- None
wp_statistics_check_licenses_status:WP_STATISTICS\Schedule->check_licenses_status()
wp_statistics_geoip_hook:WP_STATISTICS\Schedule->geoip_event()
My environment is a self‑hosted Ubuntu 24.04 VM, running
wordpress:fpm-alpinevia Docker, and the database is MySQLBy the way, after I click Run Migration under Statistics → Optimization → Plugin Maintenance → Data Migrations, a new background task appeared: “Migrate Visitor Data Columns: 0% complete (0/133607).”
However, it doesn’t seem to be doing anything.- This reply was modified 1 month, 2 weeks ago by kheresy.
It shows “Database schema is healthy”.
Thanks for your great work.
It looks work fine again in these days.
Thanks for your help.
Thank you for your reply.
After I restarted the WordPress Docker, WP Statistics suddenly prompted a Database Migration (which hadn’t appeared in the past few days).
After completing the Database Migration, the database error disappeared.Additionally, I noticed that it now seems necessary to allow external access to the
/wp-admin/admin-ajax.phpURL to correctly record visitors.
Is this normal? - I did not find any