I deployed my AWX in a home lab in Docker, following the github instructions. This all worked fine, I picked up the docker-compose and edited it to run it via Portainer and behind nginx reverse proxy for automated management of lets Encrypt certificates.
Today I took a stab at updating AWX, from 23.0.1 to 23.3.0. Been reading the instructions and went ahead as follows.
ran git pull
ran git checkout 23.3.0
Pulled the secrets from tools/docker-compose/_sources/secrets and placed them in the tools/docker-compose/inventory
ran make docker-compose-build
Checked docker images and renamed the new devel image: docker image tag ghcr.io/ansible/awx_devel:HEAD ghcr.io/ansible/awx_devel:23.3.0
Edited the docker-compose to load the new image: image: "ghcr.io/ansible/awx_devel:23.3.0"
AWX starts and seems to work fine, however when I go to top right and choose about, it shows the neat cow with 23.0.1: Ansible AWX 23.0.1.dev0+gc9190ebd8f.d20230829
The new image is really new, new hashes and different size. Perhaps I did not correctly check out git or something?
Iām not sure how to check that and correct it if thats the issue?
Any help please?
Thanks In Advance!
ps. forgot to mention, I tried to (re)make the UI: docker exec tools_awx make clean-ui ui-devel
Didnāt help either. I think its just building the same old image ā¦
No it doesnāt help. I think this basically does what I did manually, just set the tag. Without it, docker images will show tag HEAD. This just sets the tag to 23.3.0.
# make VERSION
awx: 23.0.1.dev0+gc9190ebd8f.d20231028
So how I think updating is supposed to work in my case is to just make a new image and build the interface. Then I edit my docker-compose to point to the new image and it should start.
To reiterate the setup:
Followed the steps to clone, build and start awx, all from the terminal in the cloned dir.
I stopped it, copied the docker-compose file contents to Portainer and then edited it. Here it is redacted:
This has been running for a while.
Last week I did the steps in my OP and ran into that issue.
Today, I tried something else. I made a new git clone for 23.3.1, adjusted the inventory file with my current passwords, built that image, started it and built the UI. Stopped it and pointed my portainer docker-compose to the new image. A make VERSION shows the 23.3.1 version.
This is what happens:
So, yeh somewhere Im doing something wrong but I donāt know where
Hello @Bor! We just wanted to check in and see if you still need assistance. We are continuing to look into this. Please provide us with any updates you may have along the way!
Hello @Bor,
We are so sorry to hear that you had so much trouble updating! We are happy to hear that you were able to get everything working, but that does sound like a frustrating experience.
Please reach out here if you have any trouble in the future and we will absolutely do our best to try to assist you!