Cant update to NC 28.0.4

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:

  1. Delete the updater folder
  2. Try to update it using command line or the GUI updater
  3. Fail when Verifying integrity

Fail when Verifying integrity

Fail how? Please provide the output when you try from the command line and also check your data/updater.log.

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.

2 Likes

Thanks fo your input, upgrading dist under plex is a pretty complex procedure and being in production Ill need to schedule to do it on a weekend.

Ill upgrade it and try again, many thanks.

1 Like

I’m still interested in hearing what is reported when you run from the command line. :slight_smile: 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].

[1] In low memory setups, the updater fails at step 5 · Issue #505 · nextcloud/updater · GitHub
[2] https://docs.nextcloud.com

1 Like

I can confirm that a dist update fixed the problem, many thanks!

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.