Unable to disable maintenance mode after upgrade to 23.0.8

Nextcloud version: 23.0.8
Operating system and version: Ubuntu 20.0.4
Apache or nginx version : Apache 2.4.41
PHP version: 7.4.3

The issue you are facing:

I just ran the upgrade from 23.0.6 to 23.0.8 via the web updater. At the end, the page refreshed to the “This instance is currently in maintenance mode” page instead of redirecting to the live instance. Running php ./occ maintenance:mode --off returns Maintenance mode already disabled, but the server continues to return the “cloud is in maintenance” page.

Is this the first time you’ve seen this error? YES

Steps to replicate it:

  1. Have NC 23.0.6
  2. Upgrade to NC 23.0.8 using the web updater

config.php file: http://ix.io/47rh

updater.log: http://ix.io/47rf

This is weird…

I tried running php ./occ upgrade which returned Nextcloud is already latest version, then ran php ./occ maintenance:repair, which did a bunch of the expected stuff, but didn’t solve the problem…

But somehow a half hour later, the page is loading and everything works…

Not sure what happened…but now I’m going to eat chicken.

With me always helps with such problems a restart of php