A HAIMDALL upgrade replaces the application container with a new image. (On Node.js hosting, see the Upgrading section of Installing on Node.js Hosting.) Your content, accounts and uploaded files are kept: they live in the database and on the data volume, not in the container.
1. Back up first
Important
Take a backup of the database and the data volume before every upgrade (see Backups). Database changes that come with an upgrade can't be undone by going back to the old image, so the backup is your way back. Use the database dump and volume copy for this, not the System › Backups download: that can only be restored into a new, empty installation, so it can't take you back to the older version.
2. Load the new image
docker load -i haimdall-<new version>.tar3. Switch to it
In your .env file, change HAIMDALL_IMAGE to the new tag, for example HAIMDALL_IMAGE=haimdall:0.2.0. Then:
docker compose up -d
docker compose logs -f appCompose replaces the application container; the database keeps running. While it starts, HAIMDALL:
updates the database to the new version (look for
[startup] database is up to date; if it can't, it stops and the log says why);rebuilds the compiled article pages in the background (
[startup] no compiled pages found — queued … article(s) for recompiling). Until that finishes, which takes a few seconds for a typical help centre, articles are still served normally, from the live pages.
Signed-in users stay signed in. The help site and the editor are unavailable for the few seconds the new container takes to start, so upgrade at a quiet time. Background work it interrupts, such as a page rebuild, picks up again on its own.
4. Check
Open the help site and the editor, and look at Help › Open-source notices to confirm the version shown. Press Ctrl+C to stop following the log.
If something goes wrong
Restore the backups you took in step 1 into the database and the data volume, set HAIMDALL_IMAGE back to the old tag, and run docker compose up -d again. Then contact your HAIMDALL supplier with the output of docker compose logs app.
Notes
Version addresses. From the release that added product versions, help-site page addresses start with
/latest(for example/latest/en/getting-started). Old addresses open the same page automatically, so existing links and bookmarks keep working, and search engines follow them to the new address. If a web server in front of HAIMDALL serves compiled pages frompublic/rendered/itself, see The Static Generation Engine.New interface text. A new version can add new on-screen text, for example a new button label. HAIMDALL adds it to your installation when it starts, in the languages the new version comes with; in your other languages it appears in English until you translate it under Customer site › Languages › Interface text. Your existing text and translations are never changed.
Licence notices in Help › Open-source notices always describe the version you're running, including its source-code archive.
Trying an upgrade first. On a large help site you can rehearse: install the new version on a test server, restore a System › Backups download into it (see Restoring from a Backup), and check it before upgrading the real installation.