Roster Wizard Production Upgrade

How to Upgrade a Production Installation of Roster Wizard

Backup database:

cd /opt/roster
docker compose exec db pg_dumpall -U postgres > roster.sql

Update .env files if there are new variables since previous installation (see production installattion instructions for details).

rm docker-compose.yml
rm docker-compose.override.yml
rm docker-compose.production.yml
cp docker-compose.production.yml docker-compose.override.yml
docker compose down
docker compose pull
docker compose up -d
docker compose exec web python migrate
docker compose exec web python collectstatic
docker image prune

Check the Roster Wizard User Guide for changes.