Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cron-matomo-archive.log #15802

Closed
Retrafic opened this issue Apr 9, 2020 · 2 comments
Closed

cron-matomo-archive.log #15802

Retrafic opened this issue Apr 9, 2020 · 2 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@Retrafic
Copy link

Retrafic commented Apr 9, 2020

Help. I use Owlhost hosting, I work with VPS through ISP 5 Lite. Where there is a scheduler for cron tasks. I'm trying to set up archiving, but nothing works. Here is a mistake:

root# php /var/www/www-root/data/www/matomo.re-trafic.ru/console core:archive --no-ansi >> /path/to/logs/cron-matomo-archive.log
/bin/sh: /path/to/logs/cron-matomo-archive.log: No such file or directory

@Retrafic
Copy link
Author

Retrafic commented Apr 9, 2020

Archiving has not yet run successfully.

Please check that you have setup a crontab calling the core:archive console command, and that you have configured a MAILTO to receive errors by email if archiving fails. You can also try to run the console command to archive your reports manually: /var/www/www-root/data/www/matomo.re-trafic.ru --matomo-domain=matomo.re-trafic.ru core:archive

@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Apr 13, 2020
@tsteur
Copy link
Member

tsteur commented Apr 13, 2020

@Retrafic we don't answer questions in here unfortunately. Do you mind asking how to set it up in our forum https://forum.matomo.org/ ?

Generally, it sounds like /path/to/logs/cron-matomo-archive.log doesn't exist. Maybe create the file manually like touch /path/to/logs/cron-matomo-archive.log and make sure the crontab user can write to it?

@tsteur tsteur closed this as completed Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants