Appendix D. Updates and releases

This appendix says how an Atlas appliance is updated, what each type of update touches, how to read the version number, when it is worth stepping in by hand and what not to do. It does not…

This appendix says how an Atlas appliance is updated, what each type of update touches, how to read the version number, when it is worth stepping in by hand and what not to do. It does not describe how the vendor builds and publishes releases: it concerns only whoever manages an appliance that is already installed.

What is updated, and from where

An appliance has four things that age, through four different channels:

What Where it comes from When How you check it
The system (Debian 13) the Debian repositories every day, in the window System → Settings → Updates
Atlas and the EDON components (atlas, edon-deno, edon-stats, edon-backup, edon-images, edon-policy, edon-dav and the other edon-* packages) EDON’s APT repository (https://apt.edon.systems, origin «EDON») with the same automatic updates the same block; the version is in About
The isolated services (domain controller, mail, VPN, PBX, photos, newsletter…: the containers) ready-made images published by INFOTREND, or rebuilt on the appliance with the updated Debian packages every day, half an hour after the window the same block, «Isolated services update»
The functions’ data (configurations, tables, old files) Atlas’s updates adapt them by themselves to the update when the atlas package is installed no checks needed: if something is wrong, the bell says so

Automatic updates are on by default. Turning them off also turns off the update of the isolated services: the appliance no longer receives security fixes until you turn them back on.

Warning An appliance that is not updated is not just “old”: the exposed services (mail, VPN, web) stop receiving security fixes. If you choose to keep updates off, schedule a periodic manual update and read the vendor’s security news.

The EDON APT repository

Atlas comes from a signed APT repository, already set up by the ISO (see installation): https://apt.edon.systems, suite trixie, component main, architecture amd64, with the public key in /etc/apt/keyrings/edon-apt-keyring.gpg. The appliance trusts that key: it must never be replaced or removed without reason, and if you ever have to change it, check its fingerprint with the partner first.

The automatic updates settings (unattended-upgrades) take the news from the Debian repository and from the «EDON» origin. The other repositories you add by hand are not updated by themselves: if you add any, you decide how to maintain them.

For the technician atlas declares the minimum dependencies of the packages it uses (for example an edon-backup and an edon-images no older than a certain version): apt updates those too when needed. The package writes nothing in /etc: /etc/edon/atlas.env is your file and is not rewritten. The versions of the libraries included in a build are in /usr/lib/atlas/build-manifest.json.

The version number: 1.3.6~deb29

Atlas uses numbers of the form 1.3.6~deb29:

  • 1.3.6 is the series (major, minor, fix);
  • ~deb29 is the progressive release of that series, the twenty-ninth;
  • the tilde (~) has Debian’s meaning: apt orders 1.3.6~deb29 below 1.3.6 and above 1.3.6~deb28. A release with the tilde is therefore a stage leading to 1.3.6, and apt always knows which is the most recent.

Where to see the version:

  • at the bottom of the console’s sidebar;
  • in About (from the account menu), «Version 1.3.6~deb29», with the licence and the system data;
  • from a shell: dpkg -l atlas or apt policy atlas (which also shows the available version).

The other components have their own numbering (for example edon-backup 1.3.15, edon-stats 1.3.4, edon-images with a date such as 2026.10.23.1). They do not have to have the same number: atlas says which minimum versions it needs.

The update window

Everything starts from a single time, «Update time» in System → Settings → Updates. From the time HH:MM the page works out the window and writes it under the field:

Moment What happens With 04:30
40 minutes before the package lists are updated 03:50
20 minutes before the system and EDON updates are installed 04:10
at the time the appliance reboots, if «Automatic reboot» is on and an update asked for it 04:30
30 minutes after the isolated services are updated 05:00

The fields of the block:

Field Meaning Typical value
«Enable automatic updates» downloads and installs the updates of the system and of the EDON components on
«Update interval (days)» every how many days (minimum 1) 1
«Report email» the address, or local user, that receives the report; with mail installed you can choose «Use the postmaster (address)» lwhite@johnsmith.test
«Automatic reboot» reboots by itself when an update requires it on, if the company accepts the night reboot
«Update time» the time that fixes the whole window 04:30

What you should know:

  • The report is sent only when something changes (or when there is an error), not every night. Since the switch to the notification centre the centre sends it, through the system destination «Destinatario degli aggiornamenti», which reads this field at every send; the administrators can also receive its notice in the bell or on their own channels (category «Nightly update report»). If the host cannot send mail, the console installs a small sending program (msmtp) to deliver it; it stays installed even if you turn updates off.
  • The reboot stops all services for a few minutes: choose a time when nobody is working and the night backups are finished. If «Automatic reboot» is off, an update that requires it leaves the appliance waiting: the console shows «A reboot is required to finish applying the installed updates.» with the «Reboot» button.
  • «Update now» starts a round at once («Update started; you’ll be notified when it completes.»): the console may restart and reconnect by itself.
  • The notifications in the bell are: «System update completed», «No updates available», «System update failed», «Reboot required to finish updates».
The Updates block of the settingsThe Updates block of the settings
The Updates block of the settings

What happens when Atlas is updated

Installing a new atlas package stops and restarts the console (for a few moments the page may say «Applying the update» and reload by itself). The package runs Atlas’s setup, which moves files into the right place and applies the migrations of your state: they may rewrite services’ configuration files, add rules, adapt databases. For this reason:

  • do not edit by hand the files Atlas writes (see files and services): at the next update they go back as Atlas wants them;
  • an update may ask to rebuild one or more services (for example because a new version of an included program is released): this is done by the isolated-services pass, not at once;
  • some functions (for example disk quotas, see the scenario on quotas) ask for a reboot to complete.

The update that brings the notification centre. The setup creates the centre’s keys (/etc/edon/notify-keys.json and /etc/edon/notify-ingest.json). At the first start the notifications the appliance already had enter the history, already read and with no mail; then, once only and only if the appliance can send mail, Atlas turns the «Mail» connector on, carries the calendar reminders’ choice into the preferences’ matrix and creates the system destinations for the update report, the monitoring and the backups. From there the centre sends the system mails, to the same recipients as before, and the critical events reach every administrator by mail. With no way to send mail the switch waits and the mails stay as before. The details, and how to go back, are in The notification centre.

The update of the isolated services

Each isolated service runs in a container. Once a day, half an hour after the system window and only if automatic updates are on, Atlas:

  1. checks each service, without touching what is running (for an image rebuilt on the appliance it reads what a package update would install; for an image published by INFOTREND it checks whether a new version exists);
  2. updates one service at a time, in dependency order (nginx last);
  3. for each one: downloads or rebuilds the image, saves a backup of the service, recreates the container on the new image, checks that it comes back operational;
  4. if the service does not come back operational, it cancels and puts back the previous one: the status becomes «Rolled back» (or «Failed» if the rollback also failed) and the bell says «A service update needs attention».

Safety rules:

  • Catch-up window. If the appliance was switched off at night and comes on after the window, the round starts only within about two hours of the scheduled time; beyond that, it waits for the next day: it does not rebuild the domain and the mail in the middle of the morning.
  • Maximum time. A round has a time limit; the services that do not make it in time are left for the next round.
  • Held services. Some services are skipped while they are working (for example the document editor with open documents, or the DHCP while a dhcpd.conf is being imported into it) and taken up at the next round. Others are marked «On request only»: they do not update by themselves and are updated by pressing «Refresh».
  • Backup first. Every update happens “under a service backup”; old backups are removed after a successful update.

What the «Isolated services update» block shows: «Next run», «Last check», «Last update» and a table («Service», «Pending», «Last update») with the statuses:

Status Meaning
«Up to date» nothing is pending
«EDON image version» the current published image is running
«Due: EDON image version» there is a new image to install
«n packages» for a service rebuilt here, the packages that an update would install
«Waiting for a restart» the new image is already there, the container is not using it yet
«Due: …» an update was requested for a reason the scan does not see (a new version of an included program)
«Not checked» the check did not succeed (for example there is no internet)
«On request only» it does not update automatically
«Rolled back», «Failed» the last update did not succeed

The buttons: «Check now» re-reads without touching the services; «Update service» updates that service at once; «Update every service with updates waiting» updates them all, one at a time. During an update the console shows «Updating the services» and «Updating: service»; if the web proxy is being updated the page may lose its connection for a few moments and resumes by itself.

What a rebuild does, and what to avoid

Updating a service means rebuilding it: its image is replaced and the container recreated from scratch, with the configuration Atlas has in its state. The practical consequences:

  • open connections drop for a few seconds (mail sessions, VPN, calls, database connections);
  • the data (folders in /srv/data/pods, mail, databases) stays: it is not in the image;
  • the configuration is rewritten by Atlas from its settings: a change made by hand in the service’s files does not survive;
  • the PBX, recreated, may leave the provider line’s registration uncertain for a while (even up to an hour): Atlas frees the line first and re-attaches it afterwards, but do not repeat the operation by hand and several times in a row;
  • the recreated VPN puts the certificate copy right by itself at the next nightly synchronisation: in the meantime clients may refuse the certificate;
  • the web proxy (nginx) is the last in the queue and the one that makes you lose the page for a moment.

What not to do:

Do not Why
Rebuild or restart a service from a shell (podman stop, kill, rm, recompose) systemd puts it back or leaves it in an inconsistent state; use systemctl or the console’s buttons
Delete /srv/data/pods/.containers It is the store of the images: without it no service restarts until you download them again
Edit by hand the files of a service under /srv/data/pods The next update rewrites them
Replace with a new file one of the files mounted singly in a container (for example Postfix’s main.cf) The container keeps seeing the old one; write in place
Switch off or reboot the appliance while it is updating The round is interrupted halfway; when it is back check the services’ state
Update without a recent backup The update cancels by itself a service that does not restart, but it does not protect against a disk failure or a migration error
Remove a service’s images by hand to “free space” The container does not restart; old images are removed by Atlas itself after a successful update

How to update calmly: a checklist

Before an important window (for example after a big Atlas release):

  1. Make a recent backup and check that it succeeded (Backup → Logs).
  2. Look at Status: no service stopped or in error.
  3. Check the disk space (Status): an update needs space for the new images.
  4. Warn the users if a reboot is planned.
  5. Check that the bell has no old warnings to resolve.

After the window:

  1. Look at the bell: «System update completed» and «Services updated».
  2. Open System → Settings → Updates: the services table must show no «Failed» or «Rolled back».
  3. Check the report that arrived by email (only if something changed).
  4. Do two spot checks: a sign-in to the console, a test email, a call, a VPN sign-in.
  5. If a service is «Rolled back», it is back to what it was and works: read the reason and try again with «Update service» outside working hours.

Examples

Example: moving the window and getting the report. (From the scenario in system.) In Settings → Updates write 02:30 in «Update time» and lwhite@johnsmith.test in «Report email», leave «Enable automatic updates» on, turn on «Automatic reboot» only if the company accepts the reboot, press «Apply». Under the field read the recalculated window: 01:50, 02:10, 02:30; the services at 03:00.

Example: an urgent security release. The vendor reports a fix for mail. Do not wait for the night: in Settings → Updates press «Update now» for the system and the EDON packages; when the notification says it has finished, in the services table press «Check now» and then «Refresh» on the mail service (outside working hours: connections drop for a few seconds).

Example: a “Rolled back” service. In the morning the bell says «A service update needs attention» and the table shows the VPN service as «Rolled back». It means the new container did not start and Atlas put back the previous one: the VPN works. Read the reason, check that the internet and disk space are fine, and try again with «Update VPN» outside working hours. If it fails again, open a request with the partner with the reason written down.

Going back

The console has no “undo the Atlas update” function. For the services, going back to the previous one is automatic if the new one does not start. For the atlas package, going back to an earlier version with apt is possible in theory, but every update adapts the data to the new format and an old version may not understand it: do not do it without the partner’s guidance. The only real guarantee is a recent backup: if the appliance is compromised see the scenario «Replacing a failed appliance with a full restore».

Limits to remember

  • The services’ automatic updates depend on the system’s: with the first off, the second are off.
  • A round that cannot download the package lists does not count as “up to date”: the table says «Not checked».
  • The automatic reboot happens only once at the end of the window; if the reboot is off, it is up to you.
  • Repositories added by hand are not updated by Atlas.
  • Atlas collects no telemetry (see the product registration in installation): updates come from the APT repository and from the services’ images.
LET’S TALK INFRASTRUCTURE

Control starts with a conversation.

Tell us about your infrastructure. Let’s start with what you actually need.

Talk to an engineer