Nextcloud version (eg, 20.0.5): 28.0.3
Operating system and version (eg, Ubuntu 20.04): Ubuntu 18.04.6
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.57
PHP version (eg, 7.4): PHP 8.2
PLesk Obsidian 18.0.59
The issue you are facing: Can’t update to NC 28.0.4, get stuck on step 5 every time
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
Delete the updater folder
Try to update it using command line or the GUI updater
ummm… your OS is outdated since a long time… apart from being a pretty big securityhole now it might not be able anymore to run nextcloud errorfree. pls update and check if this would solve your problems.
I’m still interested in hearing what is reported when you run from the command line. There should be a specific error there. One guess is you’re hitting system RAM and/or PHP memory_limit constraints. This is because the verifying integrity step loads the entire downloaded into memory to verify the signature. As of v28.0.4 that’s ~214MiB[1].
In Web mode, there aren’t currently any direct clues other than this step never finishes or stops
In Command Line mode, if the PHP memory ceiling is hit, the standard PHP memory allocation failure error is generated and the updater crashes
If it’s just PHP, the memory limit can be manually increased when running the updater.phar at the command line by specifying "php -d memory_limit=512M updater/updater.phar` or similar.
Workaround for low memory environments where memory_limit can’t be increased (because there isn’t enough RAM or whatever): Perform a manual update as described in the Maintenance section of the Admin Manual[2].