Warning:
Always take a backup of the Postgres database before upgrading libredesk.
How to back up the database
Dump the database to a file with pg_dump. This works for both Docker and non-Docker setups, since Docker exposes Postgres on localhost:5432. Replace the user and database name (libredesk) if you changed them in your config.
pg_dump -h localhost -U libredesk libredesk > libredesk_backup.sql
Upgrade methods
Binary
Stop libredesk
Stop the running libredesk binary process.
Download latest release
Download the latest release and extract the libredesk binary to overwrite the previous version.
Upgrade database
./libredesk --upgrade
Upgrades are idempotent, so running this more than once does nothing.
Start libredesk
./libredesk
Docker
Stop the application
docker compose down app
Pull latest image
docker compose pull
Start the application
docker compose up app -d
