Updating Ronne
Updating a running instance: the command for each way of installing it, backing up first, and what happens at start.
Describes Ronne AI Marketplace 0.4.0.
Updating Ronne
docker compose pull && docker compose up -d # Docker npm install --global @ronneai/marketplace@latest # npm sudo rmk-server service restart # npm, as a service: then this sudo apt install ./rmk-server_X.Y.Z-1_amd64.deb # a package: the new one (or dnf install) git pull && pnpm install && pnpm build && pnpm start # a clone
Security fixes come out in releases, and only the latest release gets them: upgrade to get one (see Security).
Back up first: an upgrade can't be undone, and a backup is the way back (docker compose exec web pnpm run backup, or sudo rmk-server backup; Backups).
Pending database migrations run when the server starts. If one fails, the server stops instead of serving a half-migrated database. Each release is tagged X.Y.Z, X.Y and latest on Docker Hub; to pin one, set RONNE_IMAGE=ronneai/marketplace:X.Y.Z next to compose.yaml. The image and the npm packages share a version.