New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login after deployment #109
Comments
Hi @Neodyn, This is a duplicate of #92 . Nevertheless, the default user accounts are supposed to be added by the following migration ac311a84207a_added_default_user_accounts.py. Can you please provide a dump of your database for us to verify that all migrations have been run? To do this, simply run the following command and attach the resulting docker exec taranis-ng-database-1 pg_dump --data-only -U taranis-ng -d taranis-ng > export.sql If you are unable to run this command, it probably means the name of the container is different, so you can find the name by doing docker exec <CONTAINER_NAME> pg_dump --data-only -U taranis-ng -d taranis-ng > export.sql
====
docker exec taranis-ng_database_1 pg_dump --data-only -U taranis-ng -d taranis-ng > export.sql Thank you. |
I can see that the user accounts are present in your database (both the Can you please provide us with the logs from all of the containers while you attempt to log in? You can achieve this with the following commands: docker-compose -f docker/docker-compose.yml down --remove # this should remove all containers, also clear logs
docker-compose -f docker/docker-compose.yml down # if the above command does not work, try without --remove
docker-compose -f docker/docker-compose.yml up -d # bring the container back up
# wait for TNG to boot up
# try to log in with default credentials, eg. admin/admin or user/user
docker-compose -f docker/docker-compose.yml logs > logs.txt # export the logs for all containers |
Thank you for your support. |
This issue went quitet for some time. Let me pick it up:
when you do you can change their values by editing This is how it looks like on my side, for instance. You need to change localhost to your intended hostname.
|
(i know it's an old issue but it's still open so it might still be helpful, if not for others) @Neodyn. I had this same issue and fixed it with the following steps:
|
Login is not possible with the provided default credentials:
The default credentials are user / user and admin / admin
Also edit of the existing account "admin" with
sudo docker exec -it taranis-ng-core-1 python manage.py account -e --username admin --password admin
does not work.The text was updated successfully, but these errors were encountered: