Error Message Help


#1

I get these two error messages several dozen times per day. I know nothing about php scripts, but I assume I need to patch a script(s) somewhere in my Piwik installation. Can anyone please point me in the correct direction.

Message 1.
Subject: Cron <@orth>/usr/local/bin/php -f /home//public_html/piwik/console core:archive --url=/piwik/ > /home/example/piwik-archive-output.log

/usr/local/cpanel/bin/jailshell: /home/example/piwik-archive-output.log: No such file or directory

Message2.
Subject: Cron <@orth> php /home//public_html/piwik/misc/cron/archive.php – url=http:///piwik/

X-Powered-By: PHP/5.3.27
Content-type: text/html

Using this ‘archive.php’ script is no longer recommended.
Please use ‘/path/to/php /home//public_html/piwik/console core:archive --url=http:///piwik/’ instead.
To get help use '/path/to/php /home//public_html/piwik/console core:archive --help’
See also: How to Set up Auto-Archiving of Your Reports - Analytics Platform - Matomo

If you cannot use the console because it requires CLI
try ‘php archive.php --url=http://your.piwik/path’