# AWX migration from docker based env to k8s

**URL:** <https://forum.ansible.com/t/awx-migration-from-docker-based-env-to-k8s/37938>\
**Category:** AWX Project\
**Tags:** awx, kubernetes\
**Created:** [April 27, 2023, 2:40pm UTC](https://forum.ansible.com/t/awx-migration-from-docker-based-env-to-k8s/37938 "2023-04-27T14:40:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![prabhu\_sridhar](https://avatars.discourse-cdn.com/v4/letter/p/858c86/32.png) [@prabhu\_sridhar](https://forum.ansible.com/u/prabhu_sridhar)\
**Post date:** [April 27, 2023, 2:40pm UTC](https://forum.ansible.com/t/awx-migration-from-docker-based-env-to-k8s/37938/1 "2023-04-27T14:40:02Z")

</div>

Hi

I am trying to migrate awx from docker based env(17.1.0) to k8s env.

Can you please let me know the steps that i need to follow to migrate the data base and projects?

Regards  
Prabhu

---

<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, 4:14pm UTC](https://forum.ansible.com/t/awx-migration-from-docker-based-env-to-k8s/37938/2 "2023-04-28T16:14:28Z")

</div>

there are some docs here on migrating from v17 to k8s [https://github.com/ansible/awx-operator/blob/devel/docs/migration.md](https://github.com/ansible/awx-operator/blob/devel/docs/migration.md)

AWX Team

---

<div class="post-metadata">

**Author:** ![user85](https://avatars.discourse-cdn.com/v4/letter/u/5e9695/32.png) [@user85](https://forum.ansible.com/u/user85)\
**Post date:** [May 15, 2023, 3:45pm UTC](https://forum.ansible.com/t/awx-migration-from-docker-based-env-to-k8s/37938/3 "2023-05-15T15:45:01Z")

</div>

Pls check my instructions (Ive created that one a few months ago, but i think it still valid)

[https://groups.google.com/g/awx-project/c/7h87EtBYXNQ/m/sn1oEmuJAQAJ](https://groups.google.com/g/awx-project/c/7h87EtBYXNQ/m/sn1oEmuJAQAJ)

пятница, 28 апреля 2023 г. в 18:14:28 UTC+2, AWX Project:

---

<div class="post-metadata">

**Author:** ![prabhu\_sridhar](https://avatars.discourse-cdn.com/v4/letter/p/858c86/32.png) [@prabhu\_sridhar](https://forum.ansible.com/u/prabhu_sridhar)\
**Post date:** [May 17, 2023, 2:25pm UTC](https://forum.ansible.com/t/awx-migration-from-docker-based-env-to-k8s/37938/4 "2023-05-17T14:25:01Z")

</div>

Hi

Thanks for the reply…

I am trying the migrate AWX (17.1.0) to K8s(22.2.0)

I followed the steps provided.

However the migration was not successful. It is ending up with following error.

_awx-rsyslog [wait-for-migrations] ERROR: Database migrations not applied │_  
_│ Stream closed EOF for awxtest/awx-task-7bfdf979-pf877 (awx-rsyslog) │_  
_│ awx-task [wait-for-migrations] Waiting 30 seconds before next attempt_

_awx-task [wait-for-migrations] Attempt 30 of 30 │_  
_│ awx-task [wait-for-migrations] ERROR: Database migrations not applied_

Are steps provided valid for 17.1.0(docker) to K8s(22.2.0)?  
Any other way to do the migration?

Regards  
Prabhu
