# AWX Login Issue

**URL:** <https://forum.ansible.com/t/awx-login-issue/31258>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [September 11, 2019, 12:40pm UTC](https://forum.ansible.com/t/awx-login-issue/31258 "2019-09-11T12:40:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manish\_Kumar](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@Manish\_Kumar](https://forum.ansible.com/u/Manish_Kumar)\
**Post date:** [September 11, 2019, 12:40pm UTC](https://forum.ansible.com/t/awx-login-issue/31258/1 "2019-09-11T12:40:37Z")

</div>

Dear All,

I have installed docker and able to launch webpage however default admin and password is not working so please let me know how I can access the console .

Thanks,  
Manish

---

<div class="post-metadata">

**Author:** ![Katsutoshi\_Nakatomi](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@Katsutoshi\_Nakatomi](https://forum.ansible.com/u/Katsutoshi_Nakatomi)\
**Post date:** [September 11, 2019, 12:47pm UTC](https://forum.ansible.com/t/awx-login-issue/31258/2 "2019-09-11T12:47:54Z")

</div>

Hi Manish

How did you write the inventory file settings when running install.yml?

---

<div class="post-metadata">

**Author:** ![Manish\_Kumar](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@Manish\_Kumar](https://forum.ansible.com/u/Manish_Kumar)\
**Post date:** [September 12, 2019, 6:33am UTC](https://forum.ansible.com/t/awx-login-issue/31258/3 "2019-09-12T06:33:22Z")

</div>

This is what I can see in inventory file which comes with install set by default and nothing was changed .

# This will create or update a default admin (superuser) account in AWX, if not provided

# then these default values are used

admin\_user=awx-admin  
admin\_password=CHANGE\_ME

---

<div class="post-metadata">

**Author:** ![Nivedita](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@Nivedita](https://forum.ansible.com/u/Nivedita)\
**Post date:** [September 20, 2019, 6:40am UTC](https://forum.ansible.com/t/awx-login-issue/31258/4 "2019-09-20T06:40:29Z")

</div>

As a work around you can follow the below steps :  
1st method:

1. Create a super user with awx\_manage utility:  
$ docker exec -it awx\_web /bin/bash  
$ awx-manage createsuperuser  
username:  
email:  
Password:
2. Now login with this created superuser

2nd:

1. \*Remove temporary database files \*  
#cd /tmp/pgdata  
#rm -rf \*
2. Execute awx playbook ‘install.yml’:  
ansible-playbook -i inventory install.yml -vv

---

<div class="post-metadata">

**Author:** ![Srinivasa\_Yerabati](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@Srinivasa\_Yerabati](https://forum.ansible.com/u/Srinivasa_Yerabati)\
**Post date:** [October 1, 2020, 2:28am UTC](https://forum.ansible.com/t/awx-login-issue/31258/5 "2020-10-01T02:28:11Z")

</div>

Hi,  
I am facing the same issue and I tried to create new superuser using awx-manage createsuperuser but still unable to login to AWX UI.  
Login page is coming up but getting “Invalid username and/or password. Please try again.” message.

Could you please advise?

Thanks  
Srini
