How to disable Maintance mode after the latest update

I have umbrel os 1.4 on an RPi4, since the latest update every time I try to connect to my Nextcloud instance I get the same message.

Any suggestions?

It could be a similar issue as Nextcloud stuck in maintenance mode after update - #16 by amlamarra - ℹ️ Support - Nextcloud community. After sifting through it seemed to be a permission issue and the solution was “sudo chown -R www-data: /mnt/cloud/” and then reboot.

didn’t work, I believe my instance got stuck on maintenance mode after the recent update. I am not sure of the Docker commands to turn maintenance mode off. Thanks for replying.

You can try editing the config.php file

Edit it via SSH with the following command:

sudo nano /home/umbrel/umbrel/app-data/nextcloud/data/nextcloud/config/config.php

In the window that opens, look for:
'maintenance' => true

Change the term true to false

Save and close (Ctrl+X) then Y and Enter.

Reboot and try. If it doesn’t work, do the same process to leave it as it was.

pfff, i was so hoping to work.
I did edit config.php but now I get:

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 webserver log.
<br />
<b>Fatal error</b>:  Uncaught Error: Undefined constant &quot;falce&quot; in /var/www/html/config/config.php:60
Stack trace:
#0 /var/www/html/lib/private/Config.php(209): include()
#1 /var/www/html/lib/private/Config.php(40): OC\Config-&gt;readData()
#2 /var/www/html/lib/base.php(89): OC\Config-&gt;__construct('/var/www/html/c...')
#3 /var/www/html/lib/base.php(579): OC::initPaths()
#4 /var/www/html/lib/base.php(1149): OC::init()
#5 /var/www/html/index.php(22): require_once('/var/www/html/l...')
#6 {main}
  thrown in <b>/var/www/html/config/config.php</b> on line <b>60</b><br />

MMM… here’s something interesting…
The error shown:

First, it points you to line 60 of config.php. What’s on that line?.

Second, Undefined constant "falce". Did you put falce instead of false?

1 Like

Thank you so much! i was so eager to make the change that I typed it wrong. Good catch! Now after an “occ update” everything is back to normal!