I noticed there was a section added to the install doc as of 9.1.0. Does anyone know if the upgrade process retains existing data? Is it only from 9.1.0 to the next version or can you upgrade from say 7.0.0 to 9.1.0 using the command provided?
Yesterday I upgraded from 6.1.0 > 7.0.0 > 8.0.0 > 9.0.0 > 9.0.1 > 9.1.0 and it retained the data throughout the process. Not sure if you can go straight to the latest release from 7.0.0 however. If it’s a VM and everything is on it, take a snapshot or backup, and see how it goes!
When you upgrade it simply says to download the latest. I was curious if you cloned/downloaded the next release to the same directory/filesystem as the current AWX install or did you have to clone it to a new location and run the install/upgrade command from there?
I did 6.1.0 > 7.0.0 > 8.0.0 > 9.1.0 without problems in a docker image setup with an external database.
Git clone the repository, change to the release you want to install, update the inventory to your values (beware the changes in the inventory variables between versions) and run the installer.
I have migrated from 4.0.0 to 9.1.0. It works fine if we have provided the correct paths to pgdata, awxcompose, credentials and awxsecret value. The data will not be lost even if the DB is running on a container.