Skip to content
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

Not compatible with --user flag #42

Open
Ramblurr opened this issue Mar 22, 2021 · 1 comment · May be fixed by #61
Open

Not compatible with --user flag #42

Ramblurr opened this issue Mar 22, 2021 · 1 comment · May be fixed by #61

Comments

@Ramblurr
Copy link

These docker images assume the builtin UID/GID for www-data. But this breaks in situations where the uid/gid needs to be controlled and passed in via --user (for example when mounting NFS volumes that require a certain uid).

This is relatively easy to fix.. here is an example PR from a similar PHP+agache/nginx-fpm https://github.com/nextcloud/docker/pull/1278/files

@asbiin asbiin linked a pull request Jun 26, 2021 that will close this issue
@asbiin
Copy link
Member

asbiin commented Jun 26, 2021

Thank you @Ramblurr
Unfortunately, this solution is not working.
The user choosen with --user still need to have write access to /var/www/html/storage and /var/www/html/bootstrap/cache.

I've created a PR to test another solution, can you test it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants