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
Odd hint at the end of update progress #13993
Comments
@fdellwing thanks for the report, something seems wrong here indeed. You can see the code at: matomo/plugins/CoreUpdater/Commands/Update.php Lines 372 to 380 in b16a791
and at: Lines 188 to 193 in e4f5475
Maybe the problem is that the console core:update was executed as root, when it should ideally be executed as the web server user (eg. www-data). So maybe the proper solution to this issue is to update our documentation to run the |
Yes, you should run the updater as www-data User if possible, but if someone runs it as root, this message still is not allowed to be shown. Maybe change the message in the case it is run by root (and the files are not owned by root) to something like:
|
See https://forum.matomo.org/t/core-update-file-user-warning/37166 for more details about it. Ideally Matomo should suggest running the update as the php user, but it definitely should not suggest (as it currently does) changing the owner to root if the update was run as root. |
Shouldn't that be
chown -R 33:33 /var/www/piwik
?The text was updated successfully, but these errors were encountered: