Frequent questions
Didn't get the prompt for the first user
If you didn't get the prompt to create the first user, or lost the password but you still have access to the infra level, you can trigger the createsuperuser
command to fix that.
In your compose file folder, try:
docker compose exec backend poetry run python manage.py createsuperuser
Alternatively, in a docker environment:
docker ps -a | grep backend
(this will get you the id of the Backend for CISO Assistant container, keep it for the next step)
docker exec -it <the_container_id> poetry run python manage.py createsuperuser
and you should get a prompt now 😉
Random issues after upgrading
In some rare cases, the migration of database schemas can take longer than expected or fail silently. First thing to check is the backend container logs:
Make sure you share these information if you're reporting an issue on Discord or the Support portal.
If you want to trigger the migration to make sure that all increments have been properly applied:
Healthcheck fails during the installation
most likely because the initialization took longer than expected. Make sure you provide the expected specs or tune the docker compose to give the app more time to finish the init phase.
Don't want / Can't run the init script
The recommended pattern for a first local setup is to go with ./docker-compose.sh ; In case you can't:
Run
wait for the init to finish and then trigger the first user creation manually:
Last updated
Was this helpful?