Upgrading
Fret follows semantic versioning: a 1.x release never breaks your setup; a
change that needs your attention only comes with a new major version, and is described in the
changelog.
With Docker Compose
Section titled “With Docker Compose”docker compose pulldocker compose up -dTo stay on a minor version, pin the tag: ghcr.io/sokteam/fret:1.0 receives the 1.0.x fixes only.
With Docker
Section titled “With Docker”docker pull ghcr.io/sokteam/fret:latestdocker stop fret && docker rm fretdocker run -d --name fret … ghcr.io/sokteam/fret:latest # same options as beforeYour data is in the volumes: removing the container does not remove it.
With the binary
Section titled “With the binary”Download the new archive, replace the fret program, and restart Fret (sudo systemctl restart fret
with systemd).
What happens at startup
Section titled “What happens at startup”- The database is migrated automatically, step by step, each step in its own transaction.
- Parcels that were in transit go back to the dock and resume where they were.
fret versionand Settings › About show the running version.
Downgrading is not supported: a database migrated by a newer version may not work with an older one. Take a backup before a major upgrade.
Before you upgrade
Section titled “Before you upgrade”Read the changelog for the versions between yours and the new one, especially the Changed sections.