# Issue installing AWX on redhat7 server

**URL:** <https://forum.ansible.com/t/issue-installing-awx-on-redhat7-server/35102>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [May 3, 2021, 6:26pm UTC](https://forum.ansible.com/t/issue-installing-awx-on-redhat7-server/35102 "2021-05-03T18:26:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bariou\_Alarou](https://avatars.discourse-cdn.com/v4/letter/b/71e660/32.png) [@Bariou\_Alarou](https://forum.ansible.com/u/Bariou_Alarou)\
**Post date:** [May 3, 2021, 6:26pm UTC](https://forum.ansible.com/t/issue-installing-awx-on-redhat7-server/35102/1 "2021-05-03T18:26:08Z")

</div>

TASK [local\_docker : Set up new postgres paths pre-upgrade] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
changed: [localhost]

TASK [local\_docker : Stop AWX before upgrading postgres] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [localhost]: FAILED! =\> {“changed”: false, “errors”: , “module\_stderr”: “Recreating awx\_postgres … \n\u001b[1A\u001b[2K\nRecreating awx\_postgres … \n\u001b[1BRecreating awx\_web … \nHost is already in use by another container\n\u001b[1A\u001b[2K\nRecreating awx\_web … \n\u001b[1B”, “module\_stdout”: “12: Pulling from library/postgres\nDigest: sha256:06277995d7028f4455e56f21864146ee2425c83308dc96283c7a96e6881cc826\nStatus: Downloaded newer image for postgres:12\n17.1.0: Pulling from ansible/awx\nDigest: sha256:d5d6003a9f32c3d00ee4be3275f62186937570e9e33776f848dbe9185623da97\nStatus: Downloaded newer image for ansible/awx:17.1.0\n”, “msg”: “Error starting project Encountered errors while bringing up the project.”}

Can anyone help here

> **(attachments)**
>
> ![awx.PNG](https://us1.discourse-cdn.com/ansible/original/2X/e/ef12301c38e5c55eaf3d2b9ada913d4b6e1527f5.png)

---

<div class="post-metadata">

**Author:** ![The\_Vandyy\_Vines](https://avatars.discourse-cdn.com/v4/letter/t/7993a0/32.png) [@The\_Vandyy\_Vines](https://forum.ansible.com/u/The_Vandyy_Vines)\
**Post date:** [May 3, 2021, 7:24pm UTC](https://forum.ansible.com/t/issue-installing-awx-on-redhat7-server/35102/2 "2021-05-03T19:24:40Z")

</div>

Is there any other postgres container running on the same host?

Docker ps -a

---

<div class="post-metadata">

**Author:** ![Bariou\_Alarou](https://avatars.discourse-cdn.com/v4/letter/b/71e660/32.png) [@Bariou\_Alarou](https://forum.ansible.com/u/Bariou_Alarou)\
**Post date:** [May 3, 2021, 8:03pm UTC](https://forum.ansible.com/t/issue-installing-awx-on-redhat7-server/35102/3 "2021-05-03T20:03:02Z")

</div>

nop. I have deleted everything restart now docker and start installation back from fresh. here is the new error I’m getting now.

TASK [local\_docker : Run migrations in task container] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
task path: /app/awx-17.1.0/installer/roles/local\_docker/tasks/compose.yml:45  
fatal: [localhost]: FAILED! =\> {“changed”: true, “cmd”: “docker-compose run --rm --service-ports task awx-manage migrate --no-input”, “delta”: “0:00:01.971408”, “end”: “2021-05-03 16:00:20.465307”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2021-05-03 16:00:18.493899”, “stderr”: “Creating network "awxcompose\_default" with the default driver\nCreating awx\_redis … \r\nCreating awx\_postgres … \r\nCreating awx\_postgres … done\r\nCreating awx\_redis … done\r\nCreating awx\_web … \r\nHost is already in use by another container\nCreating awx\_web … error\r\n\nERROR: for awx\_web Cannot start service web: driver failed programming external connectivity on endpoint awx\_web (30bd04da934f240519a0e52b0bfe9baeb8b54423babae3551122e9d684b2dc39): Error starting userland proxy: listen tcp6 [::]:80: socket: address family not supported by protocol\n\nERROR: for web Cannot start service web: driver failed programming external connectivity on endpoint awx\_web (30bd04da934f240519a0e52b0bfe9baeb8b54423babae3551122e9d684b2dc39): Error starting userland proxy: listen tcp6 [::]:80: socket: address family not supported by protocol\nEncountered errors while bringing up the project.”, “stderr\_lines”: [“Creating network "awxcompose\_default" with the default driver”, "Creating awx\_redis … ", "Creating awx\_postgres … ", “Creating awx\_postgres … done”, “Creating awx\_redis … done”, "Creating awx\_web … ", “Host is already in use by another container”, “Creating awx\_web … error”, “”, “ERROR: for awx\_web Cannot start service web: driver failed programming external connectivity on endpoint awx\_web (30bd04da934f240519a0e52b0bfe9baeb8b54423babae3551122e9d684b2dc39): Error starting userland proxy: listen tcp6 [::]:80: socket: address family not supported by protocol”, “”, “ERROR: for web Cannot start service web: driver failed programming external connectivity on endpoint awx\_web (30bd04da934f240519a0e52b0bfe9baeb8b54423babae3551122e9d684b2dc39): Error starting userland proxy: listen tcp6 [::]:80: socket: address family not supported by protocol”, “Encountered errors while bringing up the project.”], “stdout”: “”, “stdout\_lines”: }

> **(attachments)**
>
> ![awx.PNG](https://us1.discourse-cdn.com/ansible/original/2X/a/ad2d74ae6227d6fe6309d0894d97966904c33b50.png)

---

<div class="post-metadata">

**Author:** ![Bariou\_Alarou](https://avatars.discourse-cdn.com/v4/letter/b/71e660/32.png) [@Bariou\_Alarou](https://forum.ansible.com/u/Bariou_Alarou)\
**Post date:** [May 5, 2021, 3:02pm UTC](https://forum.ansible.com/t/issue-installing-awx-on-redhat7-server/35102/4 "2021-05-05T15:02:59Z")

</div>

solve the problem with docker version. I remove latest docker version and install this specific version

yum install docker-ce-20.10.5 docker-ce-cli-20.10.5 [containerd.io](http://containerd.io)

Problem solve
