Machine-translated – improvements welcome. Suggest an improvement
Maintenance mode¶
Before an update or a restore, nobody should be working at the same time – otherwise changes get lost. Maintenance mode under Workbench → Maintenance → Maintenance mode takes care of this in two stages. On the same page, below it, are the maintenance operations.
Area not in the sidebar?
This area is not in every level of the workbench – in the level Beginner, the default for private use, it is hidden. The table under Customise the workbench shows from which level it is there. You can show it under Customise the workbench, for everyone or just for you. Hidden does not mean switched off: the area keeps working, and its notices always appear in the overview.
Even without an entry in the sidebar you reach it via the button To maintenance mode on the page Restoring and via the overview's notices.
On the left in the sidebar, next to maintenance mode, it says announced as long as it isn't in effect yet, and on as soon as it is active.
Switching on¶
- Optionally enter a text for everyone, e.g. "Update to the new version".
- Choose the start – template is now + 30 minutes; with +15 min, +30 min and +1 hr you quickly set it from now. At this time everyone else is signed out. It may not be in the past and at most 24 hours in the future, because from the announcement onwards only people who may administer Ablago can sign in.
- Optionally the expected end – it must be after the start.
- Announce maintenance.
Below the fields, a sentence sums up the effect, e.g. "From now on everyone sees a notice with a countdown; only people who may administer Ablago can sign in. At 12:45 everyone else will be signed out. Expected end 13:45."
Lock right now¶
For emergencies, e.g. a security incident (a password or device has fallen into the wrong hands, you see unknown sign-ins): the red button Lock right now skips the announcement. After a confirmation
- all other sessions end immediately, including those of others who administer Ablago,
- the interface answers with 503,
- you yourself stay signed in.
Text for everyone and expected end are taken over if you filled them in; they aren't required. The log says "Maintenance mode locked immediately", and Status says "locked immediately" – so you can tell it apart from an announced maintenance.
Then tidy up calmly, e.g. change affected passwords, block an account under Workbench → Users, require two-factor sign-in or change the key – and then End maintenance.
Stage 1: announced¶
- Everyone signed in immediately sees – without reloading the page – a banner with a countdown: "Maintenance – you will be signed out in 29 minutes. Please save your work."
- Saving works until the very end.
- Only people who may administer can sign in anew; the sign-in page shows the notice.
Stage 2: active¶
At the chosen start – or immediately with Sign everyone out now or Lock right now:
- All sessions except yours end, including those of others who administer Ablago (they can sign in again).
- The sign-in page shows the maintenance notice with text and expected end; only people who may administer can sign in.
- The interface (
/api/v1) answers with 503 andRetry-After(seconds until the expected end, otherwise 15 minutes) – scripts should try again later. - The background work pauses:
- text recognition,
- deadlines and reminders and the daily summary of tasks,
- tidying up the bin,
- the scheduled backup and the test restore,
- fetching from the mailboxes and the Intake folder.
Nothing goes in or out¶
While maintenance mode is active, Ablago fetches nothing from outside and sends nothing out. So you can back up, restore or start a copy as a test system from a snapshot in peace. System health and the overview then show "Maintenance mode: nothing goes in or out".
For each kind it is fixed what happens to what would be due during this time:
| What | In maintenance mode | After switching off |
|---|---|---|
| Fetching the mailboxes | rests; Fetch now reports "rests" | is caught up – the mails stay on the mail server until then |
| Intake folder | rests | is caught up – the files stay in the folder until then |
| Sending email (notifications, summary, reminders, test mail) | skipped – the log shows "E-Mail ausgelassen (Wartungsmodus)" | not caught up; deadlines and the daily summary run at the next regular time |
| Deliveries to the outside (webhook targets of automations) | rest, stay in the queue | are caught up |
| Calls from outside (addresses of automations) | rejected with 503 – the sender should try again later | – |
| Packages: deliveries of events | rest, stay in the queue | are caught up |
| Packages: actions and interfaces | rejected ("No packages run during maintenance") | please try again afterwards |
| Schedule of automations ("date in N days") | rests | missed days are caught up (as after a restart) |
Maintenance mode survives a restart. A test system that starts from a snapshot in which the mode was on therefore stays quiet until you end it there.
Under Signed-in sessions you see who is currently signed in with which device and when they were last active.
Switching off¶
End maintenance switches the mode off; everyone can sign in again, and the background work continues. The mode survives a restart of Ablago – so after an update it is still on until you end it.
Automatically when storage is full
If free space reaches the set limit, Ablago switches maintenance mode on itself – with 5 minutes' notice and the text "Storage space limit reached". You have to end it yourself as soon as there is space again (see System health).
On, off and signing out are recorded in the log (module system).
Before every update
Under Workbench → Backup, create a backup with Back up now. Then announce maintenance, update the image from the start (see Updating), check briefly, then End maintenance.

