during upgrade, show info on how to manually continue (via cli)
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 51
- Forks
- 40
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 3
Description
I'm running a NextCloud instance with 50-100 users.
I guess that's "medium" sized; in any case it's big enough that NextCloud refuses to finish upgrades via the webinterface and asks me instead to finish any upgrade process on the terminal.
This is typically easy enough by running:
occ upgrade
occ maintenance:mode --off
And then manually re-load the page.
What I find annoying is, that I have to think about this every single time I do an upgrade.
When my upgrade process (initiated via the web-updater) reaches the penultimate step, it shows a button:
Continue with web based updater
Disable maintenance mode and continue in the web based updater.
Now I know (from previous experience), that clicking this button will make the updater complain that I should use the CLI to continue the update process.
But I don't fully remember which commands I need to type (in the two-monthly between upgrades of my NC instance, I do completely different things...).
Once I remembered which commands to type (see above) and executed them, I'm facing another dilemma: what to do next?
The answer is easy: reload the updater page. But there is no indication that this is indeed the thing to do.
For all I can see, reloading the updater page might as well give me a half-upgraded system, as i failed to complete all upgrade steps (this is obviously not the case; but i fear that it might be so, and this is what bothers me).
I would therefore suggest to change the wording of the above notice to something like this:
Continue with web based updater
Disable maintenance mode and continue in the web based updater.
Alternatively you can finialize the update process by running the following commands on your CLI:
occ upgrade occ maintenance:mode --offOnce successfully completed, please reload this page.
As for the "reload this page", another option would be to just auto-reload the page once the upgrade is completed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the penultimate upgrade step in the web updater, especially the “Continue with web based updater” notice. Update it to explain the CLI commands, tell users to reload the page after completion, and consider whether automatic reload is appropriate; verify the resulting upgrade guidance in that flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, shell
- Domain
- cli, release
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100