# AWX Migration from 11x to 22x. Unable to find the line ca\_trust\_dir=/etc/pki/ca-trust/source/anchors

**URL:** <https://forum.ansible.com/t/awx-migration-from-11x-to-22x-unable-to-find-the-line-ca-trust-dir-etc-pki-ca-trust-source-anchors/37940>\
**Category:** AWX Project\
**Tags:** awx, kubernetes\
**Created:** [April 28, 2023, 1:58pm UTC](https://forum.ansible.com/t/awx-migration-from-11x-to-22x-unable-to-find-the-line-ca-trust-dir-etc-pki-ca-trust-source-anchors/37940 "2023-04-28T13:58:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Minhaj\_Muhammad](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@Minhaj\_Muhammad](https://forum.ansible.com/u/Minhaj_Muhammad)\
**Post date:** [April 28, 2023, 1:58pm UTC](https://forum.ansible.com/t/awx-migration-from-11x-to-22x-unable-to-find-the-line-ca-trust-dir-etc-pki-ca-trust-source-anchors/37940/1 "2023-04-28T13:58:58Z")

</div>

Hi,

I am not able find an alternative to uncomment the line “ca\_trust\_dir=/etc/pki/ca-trust/source/anchors” when i upgraded from AWX 11x to 22x in the inventory file.

Note: I used the docker installation and not the kubernetes installation. Please help me

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [April 28, 2023, 5:15pm UTC](https://forum.ansible.com/t/awx-migration-from-11x-to-22x-unable-to-find-the-line-ca-trust-dir-etc-pki-ca-trust-source-anchors/37940/2 "2023-04-28T17:15:24Z")

</div>

Hello,  
We would like to gather a bit more information from you. Could you provide us with the issue you are encountering that is requiring this line to be uncommented? Any additional information you can provide regarding the issue you are encountering will be very helpful. Thank you for your time!

---

<div class="post-metadata">

**Author:** ![Minhaj\_Muhammad](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@Minhaj\_Muhammad](https://forum.ansible.com/u/Minhaj_Muhammad)\
**Post date:** [May 1, 2023, 7:26pm UTC](https://forum.ansible.com/t/awx-migration-from-11x-to-22x-unable-to-find-the-line-ca-trust-dir-etc-pki-ca-trust-source-anchors/37940/3 "2023-05-01T19:26:22Z")

</div>

Hello,

So i installed AWX 22.x the latest one and migrated the postgres db from AWX 11.x. The migration was successful but its not letting other users login. I am only able to login with the admin account.

I tried to add this line to docker-compose.yml file but when i ran the command for the changes to take effect it reverted back and i dont see this anymore.

working\_dir: “/awx\_devel”  
volumes:

- “../../../:/awx\_devel”
- “../../docker-compose/supervisor.conf:/etc/supervisord.conf”
- “../../docker-compose/\_sources/database.py:/etc/tower/conf.d/database.py”
- “../../docker-compose/\_sources/websocket\_secret.py:/etc/tower/conf.d/websocket\_secret.py”
- “../../docker-compose/\_sources/local\_settings.py:/etc/tower/conf.d/local\_settings.py”
- “../../docker-compose/\_sources/nginx.conf:/etc/nginx/nginx.conf”
- “../../docker-compose/\_sources/nginx.locations.conf:/etc/nginx/conf.d/nginx.locations.conf”
- “../../docker-compose/\_sources/SECRET\_KEY:/etc/tower/SECRET\_KEY”
- “../../docker-compose/\_sources/receptor/receptor-awx-1.conf:/etc/receptor/receptor.conf”
- “../../docker-compose/\_sources/receptor/receptor-awx-1.conf.lock:/etc/receptor/receptor.conf.lock”

# - “../../docker-compose/\_sources/certs:/etc/receptor/certs” # TODO: optionally generate certs

- “/sys/fs/cgroup:/sys/fs/cgroup”
- “~/.kube/config:/var/lib/awx/.kube/config”
- “redis\_socket\_1:/var/run/redis/:rw”
- “/etc/pki/ca-trust/source/anchors:/etc/pki/ca-trust/source/anchors:ro”  
privileged: true

Please help in this regard.

Thanks  
Minhaj

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [May 5, 2023, 5:31pm UTC](https://forum.ansible.com/t/awx-migration-from-11x-to-22x-unable-to-find-the-line-ca-trust-dir-etc-pki-ca-trust-source-anchors/37940/4 "2023-05-05T17:31:44Z")

</div>

Have you looked into deploying AWX on Kubernetes via the operator? that is our recommended way of using AWX in production. The docker-compose.yml is for intended development purposes only.

I’d recommend trying to migrate over to the K8S deployment, as it is easier to get help around problems that might arise. The install guide is here [https://github.com/ansible/awx-operator](https://github.com/ansible/awx-operator)

AWX Team

---

<div class="post-metadata">

**Author:** ![Minhaj\_Muhammad](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@Minhaj\_Muhammad](https://forum.ansible.com/u/Minhaj_Muhammad)\
**Post date:** [May 9, 2023, 5:27am UTC](https://forum.ansible.com/t/awx-migration-from-11x-to-22x-unable-to-find-the-line-ca-trust-dir-etc-pki-ca-trust-source-anchors/37940/5 "2023-05-09T05:27:33Z")

</div>

Hi,

So is there no way for the AWX 22 docker installation to add ca-certs? I have checked the Kubernetes method but my organization right now is not really inclined to move from docker containers to kubernetes.
