Upgrade

Before upgrading

For every version release, we have a corresponding release note on Github Release. If there are any breaking changes introduced, normally in a version with miner version number(0.xx.0) bumpped, we will put them at release note with in a conspicuous position.

Docker compose

To upgrade a AFFiNE self-host deployment that was installed using Docker Compose.

Download the latest docker-compose.yml file tagged together with AFFiNE releases.

wget -O docker-compose.yml https://github.com/toeverything/affine/releases/latest/download/docker-compose.yml

You need to pull the latest images manually:

docker compose pull
docker compose up -d

After upgrading to latest version, the old images can be safely cleaned up.

docker image prune