# AWX 9.3.0 Built Local Images Error - Unable to configure handler 'dispatcher'

**URL:** <https://forum.ansible.com/t/awx-9-3-0-built-local-images-error-unable-to-configure-handler-dispatcher/34441>\
**Category:** AWX Project\
**Tags:** kubernetes, awx\
**Created:** [January 14, 2021, 8:27am UTC](https://forum.ansible.com/t/awx-9-3-0-built-local-images-error-unable-to-configure-handler-dispatcher/34441 "2021-01-14T08:27:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adrian\_Sanchez](https://avatars.discourse-cdn.com/v4/letter/a/e495f1/32.png) [@Adrian\_Sanchez](https://forum.ansible.com/u/Adrian_Sanchez)\
**Post date:** [January 14, 2021, 8:27am UTC](https://forum.ansible.com/t/awx-9-3-0-built-local-images-error-unable-to-configure-handler-dispatcher/34441/1 "2021-01-14T08:27:48Z")

</div>

Hi Everybody!

SUMMARY

After building awx\_web and awx\_tasks images locally using image\_build role, awx is not able to start showing Unable to configure handler ‘dispatcher’: [Errno 13] Permission denied: ‘/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/dispatcher.log’

ENVIRONMENT- AWX version: 9.3.0

- AWX install method: Kubernetes
- Ansible version: 2.9.5  
STEPS TO REPRODUCE

1.-Execute image\_build role  
2.-deploy awx using those local built images

EXPECTED RESULTS

AWX starting as expected. Using the same deployment method and consuming DockerHub images it deploys correctly.

ACTUAL RESULTS

AWX does not start. It fails in awx\_migrate\_database task showing the following:

Traceback (most recent call last): │ │ File “/usr/lib64/python3.6/logging/config.py”, line 565, in configure │ │ handler = self.configure\_handler(handlers[name]) │ │ File “/usr/lib64/python3.6/logging/config.py”, line 738, in configure\_handler │ │ result = factory(\*\*kwargs) │ │ File “/usr/lib64/python3.6/logging/handlers.py”, line 150, in **init** │ │ BaseRotatingHandler. **init** (self, filename, mode, encoding, delay) │ │ File “/usr/lib64/python3.6/logging/handlers.py”, line 57, in **init** │ │ logging.FileHandler. **init** (self, filename, mode, encoding, delay) │ │ File “/usr/lib64/python3.6/logging/ **init**.py”, line 1032, in **init** │ │ StreamHandler. **init** (self, self.\_open()) │ │ File “/usr/lib64/python3.6/logging/ **init**.py”, line 1061, in \_open │ │ return open(self.baseFilename, self.mode, encoding=self.encoding) │ │ PermissionError: [Errno 13] Permission denied: ‘/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/dispatcher.log’ │ │ During handling of the above exception, another exception occurred: │ │ Traceback (most recent call last): │ │ File “/var/lib/awx/venv/awx/bin/daphne”, line 8, in │ │ sys.exit(CommandLineInterface.entrypoint()) │ │ File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/daphne/cli.py”, line 144, in entrypoint │ │ cls().run(sys.argv[1:]) │ │ File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/daphne/cli.py”, line 174, in run │ │ channel\_layer = importlib.import\_module(module\_path) │ │ File “/var/lib/awx/venv/awx/lib64/python3.6/importlib/ **init**.py”, line 126, in import\_module │ │ return \_bootstrap.\_gcd\_import(name[level:], package, level) │ │ File “”, line 994, in \_gcd\_import │ │ File “”, line 971, in \_find\_and\_load │ │ File “”, line 955, in \_find\_and\_load\_unlocked │ │ File “”, line 665, in \_load\_unlocked │ │ File “”, line 678, in exec\_module │ │ File “”, line 219, in \_call\_with\_frames\_removed │ │ File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/asgi.py”, line 37, in │ │ channel\_layer = get\_channel\_layer() │ │ File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/channels/asgi.py”, line 117, in get\_channel\_layer │ │ django.setup() │ │ File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/ **init**.py”, line 19, in setup │ │ configure\_logging(settings.LOGGING\_CONFIG, settings.LOGGING) │ │ File “/var/lib/awx/venv/awx/lib/python3.6/site-packages/django/utils/log.py”, line 76, in configure\_logging │ │ logging\_config\_func(logging\_settings) │ │ File “/usr/lib64/python3.6/logging/config.py”, line 802, in dictConfig │ │ dictConfigClass(config).configure() │ │ File “/usr/lib64/python3.6/logging/config.py”, line 573, in configure │ │ ‘%r: %s’ % (name, e)) │ │ ValueError: Unable to configure handler ‘dispatcher’: [Errno 13] Permission denied: ‘/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/dispatcher.log’

Have any of you experienced anything similar?

Thx in advance!

Adri

---

<div class="post-metadata">

**Author:** ![wmedley](https://avatars.discourse-cdn.com/v4/letter/w/258eb7/32.png) [@wmedley](https://forum.ansible.com/u/wmedley)\
**Post date:** [January 14, 2021, 2:02pm UTC](https://forum.ansible.com/t/awx-9-3-0-built-local-images-error-unable-to-configure-handler-dispatcher/34441/2 "2021-01-14T14:02:27Z")

</div>

AWX 9.3 is old and no longer current. You need to move up to awx 15/16

---

<div class="post-metadata">

**Author:** ![Adrian\_Sanchez](https://avatars.discourse-cdn.com/v4/letter/a/e495f1/32.png) [@Adrian\_Sanchez](https://forum.ansible.com/u/Adrian_Sanchez)\
**Post date:** [January 15, 2021, 11:40am UTC](https://forum.ansible.com/t/awx-9-3-0-built-local-images-error-unable-to-configure-handler-dispatcher/34441/3 "2021-01-15T11:40:23Z")

</div>

Yeah, thx for the help.

But right now is the version that we are providing and we need to make those images work. Any idea??
