Closed limanzhang-ess closed 4 years ago
I had the same problem and it was caused by the plugin graylog-plugin-auth-sso
. After removing, service started perfectly.
Thank you for the reply. I have removed all of the old plugins before upgrading. Now there are three plugins in the plugin folder with version 3.0.2.
ls /usr/share/graylog-server/plugin graylog-plugin-aws-3.0.2.jar graylog-plugin-collector-3.0.2.jar graylog-plugin-threatintel-3.0.2.jar
Old plugins: graylog-plugin-aws-2.4.6.jar graylog-plugin-collector-2.4.6.jar graylog-plugin-netflow-2.4.6.jar graylog-plugin-beats-2.4.6.jar graylog-plugin-enterprise-integration-2.4.6.jar graylog-plugin-pipeline-processor-2.4.6.jar graylog-plugin-cef-2.4.6.jar graylog-plugin-map-widget-2.4.6.jar graylog-plugin-threatintel-2.4.6.jar
Should I upgrade all of the old plugins?
Only use the plugins compatible with your Graylog version.
Remove all of the above mentioned and your Graylog will work.
We are using GitHub issues for tracking bugs in Graylog itself, but this doesn't look like one. Please post this issue to our discussion forum or join the #graylog channel on freenode IRC.
Thank you!
After upgraded to 3.0.2, the graylog-server service was started but there are many errors and visiting through nginx got 502 Bad Gateway. Here is the error in log: 2020-11-19T15:01:25.940+01:00 ERROR [CmdLineTool] Guice error (more detail on log level debug): Error injecting constructor, java.lang.NullPointerException
Before the upgrade, I did the following:
Change the configuration rest_listen_uri | http_bind_address | 127.0.0.1:9000 rest_transport_uri | http_publish_uri | http://$http_bind_address/ web_endpoint_uri | http_external_uri | $http_publish_uri
Add elasticsearch and mongodb uri, which are both installed locally. elasticsearch_hosts =http://127.0.0.1:9200 mongodb_uri = mongodb://127.0.0.1:27017
change proxy for nginx: proxy_set_header x-graylog-server-url https://$server_name/
Reference: https://docs.graylog.org/en/3.3/pages/upgrade/graylog-3.0.html
What did I miss in the upgrade?
Thank you in advance!