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

www-data not being added to group set by -e PGID=<host_gid> #2

Open
ubergeek77 opened this issue Aug 31, 2018 · 0 comments
Open

www-data not being added to group set by -e PGID=<host_gid> #2

ubergeek77 opened this issue Aug 31, 2018 · 0 comments

Comments

@ubergeek77
Copy link

ubergeek77 commented Aug 31, 2018

After installing this container and setting ownCloud up, the first login gave me an error message, saying "Could not write to "config" directory." The webserver runs as www-data, but it looks like either the config directory wasn't set to the GID set by -e PGID, or www-data wasn't added to that group ID. Logging in and manually adding www-data to the group fixed the issue. I should mention that I have /data and /config mounted as folders on the host, so due to permission conflicts, I needed to specify the UID and GID when the container was created.

Otherwise, this container has been great. Thank you for making an all-in-one container without the need for any external databases, and one that supports manually setting PUID and PGID - I had a lot of trouble with the official containers without being able to set those.

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

No branches or pull requests

1 participant