matomo-org / matomo-org/docker
Ownership of /var/www/hmtl/tmp erroneously changes to root on container deployment
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 1k
- Forks
- 384
- PR merge metrics
- No merged PRs in 30d
Description
Sometimes, when a matomo:4.2.1 container is (re-)deployed, the ownership of /var/www/hmtl/tmp changes from www-data:www-data to root:root, which causes matomo to fail.
We do mount /var/www/html/config as a volume, not /var/www/html as a whole.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing a matomo:4.2.1 container deployment with /var/www/html/config mounted, then inspect how ownership of /var/www/html/tmp changes. Compare the mounted-config setup with mounting /var/www/html as a whole; done means /var/www/html/tmp remains owned by www-data:www-data and Matomo starts successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100