Skip to content

Instantly share code, notes, and snippets.

View bklarson's full-sized avatar

Brad Larson bklarson

View GitHub Profile
$ 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)
@bklarson
bklarson / pom.xml
Created May 7, 2012 22:38
plugin pom
<?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
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