-
Notifications
You must be signed in to change notification settings - Fork 4.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
[bitnami/mediawiki] Add env var to control skipping config validation during startup #65729
Conversation
Signed-off-by: Iain MacDonald <IJMacD@gmail.com>
cab315e
to
92bc041
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for contributing. I suggested some minor changes.
Thank you for taking time to look at this PR, but I'm unable to see any of the minor changes you referred to. Are they in this PR on Github? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry @iain-ilearner .
It seems the suggestions were not submitted.
bitnami/mediawiki/1/debian-12/rootfs/opt/bitnami/scripts/libmediawiki.sh
Outdated
Show resolved
Hide resolved
…diawiki.sh Thanks for the suggestions Co-authored-by: David Gomez <davidbhlm@gmail.com> Signed-off-by: Iain MacDonald <151295347+iain-ilearner@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for applying the changes. I also detected that update.php
is called in line 127 (first intallation), where this validation could be added too.
Could you please take a look?
The reason I didn't add it on line 127 initially was because line 95 checks if we're in an empty dir before doing the install/upgrade. containers/bitnami/mediawiki/1/debian-12/rootfs/opt/bitnami/scripts/libmediawiki.sh Line 95 in 79ff6eb
I'm not sure how you could get a |
Signed-off-by: Iain MacDonald <IJMacD@gmail.com>
5031f36
to
cca5ace
Compare
As suggested/requested in #65721 (comment) here's a PR introducing a new environment variable that controls whether or not validation is performed of configuration file during database upgrade at container start-up.
This allows the use deprecated values (such as
$wgAllowImageTag
) in LocalSettings.phpThis PR also adds a log message after connecting to the database to better indicate which part of the start-up process is running.