Maintenance mode will be disabled error

Hello,

During the upgrade from Nextcloud 30.0.8 to 31.0.3, instead of the usual message “Disable maintenance mode and continue to web-based updater”, I received an error: “Maintenance mode will be disabled”.

To complete the upgrade successfully, I had to manually access the home page.

Am I the only one who experienced this issue? I assume it’s not a major problem since the upgrade completed successfully, but I thought I’d mention it just in case.

PHP 8.3
Nginx
Only using Files.

Sometimes it can be a bit tricky, that NC falls back to maintenance mode although it shouldn’t (perhaps triggered by some apps that need some update as well). Or maintenance mode is disabled, but it still shows enabled and it takes 30s or so to be fully disabled (some caching?).

Usually, I try it again and then it works and I don’t worry too much. I try to run the upgrade at time when there is very little usage.