Gerrit docker image change from openfrontier/gerrit:3.3.2 to gerritcodereview/gerrit:3.2.7-ubuntu20

48 views
Skip to first unread message

Rupesh Sadawarte

unread,
May 20, 2026, 11:25:58 AM (3 days ago) May 20
to Repo and Gerrit Discussion
I am trying to switch to gerritcodereview/gerrit:3.2.7-ubuntu20 on my test machine and getting multiple errors while staring the gerrit with its old git data. can anyone help if they migrated from  openfrontier to   gerritcodereview ?

below error is regaring the SSH key, but I verified SSH key in at its place with correct permission on it.

more inputs will be helpful. thx

 [main] INFO  com.google.gerrit.server.plugins.PluginLoader : Loaded plugin webhooks, version v3.2.7
[main] INFO  com.google.gerrit.server.config.ScheduleConfig : No schedule configuration for "accountDeactivation".
 [main] ERROR com.google.gerrit.pgm.Daemon : Unable to start daemon
java.lang.IllegalStateException: No SSHD host key
        at com.google.gerrit.sshd.SshDaemon.checkConfig(SshDaemon.java:426)
        at com.google.gerrit.sshd.SshDaemon.start(SshDaemon.java:321)
        at com.google.gerrit.lifecycle.LifecycleManager.start(LifecycleManager.java:95)
        at com.google.gerrit.pgm.Daemon.start(Daemon.java:371)
        at com.google.gerrit.pgm.Daemon.run(Daemon.java:274)
        at com.google.gerrit.pgm.util.AbstractProgram.main(AbstractProgram.java:61)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.google.gerrit.launcher.GerritLauncher.invokeProgram(GerritLauncher.java:224)
        at com.google.gerrit.launcher.GerritLauncher.mainImpl(GerritLauncher.java:120)
        at com.google.gerrit.launcher.GerritLauncher.main(GerritLauncher.java:65)
        at Main.main(Main.java:28)
[DiskCache-Store-0] WARN  com.google.gerrit.server.cache.h2.H2CacheImpl : Cannot build BloomFilter for jdbc:h2:file:///var/gerrit/cache/diff_summary: Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-176]

Daniele Sassoli

unread,
May 20, 2026, 11:44:16 AM (3 days ago) May 20
to Repo and Gerrit Discussion
Hi Rupesh

On Wednesday, 20 May 2026 at 16:25:58 UTC+1 rupes...@gmail.com wrote:
I am trying to switch to gerritcodereview/gerrit:3.2.7-ubuntu20 on my test machine and getting multiple errors while staring the gerrit with its old git data. can anyone help if they migrated from  openfrontier to   gerritcodereview ?

What version are you upgrading from?
The subject of the email makes it look like you're downgrading from 3.3.2 to 3.2.7?

Gerrit 3.2 and Gerrit 3.3 have long gone out of community support as they are over 6 years old.
 

Matthias Sohn

unread,
May 20, 2026, 11:44:43 AM (3 days ago) May 20
to Rupesh Sadawarte, Repo and Gerrit Discussion
On Wed, May 20, 2026 at 5:25 PM Rupesh Sadawarte <rupes...@gmail.com> wrote:
I am trying to switch to gerritcodereview/gerrit:3.2.7-ubuntu20 on my test machine and getting multiple errors while staring the gerrit with its old git data. can anyone help if they migrated from  openfrontier to   gerritcodereview ?

These are very old releases which are EOL since a long time ago (https://endoflife.date/gerrit).
You should not try to downgrade to an older Gerrit version but rather update to a newer version.
You should consider upgrading all the way up to a supported release. This means at least 3.12 since 3.14
 
-Matthias


below error is regaring the SSH key, but I verified SSH key in at its place with correct permission on it.

more inputs will be helpful. thx

 [main] INFO  com.google.gerrit.server.plugins.PluginLoader : Loaded plugin webhooks, version v3.2.7
[main] INFO  com.google.gerrit.server.config.ScheduleConfig : No schedule configuration for "accountDeactivation".
 [main] ERROR com.google.gerrit.pgm.Daemon : Unable to start daemon
java.lang.IllegalStateException: No SSHD host key
        at com.google.gerrit.sshd.SshDaemon.checkConfig(SshDaemon.java:426)
        at com.google.gerrit.sshd.SshDaemon.start(SshDaemon.java:321)
        at com.google.gerrit.lifecycle.LifecycleManager.start(LifecycleManager.java:95)
        at com.google.gerrit.pgm.Daemon.start(Daemon.java:371)
        at com.google.gerrit.pgm.Daemon.run(Daemon.java:274)
        at com.google.gerrit.pgm.util.AbstractProgram.main(AbstractProgram.java:61)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.google.gerrit.launcher.GerritLauncher.invokeProgram(GerritLauncher.java:224)
        at com.google.gerrit.launcher.GerritLauncher.mainImpl(GerritLauncher.java:120)
        at com.google.gerrit.launcher.GerritLauncher.main(GerritLauncher.java:65)
        at Main.main(Main.java:28)
[DiskCache-Store-0] WARN  com.google.gerrit.server.cache.h2.H2CacheImpl : Cannot build BloomFilter for jdbc:h2:file:///var/gerrit/cache/diff_summary: Database is already closed (to disable automatic closing at VM shutdown, add ";DB_CLOSE_ON_EXIT=FALSE" to the db URL) [90121-176]

--
--
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.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/843d0249-9099-460d-9512-492413341018n%40googlegroups.com.

Luca Milanesio

unread,
May 20, 2026, 3:52:00 PM (3 days ago) May 20
to Repo and Gerrit Discussion, Rupesh Sadawarte, Luca Milanesio

On 20 May 2026, at 16:44, Matthias Sohn <matthi...@gmail.com> wrote:

On Wed, May 20, 2026 at 5:25 PM Rupesh Sadawarte <rupes...@gmail.com> wrote:
I am trying to switch to gerritcodereview/gerrit:3.2.7-ubuntu20 on my test machine and getting multiple errors while staring the gerrit with its old git data. can anyone help if they migrated from  openfrontier to   gerritcodereview ?

These are very old releases which are EOL since a long time ago (https://endoflife.date/gerrit).
You should not try to downgrade to an older Gerrit version but rather update to a newer version.
You should consider upgrading all the way up to a supported release. This means at least 3.12 since 3.14

Also, you may want to look at the Enterprise Support which also covers EOL releases, see:

HTH

Luca.

Rupesh Sadawarte

unread,
May 20, 2026, 4:11:12 PM (3 days ago) May 20
to Repo and Gerrit Discussion
Sorry, I am switch the Gerrit container image from openfrontier/gerrit:3.2.7  to gerritcodereview/gerrit:3.2.7-ubuntu20 (same gerrit version) as  openfrontier/gerrit:3.2.7 is not maintained anymore and they don't have any latest Gerrit version image available for upgrade. which switching to the  gerritcodereview/gerrit:3.2.7-ubuntu20 I am facing issue. 

Luca Milanesio

unread,
May 20, 2026, 4:30:46 PM (3 days ago) May 20
to Repo and Gerrit Discussion, Luca Milanesio


> On 20 May 2026, at 21:09, Rupesh Sadawarte <rupes...@gmail.com> wrote:
>
> Sorry, I am switch the Gerrit container image from openfrontier/gerrit:3.2.7 to gerritcodereview/gerrit:3.2.7-ubuntu20 (same gerrit version) as openfrontier/gerrit:3.2.7 is not maintained anymore and they don't have any latest Gerrit version image available for upgrade. which switching to the gerritcodereview/gerrit:3.2.7-ubuntu20 I am facing issue.

Ah, that explains perfectly the matter.

The openfrontier/gerrit Docker image [1] was a series of scripts for automatically configure Gerrit with keys, LDAP connections and many other plumbing behind the scenes.
All that plumbing isn’t compatible with a plain setup as the official Docker image at [2].

There will definitely be quite some work in:
a) Changing the deployment model into the standard Docker image
b) Migrating to a recent and supported version of Gerrit

I’m not sure the mailing list is the place to provide you all the necessary consulting and advise for performing a) and b) on an obsolete EOL version of Gerrit.
However, the enterprise support option [3] could be more suitable for you.

HTH

Luca.

[1] https://github.com/openfrontier/gerrit-docker
[2] https://gerrit.googlesource.com/docker-gerrit/+/refs/heads/stable-3.2
[3] https://www.gerritcodereview.com/support.html#enterprise-support
> To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/15860502-95e2-4b80-b8a1-2665bf9c3e89n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages