After update gerrit server from 2.12.5 to 2.13, I can't start up the server with the error message below.I have already run "reindex" and still got this error.Any guys have ideas/tips/suggestions on this? Thanks a lot.Error Log:[2016-11-07 18:20:11,687] [main] INFO org.eclipse.jetty.util.log : Logging initialized @5996ms[2016-11-07 18:20:11,933] [main] INFO com.google.gerrit.server.git.LocalDiskRepositoryManager : Defaulting core.streamFileThreshold to 2047m[2016-11-07 18:20:11,961] [main] ERROR com.google.gerrit.pgm.Daemon : Unable to start daemoncom.google.inject.ProvisionException: Unable to provision, see the following errors:1) No index versions ready; run java -jar /home/gerrit/site_path/bin/gerrit.war reindex
1 errorat com.google.gerrit.lucene.LuceneVersionManager.initIndex(LuceneVersionManager.java:146)at com.google.gerrit.lucene.LuceneVersionManager.start(LuceneVersionManager.java:119)at com.google.gerrit.lifecycle.LifecycleManager.start(LifecycleManager.java:89)at com.google.gerrit.pgm.Daemon.start(Daemon.java:311)at com.google.gerrit.pgm.Daemon.run(Daemon.java:212)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:161)at com.google.gerrit.launcher.GerritLauncher.mainImpl(GerritLauncher.java:102)at com.google.gerrit.launcher.GerritLauncher.main(GerritLauncher.java:59)at Main.main(Main.java:25)
--
--
To unsubscribe, email repo-discuss+unsubscribe@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
Contents of site_path/index/gerrit_index.config are:[index "accounts_0003"]ready = true[index "changes_0032"]ready = false
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
Yes, zivkov, there are some errors and warnings, all of them are four types:1. Missing project.such as, "Caused by: com.google.gwtorm.server.OrmException: org.eclipse.jgit.errors.RepositoryNotFoundException: repository not found: /home/gerrit/android/external"2. Get unknown field."ERROR com.google.gerrit.server.index.Schema : error getting field committer of ChangeData{Change{17026 (XXX), dest=/boards/bub,refs/heads/master, status=A}}"...."Caused by: org.eclipse.jgit.errors.MissingObjectException: Missing unknown XXX"
3. PatchListKey computing error." WARN com.google.gerrit.server.patch.PatchListLoader : Error computing PatchListKey[BASE..0XXX IGNORE_NONE]"" Caused by: org.eclipse.jgit.errors.MissingObjectException: Missing unknown 0XXX"4. Mergeability checking failed."ERROR com.google.gerrit.server.change.MergeabilityCacheImpl : Error checking mergeability of 0a... into d5... (MERGE_IF_NECESSARY)"
The result output:Reindexing changes: projects: 100% (751/751), 95% (66225/68994), doneReindexed 66225 documents in changes index in 287.3s (230.5/s)It seems errors and warnings above can be ignored.Because I migrate my gerrit from 2.3 to 2.8 and to 2.11 and then to 2.12, all these upgrades look well. And for the /index/gerrit_index.config file versions before 2.13 the index is using "changes_xxx" not "accounts_003",
I don't know the reason and internal details about gerrit. Am I missing some configuration steps before the upgrade from 2.12.5 to 2.13?
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss+unsubscribe@googlegroups.com.
Hi Zivkov,
I am facing similar issue while updating from 2.12.3 to 2.14 .
And as recommended edited the index/gerrit_index.config and set the changes_0039. to true.
Afterwards when i restarted gerrit through tomcat , gerrit site is not reachable.
if i try ssh i get message "ping: unknown host git.sand.com" and through browser git.sand.com’s server DNS address could not be found..
However jsvc service is listening on all ports
tcp 0 0 :::38054 :::* LISTEN 18582/jsvc.exec
tcp 0 0 :::8009 :::* LISTEN 18582/jsvc.exec
tcp 0 0 :::29418 :::* LISTEN 18582/jsvc.exec
tcp 0 0 :::8080 :::* LISTEN 18582/jsvc.exec
tcp 0 0 :::9015 :::* LISTEN 18582/jsvc.exec
tcp 0 0 :::35960 :::* LISTEN 18582/jsvc.exec
Any pointer will be a great help
On 11 May 2017, at 14:16, Jason Schoon <jason....@gmail.com> wrote:Thanks for the reply.Largely - because the documentation used to recommend (or at least mention) doing an offline reindex so I have always done that. However, as noted, it does take a long time and did fail.