The Basics
- Nextcloud Server version (e.g., 29.x.x):
31.0.8
- PHP version (e.g, 8.3):
8.2
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
via one-click installer
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
It all started with my Nextcloud being in maintenance mode without me doing anything. I tried turning it off via the config, but it keeps turning back on.
Now my Nexctloud is saying me it wants to update to 31.0.8, but if I do that it just gives me “error”. I have a guess where this might come from:
I installed nexctloud via the one click installer provided by my webhoster, and I also made said update via it. In the one click installer it also says that the version is 31.0.8, but apparently Nextcloud still thinks it’s on an older version and tries to update, which then doesn’t work…
I click on the update button I get when trying to access my Nexctloud, it loads, it then comes with the error and when I reload the page maintenance mode is turned back on.
I’m no expert, so I am turning to this forum ![]()
I have no ssh access to the server it runs on, so I am pretty limited…
Thank you for any help!
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.
Click (I couldn’t paste it anywhere…)
Configuration
Nextcloud
The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'oc**REDACTED**',
'passwordsalt' => '**REDACTED**',
'secret' => '**REDACTED**',
'trusted_domains' =>
array (
0 => 'cloud.**REDACTED**.de',
1 => 'd.**REDACTED**.de',
),
'httpsadirectory' => '/hp/al/ab/ri/www/cloud/data',
'dbtype' => 'mysql',
'version' => '31.0.8',
'overwrite.cli.url' => 'https://cloud.**REDACTED**.de',
'overwriteprotocol' => 'https',
'dbname' => 'db294409x3731421',
'dbhost' => 'mysql37.**REDACTED**.de',
'dbport' => '',
'dbtableprefix' => 'b2dw_',
'mysql.utf8mb4' => true,
'dbuser' => '**REDACTED**',
'dbpassword' => '**REDACTED**',
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_sendmailmode' => 'smtp',
'app_install_overwrite' =>
array (
0 => 'apporder',
1 => 'extract',
),
'mail_from_address' => 'noreply ',
'mail_domain' => 'r**REDACTED**.de',
'mail_smtphost' => 'smtp.**REDACTED**.de',
'mail_smtpport' => '465',
'mail_smtpauth' => true,
'mail_smtpname' => '**REDACTED**',
'mail_smtppassword' => '**REDACTED**',
'loglevel' => 0,
'maintenance' => true,
'theme' => '',
);