Nextcloud Docker instance stuck

Hello everybody, a few days running nextcloud, and Iā€™m already in need of help :pensive:

Today I tried to put the server in maintenance mode to solve and issue with a locked file adding the ā€œlineā€ in config.php, and I started getting the error message trying to connect cia web interface:

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

I immediately changed

'mainenance' => true,
with
'mainenance' => false,
but nothing happened, and Iā€™m still stuck with the error page.

I tried to look in the log file, but it keeps to be empty!!!

here the config.php file:
?php
$CONFIG = array (
ā€˜htaccess.RewriteBaseā€™ => ā€˜/ā€™,
ā€˜memcache.localā€™ => ā€˜\OC\Memcache\APCuā€™,
ā€˜apps_pathsā€™ =>
array (
0 =>
array (
ā€˜pathā€™ => ā€˜/var/www/html/appsā€™,
ā€˜urlā€™ => ā€˜/appsā€™,
ā€˜writableā€™ => false,
),
1 =>
array (
ā€˜pathā€™ => ā€˜/var/www/html/custom_appsā€™,
ā€˜urlā€™ => ā€˜/custom_appsā€™,
ā€˜writableā€™ => true,
),
),
ā€˜instanceidā€™ => ā€˜',
ā€˜passwordsaltā€™ => '
ā€™,
ā€˜secretā€™ => ā€˜',
ā€˜trusted_domainsā€™ =>
array (
0 => '
.:',
1 => '
:',
),
ā€˜datadirectoryā€™ => ā€˜/mnt/Storageā€™,
ā€˜dbtypeā€™ => ā€˜mysqlā€™,
ā€˜versionā€™ => ā€˜17.0.0.9ā€™,
ā€˜overwrite.cli.urlā€™ => 'http://
.:',
ā€˜dbnameā€™ => '
',
ā€˜dbhostā€™ => ā€˜127.0.0.1ā€™,
ā€˜dbportā€™ => ā€˜ā€™,
ā€˜dbtableprefixā€™ => ā€˜nc_ā€™,
ā€˜mysql.utf8mb4ā€™ => true,
ā€˜dbuserā€™ => '
',
ā€˜dbpasswordā€™ => '
*****ā€™,
ā€˜installedā€™ => true,
ā€˜logtimezoneā€™ => ā€˜/Europe/Romeā€™,
ā€˜logfileā€™ => ā€˜/var/log/nextcloud/logfile.logā€™,
ā€˜loglevelā€™ => ā€˜3ā€™,
ā€˜maintenanceā€™ => false,
);

I googled around and found only permit related issues, but in my case they look fine:

-rw-r--r-- 1 www-data root        60 Oct  9 21:35 apache-pretty-urls.config.php                                                                                                                                                               

-rw-r--r-- 1 www-data root        70 Oct  9 21:35 apcu.config.php                                                                                                                                                                             

-rw-r--r-- 1 www-data root       377 Oct  9 21:35 apps.config.php                                                                                                                                                                             

-rw-r--r-- 1 www-data root      1117 Oct 14 18:06 config.php    
                                                                                                                                                                          
-rw-r--r-- 1 www-data root     52964 Oct  9 21:35 config.sample.php                                                                                                                                                                           

-rw-r--r-- 1 www-data root       331 Oct  9 21:35 redis.config.php                                                                                                                                                                            

-rw-r--r-- 1 www-data root       669 Oct  9 21:35 smtp.config.php

and logfile:
-rw-r--r-- 1 www-data root 0 Oct 14 13:45 logfile.log

What am I missing?
Any clue?

Thank you very much

Is there a spelling mistake?

mainenance' => true,
with
'mainenance' => false

compared with
ā€˜maintenanceā€™ => false,

usually you donā€™t edit the config.php file directly ā€“ rather use a command such as:

sudo -u www php occ config:system:get maintenance
sudo -u www php occ config:system:set maintenance --value=ā€œtrueā€ --type=boolean

Note www might be www-data if on a linux system (depends what the ownership is of your nextcloud directory.

Yeah, that was just a typo error writing the post, as you can see in the copy/pasted config.php the spelling is correct where it countsā€¦:slightly_smiling_face:

sudo -u www php occ config:system:set maintenance --value=ā€œtrueā€ --type=boolean

this is a valuable hint. I will follow it next time, I found out, searching the web, that both options are accepted, so I went for the most straightforward for my ā€œexperienceā€.