-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
feat(Updater/Admin): Clarify instructions for upgrade.disable-web
to avoid confusion/reduce help requests/help downstream Docker image maintainers
#41971
Conversation
/compile |
/compile amend / |
0a5f7c3
to
36762d0
Compare
upgrade.disable-web
to avoid confusion/reduce help requests/help downstream Docker image mainaintersupgrade.disable-web
to avoid confusion/reduce help requests/help downstream Docker image maintainters
upgrade.disable-web
to avoid confusion/reduce help requests/help downstream Docker image maintaintersupgrade.disable-web
to avoid confusion/reduce help requests/help downstream Docker image maintainers
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.
Yeah, I agree with the previous message likely leading to confusion - this new message is good!
/compile amend/ |
Signed-off-by: Josh Richards <josh.t.richards@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
36762d0
to
f909520
Compare
@@ -56,7 +56,7 @@ | |||
class="button" | |||
:class="{ hidden: !updaterEnabled }">{{ t('updatenotification', 'Download now') }}</a> | |||
<span v-if="updaterEnabled && !webUpdaterEnabled"> | |||
{{ t('updatenotification', 'Please use the command line updater to update.') }} | |||
{{ t('updatenotification', 'Web updater is disabled. Please use the command line updater or the appropriate update mechanism for your installation method (e.g. Docker pull) to update.') }} |
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.
For some reason, I would prefer "docker pull" over "Docker pull".
However, we have two approvals and a green CI so let's do it ;)
Thank you @joshtrichards 🙏 |
Summary
In Docker environments the web-updater is not used, but when the
upgrade.disable-web
parameter is used to attempt to deter people from using or clicking the updater button, the instructions are still unclear and - worse - misleading.When using this config option, the instructions merely say "use the command line Updater" but that isn't correct in many environments (think downstream Docker image maintainers):
Before: "Please use the command line updater to update. "
After: "Web updater is disabled. Please use the command line updater or the appropriate update mechanism for your installation method (e.g. Docker pull) to update."
P.S. The Download button remaining is also confusing, but that's existing behavior and may be applicable in some scenarios admittedly... so that can be left for a future follow-up.
TODO
Checklist