When I tried to update my nextcloud version on a hosted system via the web updater, it get stuck in maintenance mode by an error.
How can I get out of this (maintenance mode)?
Nextcloud version: start version 23.0.1, goal version 23.0.12
Operating system and version: managed host on linux machine
Apache or nginx version: unknown
PHP version: 8.0.30
The issue you are facing:
Is this the first time you’ve seen this error? Y
Steps to replicate it:
- start update with button in the settings
- first part of update worked fine
- final update stuck after several changes
The output on the screen was:
Detailed logs
Preparing update
Set log level to debug
Turned on maintenance mode
Repair step: Repair MySQL collation
Repair info: All tables already have the correct collation -> nothing to do
Repair step: Repair SQLite autoincrement
Repair step: Copy data from accounts table when migrating from ownCloud
Repair step: Drop account terms table when migrating from ownCloud
Updating database schema
Updated database
Repair step: Upgrading Circles App
Updated "circles" to 23.1.2
Updated "notifications" to 2.11.2
Updated "text" to 3.4.1
Update app "calendar" from App Store
Repair step: Update name of the stored view
Update app "contacts" from App Store
Update app "richdocuments" from App Store
Update app "spreed" from App Store
Repair step: Fix the namespace in database tables
Repair step: Create help command
Repair step: Invalidate access cache for projects conversation provider
Repair info: Invalidation not required
Repair step: Cache the user display names
An error occurred.
The output of your Nextcloud log in Admin > Logging:
I have no access to such a log
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
'instanceid' => 'oc...71v3',
'passwordsalt' => 'qd...GsD',
'secret' => '...',
'trusted_domains' =>
array (
0 => '.....c20.webspace-verkauf.de',
),
'datadirectory' => '/ /....c20.webspace-verkauf.de/httpdocs/...',
'dbtype' => 'mysql',
'version' => '23.0.2.1',
'overwrite.cli.url' => 'http://.....c20.webspace-verkauf.de',
'dbname' => 'xxx',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xxx',
'dbpassword' => 'xxx',
'installed' => true,
'maintenance' => true,
'updater.secret' => '$2y...K6eGGQd.',
'theme' => '',
'loglevel' => 0,
);
The output of your Apache/nginx/system log in /var/log/____
:
no access
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.
nextcloud.log not found