matomo cron


CRONTAB: 5 * * * * www-data /usr/bin/php /var/www/tracker.ferociousbutterfly.com/console core:archive --url=https://tracker.ferociousbutterfly.com > /home/spiffy-root/matomologs/matomo-archive.log 2>&1


spiffy-root@ferociousbutterfly:~$ su www-data -s /bin/bash -c "/usr/bin/php /var/www/tracker.ferociousbutterfly.com/console core:archive --url=https://tracker.ferociousbutterfly.com"
Password:
su: Authentication failure
spiffy-root@ferociousbutterfly:~$ sudo su
root@ferociousbutterfly:/home/spiffy-root# su www-data -s /bin/bash -c "/usr/bin/php /var/www/tracker.ferociousbutterfly.com/console core:archive --url=https://tracker.ferociousbutterfly.com" INFO [2024-09-26 10:13:55] 17966 --------------------------- INFO [2024-09-26 10:13:55] 17966 INIT INFO [2024-09-26 10:13:55] 17966 Running Matomo 5.1.2 as Super User INFO [2024-09-26 10:13:55] 17966 --------------------------- INFO [2024-09-26 10:13:55] 17966 NOTES INFO [2024-09-26 10:13:55] 17966 - Async process archiving supported, using CliMulti. INFO [2024-09-26 10:13:55] 17966 - Reports for today will be processed at most every 900 seconds. You can change this value in Matomo UI > Settings > General Settings. INFO [2024-09-26 10:13:55] 17966 - Archiving was last executed without error 59 days 2 hours ago. INFO [2024-09-26 10:13:55] 17966 --------------------------- INFO [2024-09-26 10:13:55] 17966 START INFO [2024-09-26 10:13:55] 17966 Starting Matomo reports archiving... INFO [2024-09-26 10:13:55] 17966 1 out of 3 archivers running currently INFO [2024-09-26 10:13:55] 17966 Start processing archives for site 1. INFO [2024-09-26 10:13:55] 17966 Finished archiving for site 1, 0 API requests, Time elapsed: 0.016s [1 / 3 done] INFO [2024-09-26 10:13:55] 17966 Start processing archives for site 2. INFO [2024-09-26 10:13:55] 17966 Will invalidate archived reports for today in site ID = 2's timezone (2024-09-26 00:00:00). INFO [2024-09-26 10:13:55] 17966 Will invalidate archived reports for yesterday in site ID = 2's timezone (2024-09-25 00:00:00). INFO [2024-09-26 10:13:56] 17966 Archived website id 2, period = day, date = 2024-09-26, segment = '', 1 visits found. Time elapsed: 0.535s INFO [2024-09-26 10:13:56] 17966 Archived website id 2, period = day, date = 2024-09-25, segment = '', 8 visits found. Time elapsed: 0.536s INFO [2024-09-26 10:13:56] 17966 Archived website id 2, period = week, date = 2024-09-23, segment = '', 20 visits found. Time elapsed: 0.512s INFO [2024-09-26 10:13:59] 17966 Archived website id 2, period = month, date = 2024-09-01, segment = '', 115 visits found. Time elapsed: 2.166s INFO [2024-09-26 10:14:02] 17966 Archived website id 2, period = year, date = 2024-01-01, segment = '', 212 visits found. Time elapsed: 3.153s INFO [2024-09-26 10:14:02] 17966 Finished archiving for site 2, 5 API requests, Time elapsed: 6.764s [2 / 3 done] INFO [2024-09-26 10:14:02] 17966 Start processing archives for site 3. INFO [2024-09-26 10:14:02] 17966 Will invalidate archived reports for yesterday in site ID = 3's timezone (2024-09-25 00:00:00). INFO [2024-09-26 10:14:02] 17966 Archived website id 3, period = day, date = 2024-09-25, segment = '', 4 visits found. Time elapsed: 0.342s INFO [2024-09-26 10:14:03] 17966 Archived website id 3, period = week, date = 2024-09-23, segment = '', 8 visits found. Time elapsed: 0.486s INFO [2024-09-26 10:14:04] 17966 Archived website id 3, period = month, date = 2024-09-01, segment = '', 28 visits found. Time elapsed: 1.241s INFO [2024-09-26 10:14:06] 17966 Archived website id 3, period = year, date = 2024-01-01, segment = '', 84 visits found. Time elapsed: 2.296s INFO [2024-09-26 10:14:06] 17966 Finished archiving for site 3, 4 API requests, Time elapsed: 4.436s [3 / 3 done] INFO [2024-09-26 10:14:06] 17966 Done archiving! INFO [2024-09-26 10:14:06] 17966 --------------------------- INFO [2024-09-26 10:14:06] 17966 SUMMARY INFO [2024-09-26 10:14:06] 17966 Processed 9 archives. INFO [2024-09-26 10:14:06] 17966 Total API requests: 9 INFO [2024-09-26 10:14:06] 17966 done: 9 req, 11257 ms, no error INFO [2024-09-26 10:14:06] 17966 Time elapsed: 11.257s INFO [2024-09-26 10:14:06] 17966 --------------------------- INFO [2024-09-26 10:14:06] 17966 SCHEDULED TASKS INFO [2024-09-26 10:14:06] 17966 Starting Scheduled tasks... INFO [2024-09-26 10:14:06] 17966 Scheduler: executing task Piwik\Plugins\CoreAdminHome\Tasks.invalidateOutdatedArchives... INFO [2024-09-26 10:14:06] 17966 Browser triggered archiving disabled, archives will be invalidated during core:archive. INFO [2024-09-26 10:14:06] 17966 Scheduler: finished. Time elapsed: 0.000s INFO [2024-09-26 10:14:06] 17966 Scheduler: executing task Piwik\Plugins\CoreAdminHome\Tasks.deleteOldFingerprintSalts... INFO [2024-09-26 10:14:06] 17966 Scheduler: finished. Time elapsed: 0.088s INFO [2024-09-26 10:14:06] 17966 Scheduler: executing task Piwik\Plugins\CoreAdminHome\Tasks.purgeOutdatedArchives... INFO [2024-09-26 10:14:06] 17966 Purging archives in 13 archive tables. INFO [2024-09-26 10:14:06] 17966 Scheduler: finished. Time elapsed: 0.051s INFO [2024-09-26 10:14:06] 17966 Scheduler: executing task Piwik\Plugins\CoreAdminHome\Tasks.purgeOrphanedArchives... INFO [2024-09-26 10:14:06] 17966 Scheduler: finished. Time elapsed: 0.003s INFO [2024-09-26 10:14:06] 17966 Scheduler: executing task Piwik\Plugins\CoreAdminHome\Tasks.updateSpammerList... INFO [2024-09-26 10:14:07] 17966 Scheduler: finished. Time elapsed: 0.165s INFO [2024-09-26 10:14:07] 17966 Scheduler: executing task Piwik\Plugins\Referrers\Tasks.updateSearchEngines... INFO [2024-09-26 10:14:07] 17966 Scheduler: finished. Time elapsed: 0.175s INFO [2024-09-26 10:14:07] 17966 Scheduler: executing task Piwik\Plugins\Referrers\Tasks.updateSocials... INFO [2024-09-26 10:14:07] 17966 Scheduler: finished. Time elapsed: 0.164s INFO [2024-09-26 10:14:07] 17966 Scheduler: executing task Piwik\Plugins\Login\Tasks.cleanupBruteForceLogs... INFO [2024-09-26 10:14:07] 17966 Scheduler: finished. Time elapsed: 0.001s INFO [2024-09-26 10:14:07] 17966 Scheduler: executing task Piwik\Plugins\TwoFactorAuth\Tasks.cleanupTwoFaCodesUsedRecently... INFO [2024-09-26 10:14:07] 17966 Scheduler: finished. Time elapsed: 0.000s INFO [2024-09-26 10:14:07] 17966 Scheduler: executing task Piwik\Plugins\UsersManager\Tasks.cleanupExpiredTokens... INFO [2024-09-26 10:14:07] 17966 Scheduler: finished. Time elapsed: 0.000s INFO [2024-09-26 10:14:07] 17966 Scheduler: executing task Piwik\Plugins\UsersManager\Tasks.setUserDefaultReportPreference... INFO [2024-09-26 10:14:07] 17966 Scheduler: finished. Time elapsed: 0.001s INFO [2024-09-26 10:14:07] 17966 Scheduler: executing task Piwik\Plugins\UsersManager\Tasks.cleanUpExpiredInvites... INFO [2024-09-26 10:14:07] 17966 Scheduler: finished. Time elapsed: 0.000s INFO [2024-09-26 10:14:07] 17966 Scheduler: executing task Piwik\Plugins\CustomJsTracker\Tasks.updateTracker... INFO [2024-09-26 10:14:07] 17966 Scheduler: finished. Time elapsed: 0.013s INFO [2024-09-26 10:14:07] 17966 Scheduler: executing task Piwik\Plugins\CoreAdminHome\Tasks.purgeInvalidatedArchives... INFO [2024-09-26 10:14:07] 17966 Found 8 invalidated archives safe to delete in matomo_archive_numeric_2024_09. INFO [2024-09-26 10:14:07] 17966 Scheduler: finished. Time elapsed: 0.006s INFO [2024-09-26 10:14:07] 17966 Scheduler: executing task Piwik\Plugins\CoreAdminHome\Tasks.purgeInvalidationsForDeletedSites... INFO [2024-09-26 10:14:07] 17966 Scheduler: finished. Time elapsed: 0.000s INFO [2024-09-26 10:14:07] 17966 Scheduler: executing task Piwik\Plugins\PrivacyManager\Tasks.deleteReportData... INFO [2024-09-26 10:14:07] 17966 Scheduler: finished. Time elapsed: 0.000s INFO [2024-09-26 10:14:07] 17966 Scheduler: executing task Piwik\Plugins\PrivacyManager\Tasks.deleteLogData... INFO [2024-09-26 10:14:07] 17966 Scheduler: finished. Time elapsed: 0.000s INFO [2024-09-26 10:14:07] 17966 Scheduler: executing task Piwik\Plugins\PrivacyManager\Tasks.anonymizePastData... INFO [2024-09-26 10:14:07] 17966 Scheduler: finished. Time elapsed: 0.002s INFO [2024-09-26 10:14:07] 17966 Scheduler: executing task Piwik\Plugins\PrivacyManager\Tasks.deleteLogDataForDeletedSites... INFO [2024-09-26 10:14:07] 17966 Scheduler: finished. Time elapsed: 0.001s INFO [2024-09-26 10:14:07] 17966 Scheduler: executing task Piwik\Plugins\CoreAdminHome\Tasks.optimizeArchiveTable... INFO [2024-09-26 10:14:07] 17966 Scheduler: finished. Time elapsed: 0.012s INFO [2024-09-26 10:14:07] 17966 Scheduler: executing task Piwik\Plugins\CoreAdminHome\Tasks.cleanupTrackingFailures... INFO [2024-09-26 10:14:07] 17966 Scheduler: finished. Time elapsed: 0.002s INFO [2024-09-26 10:14:07] 17966 Scheduler: executing task Piwik\Plugins\CoreAdminHome\Tasks.notifyTrackingFailures... INFO [2024-09-26 10:14:07] 17966 Scheduler: finished. Time elapsed: 0.001s INFO [2024-09-26 10:14:07] 17966 Scheduler: executing task Piwik\Plugins\GeoIp2\GeoIP2AutoUpdater.update... INFO [2024-09-26 10:14:07] 17966 Downloading https://download.db-ip.com/free/dbip-city-lite-2024-09.mmdb.gz to /var/www/tracker.ferociousbutterfly.com/tmp/latest/DBIP-City.mmdb.gz.download. INFO [2024-09-26 10:14:11] 17966 GeoIP2AutoUpdater: successfully downloaded 'https://download.db-ip.com/free/dbip-city-lite-2024-09.mmdb.gz' INFO [2024-09-26 10:14:12] 17966 GeoIP2AutoUpdater: successfully updated GeoIP 2 database 'https://download.db-ip.com/free/dbip-city-lite-2024-09.mmdb.gz' INFO [2024-09-26 10:14:12] 17966 Scheduler: finished. Time elapsed: 5.432s INFO [2024-09-26 10:14:12] 17966 Scheduler: executing task Piwik\Plugins\CoreUpdater\Tasks.sendNotificationIfUpdateAvailable... INFO [2024-09-26 10:14:12] 17966 Scheduler: finished. Time elapsed: 0.001s INFO [2024-09-26 10:14:12] 17966 Scheduler: executing task Piwik\Plugins\Marketplace\Tasks.clearAllCacheEntries... INFO [2024-09-26 10:14:12] 17966 Scheduler: finished. Time elapsed: 0.002s INFO [2024-09-26 10:14:12] 17966 Scheduler: executing task Piwik\Plugins\Marketplace\Tasks.sendNotificationIfUpdatesAvailable... INFO [2024-09-26 10:14:13] 17966 Scheduler: finished. Time elapsed: 0.812s INFO [2024-09-26 10:14:13] 17966 done INFO [2024-09-26 10:14:13] 17966 --------------------------- root@ferociousbutterfly:/home/spiffy-root# su - spiffy-root spiffy-root@ferociousbutterfly:~$
Scroll to Top