- Assumes custom env (i.e. custom Django settings module) at .env
- You need to run
compress
(django-compressor) to it syncs the new assets to S3
sudo -u pretix -i
source venv/bin/activate
export $(cat .env)
pip3 install -U --upgrade-strategy eager pretix gunicorn
python -m pretix migrate
python -m pretix rebuild
python -m pretix updateassets
python -m pretix compress
exit
systemctl restart pretix-web pretix-worker
Important: run compress
, then reboot! Otherwise after new assets, it will hard crash and complain about missing assets on CDN.