Upgade to Nextcloud 22.2.6 and 22.2.7 via Webupdate fails: Extracting step errors out

Nextcloud version (eg, 20.0.5): 22.2.5
Operating system and version (eg, Ubuntu 20.04): CentOS 7
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): replace me

The issue you are facing:

Running the webupdate from 22.2.5 to 22.2.6 or from 22.2.5 to 22.2.7 fails during the “Extracting” step. I do not get any error messages in the UI. I can retry, but it does not help.
Unfortunately I do not find any errors in the logs (apache, nextcloud.log, …) at the time of the update.

Anyone else experiencing this?
Any ideas where to start debugging this?

Is this the first time you’ve seen this error? (Y/N):

Steps to replicate it:

  1. Open Nextcloud as user with admin permissions
  2. Start webupdate from “Settings”
  3. Click on “Start update” in the webupdate
  4. Update fails during extracting step.

The output of your Nextcloud log in Admin > Logging:

None at the time of the update, unfortunately.

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'ocdb7e71d845',
  'passwordsalt' => 'REDACTED',
  'datadirectory' => '/var/www/html/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '22.2.5.1',
  'default_phone_region' => 'DE',
  'dbname' => 'owncloud',
  'dbhost' => 'REDACTED',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'REDACTED',
  'dbpassword' => 'REDACTED',
  'installed' => true,
  'forcessl' => true,
  'theme' => '',  
  'trusted_domains' =>
  array (
    0 => 'REDACTED',
    1 => 'REDACTED',
    2 => 'REDACTED',
  ),
  'secret' => 'REDACTED',
  'forceSSLforSubdomains' => true,
  'maintenance' => false,
  'trashbin_retention_obligation' => 'auto',
  'updatechecker' => false,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'loglevel' => 2,
  'logtimezone' => 'Europe/Berlin',
  'log_type' => 'file',
  'logfile' => '/var/log/nextcloud/nextcloud.log',
  'log_authfailip' => true,
  'log_rotate_size' => 1048576,
  'overwrite.cli.url' => 'REDACTED',
  'mysql.utf8mb4' => true,
  'encryption.legacy_format_support' => false,
  'encryption.key_storage_migrated' => false,
  'updater.secret' => 'REDACTED',
);

The output of your Apache/nginx/system log in /var/log/____:

None at the time of the update, unfortunately.

Hi,

by any chance, do you have enough hdd space…

Also, you might want to check UID/GID rights for your /var/www/…

Thanks for the quick reply.

Yes, there is enough space. And yes, all folders below /var/www/html/nextcloud/ belong to the right user, in my case apache.

Oh, and I had a look into /var/www/html/nextcloud/data/updater.log, but that does not contain error messages at the time of the failed update.

I found older ones for zip-related errors:

2022-04-22T12:34:28+0000 UH6xiDqFI9 [error] Exception: Exception
Message: Can't handle ZIP file. Error code is: 28

But not for today, when I got the errors during the Extracting step.

are you missing unzip ?
Also check if perm are set as 755 for www folder…