Upgrading Pluma
How to safely update a self-hosted Pluma installation to a newer release.
Watch for releases
Subscribe to new releases on GitHub so you are notified when a version drops:
- Open github.com/403-html/pluma .
- Click Watch → Custom → Releases and save.
All release notes are published on the Releases page and include a changelog, any breaking changes, and rollback instructions when applicable.
Before you upgrade
Always back up your database first.
pg_dump -U pluma -d pluma > pluma_backup_$(date +%Y%m%d).sqlKeep the backup for at least 7 days after the upgrade. For major version upgrades, consult the release notes for additional pre-upgrade steps.
Update the image tag
Open your docker-compose.yml and bump both image tags to the new version:
api:
image: ghcr.io/403-html/pluma-api:v1.4.1 # ← change to new version
app:
image: ghcr.io/403-html/pluma-app:v1.4.1 # ← change to new versionPull and restart
docker compose pull
docker compose up -dDatabase migrations run automatically when the API container starts — no manual steps required.
Verify
Confirm the new version is running and migrations completed successfully:
docker compose logs apiLook for a line similar to:
All migrations have been successfully applied.If the migration fails, stop the containers and restore your backup:
docker compose down
psql -U pluma -d pluma < pluma_backup_YYYYMMDD.sqlThen report the issue on the Pluma issue tracker .
Pinned versions vs latest
| Strategy | Image tag | Recommended for |
|---|---|---|
| Pinned version | v1.4.1 | Production |
| Latest | latest | Local dev / testing |
Use pinned versions in production so upgrades are intentional and auditable.
The latest tag always points to the most recent release and will upgrade
automatically on the next docker compose pull.