Nextcloud app forced to maintenance mode after some Nextcloud apps updated

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 11.3.0.2
What app is this about: Nextcloud forced to maintenance mode

Describe your issue

Nextcloud version: 29.0.10~ynh2

I updated some outdated Nextcloud apps out of 5 offered, then my Nextcloud server stopped serving. It is maintenance mode (actually “Wartungmodus”).
I would like to provide Nextcloud logs but forgot how to do that.
Any help is most welcome.

Share relevant logs or error messages

Not sure how to find Nextcloud logs, will try later tonight.

1 Like

You can try to disable maintenance in the Yunohost Nextcloud config pannel (by enabling-disabling it)

If you mean the Yunohost Nextcloud app config panel: That doesn’t help. Maintenance mode is enabled here. If I disable it and press browser/F5 (reload), it shows enabled again.

Did you save at the bottom after toggling the button off?

No, I overlooked that. That might have helped disable maintenance mode, but meanwhile, I managed to repair my problem as such on the console:

sudo yunohost app shell nextcloud
  (enter password)
php occ app:disable uppush
php occ maintenance:repair
php occ maintenance:mode --off

After that, Nextcloud was running again. I could reactivate uppush.
Deactivating uppush was just an attempt because in a previous issue that app caused a similar problem (see Internal server error upgrading Nextcloud / UnifiedPush provider server app - #7 by matalb).

Thank you for your help.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.