upgrade 4.0.0 to 4.0.6 cas changing the address to RTC projects from /jazz context to /ccm context
2 answers
I don't think that your address for the projects should have been changed from jazz to ccm. What were the instructions you have used to upgrade your server?
Please use following instructions: http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m6/topic/com.ibm.jazz.install.doc/topics/roadmap_clm_upgrade.html if you have used different already.
Comments
Unless you fail to choose the correct setting in the install. In this case, you would have to go back to your backup, reinstall properly and do the upgrade again.
I used the silent install, it seems that in the silent-install-server.xml there is a setting to change the context root from ccm to jazz. I have tried changing that, and I also changed the installation directory to be a new one so I will have a fresh install. But the install script now doesn't seem to create a new. Backup of what ? the database ?
Forgetting to set the context root to be jazz is the cause of my issue. But how do I fix it now ? when I run the imcl script I can't seem to even make it install into a new package - this script is not looking at the database ? I think a database restore will not help. Will it ?
As far as I know, repotools -update only adds new fields in database but does not modify existing ones. Therefore you would not need to do anything. @mandrew - could you confirm that?
Are you sure it's in the database and not only in config?
Are you using Websphere with IHS and IHS Plugin for WAS?
Often only the plugin-cfg.xml is wrong after upgrades, if the file is not secured by setting the read-only attribute. WAS application setup is often creating new plugin-cfg, which is not useable.
Comments
I am using tomcat. I ran the silent install script with default context-root value of ccm when I should have changed it to jazz. I try to run the install script again, even tried changing the installLocation, and removed /tmp/silent-install. But the install doesn't seem to do anything once it has already been installed.
- You can not install into the same location. You have to install in a different one.
-
I am not completely sure what the upgrade script does. For one thing, it copies and merges the config files. It also upgrades the DB.
- I am not sure you can run the upgrade scripts against a version that is already upgraded.
-
You can try to copy the index folders, the config files (into the right location based on jazz) and try to run against the upgraded DB's see https://jazz.net/wiki/bin/view/Deployment/BackupCLM for the files involved. You probably should review the config files and make sure there is no ccm in there.
-
You can restore the old version from the backup you made before the upgrade and do it again.
- I managed to install into a different one, within the silent-install-server.xml I changed the profile id="TMP2" and everything seemed to install ok, jazz appears as the contextroot under Tomcat etc.
- I ran the upgrade script and it seemed to work, it copies the properties for the JTS conf, but doesn't seem to copy properties from the jazz conf - so I copied them across myself.
- I see this error in the logs now: CRJAZ1050E The version of the installed server does not match the version of the repository database.
- I managed to install into a different one, within the silent-install-server.xml I changed the profile id="TMP2" and everything seemed to install ok, jazz appears as the contextroot under Tomcat etc.
- I ran the upgrade script and it seemed to work, it copies the properties for the JTS conf, but doesn't seem to copy properties from the jazz conf - so I copied them across myself.
- I see this error in the logs now: CRJAZ1050E The version of the installed server does not match the version of the repository database.
You need to run the upgrade tools for each tool. First JTS, then CCM. As you did not, the DB for CCM was not upgraded.
1 vote
Yep, had to run upgrade script for CCM as well and fixed everything.