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

feat(Updater/Admin): Clarify instructions for upgrade.disable-web to avoid confusion/reduce help requests/help downstream Docker image maintainers #41971

Merged
merged 1 commit into from
Dec 2, 2023

Conversation

joshtrichards
Copy link
Member

@joshtrichards joshtrichards commented Dec 1, 2023

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):

image

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

  • Get reviewed

Checklist

@joshtrichards
Copy link
Member Author

/compile

@joshtrichards
Copy link
Member Author

/compile amend /

@nextcloud-command nextcloud-command force-pushed the enh/upgrade-disable-web-instructions branch from 0a5f7c3 to 36762d0 Compare December 1, 2023 14:48
@joshtrichards joshtrichards added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Dec 1, 2023
@joshtrichards joshtrichards changed the title feat(Updater/Admin): Clarify instructions for upgrade.disable-web to avoid confusion/reduce help requests/help downstream Docker image mainainters feat(Updater/Admin): Clarify instructions for upgrade.disable-web to avoid confusion/reduce help requests/help downstream Docker image maintainters Dec 1, 2023
@susnux susnux requested review from a team, nfebe, sorbaugh and emoral435 and removed request for a team December 1, 2023 16:59
@susnux susnux added this to the Nextcloud 29 milestone Dec 1, 2023
@joshtrichards joshtrichards changed the title feat(Updater/Admin): Clarify instructions for upgrade.disable-web to avoid confusion/reduce help requests/help downstream Docker image maintainters feat(Updater/Admin): Clarify instructions for upgrade.disable-web to avoid confusion/reduce help requests/help downstream Docker image maintainers Dec 1, 2023
@joshtrichards joshtrichards requested a review from szaimen December 1, 2023 17:04
Copy link
Contributor

@emoral435 emoral435 left a 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!

@susnux
Copy link
Contributor

susnux commented Dec 1, 2023

/compile amend/

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@susnux susnux force-pushed the enh/upgrade-disable-web-instructions branch from 36762d0 to f909520 Compare December 2, 2023 02:19
@@ -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.') }}
Copy link
Contributor

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 ;)

@kesselb kesselb merged commit 8fec42f into master Dec 2, 2023
42 checks passed
@kesselb kesselb deleted the enh/upgrade-disable-web-instructions branch December 2, 2023 16:04
@kesselb
Copy link
Contributor

kesselb commented Dec 2, 2023

Thank you @joshtrichards 🙏

@blizzz blizzz mentioned this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants