Graylog2 / graylog2-server

Free and open log management
https://www.graylog.org
Other
7.43k stars 1.07k forks source link

Upgraded from using Docker from 3.3.9 to 4.0 and Graylog keeps restarting with Java Errors #9645

Closed markpsullivan closed 3 years ago

markpsullivan commented 3 years ago

2020-11-30 20:55:33,919 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80) org.graylog.events.search.MoreSearchAdapter bound at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:54) org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28)

2020-11-30 20:55:33,920 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider<org.graylog.plugins.views.migrations.V20200730000000_AddGl2MessageIdFieldAliasForEvents$ElasticsearchAdapter>> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80) org.graylog.plugins.views.migrations.V20200730000000_AddGl2MessageIdFieldAliasForEvents$ElasticsearchAdapter bound at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:62) org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28)

2020-11-30 20:55:33,920 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider<org.graylog.plugins.views.search.engine.QueryBackend<? extends org.graylog.plugins.views.search.engine.GeneratedQueryContext>>> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80) org.graylog.plugins.views.search.engine.QueryBackend<? extends org.graylog.plugins.views.search.engine.GeneratedQueryContext> bound at org.graylog2.storage.VersionAwareStorageModule.bindQueryBackend(VersionAwareStorageModule.java:69) org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28) 2020-11-30 20:55:33,920 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80) org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28) org.graylog.plugins.views.search.export.ExportBackend bound at org.graylog.plugins.views.ViewsBindings.registerExportBackendProvider(ViewsBindings.java:184)

2020-11-30 20:55:33,920 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80) org.graylog2.indexer.IndexToolsAdapter bound at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:59) org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28)

2020-11-30 20:55:33,920 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. 2020-11-30 20:55:33,920 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. 2020-11-30 20:55:33,921 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80) org.graylog2.indexer.counts.CountsAdapter bound at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:51) org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28)

2020-11-30 20:55:33,921 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80) org.graylog2.indexer.fieldtypes.IndexFieldTypePollerAdapter bound at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:58) org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28)

2020-11-30 20:55:33,921 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80) org.graylog2.indexer.indices.IndicesAdapter bound at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:52) org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28)

2020-11-30 20:55:33,921 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. 2020-11-30 20:55:33,921 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80) org.graylog2.indexer.searches.SearchesAdapter bound at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:53) org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28)

2020-11-30 20:55:33,921 ERROR: org.graylog2.bootstrap.CmdLineTool - Guice error (more detail on log level debug): No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider<org.graylog2.migrations.V20170607164210_MigrateReopenedIndicesToAliases$ClusterState>> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80) org.graylog2.migrations.V20170607164210_MigrateReopenedIndicesToAliases$ClusterState bound at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:60) org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28)

Exception in thread "main" com.google.inject.CreationException: Unable to create injector, see the following errors:

1) No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80) org.graylog.events.search.MoreSearchAdapter bound at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:54) org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28)

while locating java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> for the 2nd parameter of org.graylog2.storage.providers.MoreSearchAdapterProvider.(MoreSearchAdapterProvider.java:31) at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:54)

2) No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider<org.graylog.plugins.views.migrations.V20200730000000_AddGl2MessageIdFieldAliasForEvents$ElasticsearchAdapter>> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80) org.graylog.plugins.views.migrations.V20200730000000_AddGl2MessageIdFieldAliasForEvents$ElasticsearchAdapter bound at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:62) org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28)

while locating java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider<org.graylog.plugins.views.migrations.V20200730000000_AddGl2MessageIdFieldAliasForEvents$ElasticsearchAdapter>> for the 2nd parameter of org.graylog2.storage.providers.V20200730000000_AddGl2MessageIdFieldAliasForEventsElasticsearchAdapterProvider.(V20200730000000_AddGl2MessageIdFieldAliasForEventsElasticsearchAdapterProvider.java:34) at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:62)

3) No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider<org.graylog.plugins.views.search.engine.QueryBackend<? extends org.graylog.plugins.views.search.engine.GeneratedQueryContext>>> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80)

org.graylog.plugins.views.search.engine.QueryBackend<? extends org.graylog.plugins.views.search.engine.GeneratedQueryContext> bound  at org.graylog2.storage.VersionAwareStorageModule.bindQueryBackend(VersionAwareStorageModule.java:69)
org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound  at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28)

while locating java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider<org.graylog.plugins.views.search.engine.QueryBackend<? extends org.graylog.plugins.views.search.engine.GeneratedQueryContext>>> for the 2nd parameter of org.graylog2.storage.providers.ElasticsearchBackendProvider.(ElasticsearchBackendProvider.java:33) at org.graylog2.storage.VersionAwareStorageModule.bindQueryBackend(VersionAwareStorageModule.java:69)

4) No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80) org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28) org.graylog.plugins.views.search.export.ExportBackend bound at org.graylog.plugins.views.ViewsBindings.registerExportBackendProvider(ViewsBindings.java:184)

while locating java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> for the 2nd parameter of org.graylog.plugins.views.providers.ExportBackendProvider.(ExportBackendProvider.java:31) at org.graylog.plugins.views.ViewsBindings.registerExportBackendProvider(ViewsBindings.java:184)

5) No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80) org.graylog2.indexer.IndexToolsAdapter bound at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:59) org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28)

while locating java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> for the 2nd parameter of org.graylog2.storage.providers.IndexToolsAdapterProvider.(IndexToolsAdapterProvider.java:31) at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:59)

6) No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. while locating java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> for the 2nd parameter of org.graylog2.storage.providers.ClusterAdapterProvider.(ClusterAdapterProvider.java:31) at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:56)

7) No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. while locating java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> for the 2nd parameter of org.graylog2.storage.providers.NodeAdapterProvider.(NodeAdapterProvider.java:31) at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:57)

8) No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80)

org.graylog2.indexer.counts.CountsAdapter bound  at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:51)
org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound  at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28)

while locating java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> for the 2nd parameter of org.graylog2.storage.providers.CountsAdapterProvider.(CountsAdapterProvider.java:31) at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:51)

9) No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80)

org.graylog2.indexer.fieldtypes.IndexFieldTypePollerAdapter bound  at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:58)
org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound  at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28)

while locating java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> for the 2nd parameter of org.graylog2.storage.providers.IndexFieldTypePollerAdapterProvider.(IndexFieldTypePollerAdapterProvider.java:31) at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:58)

10) No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80)

org.graylog2.indexer.indices.IndicesAdapter bound  at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:52)

org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound  at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28)

while locating java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> for the 2nd parameter of org.graylog2.storage.providers.IndicesAdapterProvider.(IndicesAdapterProvider.java:31) at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:52)

11) No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. while locating java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> for the 2nd parameter of org.graylog2.storage.providers.MessagesAdapterProvider.(MessagesAdapterProvider.java:31) at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:55)

12) No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80)

org.graylog2.indexer.searches.SearchesAdapter bound  at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:53)

org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound  at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28)

while locating java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider> for the 2nd parameter of org.graylog2.storage.providers.SearchesAdapterProvider.(SearchesAdapterProvider.java:31) at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:53)

13) No implementation for java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider<org.graylog2.migrations.V20170607164210_MigrateReopenedIndicesToAliases$ClusterState>> was bound. Did you mean? org.graylog2.plugin.Version annotated with @com.google.inject.name.Named(value=elasticsearch_version) bound at com.github.joschi.jadconfig.guice.NamedConfigParametersModule.registerParameters(NamedConfigParametersModule.java:80)

org.graylog2.migrations.V20170607164210_MigrateReopenedIndicesToAliases$ClusterState bound  at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:60)

org.graylog2.plugin.Version annotated with interface org.graylog2.storage.ElasticsearchVersion bound  at org.graylog2.bindings.ElasticsearchModule.configure(ElasticsearchModule.java:28)

while locating java.util.Map<org.graylog2.plugin.Version, javax.inject.Provider<org.graylog2.migrations.V20170607164210_MigrateReopenedIndicesToAliases$ClusterState>> for the 2nd parameter of org.graylog2.storage.providers.V20170607164210_MigrateReopenedIndicesToAliasesClusterStateAdapterProvider.(V20170607164210_MigrateReopenedIndicesToAliasesClusterStateAdapterProvider.java:31) at org.graylog2.storage.VersionAwareStorageModule.configure(VersionAwareStorageModule.java:60)

13 errors at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:543) at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:159) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106) at com.google.inject.Guice.createInjector(Guice.java:87) at org.graylog2.shared.bindings.GuiceInjectorHolder.createInjector(GuiceInjectorHolder.java:34) at org.graylog2.bootstrap.CmdLineTool.setupInjector(CmdLineTool.java:381) at org.graylog2.bootstrap.CmdLineTool.run(CmdLineTool.java:196) at org.graylog2.bootstrap.Main.main(Main.java:50)

markpsullivan commented 3 years ago

Found answer here: https://github.com/Graylog2/graylog2-server/issues/9521 had mounted plugins folder and was missing needed storage plugin.