Upgrade from 220.127.116.11 to 18.104.22.168
This section describes how customers and partners using OpenIAM on Docker can upgrade from version 22.214.171.124 to 126.96.36.199.
To start the upgrade process, connect to your Linux host where you installed OpenIAM and go to the directory where you installed the OpenIAM Docker compose. By default this should be:
/usr/local/openiam/openiam-docker-compose. Go to that directory and check the status using the command shown below.
cd /usr/local/openiam/openiam-docker-composegit status
During installation of the previous version, at a minimum, the env.sh file was updated. Output from the command above, which is shown below, will indicate the files which were changed.
On branch RELEASE-188.8.131.52Your branch is up to date with 'origin/RELEASE-184.108.40.206'.Changes not staged for commit:(use "git add <file>..." to update what will be committed)(use "git restore <file>..." to discard changes in working directory)modified: env.sh
To preserve the customizations create a new branch and add the changes to that branch as shown below. You can name your branches based on your standards or preference.
sudo git checkout -b RELEASE-220.127.116.11-changessudo git add .sudo git commit -a -m "18.104.22.168-changes" // Now you have saved branch with customizationssudo git checkout -b update_to_RELEASE-22.214.171.124 // New branch to do a merge so you can keep original customized branch safesudo git pull origin RELEASE-126.96.36.199sudo git merge origin/RELEASE-188.8.131.52
At this point, you have updated your docker-compose project to Release-184.108.40.206. Next, run the following commands to update your local containers and then start the applications.
sudo ./shutdown.shsudo ./setup.shsudo ./startup.sh
Wait for the containers to fully startup and then the application will be ready for use.