RTC 4 error: The server is currently in read-only mode because a migration is in progress
I completed the migration from RTC 2.x to 3.x and then from 3.x to 4.x. I am able to access work items without issue and the diagnostic screen shows all ok. However, if I click on the Server tab I see the following error:
"The server is currently in read-only mode because a migration is in progress. In order to preserve data integrity, you will not be able to make changes to the server during this time." How do I fix this? |
3 answers
Ralph Schoon (63.5k●3●36●46)
| answered Oct 18 '12, 4:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Mike,
when you ran the upgrade scripts for RRC, you were provided with information that you need to run the RRC online upgrade. Have a look into the upgrade guide or the log to get the URL. I think it is https://<host>:<port>/rm/web/projects/migration Run the upgrade and be patient. Once it is performed the server goes into read/write mode. |
Hi Ralph, I made the mistake of running the upgrade script for Reqts management. This completes successfully but when I go to PRECONDITION FAILED: CRRS8083E An error occurred interacting with JTS. So I look in the rm.log and have
2013-03-20 14:43:20,014 [ http-bio-9443-exec-40] INFO ing.server.core.repository.RepositoryAccessManager - CRRRS9909I The version of this build is: RRC401X, the version of current repository is: RRC400X, upgrade is required: true
And in jts.log
2013-03-20 14:43:20,045 [ http-bio-9443-exec-49] INFO com.ibm.team.jfs - CRJZS5629I The migration state of the application "4bcad490-37e2-405a-ad10-45a824795806" is changed to "ONLINE_MIGRATION_PENDING"
So the code is throwing an exception for RM. Any ideas? Regards,
John
Comments
Ralph Schoon
commented Mar 20 '13, 10:55 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
John, you require a user with the right versions license for RRC Analyst. You need to log in as that user to RRC and run the online upgrade to finish the upgrade and to unlock JTS. There is a special URL you have to open. See the help for the RRC upgrade. I am not sure if there is another way to achieve that - I don't understand your situation god enough for one thing. Support could help more if you can provide them with more information.
Hi Ralph, yes, I gave myself the RRC analyst license and get the same problem. I will uninstall 4.0.1 and start again and this time just use the jts, ccm and qm upgrades. I must admit I have gone through several upgrades over the years with RTC and this time it has just not worked. I also think I am looking at the wrong notes for upgrade because the notes I am using in the help (upgrading & migration) has very little in what to do. It talks about preparation and the upgrade scripts but nothing about copying databases or running the migration pages on the web. Certainly has not improved my impression of RTC. John
Ralph Schoon
commented Mar 20 '13, 11:28 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
John, you should be looking at http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m1/topic/com.ibm.jazz.install.doc/topics/roadmap_clm_upgrade.html and run the interactive upgrade guide. We also try to provide additional info here: https://jazz.net/library/#tag=upgrading
john norris
commented Mar 20 '13, 11:40 a.m.
Hi Ralph, yes I used this when I first upgraded. The problem is the questions are answered, the step pumped out, but three steps are prep (download etc) and the final step (ie the doing step) is look at upgrade and migration notes in the help. Here is step 4. Install the Rational solution for CLM version 4.0.1 Back to top Install the CLM version 4.0.1 applications, but do not run the setup wizard. For distributed configurations, install the version 4.0.1 applications that correspond to the previously installed applications. For information about installing the server, see Installing by using IBM Installation Manager or Installing by using command-line commands. Nothing about what do eg copy db's.
Ralph Schoon
commented Mar 20 '13, 11:54 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I have 18 Steps for JTS in a distributed Environment, DB2, WAS alone. (Which is scary and needs to be reduced). You should go through all the steps. The procedure is to do a side by side install of the old and the new version. Then you upgrade and run the scrips for the applications (JTS, some other App, the next App) the scripts copy settings and indexes over . You do not need to copy DB's except if you use Derby - which is explained too. Finally you deploy the new Version on WAS or run Tomcat and then you do the RRC online upgrade.
Ralph Schoon
commented Mar 20 '13, 12:41 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
It is also a good idea to read the complete steps before starting to perform them.
john norris
commented Mar 20 '13, 12:42 p.m.
This is very strange. I have always had no problems with RTC upgrades but this has really shocked me. And made me rethink use of RTC. I uninstalled 4.0.1. So that left 4.0.RC3. I reinstalled 4.0.1 JTS/CCM/QM. Note no RM. I copied the repositories over from RC3. I run the upgrade scripts for jts,ccm and qm. Because this corrupts the web.xml files for those apps, I edited those and commented out the extra Filter node. I can log on to admin via a browser but if I try anything with a project I get
CRJCA0150E The discovery document for the Jazz Team Server could not be read or validated. Lifecycle projects cannot be listed until this problem is resolved. For more details about the problem, click "show details." For information about resolving this problem, open the help system and search for CRJCA0150E.
While fetching the about services document from "https://centos64:9443/rm/application-about" a "404" HTTP status code was received. So not sure what the "Discovery Document" is? Can't find anything on the error in the forum. Does anyone have any ideas? I don't understand what you are doing or why. The 3.x to 4.x upgrade is less complex than the 2.x to 3.x. I agree that it is desirable to make it easier however.
john norris
commented Mar 20 '13, 2:29 p.m.
Thanks for this Ralph. I did read that note that you link to a few weeks ago when I started this. Again it does not actually say much. Perhaps if you are involved in the development of the product it does not have to say much. But most of are not involved. It is like looking through some of the start scripts where named servers are coded - presumably test machines used by IBM. It still has a beta feel to it. From what you have said there is no way of going from a milestone to a full release. Except to go through each milestone which is unacceptable. The concern is that it does not work and I can not see what I have done that is unreasonable. Except that I have not gone through every milestone to get to 4.0.1. And the lack of information on the error messages. It is great that it gives errors but then info on how to fix them would be useful. Actually IBM do suggest Derby for small teams and the free licenses. Currently the only answer is to use 4.0.1 and import everything and lose history. Not a big deal but it does not show the product in the best light. And makes it hard to recommend to customers.
Ralph Schoon
commented Mar 20 '13, 3:05 p.m.
| edited Mar 20 '13, 3:06 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Sorry John, I have to completely disagree here. Every Milestone Build shows
Especially since express c for DB2 is available for free.
showing 5 of 11
show 6 more comments
|
If it helps, I can send you a 38-page doc I compiled of all the needed instructions for upgrading from 2.0.0.2.8 to 4.0.1 (via 3.0.1.5). It's written for Linux 64 with MSSQL and a silent install via PuTTY, but it might tell you what step is missing.
Comments
john norris
commented Mar 20 '13, 12:37 p.m.
Thanks Mike, I am using Derby, tomcat and Linux. I have added my current situation in the previous comment. Hi John
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.