| Issue 2651: | gerrit 2.8.5 fails to start | |
| 8 people starred this issue and may be notified of changes. | Back to list |
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC. *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS! *****
************************************************************
Affected Version:
What steps will reproduce the problem?
1. Upgrade from 2.8.4 to 2.8.5
2. Start gerrit
What is the expected output? What do you see instead?
Expect to see gerrit start up. Instead, it fails with:
[2014-05-09 19:48:49,975] ERROR com.google.gerrit.pgm.Daemon : Unable to start daemon
java.lang.NoClassDefFoundError: org/bouncycastle/openssl/PEMParser
at com.google.gerrit.sshd.HostKeyProvider.get(HostKeyProvider.java:75)
at com.google.gerrit.sshd.HostKeyProvider.get(HostKeyProvider.java:31)
at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:73)
at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:66)
at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:63)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1058)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
Happy to provide a longer stack trace if that helps.
Please provide any additional information below.
Ubuntu 12.04 LTS. JDK 7u51.
May 12, 2014
#1
dan...@gmail.com
May 12, 2014
In 2.8.5 the bouncycastle version was updated. When you upgraded from 2.8.4 to 2.8.5 did it prompt you to download the updated bouncycastle SSL and Provider libraries? I.e.: Gerrit Code Review is not shipped with Bouncy Castle Crypto SSL v149 ** This library is required for your configuration. ** Download and install it now [Y/n]? and Gerrit Code Review is not shipped with Bouncy Castle Crypto Provider v149 ** This library is required by Bouncy Castle Crypto SSL v149. ** Download and install it now [Y/n]?
Status:
AwaitingInformation
May 12, 2014
In my case, the upgrade process *did* prompt me to download them and I did say yes. The problem is that the directory it places the files (lib/ subdir in the Gerrit site directory) is not on the classpath. I'm guessing OP has the same problem.
May 12, 2014
Actually I was not asked any questions during the upgrade. Note that the release notes did not say anything about a schema upgrade, so I "upgraded" simply by dropping the new war on top of the old and restarting gerrit (as opposed to the usual '-d init <...>').
May 12, 2014
Confirmed that running with 'init -d' asked me for the download and subsequently gerrit came up fine. Feel free to close/fix as a documentation bug.
May 13, 2014
Updated the release notes. https://gerrit-review.googlesource.com/#/c/57127/
Status:
ChangeUnderReview
May 20, 2014
(No comment was entered for this change.)
Status:
Submitted
|
|
| ► Sign in to add a comment |