Hello,
today I upgraded out matomo instance from 4.16 to current 5.3. Now I noticed that the archive Job seems to be broken.
INFO [2025-03-17 16:15:06] 2457642 ''
ERROR [2025-03-17 16:15:06] 2457642 Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=5&period=month&date=2025-03-01&format=json&plugin=Actions&trigger=archivephp&pluginOnly=1&requestedReport=Actions_hits: ''
ERROR [2025-03-17 16:15:06] 2457642 Got invalid response from API request: ?module=API&method=CoreAdminHome.archiveReports&idSite=5&period=year&date=2025-01-01&format=json&plugin=Actions&trigger=archivephp&pluginOnly=1&requestedReport=Actions_hits. The response was empty. This usually means a server error. A solution to this error is generally to increase the value of 'memory_limit' in your php.ini file. For more information and the error message please check in your PHP CLI error log file. As this core:archive command triggers PHP processes over the CLI, you can find where PHP CLI logs are stored by running this command: php -i | grep error_log
Also on executing it I get Segfault?
# sudo -u apache /usr/bin/php /var/www/piwik/console core:archive --url=https://dom.tld/ > /var/log/piwik.cron.log
Segmentation fault
CT-453 /# php -v
PHP 8.3.17 (cli) (built: Feb 11 2025 22:03:03) (NTS gcc x86_64)
PHP Error logs are empty, memory_limit already upped from 1GB which was working in 4 to 8GB - but still not working.
I hope someone here got an idea on that?
Thank you
Andreas
3 posts - 1 participant