Skip to content

Permissions error on /var/www/html/tmp after pulling 3.8.1 #141

@jakejarvis

Description

@jakejarvis

After pulling 3.8.1 (upgrading from 3.7) I was greeted with this error about temp directories not able to be created. From what I can figure out from the entrypoint file the owner of /var/www/html is correctly being set to www-data so I'm not sure what's causing these new errors.

screen shot 2019-01-29 at 9 20 48 am

I was able to fix it bandaid-style by exec'ing the following after starting the container:

docker exec matomo_app /bin/bash -c "chmod a+w -R /var/www/html"

...but not sure of the security implications of giving global write access to the entire web interface (I assume minimal considering it's a container but you never know).

I tried only giving access to the ./tmp/cache directory but then I was met with a whole bunch of new errors about other folders and files not being writable:

screen shot 2019-01-29 at 9 33 35 am

Am I doing something wrong? Any ideas? Let me know if I should post my config.

Thanks guys!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions