Support:Alerts:3
From rPath Wiki
| SUPPORT ALERTS | |
rBuilder: Database Migration Problem in 3.1.1 to 3.1.3 Update
- Affects Versions
- 3.1.1
- 3.1.3 upgraded directly from 3.1.1
- Description
- Product users have identified a reproducible bug in updating rBuilder from version 3.1.1 to version 3.1.3. When the update is complete, users experience internal server errors when trying to access rBuilder.
- Required Actions
- If you are an rBuilder administrator, your rBuilder's current version is 3.1.1, and the latest version of rBuilder is 3.1.3, rPath recommends using a workaround to force rBuilder's update mechanism to update to 3.1.2 first instead of updating directly to the latest version. After updating to 3.1.2 with the workaround, update to the latest version using rBuilder's typical System Updates workflow. This stepwise update path should complete successfully without the internal server error.
- Workaround to update from 3.1.1 to 3.1.2 to 3.1.3 (or later)
- The following series of steps will update rBuilder from version 3.1.1 to
- Go to the rPath Appliance Platform Agent interface and select the System Updates link used to update the rBuilder appliance.
- If the interface shows that an update is available, click Cancel to cancel the currently available update. The display should refresh to a Check Now button.
IMPORTANT: The following step, when properly executed, will result in a nearly blank screen containing a message similar to {"tg_flash": null, "schedId": 13}. This is not an error.
- Navigate to the following URL, replacing the rBuilder hostname to match your appliance. This URL checks for a specific update for version 3.1.2 instead of checking for the latest version.
https://hostname:8003/rAA/updatetroves/UpdateTroves/callCheck?troveSpec=group-rbuilder-dist=/products.rpath.com@rpath:rba-devel//rba-3/3.1.2-3.3-2
NOTE: Do not repeat the URL call after its first execution.*
The result of this URL call is a nearly blank screen with a message resembling {"tg_flash": null, "schedId": 13}. - Return to the System Updates page. The screen displays a process indicator (spinning graphic) while the check is still in progress.
- When the check is complete, the screen may not show information about the currently available update, but click Apply Now to apply.
- When the update is complete, verify that the rPath Appliance Platform Agent main page shows that group-rbuilder-dist is version 3.1.2.
- To update to version 3.1.3 or later, return to the System Updates page again, check for updates, and apply updates following the usual workflow for updating rBuilder.
- Reboot rBuilder using the Schedule Reboot page.
- * If you must repeat the URL call due to a failure in the update check, return to the first step to cancel the currently available update.
If you have already updated from 3.1.1 to 3.1.3, and have encountered the internal server error, rPath recommends accessing rBuilder at a command line and running the following two commands as root:
# sqlite3 /srv/rbuilder/data/db "insert into DatabaseVersion values (37, NULL);" # killall -USR1 httpd
Contact your rPath support representative if you need additional information.
