3.0.1 or 4.0.0 prevents the initial AWX login (which appears fine) with default admin_user (admin) and admin_password (password); this means that all access is forbidden from the GUI.3.0.1 with the same environment & config.4.0.0 from 3.0.05:18.09.5~3-0~ubuntu-bionicInside a python virtualenv:
. /path/to/awx/venv/bin/activate
pip2 install -I -U pip
pip2 install -I -U ansible
pip2 install -I -U docker
pip2 install -I -U docker-compose
git checkout 4.0.0
echo "use_docker_compose=true" >> installer/inventory
echo "docker_compose_dir=/path/to/awx/docker-compose" >> installer/inventory
cd installer
ansible-playbook -i inventory install.yml
deactivate
We should be able to perform the first login as admin/password.
Login forbidden.
4.0.0-274-g8383568e3Seeing the same thing
Could not login at all with 'admin' using https://github.com/geerlingguy/awx-container/blob/master/docker-compose.yml
Troubleshooting..
docker exec -it
bash-4.2# awx-manage changepassword admin
CommandError: user 'admin' does not exist
bash-4.2# awx-manage createsuperuser
Username (leave blank to use 'root'): admin
Email address: [email protected]
Password:
Password (again):
Superuser created successfully.
Now i can login
@majerus1223 that was helpful, but do you think we can pass the admin credentials using "docker run" command.
If you can I do not know how..
Seeing the same thing
Could not login at all with 'admin' using https://github.com/geerlingguy/awx-container/blob/master/docker-compose.yml
Troubleshooting..
docker exec -it /bin/bash execute the following commands.
bash-4.2# awx-manage changepassword admin CommandError: user 'admin' does not exist bash-4.2# awx-manage createsuperuser Username (leave blank to use 'root'): admin Email address: [email protected] Password: Password (again): Superuser created successfully.Now i can login
This really helps. Thanks,
Most helpful comment
Seeing the same thing
Could not login at all with 'admin' using https://github.com/geerlingguy/awx-container/blob/master/docker-compose.yml
Troubleshooting..
docker exec -it /bin/bash execute the following commands.
Now i can login