Pause changes during an upgrade with maintenance mode, and tell everyone with a banner

An upgrade or a database restore is safest when nobody is writing. Telling 80 people "please don't save anything between 22:00 and 22:30" works for about 70 of them. Settings ▸ Installation ▸ Maintenance does it for you: changes are paused, everyone sees why, and people can still read and send requests.

Turn it on

Choose Start now or Schedule (a start time), an optional end time (or 30 minutes, 1, 2 or 4 hours), and an optional message of up to 500 characters. A scheduled window shows everyone a "Maintenance planned" banner until it starts.

With an end time, maintenance ends by itself. Without one, it lasts until End maintenance now. Every replica picks up the change within a few seconds, and the setting is stored in the database, so a backend that restarts during maintenance stays in maintenance. That's exactly what you want in the middle of an upgrade.

What people notice

  • Changes are refused: saving a request, creating a collection, inviting someone, syncing to Git, changing settings. The answer is unavailable (HTTP 503): "Requestarium is in maintenance until 22:30; changes are paused, you can still read and send requests", followed by your message.
  • Reads keep working, and so do sending requests and signing in (password, 2FA, SSO, the CLI and IDE sign-in).
  • Every app says so: the desktop and web app show a banner (on the sign-in screen too); VS Code, JetBrains, the browser extension and the CLI show the message when a change is refused.
  • Nothing is lost: request history that couldn't be uploaded is sent afterwards. Unsaved edits stay in the editor; save them again when maintenance ends.

Plain HTTP callers, such as SCIM provisioning and Git webhooks, get 503 with Retry-After, so identity providers and Git hosts retry later instead of dropping the change.

Installation administrators signed in to the app are exempt, so they can look around and end maintenance. Their API tokens are refused like everyone else's, so a script can't write by accident.

An upgrade, step by step

  1. Turn on maintenance with an end time a little after you expect to finish, and a message.
  2. Take a backup and upgrade: back up and upgrade a self-hosted Requestarium. Maintenance stays on across the restart.
  3. Run the checks (Settings ▸ Installation ▸ Checks), then End maintenance now.

The doctor warns while maintenance is on, so a window someone forgot to end gets noticed.

Announcements

For everything that isn't maintenance (a new SSO rollout, a deprecated environment, a training session), Announcements show a banner to everyone signed in, in every organization:

  • a title and text (up to 2,000 characters);
  • severity: information, warning or critical;
  • an optional https:// link;
  • an optional start and expiry.

Up to 20 can be shown or planned at once. People close one with ×, and it stays closed on all their devices. Editing an announcement shows it again, including to people who closed the old text. Expired ones disappear by themselves.

Logged

Starting, scheduling and ending maintenance, and publishing, editing or deleting announcements, are recorded in the installation activity log.