| Issue 1021: | upgrade from 2.1.7 to 2.2.1 fails during scheme upgrade | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Affected Version: 2.1.7 steps to reproduce: /net/opt/java/jdk1.6.0-latest/bin/java -jar gerrit-2.2.1.war init -d review_site What is the expected output? What do you see instead? after going through various config questions (generally accepting defaults as I don't intend to change anything), process fails at this point: Upgrading database schema from version 52 to 53 ... Exception in thread "main" java.lang.NullPointerException attaching full transcript of upgrade session including full stacktrace. Please provide any additional information below.
Jun 23, 2011
Somehow you deleted the batch users group from your database. You should still be able to start the server with 2.1.7. Create a new group. Shutdown the server and manually perform this update on system_config: UPDATE system_config SET batch_users_groupId = YOUR_NEW_GROUP_ID Then restart the upgrade process. This aborted really early in the upgrade, so it has a good chance of being able to pick up and try again.
Status:
AwaitingInformation
Labels: -Priority-Minor Priority-Blocker
Jun 24, 2011
thanks! that did the trick! though I'm a little unsure what this "batch users" group is for and how it might've gotten deleted in the first place. I guess I'll assume for now it was a case of user-error ... now corrected :)
Jun 24, 2011
(No comment was entered for this change.)
Status:
WontFix
|
|
| ► Sign in to add a comment |
3.1 KB View Download