In order for your logs to be processed by Piwik, you may need to run the following command:


#1

Cron tells me the following message every day, since the May 1, 2015:

In order for your logs to be processed by Piwik, you may need to run the following command:
./console core:archive --force-all-websites --force-all-periods=315576000 --force-date-last-n=1000 --url=‘https://www.example.com/piwik

I ran the following from command line:


$ php ../piwik/console core:archive --force-all-websites --force-all-periods=315576000 --force-date-last-n=1000 --url='https://www.example.com/piwik'

Unfortunately, my tiny 512 MB server is not capable of processing this and MySQL crashes, requiring a reboot of the server. Is there any other way I can make this message go away? Perhaps run the script from a remote server, run it for fewer records, or something else?


#2

I was able to run this command by temporarily increasing my server to 2 GB RAM, but I still get the message in my cron reports.