Nextcloud version 19.0.2 - same issue with 20.0.0.9
Operating system and version unknown Linux
Server version: Apache/2.4.46 (Unix)
PHP 7.3.21
I cannot get beyond the maintenance notification. Even though the config file, in the correct folder, defines maintenance as false.
I have tried to upgrade today to newer versions. I failed. I tried to restore - restore old sql database and reinstall 19.0.2.2. Occ commands works in terms of setting maintenance true/false - it changes the config file correctly. However, it does not get me a running server.
I have been using nextcloud for years, this is the first time, this happens.
Happy to look for more information, but am not sure where or what to look for. I have no idea how to replicate; it does not make difference whether I upgrade or restore htdocs and sql database.
Is this the first time you’ve seen this error? yes
Not sure whether this matters:
on the web access getting to /updater/ provides me with
Authentication
To login you need to provide the unhashed value of "updater.secret" in your config file.
If you don't know that value, you can access this updater directly via the Nextcloud admin screen or generate your own secret:
php -r '$password = trim(shell_exec("openssl rand -base64 48"));if(strlen($password) === 64) {$hash = password_hash($password, PASSWORD_DEFAULT) . "\n"; echo "Insert as \"updater.secret\": ".$hash; echo "The plaintext value is: ".$password."\n";}else{echo "Could not execute OpenSSL.\n";};'
but entering the secret does not get a login.
I also tested removing the config.php file. And, as expected, I am then asked to install a system. So, it is the correct file, I am handling.
Meanwhile, I have dropped the database, and restored it from scratch. No difference.
Question: might maintenance information be stored somewhere else?
The output of your Nextcloud log in Admin > Logging:
not accessible
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
'dbtype' => 'mysql',
'version' => '19.0.2.2',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'logtimezone' => 'UTC',
'installed' => true,
'default_language' => 'de',
'theme' => '',
'filelocking.enabled' => true,
"log_type" => "file",
"logfile" => "nextcloud.log",
"loglevel" => 3,
"logdateformat" => "F d, Y H:i:s",
'loglevel' => 0,
'log.condition' => [
'apps' => ['admin_audit'],
],
'maintenance' => 'false',
'loglevel' => 0,
'maintenance' => 'false',
'defaultapp' => 'calendar',
'knowledgebaseenabled' => false,
'trashbin_retention_obligation' => 'auto, 50',
'log_rotate_size' => '10 MiB',
'htaccess.RewriteBase' => '/',
'appstore.experimental.enabled' => true,
'updater.release.channel' => 'stable',
'mail_smtpmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_domain' => 'ingli.de',
'mail_smtpauth' => 1,
'app_install_overwrite' =>
The output of your Apache/nginx/system log in /var/log/____
:
not accessible