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
The directory "/var/www/matomo/tmp/cache/tracker/" is not writable after Cron #16864
Comments
Are you using different users for webserver and triggering the archiving cron? Note: It should always be safe to clear the tmp directory of Matomo. All files should be recreated automatically when needed. |
I have tried triggering cron with user nginx, but it showed me "permission denied" during running test command. I found that one user suggested removing user name from cron command so I followed his instructons :/ Furthermore, after once again removing ALL tmp directory and creating it manually as an empty dir and restarting nginx, error changed to "The directory "/var/www/matomo/tmp/cache/tracker/" does not exist and could not be created." |
Keep in mind that Matomo is not running with the nginx user, but the user your php-fpm setup runs with (e.g. |
Same error after updating to version version 4.0.4 |
@pedrosanchezpernia did you update the files manually for the matomo 4 upgrade? AS mentioned in previous comment you might need to run some |
@tsteur yup, on console first |
Ok, fixed with |
Closing this one. Setting correct permissions should fix this issue 👍 @pedrosanchezpernia you could always set only specific files to |
FWIW... I've met the same problem and it is rather a packaging issue. |
Hi! After enabling crone archiving and installing maxmind extension I have restarted my server and after that I can see only Error page in my matomo.
There is a possibility that matomo-archive has not been properly configured (no user such as nginx, i have left that entry blank) and that caused my issue.
After stopping, reloading, restarting crond, restarting and reloading nginx the error page is still present.
Is there any possibility how to get rid of it without completely reinstalling matomo?
PS all permissions are properly set, before cron all worked fine
The text was updated successfully, but these errors were encountered: