During a two stage Git adapter upgrade, the upgrade_addition.sh script aborts when it runs
Attempts to run the upgrade_additions.sh script on Gitweb or Gerrit results in the message "The Git adapter public URL could not be determined from <path>/oslcConfig.js."
You upgraded the Git adapter from version 1.0 to 1.1. You then upgraded the Git adapter from version 1.1 to 18.104.22.168. During the upgrade from 1.1 to 22.214.171.124 you ran the upgrade_additions.sh script. The script aborted with the message:
The Git adapter public URL could not be determined from <path>/oslcConfig.js. You may have specified a gitweb server that has already been upgraded or an incorrect gitweb server location. Confirm that you have specified the correct gitweb server location and try the upgrade again. Aborting.
This issue is identified as a product defect.
Resolving the problem
- Open the oslcConfig.js file in the static directory of the Gitweb installation directory or the Gerrit installation directory.
- Replace the text adapted-project with logical-adapter on the OSLC.GIT.LogicalAdapterURL entry.
- Save the file.
- Run the upgrade_addition.sh script in the static directory on the Gitweb or the Gerrit installation directory.
- Continue your software upgrade following the steps in the Upgrading the adapter software documentation topic.
More support for:
Rational Lifecycle Integration Adapters
Rational Adapter for Git
Software version: 126.96.36.199
Operating system(s): Linux
Software edition: Standard
Reference #: 1651528
Modified date: 2013-10-01