Skip to content

Updates

MrJSA edited this page Oct 28, 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.

The shop follows the stable channel by default. To test new features early on a test installation, switch to beta (see Release Channels).

Manually

cd /opt/rustwebshop
mkdir -p backups
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*' | grep -v -- -beta | sort -V | tail -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