Johannes Zellner 8 лет назад
Родитель
Сommit
fb2cd6b227
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      start.sh

+ 4 - 0
start.sh

@@ -56,6 +56,10 @@ else
     python manage.py migrate --noinput
 fi
 
+# this is done here since old taiga installations do not have a superadmin
+echo "==> Create superadmin"
+python manage.py loaddata initial_user
+
 echo "==> Make cloudron own /run"
 chown -R cloudron:cloudron /run
 chown -R cloudron:cloudron /app/data