Open Rilgamon opened 3 years ago
Now that its moved here it seems the same problem mentioned here: https://github.com/nextcloud/updater/issues/379
@Rilgamon The update button on the web client worked for me today. I was able to successfully update.
The update button on mine just does nothing. No feedback, no errors, nothing.
Same issue here.
$ php occ status
- installed: true
- version: 21.0.2.1
- versionstring: 21.0.2
- edition:
The settings first show and on clicking "Open Updater" immediately shows .
I tried running the updater by hand:
$ php --version
PHP 7.3.29-1~deb10u1 (cli) (built: Jul 2 2021 04:04:33) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.29, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.29-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies
$ php updater/updater.phar
Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4
Current version is 21.0.2.
Update to Nextcloud 21.0.4 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-21.0.4.zip
Open changelog ↗
Steps that will be executed:
[✔] Check for expected files
[✔] Check for write permissions
[✔] Create backup
[✔] Downloading
[✔] Verify integrity
[✔] Extracting
[✔] Enable maintenance mode
[✔] Replace entry points
[✔] Delete old files
[✔] Move new files in place
[✔] Done
Continue update? [y/N] y
Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.
[✔] Check for expected files
[✔] Check for write permissions
[✔] Create backup
[✔] Downloading
[✔] Verify integrity
[✔] Extracting
[✔] Enable maintenance mode
[✔] Replace entry points
[✔] Delete old files
[✔] Move new files in place
[✔] Done
Update of code successful.
Should the "occ upgrade" command be executed? [Y/n] Y
Nextcloud is already latest version
Keep maintenance mode active? [y/N] N
Maintenance mode already disabled
Maintenance mode is disabled
Any ideas? What can I do to help?
Same issue here. I tried running the updater by hand:
$ php updater/updater.phar Any ideas? What can I do to help?
I had similar issue from v 21.0.3
to v 21.0.4
.
I also had to manually run: php updater/updater.phar
Same issue here. I tried running the updater by hand: $ php updater/updater.phar Any ideas? What can I do to help?
I had similar issue from
v 21.0.3
tov 21.0.4
. I also had to manually run:php updater/updater.phar
Did it actually work for you?
Because, for me, running the updater by hand DID NOT UPDATE NEXTCLOUD!
The version stays the same, even after the updater says Update of code successful.
and Nextcloud is already latest version
.
Same issue here. I tried running the updater by hand: $ php updater/updater.phar Any ideas? What can I do to help?
I had similar issue from
v 21.0.3
tov 21.0.4
. I also had to manually run:php updater/updater.phar
Did it actually work for you? Because, for me, running the updater by hand DID NOT UPDATE NEXTCLOUD! The version stays the same, even after the updater says
Update of code successful.
andNextcloud is already latest version
.
It shows version 21.0.0 in the settings/overview
web page of my instance.
For me, using the updater is an invariant action:
$ php updater/updater.phar
Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4
Current version is 21.0.2.
Update to Nextcloud 21.0.4 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-21.0.4.zip
Open changelog ↗
Steps that will be executed:
[✔] Check for expected files
[✔] Check for write permissions
[✔] Create backup
[✔] Downloading
[✔] Verify integrity
[✔] Extracting
[✔] Enable maintenance mode
[✔] Replace entry points
[✔] Delete old files
[✔] Move new files in place
[✔] Done
Continue update? [y/N] y
Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.
[✔] Check for expected files
[✔] Check for write permissions
[✔] Create backup
[✔] Downloading
[✔] Verify integrity
[✔] Extracting
[✔] Enable maintenance mode
[✔] Replace entry points
[✔] Delete old files
[✔] Move new files in place
[✔] Done
Update of code successful.
Should the "occ upgrade" command be executed? [Y/n] y
Nextcloud is already latest version
Keep maintenance mode active? [y/N] N
Maintenance mode already disabled
Maintenance mode is disabled
$ php updater/updater.phar
Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4
Current version is 21.0.2.
Update to Nextcloud 21.0.4 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-21.0.4.zip
Open changelog ↗
Steps that will be executed:
[✔] Check for expected files
[✔] Check for write permissions
[✔] Create backup
[✔] Downloading
[✔] Verify integrity
[✔] Extracting
[✔] Enable maintenance mode
[✔] Replace entry points
[✔] Delete old files
[✔] Move new files in place
[✔] Done
Continue update? [y/N] y
Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.
[✔] Check for expected files
[✔] Check for write permissions
[✔] Create backup
[✔] Downloading
[✔] Verify integrity
[✔] Extracting
[✔] Enable maintenance mode
[✔] Replace entry points
[✔] Delete old files
[✔] Move new files in place
[✔] Done
Update of code successful.
Should the "occ upgrade" command be executed? [Y/n] y
Nextcloud is already latest version
Keep maintenance mode active? [y/N] n
Maintenance mode already disabled
Maintenance mode is disabled
$
So, executing the updater a second (or however many times) directly in sequence produces the same output everytime, but no change.
I solve this issue with a delete of the data/updater-xyz/ folder, and after that updater.phar --no-interaction.
I solve this issue with a delete of the data/updater-xyz/ folder, and after that updater.phar --no-interaction.
This worked, thanks!
@blizzard4591 , did u succeed to go to 22 ? In my case not yet. I am was stuck as u @21.0.X and now i am on 21.0.4, but i cant go to 22...
@blizzard4591 , did u succeed to go to 22 ? In my case not yet. I am was stuck as u @21.0.X and now i am on 21.0.4, but i cant go to 22...
Don't know if this is still relevant to you @Benouare , but I could upgrade from 21.0.5.1 to 22.2.0.2 with the following steps
Open updater
button)occ upgrade
@blizzard4591 , did u succeed to go to 22 ? In my case not yet. I am was stuck as u @21.0.X and now i am on 21.0.4, but i cant go to 22...
Don't know if this is still relevant to you @Benouare , but I could upgrade from 21.0.5.1 to 22.2.0.2 with the following steps
- remove the update-xyz folder in the nextcloud data folder
- start the pre-update procedure via web interface (
Open updater
button)- running
occ upgrade
Hi, Thx for the update! I have just run the updater.phar ... It looks like it's the target is the 21.0.5 ! So it may goes to the 22.x after! Thx again for the news ! Cheers
--- EDIT --- I have just upgraded to 22.2.0
Benoît
Hi, Thx for the update! I have just run the updater.phar ... It looks like it's the target is the 21.0.5 ! So it may goes to the 22.x after! Thx again for the news ! Cheers Benoît
Maybe, but be aware that the updates are usually rolled out gradually to the userbase, the schedule for 22.1.1 is given at https://nextcloud.com/blog/fresh-updates-here-22-2-0-21-0-5-and-20-0-13/
Nextcloud 22.1.1 was made available to about a third of our userbase already. Our plan is:
go to 70% on 7th October go to 100% on 14th October
If you want to upgrade earlier you can always download the archive and upgrade manually.
@blizzard4591 , did u succeed to go to 22 ? In my case not yet. I am was stuck as u @21.0.X and now i am on 21.0.4, but i cant go to 22...
Don't know if this is still relevant to you @Benouare , but I could upgrade from 21.0.5.1 to 22.2.0.2 with the following steps
1. remove the update-xyz folder in the nextcloud data folder 2. start the pre-update procedure via web interface (`Open updater` button) 3. running `occ upgrade`
I have removed that folder now its upgrading, thanks @dirks
The bug came back! I am now (this time around) stuck on 22.1.1 and can not upgrade to 22.2.0. Deleting the updater-xyz folder solved it, again. But there seems to be an ongoing issue!
The bug came back! I am now (this time around) stuck on 22.1.1 and can not upgrade to 22.2.0. Deleting the updater-xyz folder solved it, again. But there seems to be an ongoing issue!
yeah, even after an update to 22.2.0 some apps didn't updated and I did the update processes manually, enabled them again.
It sounds like the .step
folder may not be getting cleaned up for some of you after each update/upgrade cycle for some reason.
You can remove them manually (as noted above in some of the comments), but the safest is to run occ maintenance:repair
which should accomplish the same thing (along with some other things that shouldn't hurt).
Of course always have backups before doing updates/upgrades.
To get to the bottom of what's going on, it would be helpful to see your data/updater.log
file after the next successful Updater run followed the next unsuccessful one.
When using web-updater or commandline-updater a new update (21.0.3) is found. But the process ends with "Nextcloud is already latest version" and stays at current 21.0.2.
System:
Updater-Output www-data@home:~/home/updater$ php updater.phar Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4
Current version is 21.0.2.
Update to Nextcloud 21.0.3 available. (channel: "stable") Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-21.0.3.zip Open changelog ↗
Steps that will be executed: [✔] Check for expected files [✔] Check for write permissions [✔] Create backup [✔] Downloading [✔] Verify integrity [✔] Extracting [✔] Enable maintenance mode [✔] Replace entry points [✔] Delete old files [✔] Move new files in place [✔] Done
Continue update? [y/N] y
Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.
[✔] Check for expected files [✔] Check for write permissions [✔] Create backup [✔] Downloading [✔] Verify integrity [✔] Extracting [✔] Enable maintenance mode [✔] Replace entry points [✔] Delete old files [✔] Move new files in place [✔] Done
Update of code successful.
Should the "occ upgrade" command be executed? [Y/n] Nextcloud is already latest version
Keep maintenance mode active? [y/N] Maintenance mode already disabled
Maintenance mode is disabled