On 6 Aug 2025, at 16:13, Åsmund Østvold <asm...@gmail.com> wrote:Hi All,I am attempting to move to gerrit v3.12.1 with github-plugin [1]. I am compiling gerrit and plugins myself for the first time. The github-plugin version is dd52f958f13afdee670e34864949a9c23173966d (current master).
I get the below error. So the question is: does anybody know if github-plugin (master) works with v3.12.1? If it is known to work I am doing something wrong :-(
I am currently using github-plugin (older version and not compiled by me) with gerrit v3.10.4. I assume https://gerrithub.io uses github-plugin and it is running 3.12.0-592-g4bd1b5ddce.
So my question to gerrithub.io people do you have changes on top of github-plugin [1] master not yet published or is my assumption that it is using github-plugin [1] wrong?Any information is much appreciated![1] https://gerrit.googlesource.com/plugins/github
PS. I did try gerrit 3.11.4 but got another issue and as I want v3.12...[2025-08-06T16:07:09.558+02:00] [main] INFO com.google.gerrit.server.plugins.PluginLoader : Loaded plugin delete-project, version v3.12.1
[2025-08-06T16:07:09.580+02:00] [main] INFO com.google.gerrit.server.plugins.PluginLoader : Loaded plugin download-commands, version v3.12.1
Aug 06, 2025 4:07:09 PM com.google.inject.servlet.GuiceFilter setPipeline
WARNING: Multiple Servlet injectors detected. This is a warning indicating that you have more than one GuiceFilter running in your web application. If this is deliberate, you may safely ignore this message. If this is NOT deliberate however, your application may not work as expected.
[2025-08-06T16:07:09.655+02:00] [main] INFO com.google.gerrit.server.plugins.PluginLoader : Loaded plugin github-oauth, version null
Aug 06, 2025 4:07:09 PM com.google.inject.internal.MessageProcessor visit
INFO: An exception was caught and reported. Message: java.lang.ClassNotFoundException: com.googlesource.gerrit.plugins.replication.api.ReplicationRemotesApi
java.lang.TypeNotPresentException: Type com.googlesource.gerrit.plugins.replication.api.ReplicationRemotesApi not present
--
--
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/CA%2BzfM3D1bN9HJFc58E3hKYVrHq9QEA-4L6kTqcGdsNOKBH7_oA%40mail.gmail.com.
That’s correct. Bear in mind that v3.12.0-592-g4bd1b5ddce is on the master branch, not on the stable-3.12.
So my question to gerrithub.io people do you have changes on top of github-plugin [1] master not yet published or is my assumption that it is using github-plugin [1] wrong?Any information is much appreciated![1] https://gerrit.googlesource.com/plugins/github
PS. I did try gerrit 3.11.4 but got another issue and as I want v3.12...[2025-08-06T16:07:09.558+02:00] [main] INFO com.google.gerrit.server.plugins.PluginLoader : Loaded plugin delete-project, version v3.12.1
[2025-08-06T16:07:09.580+02:00] [main] INFO com.google.gerrit.server.plugins.PluginLoader : Loaded plugin download-commands, version v3.12.1
Aug 06, 2025 4:07:09 PM com.google.inject.servlet.GuiceFilter setPipeline
WARNING: Multiple Servlet injectors detected. This is a warning indicating that you have more than one GuiceFilter running in your web application. If this is deliberate, you may safely ignore this message. If this is NOT deliberate however, your application may not work as expected.
[2025-08-06T16:07:09.655+02:00] [main] INFO com.google.gerrit.server.plugins.PluginLoader : Loaded plugin github-oauth, version null
Aug 06, 2025 4:07:09 PM com.google.inject.internal.MessageProcessor visit
INFO: An exception was caught and reported. Message: java.lang.ClassNotFoundException: com.googlesource.gerrit.plugins.replication.api.ReplicationRemotesApi
java.lang.TypeNotPresentException: Type com.googlesource.gerrit.plugins.replication.api.ReplicationRemotesApi not presentYou are missing the replication-api, nothing wrong with the github plugin.See the replication-api artifact from [1], and download it into the $GERRIT_SITE/plugins.
You are missing the replication-api, nothing wrong with the github plugin.