# AWX on Kubernetes migration from 6.0.0 to 6.1.0

**URL:** <https://forum.ansible.com/t/awx-on-kubernetes-migration-from-6-0-0-to-6-1-0/31112>\
**Category:** AWX Project\
**Tags:** awx, kubernetes\
**Created:** [August 23, 2019, 1:33pm UTC](https://forum.ansible.com/t/awx-on-kubernetes-migration-from-6-0-0-to-6-1-0/31112 "2019-08-23T13:33:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alancivita](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@alancivita](https://forum.ansible.com/u/alancivita)\
**Post date:** [August 23, 2019, 1:33pm UTC](https://forum.ansible.com/t/awx-on-kubernetes-migration-from-6-0-0-to-6-1-0/31112/1 "2019-08-23T13:33:36Z")

</div>

Hi All,  
i’m currently running awx 6.0.0 on kubernetes,  
wondering if i can upgrade to 6.1.0 by simply changing the awx manifest in kubernetes to point to 6.1.0 version of the containers.  
Obviously this won’t work if a DB migration is involved.

Any idea?

Thanks

---

<div class="post-metadata">

**Author:** ![Karther](https://avatars.discourse-cdn.com/v4/letter/k/3ec8ea/32.png) [@Karther](https://forum.ansible.com/u/Karther)\
**Post date:** [September 3, 2019, 1:56pm UTC](https://forum.ansible.com/t/awx-on-kubernetes-migration-from-6-0-0-to-6-1-0/31112/2 "2019-09-03T13:56:07Z")

</div>

Hy,

Normaly I think that your idea works simply changing the awx manifest in kubernetes to point to 6.1.0 version of the containers.

I don’t know if this possilitity works or not but you must search in the web how do it…

I hope that you understand,

Thanks community ansible !! 🙂

Regards,

---

<div class="post-metadata">

**Author:** ![alancivita](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@alancivita](https://forum.ansible.com/u/alancivita)\
**Post date:** [September 3, 2019, 2:01pm UTC](https://forum.ansible.com/t/awx-on-kubernetes-migration-from-6-0-0-to-6-1-0/31112/3 "2019-09-03T14:01:27Z")

</div>

Hi Thanks for getting back,  
well i’ve already changed the awx manifest in kube, containers start fine but the login page displays a massage saying that the system is upgrading and sits there forever - as it happens during the first installation and you try to login while the data migration tasks are still running .

regards

---

<div class="post-metadata">

**Author:** ![Uriel](https://avatars.discourse-cdn.com/v4/letter/u/53a042/32.png) [@Uriel](https://forum.ansible.com/u/Uriel)\
**Post date:** [September 3, 2019, 4:55pm UTC](https://forum.ansible.com/t/awx-on-kubernetes-migration-from-6-0-0-to-6-1-0/31112/4 "2019-09-03T16:55:22Z")

</div>

The upgrade from 6.0.0 to 6.1.0 should work fine because the team recently committed to more closely following semantic versioning. A configuration option might’ve slipped through the cracks, try pulling the logs from the awx containers and the database to see what exactly is preventing the upgrade from happening.

---

<div class="post-metadata">

**Author:** ![alancivita](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@alancivita](https://forum.ansible.com/u/alancivita)\
**Post date:** [September 4, 2019, 10:42am UTC](https://forum.ansible.com/t/awx-on-kubernetes-migration-from-6-0-0-to-6-1-0/31112/5 "2019-09-04T10:42:04Z")

</div>

Hi Uriel,  
thanks for your reply.  
I can’t see any obvious blocking error from the logs unfortunately. (i’ve attached them)  
The main page keeps me getting redirected to migrations\_notran/#/login

Cheers

> **(attachments)**
>
> [awx-web.log](https://forum.ansible.com/uploads/short-url/8VtSmkwtGTjnrbyzNKy71ARkOAt.log) (103 KB)  
> [postgres.log](https://forum.ansible.com/uploads/short-url/hbF6YbBeuG8j90aMsqhCw9StOAg.log) (2.94 KB)  
> [awx-celery.log](https://forum.ansible.com/uploads/short-url/9oVOjMfFmOiWEweigBURoYXUCoN.log) (21.9 KB)

---

<div class="post-metadata">

**Author:** ![Uriel](https://avatars.discourse-cdn.com/v4/letter/u/53a042/32.png) [@Uriel](https://forum.ansible.com/u/Uriel)\
**Post date:** [September 4, 2019, 2:16pm UTC](https://forum.ansible.com/t/awx-on-kubernetes-migration-from-6-0-0-to-6-1-0/31112/6 "2019-09-04T14:16:56Z")

</div>

From the logs in awx-web:

> “msg”: “Database query failed: must be owner of database awx\n”

From the logs in postgres:

> …  
> 2019-09-04 10:26:04.188 GMT [3575] ERROR: must be owner of database awx  
> …  
> 2019-09-04 10:26:11.174 GMT [3585] STATEMENT: ALTER DATABASE “awx” OWNER TO “awx”

I think your postgres database is misconfigured. When you are using an external postgres server, you need to pre-create the awx-postgres user, awx-postgres database and set the awx-postgres user as the owner of the awx-postgres database. It looks like awx-postgres user is not the owner of the database. Log into the postgres server, launch a psql interactive prompt, and execute the alter statement above. If AWX isn’t working then, you might have to redeploy it.

---

<div class="post-metadata">

**Author:** ![alancivita](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@alancivita](https://forum.ansible.com/u/alancivita)\
**Post date:** [September 6, 2019, 7:16am UTC](https://forum.ansible.com/t/awx-on-kubernetes-migration-from-6-0-0-to-6-1-0/31112/7 "2019-09-06T07:16:39Z")

</div>

Hi Uriel,  
i tried that but didn’t work so i will redeploy

thanks for your time
