AWX frontend wont load for me in local docker-compose based setup

Hi all!

Yesterday I was installing AWX locally on my developer machine, following this guide: awx/tools/docker-compose/README.md at devel · ansible/awx · GitHub

After doing all the steps, I managed to login and use the API at ttps://localhost:8043/api/v2. I was able to query and create a new resource, meaning I think I probably installed all the necessary dependencies well.

When I try to load the web interface though (https://localhost:8043/#/home) I get this page, seen on the picture I attached. I’m not sure why though, does anyone have tips why this happens?

Thanks!

(attachments)

I used this command to checkout a stable release:

git clone -b 19.2.2 https://github.com/ansible/awx.git

Should I try 19.3.0 maybe?

Zoltan,

Be sure to follow all of the docs at https://github.com/ansible/awx/blob/19.2.2/tools/docker-compose/README.md.

make docker-compose-build
make docker-compose

This builds everything and starts the docker-compose cluster* except the frontend UI hasn’t been built yet presenting you with the error you see.

https://github.com/ansible/awx/blob/19.2.2/tools/docker-compose/README.md#clean-and-build-ui
This is where it outlines the command for building the UI

Cheers
Mick
@aussielunx

Wow, I hit this pretty often myself. Does make docker-compose pull the image from a remote registry? If so, I wonder why that remote image doesn’t have the ui build bits baked into it. Or are the api bits baked in but an ENV variable influences the ui to not render?