Empty postgres DB after upgrade to awx release 1.0.2

Hi,

yesterday i´ve cloned the gitrepository to upgrade awx to newest release 1.0.2 and install it via “ansible-playbook -i inventory install.yml” after fit pgdocker Path to my already existing Database.
Bevor installing i did a directory copy of the DB directory.

After deploying the new containers awx startet to make a upgrade (seen via webbrowser) and the postgres DB is empty.

  1. Why did awx do an upgrade? It should use the existing DB
  2. After copying the DB directory i´ve saved before to original path, the whole process startet again → upgrading and empty postgres DB.

At the moment i am not able to use my existing DB.

Does anybody now whats going wrong here?

Christian

attachment:

If i redeploy an older awx Version (october 30. 2017) and use the ansible-playbook -i inventory install.yml command to install the cloned gitrepository, the DB persist.

So it must have been in new Version 1.0.2

Christian

I think what you’re getting here is the effect of the new PGDATA environment variable for the postgres container that creates the new database in pgdocker/pgdata instead.

-Cesar