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

Inconsistency between occ update:check and updater #254

Closed
simonspa opened this issue Nov 27, 2019 · 2 comments
Closed

Inconsistency between occ update:check and updater #254

simonspa opened this issue Nov 27, 2019 · 2 comments
Labels
feature: check for update "Step 0" feature: upgrade Note: In `server` but called by updater. Also see `feature: installs and updates` in server technical debt

Comments

@simonspa
Copy link

I am expecting the command line tools to work somehow in the same way, but they don't. While occ upgrade:check reports the latest patch version, the updater just jumps immediately to the latest.

Also, there is no way to control this

$ sudo -u www-data php occ upgrade:check
Nextcloud 16.0.6 is available. Get more information /* ... */
Update for files_rightclick to version 0.15.1 is available.
2 updates available

Cool, so we can simply update and end up at the right place (i.e. not jumping versions)? No!

$ sudo -u www-data updater/updater.phar
Nextcloud Updater - version: v16.0.0beta3-4-gc7a4074

Current version is 16.0.0.

Update to Nextcloud 17.0.1 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-17.0.1.zip

Is there any plan to solve this?

Would you accept patches which allow specifying a version on the command line?

@nkakouros
Copy link

Is there any feedback on this?

@joshtrichards
Copy link
Member

joshtrichards commented Apr 22, 2024

Duplicate of #122

(same underlying cause and same solution will address both).

@joshtrichards joshtrichards marked this as a duplicate of #122 Apr 22, 2024
@joshtrichards joshtrichards closed this as not planned Won't fix, can't repro, duplicate, stale Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: check for update "Step 0" feature: upgrade Note: In `server` but called by updater. Also see `feature: installs and updates` in server technical debt
Projects
None yet
Development

No branches or pull requests

3 participants