# AWX 10.0.0 container errors

**URL:** <https://forum.ansible.com/t/awx-10-0-0-container-errors/32594>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [April 3, 2020, 8:28am UTC](https://forum.ansible.com/t/awx-10-0-0-container-errors/32594 "2020-04-03T08:28:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ankit2](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Post date:** [April 3, 2020, 8:28am UTC](https://forum.ansible.com/t/awx-10-0-0-container-errors/32594/1 "2020-04-03T08:28:16Z")

</div>

Hi,

I recently did a clean installation of AWX 10.0.0 and getting my UI screen stuck at migration screen. I can see the following warnings and errors from redis, task and web containers.

**Redis**

`1:C 02 Apr 2020 16:26:53.487 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 02 Apr 2020 16:26:53.487 # Redis version=5.0.8, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 02 Apr 2020 16:26:53.487 # Configuration loaded 1:M 02 Apr 2020 16:26:53.488 * Running mode=standalone, port=0. 1:M 02 Apr 2020 16:26:53.489 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 02 Apr 2020 16:26:53.489 # Server initialized 1:M 02 Apr 2020 16:26:53.489 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. 1:M 02 Apr 2020 16:26:53.489 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. 1:M 02 Apr 2020 16:26:53.489 * The server is now ready to accept connections at /var/run/redis/redis.sock 1:signal-handler (1585844814) Received SIGTERM scheduling shutdown... 1:M 02 Apr 2020 16:26:54.894 # User requested shutdown... 1:M 02 Apr 2020 16:26:54.894 * Removing the unix socket file. 1:M 02 Apr 2020 16:26:54.895 # Redis is now ready to exit, bye bye... 1:C 02 Apr 2020 16:26:55.976 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 1:C 02 Apr 2020 16:26:55.976 # Redis version=5.0.8, bits=64, commit=00000000, modified=0, pid=1, just started 1:C 02 Apr 2020 16:26:55.976 # Configuration loaded 1:M 02 Apr 2020 16:26:55.977 * Running mode=standalone, port=0. 1:M 02 Apr 2020 16:26:55.977 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 1:M 02 Apr 2020 16:26:55.977 # Server initialized 1:M 02 Apr 2020 16:26:55.977 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. 1:M 02 Apr 2020 16:26:55.977 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. 1:M 02 Apr 2020 16:26:55.978 * The server is now ready to accept connections at /var/run/redis/redis.sock`

**AWX\_Task**

