# AWX UI, 502 error after upgrading to 11.0.0

**URL:** <https://forum.ansible.com/t/awx-ui-502-error-after-upgrading-to-11-0-0/33117>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [June 8, 2020, 12:03pm UTC](https://forum.ansible.com/t/awx-ui-502-error-after-upgrading-to-11-0-0/33117 "2020-06-08T12:03:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prabhu\_sridhar](https://avatars.discourse-cdn.com/v4/letter/p/858c86/32.png) [@prabhu\_sridhar](https://forum.ansible.com/u/prabhu_sridhar)\
**Post date:** [June 8, 2020, 12:03pm UTC](https://forum.ansible.com/t/awx-ui-502-error-after-upgrading-to-11-0-0/33117/1 "2020-06-08T12:03:21Z")

</div>

Hi

I am trying to upgrade AWX to 11.0.0 using docker stack

was able to start the container( awx web, awx task and postgre 10) , however web UI is not reachable after the update.

It is giving 502 error(Bad gateway)

Below are the suspected error noticed.

AWX task error:

**2020-06-08 10:23:27,954 ERROR awx.main.utils.reload supervisorctl restart awx-rsyslogd errored with exit code `1`, stdout:**  
**b"error: \<class ‘OSError’\>, [Errno 101] Network is unreachable: file: /usr/lib64/python3.6/socket.py line: 713"stderr:**  
**b’’**  
**2020-06-08 10:23:27,961 DEBUG awx.main.dispatch task dddb53f8-afd9-40c5-83a0-ab4677746e0b starting awx.main.tasks.migrate\_legacy\_event\_data(\*[‘main\_jobevent’])**

**2020-06-08 10:23:25,993 INFO spawned: ‘awx-rsyslogd’ with pid 113**  
**rsyslogd: error writing pid file (creation stage)**  
**: No such file or directory**  
**rsyslogd: run failed with error -3000 (see rsyslog.h or try [https://www.rsyslog.com/e/3000](https://www.rsyslog.com/e/3000) to learn what that number means)**  
**2020-06-08 10:23:26,017 INFO exited: awx-rsyslogd (exit status 1; not expected)**

DB error:  
**ERROR: relation “conf\_setting” does not exist at character 158**

**RROR: relation “django\_migrations” does not exist at character 124**  
**2020-06-08 10:20:09.681 UTC [75] STATEMENT: SELECT “django\_migrations”.“id”, “django\_migrations”.“app”, “django\_migrations”.“name”, “django\_migrations”.“applied” FROM “django\_migrations” WHERE (“django\_migrations”.“app” = ‘main’ AND NOT (“django\_migrations”.“name”::text LIKE ‘%squashed%’)) ORDER BY “django\_migrations”.“id” DESC LIMIT 1**

The DB errors , is that communication issue between awx web and the DB?  
Please throw some light on the issue.

I have attached the full log files for more details.

Regards  
Prabhu

> **(attachments)**
>
> [awx\_task.txt](https://forum.ansible.com/uploads/short-url/iMYuzadZGt7CXJgsX595ca0Boy6.txt) (26.7 KB)  
> [awx\_web.txt](https://forum.ansible.com/uploads/short-url/m6kR6QWjPxYOtIM7wm5xUlErsVj.txt) (143 KB)  
> [Postgre\_10.txt](https://forum.ansible.com/uploads/short-url/ePAlEsuDJXUtLNLw14EzFrZb8bT.txt) (285 KB)
