Upgrade the server
Image tags
Section titled “Image tags”The image is ghcr.io/telesphorepo/telesphorepo, for linux/amd64 and linux/arm64.
| Tag | Is |
|---|---|
latest |
The newest release |
0.1.0, 0.1 |
One release, or the newest of a minor version |
main |
The newest tested build of the main branch |
sha-<commit> |
One build of the main branch |
Use latest, or pin a version such as 0.1 to choose when you upgrade.
Upgrade
Section titled “Upgrade”-
Open Settings › Backups, and click Back up now.
-
Start the new version on the same data, with the same
-evariables.Terminal window docker pull ghcr.io/telesphorepo/telesphorepo:latestdocker rm -f telesphorepodocker run -d --name telesphorepo -p 127.0.0.1:8080:8080 -v telesphorepo-data:/data -v telesphorepo-backups:/backups ghcr.io/telesphorepo/telesphorepo:latestWith Podman, write
podmanin place ofdocker.Terminal window docker compose pulldocker compose up -dStop the server. Put the new
telesphorepo-serverfrom GitHub Releases in place of the old one, and start it. -
Check that it runs. The answer is
ok.Terminal window curl https://repo.example.com/healthz
On its first start, the new version updates the database.
If something goes wrong
Section titled “If something goes wrong”The server refuses to start after a downgrade
The server does not start on a database from a newer version. Restore the backup you made before the upgrade.