Skip to content

Updates

MrJSA edited this page Oct 27, 2026 · 4 revisions

From the admin (recommended)

Settings → System & Updates → Check for updates → Update now.

The updater backs up the database to backups/, switches the code to the newest release, rebuilds and restarts the shop. If the build fails, the previous code stays active. Database migrations run automatically when the backend starts.

Manually

cd /opt/rustwebshop
docker compose exec -T db pg_dump -U shop_user shop_db > backups/manual-$(date +%F).sql
git fetch --tags && git checkout "$(git tag -l 'v*' --sort=-v:refname | head -1)"
docker compose up -d --build

Files the updater changes are owned by root; use sudo for manual git commands in /opt/rustwebshop afterwards.

Clone this wiki locally