My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 3410: gerrit.sh start error
2 people starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Jul 21


Sign in to add a comment
 
Reported by huang865...@gmail.com, Jun 4, 2015
*****************************************************************
*****                                                       *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!!  *****
*****                                                       *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD,  *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
*****                                                       *****
*****   THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS     *****
*****                                                       *****
*****************************************************************

Affected Version:

What steps will reproduce the problem?
1.with installing gerrit, I configure below
Authentication method          [OPENID/?]: http
Behind reverse proxy           [y/N]? y
Proxy uses SSL (https://      [y/N]? n
others using the giving configure

INFO  com.google.gerrit.server.plugins.PluginLoader : Loaded plugin download-commands, version v2.10.4
[2015-06-04 10:39:12,683] WARN  com.googlesource.gerrit.plugins.replication.ReplicationFileBasedConfig : Config file /etc/gerrit/etc/replication.configdoes not exist; not replicating
[2015-06-04 10:39:12,722] INFO  com.google.gerrit.server.plugins.PluginLoader : Loaded plugin replication, version v2.10.4
[2015-06-04 10:39:15,006] INFO  com.google.gerrit.server.plugins.PluginLoader : Loaded plugin reviewnotes, version v2.10.4
[2015-06-04 10:39:15,608] INFO  com.google.gerrit.server.plugins.PluginLoader : Loaded plugin singleusergroup, version v2.10.4
[2015-06-04 10:39:15,624] ERROR com.google.gerrit.pgm.Daemon : Unable to start daemon
com.google.inject.ProvisionException: Unable to provision, see the following errors:

1) No index versions ready; run Reindex

1 error
        at com.google.gerrit.lucene.LuceneVersionManager.start(LuceneVersionManager.java:118)
        at com.google.gerrit.lifecycle.LifecycleManager.start(LifecycleManager.java:74)
        at com.google.gerrit.pgm.Daemon.start(Daemon.java:292)
        at com.google.gerrit.pgm.Daemon.run(Daemon.java:204)
        at com.google.gerrit.pgm.util.AbstractProgram.main(AbstractProgram.java:64)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at com.google.gerrit.launcher.GerritLauncher.invokeProgram(GerritLauncher.java:166)
        at com.google.gerrit.launcher.GerritLauncher.mainImpl(GerritLauncher.java:93)
        at com.google.gerrit.launcher.GerritLauncher.main(GerritLauncher.java:50)
        at Main.main(Main.java:25)

Please provide any additional information below.

Jul 21, 2015
Project Member #1 bassem.rabil
Starting Gerrit 2.8, you need to run the reindex program [1] after running the init command before bringing up the Gerrit instance using gerrit.sh.


[1] https://gerrit-review.googlesource.com/Documentation/pgm-reindex.html
Status: Invalid
Sign in to add a comment

Powered by Google Project Hosting