For the complete documentation index, see llms.txt. This page is also available as Markdown.

upgrading

When Ledgerise publishes a new version, you will receive an email with a changelog and migration notes. Review the changelog before upgrading — it will tell you whether the release contains breaking changes, schema migrations, or configuration changes that need your attention.


before you upgrade

  • Read the changelog for the release you are applying.

  • Back up your database before upgrading. Migrations alter the schema and cannot be automatically rolled back. → Backups

  • Plan for a brief service interruption. Users cannot access the dashboard while services are restarting.


upgrading a docker deployment

This is the standard upgrade path for commercial customers:

First edit .env and change LEDGERISE_IMAGE_TAG to the version from the Ledgerise release notice:

LEDGERISE_IMAGE_TAG=0.1.1

The server must be authenticated to GitHub Container Registry before it can pull the private Ledgerise image. If this is the first upgrade from this server, or if docker compose pull returns an authorization error, sign in with the ledgerise-dev username and the personal access token provided by Ledgerise:

docker login ghcr.io -u ledgerise-dev

When Docker prompts for a password, paste the personal access token provided by Ledgerise.

Then run:

# 1. Pull the new image
docker compose pull

# 2. Run migrations before restarting services
docker compose --profile tools run --rm migrate

# 3. Restart all services
docker compose up -d caddy api web worker

Run the migration step before restarting — never the other way around. Starting the new API version before migrations are applied can cause the application to fail to start or behave incorrectly.

Verify the upgrade:

All four services should be Up and the health check should return "db":"ok".


after upgrading

  • Check the dashboard loads correctly.

  • Confirm the health check endpoint returns "db":"ok".

  • Check the Journal Log — verify the engine continues to run on its normal schedule.

  • If the upgrade introduced any configuration changes noted in the changelog, apply them now.


if something goes wrong

migrations fail

Stop the services and restore your database backup before attempting again. Do not run the new application version against a schema that failed to migrate cleanly.

api does not start after upgrade

Check the API logs for the error:

Common causes: a new required environment variable that is not yet set in .env, or a migration that did not complete.

dashboard shows blank page or "failed to fetch"

Check the dashboard runtime config before assuming the image is wrong:

It should contain the Ledgerise domain. If it does not, update LEDGERISE_DOMAIN in .env and restart the web service:

Last updated