matomo-org/docker

Set www-data as default group for files for Apache variant

davidlemaitre opened this issue · 0 comments

For a fresh install, using apache image variant of Matomo 3.14.0, files are owned by www-data:1000 (corresponding to my host user id).

When I use console to update core with this command docker-compose exec -u www-data app php /var/www/html/console core:update or docker-compose exec -u www-data:1000 app php /var/www/html/console core:update, the console complains about file ownership :

It appears you have executed this update with user www-data:www-data, while your Matomo files are owned by www-data:.

www-data should be set as default group for Matomo files or maybe the console command should check only the user ?