Nextcloud version (eg, 20.0.5): 26.0.4
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04
Hello, it looks like I messed up my Webupdater. I THINK this is what happened:
- I started the updater in the Admin panel, then I lost the tab.
- I ran occ update successfull to 26.0.4.
- Later I found the tab and accidentally clicked “Continue with web based updater”
Now I want to update to 27.0.1, but my webupdater shows this
and exits back to the Admin panel as soon as I click “Continue update”
I tried to heal it with a manual update bez
- Downloading and unpacking nextcloud-27.0.1.zip
- Copying over the config.php,
- rsyncing over the apps directory
- Changing the webroot
- Running occ upgrade, but then I get
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Setting log level to debug
Updating database schema
Updated database
UnexpectedValueException: The files of the app "files" were not correctly replaced before running the update
Update failed
Maintenance mode is kept active
Resetting log level
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '...',
'passwordsalt' => '...',
'trusted_domains' =>
array (
0 => '...',
),
'default_phone_region' => 'DE',
'datadirectory' => '/data/programs/nextcloud',
'dbtype' => 'mysql',
'version' => '26.0.4.2',
'dbname' => 'nextcloud',
'dbhost' => '127.0.0.1',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => '...',
'installed' => true,
'theme' => '',
'maintenance' => false,
'forcessl' => true,
'mail_smtpmode' => 'smtp',
'mail_from_address' => 'nextcloud-admin',
'mail_domain' => '...',
'mail_smtphost' => '...',
'mail_smtpport' => '25',
'overwritewebroot' => '/',
'secret' => '...',
'loglevel' => 0,
'overwrite.cli.url' => 'https://...',
'updatechecker' => false,
'trashbin_retention_obligation' => 'auto',
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => 'true',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
),
'trusted_proxies' =>
array (
0 => '...',
),
'overwritehost' => '...',
'overwriteprotocol' => 'https',
'twofactor_enforced' => 'false',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
),
'mysql.utf8mb4' => true,
'mail_sendmailmode' => 'smtp',
'app_install_overwrite' =>
array (
0 => 'documents',
),
'bulkupload.enabled' => false,
'simpleSignUpLink.shown' => false,
'updater.secret' => '...',
);
The instance is otherwise running fine.