From 56791089c1e612b019729dc859aef0dc530f3c95 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Sun, 9 Jul 2023 00:22:49 +0000 Subject: [PATCH] generate must come before collectstatic --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 6f0b50be..3cd6fcc0 100644 --- a/update.sh +++ b/update.sh @@ -408,6 +408,7 @@ sudo chgrp -R ${USER}:${USER} /opt/tactical python manage.py pre_update_tasks celery -A tacticalrmm purge -f python manage.py migrate +python manage.py generate_json_schemas python manage.py delete_tokens python manage.py collectstatic --no-input python manage.py reload_nats @@ -416,7 +417,6 @@ python manage.py create_installer_user python manage.py create_natsapi_conf python manage.py create_uwsgi_conf python manage.py clear_redis_celery_locks -python manage.py generate_json_schemas python manage.py setup_reporting_permissions python manage.py post_update_tasks API=$(python manage.py get_config api)