nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.68k stars 3.99k forks source link

Allow communicating expectations to users during maintenance #35787

Open KiaraGrouwstra opened 1 year ago

KiaraGrouwstra commented 1 year ago

Hi there,

I'm currently considering the situation where an update has gone bad, and a backup is to be restored. Given these circumstances, maintenance mode would make sense such as to discourage users from submitting content expected to go lost when the back is restored.

In this situation, I am under the impression using the Announcement app is no longer viable, as even the system administrator can no longer use the application while it is marked as under maintenance.

I can see a few ways that can address this:

  1. Allow customizing the maintenance message. This was previously requested in #12725, which asked for this feature as well, but was closed as the author envisioned a context where expectations could be communicated ahead of a maintenance, in which case an announcement might suffice. In my understanding that no longer seems to hold in my context.
  2. An alternative I would consider is giving system administrators a way to use the application even while it is marked as being under maintenance.
solracsf commented 1 year ago

Well i know this doesn't really solves this, and I understand and support your enhancement request, but in our case, we've opted to show a custom HTML page when Nextcloud is on maintenance mode exactly because of this using the nginx error_page for that.

See also https://github.com/nextcloud/server/issues/5789