Skip to content

Updates

Back up first. Then git pull && docker compose up -d --build: the migrate service applies new migrations before the server starts. Without Docker: build, decuma migrate, restart decuma serve. Migrations only go forward; a downgrade is a restore of the backup. After the schema, migrate recomputes the identity of stored Bankumsätze (one transaction per Mandant; a failure names the Mandant and changes nothing of it) and reports on stderr how many may have been read twice; each has a Rückfrage in the inbox.

An installation from before the first release may stop at start with “the Regelwerk version … is already loaded with other content”: rule data of 2026 were corrected in place before the release. If no Meldung was released (Freigabe) since that version was loaded, replace it once: back up, set DECUMA_RULE_DATA_REPLACE=1 for the migrate step (Docker: DECUMA_RULE_DATA_REPLACE=1 docker compose up -d; without Docker: DECUMA_RULE_DATA_REPLACE=1 decuma migrate), and read its warnings, one line per replaced version. Then remove the setting. If a Freigabe was given since, migrate refuses and changes nothing: restore the backup and stay on the release that loaded the version until a correction ships as a new version (ADR 0016).

What is tested before a release, which official checks have run and which have not: Verification.