Updating

Keeping MyFin and its supporting services up to date ensures you receive the latest features, bug fixes, performance improvements, and security updates.

Updating a Docker Compose deployment is quick and usually only takes a few minutes.

Knowing When An Update Is Available

When a newer version of MyFin is out, the user who holds the license sees it in the Updates and notices panel next to the company list on the Companies page, with links to what’s new, the release notes and this guide. Notices about planned maintenance and other news are shown there too.

MyFin checks for updates every few hours, and when the license holder opens the Companies page (at most once every 15 minutes). It sends only its version number to the MyFin license server. If the server MyFin runs on has no internet connection, nothing is checked and nothing is shown.

To turn this off:

  • In MyFin, move your mouse over your picture in the top right corner, click on “My Preferences”, then on Updates in the side menu, and switch off “Get updates and maintenance notifications”, or
  • Add MYFIN_UPDATE_CHECKS=off to your .env file and restart MyFin. This turns it off whatever the setting in MyFin says.

The steps below update you to the newest version for your image. To move to a new major version, such as from 0.x to 1.x, see Upgrading To A New Major Version.

Important

Before performing any update, ensure that all users have logged out of MyFin. Updating while users are actively working may interrupt their session or result in unsaved work being lost.


Step 1 - Create a Backup

Before updating, always create a backup of your installation.

At a minimum, back up:

  • Your companies data

Important

Never perform an update without first creating a backup.


Step 2 - Check Your AUTH_SECRET

Since the November 2026 security update, MyFin needs its own AUTH_SECRET in your .env file and won’t start without one. Earlier versions had a built-in default that is public, so MyFin also refuses to start if you are still using it.

Open your .env file and check for a line starting with AUTH_SECRET= (or the older name NEXTAUTH_SECRET=) with a random value of at least 32 characters. If there isn’t one, add it:

AUTH_SECRET=<a long random secret>

See Making the AUTH_SECRET for how to make one. Everyone is signed out once when you add it, then signs in as usual.


Step 3 - Open a Terminal

Open a terminal or command prompt on the server.

Change to the directory containing your docker-compose.yml file.

For example:

cd /opt/myfin

Replace /opt/myfin with the location where you installed MyFin.


Step 4 - Download the Latest Images

Download the latest container images.

docker compose pull

Docker will only download images that have changed.


Step 5 - Restart the Containers

Stop the existing containers.

docker compose down

Then start the updated containers.

docker compose up -d

Docker Compose will recreate the containers using the newly downloaded images while preserving your existing data.

Tip

You can also perform Steps 4 and 5 using a single command:

docker compose pull && docker compose down && docker compose up -d

Step 6 - Verify the Update

Open your browser and sign in to MyFin.

Verify that:

  • MyFin loads successfully.
  • Your data is present.
  • Users can log in.
  • Reports and documents open correctly.

If everything is working as expected, the update is complete.


Upgrading To A New Major Version

A major version (0.x to 1.x, 1.x to 2.x) can bring bigger changes, so before you update:

  1. Read the release notes for the new version. They list anything you have to do yourself, such as a new setting in your .env file.
  2. Create a backup (Step 1). Don’t skip this: you can’t go back to the older version without one.

Subscription, Trial And Community Licenses

Your license already works with the new version, and the myfin/subscription:latest image moves to it on its own. Follow the update steps above.

Perpetual Licenses

A perpetual license is made for one major version, and your image (for example myfin/v0:latest) only updates within that version. To move up:

  1. Buy the upgrade on MyFin Hub and download the new license file. Keep the license key handy.
  2. Create a backup.
  3. Open docker-compose.yml and change the image to the new major version, for example from myfin/v0:latest to myfin/v1:latest.
  4. Follow Step 2, Step 4 and Step 5 above.
  5. Open MyFin. It asks for a license, because your old one is for the previous major version. Enter your email, the license key and the new license file, as in How To Activate MyFin, and click on “Upload”.
  6. Sign in and check everything as in Step 6.

Important

Upload the new license after you’ve changed the image, not before: the older version of MyFin doesn’t accept a license for a newer major version.


Troubleshooting

MyFin won’t start: “AUTH_SECRET is not set”, “too short” or “old built-in default”

docker compose logs myfin shows one of these errors when the AUTH_SECRET in your .env file is missing, shorter than 32 characters, or the old public default. Add or replace it as in Step 2, then run:

docker compose up -d

The update failed

If an update does not complete successfully:

  1. Check the container logs.
docker compose logs
  1. Verify that all containers are running.
docker compose ps
  1. If necessary, restore your backup and investigate the issue before attempting the update again.

We recommend checking for updates regularly to ensure your installation remains secure and up to date.

For most installations:

  • Check for updates once a month.
  • Install security updates as soon as they become available.
  • Always create a backup before updating.