-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Special config files like reverse-proxy.config.php
are not updated in existing installations when upgrading
#1533
Comments
reverse-proxy.config.php
are not updated in existing installations when upgrading to a new image
reverse-proxy.config.php
are not updated in existing installations when upgrading to a new imagereverse-proxy.config.php
are not updated in existing installations when upgrading
Underlying cause and some proposed solutions posted by @flortsch in #1837. I particularly like this one:
Either of you feel up to coming up with a preliminary implementation and submitting it as a PR? |
We could also, alternatively, not still not touch things but add a warning message (in the entrypoint when we detect mismatched config files). This would have the following pros versus cons: Pros:
Cons:
One thought is we:
Just having the warning would probably trigger a lot of "Oh that's why my Docker instance is never behaving like the docs say / doesn't seem to have current bug fixes / auto config doesn't really work but seems to work for other people" reactions from admins. It's basically the closest we get to have the integrity check, but for the image itself (well, at least for the auto config parts). 😄 It would be a pretty big win on the user experience and support/issue optimization side of things (I think). |
@joshtrichards I provided a PR in #2120 that implements your suggested check in the Docker entrypoint. It prints a warning for every special config file that is missing in the user config folder or differs from the original Docker image file. Please provide feedback. Hopefully, we can document and explain this behavior in a better way and provide a future auto-fix that always copies those files on every update. |
Config files included into docker image are not replacing config files inside volume.
This leads to bug fixes not being applied like here: #1411 (comment)
The text was updated successfully, but these errors were encountered: