Update from 26.0.8 to 27.1.3 crashed

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version : 26.0.8.
Operating system and version : Debian bookworm
Apache or nginx version : Apache 2.4.57-2
PHP version : PHP 8.1.25 (cli)

The issue you are facing:
The udapter crashed when deleting old files.
Moreover, none updater secret is working. When I try to launch updater.phar, I get this error:

[✘] Create backup failed
Could not copy "/var/www/owncloud/config/#config.php#" to "/var/www/owncloud/data/updater-instanceid/backups/nextcloud-26.0.8.2-1699220108/config/#config.php#". Source /var/www/owncloud/config/#config.php# is not readable. Destination /var/www/owncloud/data/updater-instanceid/backups/nextcloud-26.0.8.2-1699220108/config/#config.php# is not writable

Update failed. To resume or retry just execute the updater again.

Is this the first time you’ve seen this error? : Y

Steps to replicate it:

  1. Run updater

The output of your Nextcloud log in Admin > Logging:
NA

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

<?php
$CONFIG = array (
  'updatechecker' => false,
  'instanceid' => 'an instance id',
  'passwordsalt' => 'a password salt',
  'secret' => 'a secret',
  'trusted_domains' =>
  array (
    0 => 'my ip',
    1 => 'my dns',
  ),
  'datadirectory' => '/var/www/owncloud/data',
  'overwrite.cli.url' => 'my url',
  'htaccess.RewriteBase' => '/',
  'dbtype' => 'mysql',                                                                                                                                 'version' => '26.0.8.2',
  'dbname' => 'owncloud',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'my user name',
  'dbpassword' => 'a db password',
  'default_phone_region' => 'FR',
  'logtimezone' => 'UTC',
  'installed' => true,
  'ldapIgnoreNamingRules' => false,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'maintenance' => true,
  'log_type' => 'file',
  'loglevel' => 0,
  'logfile' => '/var/www/owncloud/data/nextcloud.log',
  'logdateformat' => 'F d, Y H:i:s',
  'theme' => '',
  'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
  'app_install_overwrite' =>
  array (
    0 => 'ownbackup',
    1 => 'customgroups',                                                                                                                                 2 => 'diagnostics',
    3 => 'files_clipboard',
    4 => 'files_external_ftp',
    5 => 'passman',
    6 => 'ldaporg',
    7 => 'templateeditor',
    8 => 'files_reader',
    9 => 'theme-example',
  ),
  'encryption.legacy_format_support' => false,
  'encryption.key_storage_migrated' => false,
  'mysql.utf8mb4' => true,
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'tls',                                                                                                                          'mail_sendmailmode' => 'smtp',                                                                                                                       'mail_from_address' => 'my mail name',
  'mail_domain' => 'my mail domain',
  'mail_smtphost' => 'a SMTP host',
  'mail_smtpauthtype' => 'PLAIN',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'a SMTP name',
  'mail_smtppassword' => 'a SMTP password',
  'mail_smtpport' => '587',
  'memories.exiftool' => '/var/www/owncloud/apps/memories/bin-ext/exiftool-amd64-glibc',
  'memories.vod.path' => '/var/www/owncloud/apps/memories/bin-ext/go-vod-amd64',
  'allow_local_remote_servers' => true,
  'updater.secret' => 'an updater secret hash',
);

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

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
Nothing from the date of the update