server uses incompatible version of communication protocol after upgrade

Started by adimitrov, August 26, 2016, 02:25:10 PM

Previous topic - Next topic

adimitrov

Hello ,

After upgrading the NetXMS to latest snapshot from http://git.netxms.org/public/netxms.git/shortlog/refs/heads/develop?js=1 i cannot start the management or web console. I am getting error "server uses incompatible version of communication protocol". I saw a lot of topics for this issue and as far as i understand the problem could be in different versions/builds.

The netxmsd is version 2.1-M1 build 9000. web and management console are 2.0.5 build 8070 downloaded from https://www.netxms.org/download/ .

Already tried to undeploy and deploy back the .war file on the netxms server without success.

tomaskir

If you built the server from the dev snapshot (which means its newest dev code), you also need to build the client from the snapshot.

You simply have a too new version of server for what your client can support.
(which makes sense since you built the newest server from dev, but you are using the release client)

adimitrov

Sorry for the stupid question, but how to build it from the snapshot without .war file ?

tomaskir


Victor Kirhenshtein


adimitrov

How about the management console ? I get the same error with it too ?

tomaskir

Its the same issue.

You need to compile the management console from sources to have the newest version which is compatible with the newest version of the server you compiled.

adimitrov

i am trying to compile this and when i get to the step with the package.cmd on windows i cannot locate it in my PC. It turns out that i installed the maven correctly (following the installation guide and checking with mvn -version once finished). I am totally new with such applications and i am lost, can i have some hints here ?