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

Error 500 - Cannot save configuration when using docker #30

Closed
maudrid opened this issue Nov 26, 2020 · 2 comments
Closed

Error 500 - Cannot save configuration when using docker #30

maudrid opened this issue Nov 26, 2020 · 2 comments
Labels
question Further information is requested

Comments

@maudrid
Copy link

maudrid commented Nov 26, 2020

Question
I've deployed the docker container to my local host.
I checked that the config volume mapping is in place and working as recommended in the documentation.
When I access the web interface and place either text or yaml settings and try to save, the POST request to the server returns with internal server 500.
From the docker log, I can only see the request being logged with 500 response code, no other error messages.
I have also tried running the docker container without the volume mapping, but have the same result.

@maudrid maudrid added the question Further information is requested label Nov 26, 2020
@caronc
Copy link
Owner

caronc commented Nov 27, 2020

Sorry for the late reply, I've seen this issue come up a few times. It's to do with the permissions to your mounted /config directory from within your container. They aren't write permissions by your web user your docker container is running as to the external mount you set up.

@maudrid
Copy link
Author

maudrid commented Nov 30, 2020

Thanks I got is working now.
It turns out that on the Docker Host, the user that was trying to access the config volume was www-data.
Giving that user access, fixed the problem.

@maudrid maudrid closed this as completed Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants