Upgrade from Ansible Automation Platform 2.3 to 2.4 fails on the TASK [check license type step]
Issue
-
When upgrading from 2.3 to 2.4 the Controller RPMs are upgraded. The database migration wasn't run, and then the subsequent upgrade attempt fails with the following error.
Traceback (most recent call last): File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/django/db/backends/ utils.py ", line 84, in _execute return self.cursor.execute(sql, params) psycopg2.errors.UndefinedColumn: column main_hostmetric.deleted does not exist LINE 1: ...(*) AS "__count" FROM "main_hostmetric" WHERE NOT "main_host...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.