`  
2020-04-03 08:24:57,685 ERROR awx.conf.settings Database settings are not available, using defaults.  
Traceback (most recent call last):  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 84, in \_execute  
return self.cursor.execute(sql, params)  
psycopg2.errors.UndefinedTable: relation “conf\_setting” does not exist  
LINE 1: …f\_setting".“value”, “conf\_setting”.“user\_id” FROM "conf\_sett…  
^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/conf/settings.py”, line 76, in \_ctit\_db\_wrapper  
yield  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/conf/settings.py”, line 404, in **getattr**  
value = self.\_get\_local(name)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/conf/settings.py”, line 347, in \_get\_local  
setting = Setting.objects.filter(key=name, user\_\_isnull=True).order\_by(‘pk’).first()  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/query.py”, line 653, in first  
for obj in (self if self.ordered else self.order\_by(‘pk’))[:1]:  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/query.py”, line 274, in **iter**  
self.\_fetch\_all()  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/query.py”, line 1242, in \_fetch\_all  
self.\_result\_cache = list(self.\_iterable\_class(self))  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/query.py”, line 55, in **iter**  
results = compiler.execute\_sql(chunked\_fetch=self.chunked\_fetch, chunk\_size=self.chunk\_size)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/sql/compiler.py”, line 1140, in execute\_sql  
cursor.execute(sql, params)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 67, in execute  
return self.\_execute\_with\_wrappers(sql, params, many=False, executor=self.\_execute)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 76, in \_execute\_with\_wrappers  
return executor(sql, params, many, context)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 84, in \_execute  
return self.cursor.execute(sql, params)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/utils.py”, line 89, in **exit**  
raise dj\_exc\_value.with\_traceback(traceback) from exc\_value  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 84, in \_execute  
return self.cursor.execute(sql, params)  
django.db.utils.ProgrammingError: relation “conf\_setting” does not exist  
LINE 1: …f\_setting".“value”, “conf\_setting”.“user\_id” FROM "conf\_sett…  
^

2020-04-03 08:24:57,687 ERROR awx.conf.settings Database settings are not available, using defaults.  
Traceback (most recent call last):  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 84, in \_execute  
return self.cursor.execute(sql, params)  
psycopg2.errors.UndefinedTable: relation “conf\_setting” does not exist  
LINE 1: …f\_setting".“value”, “conf\_setting”.“user\_id” FROM "conf\_sett…  
^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/conf/settings.py”, line 76, in \_ctit\_db\_wrapper  
yield  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/conf/settings.py”, line 404, in **getattr**  
value = self.\_get\_local(name)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/conf/settings.py”, line 347, in \_get\_local  
setting = Setting.objects.filter(key=name, user\_\_isnull=True).order\_by(‘pk’).first()  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/query.py”, line 653, in first  
for obj in (self if self.ordered else self.order\_by(‘pk’))[:1]:  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/query.py”, line 274, in **iter**  
self.\_fetch\_all()  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/query.py”, line 1242, in \_fetch\_all  
self.\_result\_cache = list(self.\_iterable\_class(self))  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/query.py”, line 55, in **iter**  
results = compiler.execute\_sql(chunked\_fetch=self.chunked\_fetch, chunk\_size=self.chunk\_size)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/sql/compiler.py”, line 1140, in execute\_sql  
cursor.execute(sql, params)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 67, in execute  
return self.\_execute\_with\_wrappers(sql, params, many=False, executor=self.\_execute)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 76, in \_execute\_with\_wrappers  
return executor(sql, params, many, context)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 84, in \_execute  
return self.cursor.execute(sql, params)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/utils.py”, line 89, in **exit**  
raise dj\_exc\_value.with\_traceback(traceback) from exc\_value  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 84, in \_execute  
return self.cursor.execute(sql, params)  
django.db.utils.ProgrammingError: relation “conf\_setting” does not exist  
LINE 1: …f\_setting".“value”, “conf\_setting”.“user\_id” FROM "conf\_sett…  
^

2020-04-03 08:24:58,039 ERROR awx.conf.settings Database settings are not available, using defaults.  
Traceback (most recent call last):  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 84, in \_execute  
return self.cursor.execute(sql, params)  
psycopg2.errors.UndefinedTable: relation “conf\_setting” does not exist  
LINE 1: …f\_setting".“value”, “conf\_setting”.“user\_id” FROM "conf\_sett…  
^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/conf/settings.py”, line 76, in \_ctit\_db\_wrapper  
yield  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/conf/settings.py”, line 404, in **getattr**  
value = self.\_get\_local(name)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/conf/settings.py”, line 347, in \_get\_local  
setting = Setting.objects.filter(key=name, user\_\_isnull=True).order\_by(‘pk’).first()  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/query.py”, line 653, in first  
for obj in (self if self.ordered else self.order\_by(‘pk’))[:1]:  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/query.py”, line 274, in **iter**  
self.\_fetch\_all()  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/query.py”, line 1242, in \_fetch\_all  
self.\_result\_cache = list(self.\_iterable\_class(self))  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/query.py”, line 55, in **iter**  
results = compiler.execute\_sql(chunked\_fetch=self.chunked\_fetch, chunk\_size=self.chunk\_size)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/sql/compiler.py”, line 1140, in execute\_sql  
cursor.execute(sql, params)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 67, in execute  
return self.\_execute\_with\_wrappers(sql, params, many=False, executor=self.\_execute)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 76, in \_execute\_with\_wrappers  
return executor(sql, params, many, context)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 84, in \_execute  
return self.cursor.execute(sql, params)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/utils.py”, line 89, in **exit**  
raise dj\_exc\_value.with\_traceback(traceback) from exc\_value  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 84, in \_execute  
return self.cursor.execute(sql, params)  
django.db.utils.ProgrammingError: relation “conf\_setting” does not exist  
LINE 1: …f\_setting".“value”, “conf\_setting”.“user\_id” FROM "conf\_sett…  
^

Traceback (most recent call last):  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 84, in \_execute  
return self.cursor.execute(sql, params)  
psycopg2.errors.UndefinedTable: relation “main\_instance” does not exist  
LINE 1: SELECT (1) AS “a” FROM “main\_instance” WHERE “main\_instance”…  
^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):  
File “/usr/bin/awx-manage”, line 8, in   
sys.exit(manage())  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/ **init**.py”, line 152, in manage  
execute\_from\_command\_line(sys.argv)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/ **init**.py”, line 381, in execute\_from\_command\_line  
utility.execute()  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/ **init**.py”, line 375, in execute  
self.fetch\_command(subcommand).run\_from\_argv(self.argv)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/base.py”, line 323, in run\_from\_argv  
self.execute(\*args, \*\*cmd\_options)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/core/management/base.py”, line 364, in execute  
output = self.handle(\*args, \*\*options)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/management/commands/run\_dispatcher.py”, line 56, in handle  
reaper.reap()  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/dispatch/reaper.py”, line 38, in reap  
(changed, me) = Instance.objects.get\_or\_register()  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/managers.py”, line 144, in get\_or\_register  
return (False, [self.me](http://self.me)())  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/main/managers.py”, line 114, in me  
if node.exists():  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/query.py”, line 766, in exists  
return self.query.has\_results(using=self.db)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/sql/query.py”, line 522, in has\_results  
return compiler.has\_results()  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/sql/compiler.py”, line 1110, in has\_results  
return bool(self.execute\_sql(SINGLE))  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/models/sql/compiler.py”, line 1140, in execute\_sql  
cursor.execute(sql, params)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 67, in execute  
return self.\_execute\_with\_wrappers(sql, params, many=False, executor=self.\_execute)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 76, in \_execute\_with\_wrappers  
return executor(sql, params, many, context)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 84, in \_execute  
return self.cursor.execute(sql, params)  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/utils.py”, line 89, in **exit**  
raise dj\_exc\_value.with\_traceback(traceback) from exc\_value  
File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/db/backends/utils.py”, line 84, in \_execute  
return self.cursor.execute(sql, params)  
django.db.utils.ProgrammingError: relation “main\_instance” does not exist  
LINE 1: SELECT (1) AS “a” FROM “main\_instance” WHERE “main\_instance”…  
^

2020-04-03 08:24:58,499 INFO exited: dispatcher (exit status 1; not expected)  
2020-04-03 08:24:59,504 INFO spawned: ‘dispatcher’ with pid 23566  
2020-04-03 08:25:00,506 INFO success: dispatcher entered RUNNING state, process has stayed up for \> than 1 seconds (startsecs)  
`

can anyone please suggest a fix?

Thanks.

---

<div class="post-metadata">

**Author:** ![Denson\_George](https://avatars.discourse-cdn.com/v4/letter/d/9de0a6/32.png) [@Denson\_George](https://forum.ansible.com/u/Denson_George)\
**Post date:** [May 28, 2021, 9:32am UTC](https://forum.ansible.com/t/awx-10-0-0-container-errors/32594/2 "2021-05-28T09:32:40Z")

</div>

Hey, Did you get any fix?
