Updating
When a newer Turtle starts on an existing data directory, it brings the database up to date by itself. There is nothing to migrate by hand.
Until 1.0, the data format may change between Releases. Make a Backup before each update, and read the release notes of each Release you skip: they say when a setting matters.
With Docker Compose
From the directory with compose.yml, pull the newer image and start it:
docker compose pull && docker compose up -d
The data stays in the turtle-data volume.
With docker run
Pull the newer image, then remove the container and start it again from the same volume:
docker pull ghcr.io/turtle-wiki/turtle:latest
docker rm -f turtle
docker run -d --name turtle -p 4100:4100 -v turtle-data:/data ghcr.io/turtle-wiki/turtle:latest
Removing the container keeps the turtle-data volume. Give docker run the same -e settings as before.
With the binary
Start the binary of the newer Release with the same data directory and settings. turtle --version says which Release it is.
Which Release you run
The account menu shows it on its last line, such as "Turtle 0.2.0". The first line Turtle logs when it starts says it too.
More is coming
Updating will be documented in more detail, and tested against real data directories, before Turtle 1.0. Issue #143 follows that work.