Skip to content

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

@ubergeek77

Description

@ubergeek77

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions