I recently rebuilt a new Nextcloud server. Now everynight the server goes into maintenance mode. Im assuming at this point when our backups run which puts Nextcloud into maintenance mode. But it wont exit maintenance mode. The only resolution i can find is rebooting the server.
Trying to manually exit maintenance mode gives me this:
sudo nextcloud.occ maintenance:mode -–off
The “-–” option does not exist.
maintenance:mode [–on] [–off]
Not sure what the issue might be.
Nextcloud version 20.0.8
Ubuntu 18.04.5. LTS