Upgrade sidecar 1.1 to 1.2 inactive after upgrade

Test of upgrade sidecar from 1.1 to 1.2 and got strange issues
stopped the sidecar and did install of 1.2 but gor very strange issues now it show we get the version 1.2 in disecar but it complains about to be inactive very often the winlobeat works aso it sends logs but sidecar seems to be broken.
also tested to uninstall readd the the sidecar.yml and also add node-id in the file
but still the 1.2 get status inactive
// Anders

This is on windows or linux? Can you post any interesting tidbits from the sidecar.log or from the Graylog servers logs? You could also post the sidecar.yml and/or the configuration you are pushing (obfuscated of course) but lets start with logs.

You can also run the sidecar manually in debug mode… if it was windows it would look like:

c:\Program Files\Graylog\sidecar>graylog-sidecar.exe -debug

funny is that it was working fine in version 1.1 and just wanted to get all servers in same version as rest of servers.
yes did and did not tell much more than starting /stopping
ill grab some from server.log to if i find something.

time=“2022-10-07T15:57:13+02:00” level=info msg=“Starting signal distributor”
time=“2022-10-07T16:17:26+02:00” level=info msg=“Stopping signal distributor”
time=“2022-10-07T16:03:15+02:00” level=info msg=“Stopping signal distributor”
time=“2022-10-07T16:09:42+02:00” level=info msg=“Starting signal distributor”
time=“2022-10-07T16:13:30+02:00” level=info msg=“Stopping signal distributor”
time=“2022-10-07T16:17:27+02:00” level=info msg=“Starting signal distributor”

MultiException stack 3 of 3
java.lang.IllegalStateException: Unable to perform operation: resolve on org.graylog.plugins.sidecar.rest.resources.SidecarResource

Have a look at the discussion here : Upgrading sidecar from 1.1 to 1.2 · Issue #432 · Graylog2/collector-sidecar · GitHub

1 Like

Good to know,
I think Ill copy my sidecar.yaml and do a clean install with 1.2.

yes we did that to but still the sidecar has issues call home seems like broken it connects then it says inactive and then it suddenly works for just some connections… and then back to inactive.
even after add the right node-id that version 1.1 had

clean install with 1.2 and new servers is no issues on running for me to. but mayby it some way that u need to remove it from mongodb i have not check that yet if delete it and then install sidecar again.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.