RM (DNG) Upgrade to 5.0.1 not working
Following the interactive upgrade guide from 4.0.6 to 5.0.0 there is the following sequence (shorted)
- Install Appilcations
- Undeploy Applications from Websphere
- Copy DB etc.
- Run upgrade script (upgrade\rm\rm_upgrade.bat)
- Deploy Applictions to WebSphere
The last step of these RM upgrade script request that the system is running. But this is impossible, because the deployment will be done later.
Please ensure servers hosting linked projects are online. Press [Enter] to continue to determine if RM server is online.
..
When we continue, the script asked for an admin user and we got the following Exception
Enter admin userId [ADMIN]
rtcadmin
Internal error: Cannot prompt for a password
java.lang.UnsupportedOperationException: Internal error: Cannot prompt for a password
at com.ibm.team.repotools.command.AbstractCommand.promptSensitiveValue(AbstractCommand.java:323)
Is there anything we are missing?
One answer
Hi Dieter Paul -
As you and Ralph noted, the upgrade process does require the servers to be down for almost all of the upgrade process. However, there is one last repotools command that should be run after the servers have been deployed and are up. You do not need the upgrade script to run the command but it is also fine to leave the script waiting until you have deployed and verified that your servers are up. The final repotools command is:
repotools-rm -rmUpdateProjectBackLinksOnline adminUserID=<> adminPassword=<> repositoryURL=<public URI><RM context root>
I'm suspecting the error you are hitting is due to the server not being up when the script attempts to run the above command. Let me know if this helps or if you need more information!
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Aug 15 '14, 10:33 a.m.Consider to open a ticket with support. As far as I recall, the scripts don't require the server to be up. They actually do a lot of stuff that requires the server to be down.