I’ve run the update (webupdater) from NC 18.0.1 to 18.0.3 and afterwards the maintenance mode was still activated (although the nextcloud.log stated it was deactivated).
After manually deactivating maintenance mode via config.php there was a “internal server error” and when trying to get in contact with the nextcloud again via occ it stated it was not installed and only some commands are available.
In the 5th trial running occ maintenance:install and afterwards occ upgrade worked and now it states via occ status
- installed: true
- version: 18.0.3.0
- versionstring: 18.0.3
- edition:
But when I try to reach NC via the web it says:
Das Schreiben in das „config“-Verzeichnis ist nicht möglich!
Dies kann zumeist behoben werden, indem dem Web-Server Schreibzugriff auf das Konfigurationsverzeichnis eingeräumt wird. Siehe auch https://docs.nextcloud.com/server/18/go.php?to=admin-dir_permissions. Oder wenn Sie möchten, dass die Datei config.php schreibgeschützt bleiben soll, dann setzen Sie die Option "config_is_read_only" in der Datei auf True. Siehe https://docs.nextcloud.com/server/18/go.php?to=admin-config
But the config directory isn’t write protected - looks like all the other directories regarding its permissions.
Any idea how to get out of this lockout?
Nextcloud version: 18.0.3.0
Operating system and version : Gentoo Base System release 2.6
PHP version: 7.2
config.php
<?php
$CONFIG = array (
'instanceid' => 'xxx',
'passwordsalt' => 'xxx',
'secret' => 'xxx',
'trusted_domains' =>
array (
0 => 'cloud.distrikt-ost.de',
),
'datadirectory' => 'xxx/nextcloud/data',
'dbtype' => 'mysql',
'version' => '18.0.3.0',
'overwrite.cli.url' => 'https://cloud.distrikt-ost.de',
'installed' => true,
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'mail_from_address' => 'xxx',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'xxx',
'mail_smtpauthtype' => 'PLAIN',
'mail_smtphost' => 'xxx',
'mail_smtpport' => '465',
'mail_smtpsecure' => 'ssl',
'mail_smtpauth' => 1,
'mail_smtpname' => 'xxx',
'mail_smtppassword' => 'xxx',
'skeletondirectory' => 'xxx',
'default_language' => 'de',
'app_install_overwrite' =>
array (
0 => 'impersonate',
1 => 'groupfolders',
2 => 'fulltextsearch_elasticsearch',
),
'updater.secret' => 'xxx',
);