This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Before re-init: | |
$ cat groups | |
# UUID Group Name | |
# | |
0bf0d5630d8f809258afffa9a9b4a37058d113ba Administrators | |
global:Anonymous-Users Anonymous Users | |
global:Project-Owners Project Owners | |
global:Registered-Users Registered Users |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
Copyright (C) 2008 The Android Open Source Project | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ java -jar gerrit-war/target/gerrit-2.5-SNAPSHOT.war init -d ../gerrit-test/ --batch | |
Upgrading database schema from version 67 to 68 ... | |
warning: Cannot create index for submodule subscriptions | |
Index "SUBMODULE_SUBSCRIPTION_ACCESS_BYSUBSCRIPTION" already exists; SQL statement: | |
CREATE INDEX submodule_subscription_access_bySubscription ON submodule_subscriptions (submodule_project_name, submodule_branch_name) [42111-147] | |
you may ignore this warning when running in interactive mode | |
Exception in thread "main" com.google.gwtorm.server.OrmException: Cannot upgrade schema | |
at com.google.gerrit.server.schema.SchemaUpdater.update(SchemaUpdater.java:66) | |
at com.google.gerrit.pgm.Init$SiteRun.upgradeSchema(Init.java:181) | |
at com.google.gerrit.pgm.Init.run(Init.java:79) |