NetXMS Support Forum

English Support => General Support => Topic started by: bk-rheine on July 14, 2015, 10:34:10 PM

Title: After upgrading to 2.0M5 Server Error
Post by: bk-rheine on July 14, 2015, 10:34:10 PM
After upgrading from 2.0M4 to 2.0M5 I get the following Server Error in netxmsd.log file:

[14-JUL-2015 21:12:02.539] Log file opened
[14-JUL-2015 21:12:02.540] [INFO ] Platform subagent "/usr/lib/x86_64-linux-gnu/netxms/linux.nsm" successfully loaded
[14-JUL-2015 21:12:02.607] [INFO ] Database driver "mysql.ddr" loaded and initialized  successfully
[14-JUL-2015 21:12:07.366] [ERROR] Your database has format version 356, but server is compiled for version 353

I followed the update instructions on https://wiki.netxms.org/wiki/Server_Installation_Guide#Upgrading_NetXMS_Server_on_UNIX and used this download: https://www.netxms.org/download/netxms-2.0-M5.tar.gz
Title: Re: After upgrading to 2.0M5 Server Error
Post by: multix on July 15, 2015, 03:03:33 AM
you should do that:
nxdbmgr upgrade

then start next's.

or you could not uninstall previous version of nextms and trying to start older one.
Title: Re: After upgrading to 2.0M5 Server Error
Post by: bk-rheine on July 15, 2015, 09:36:49 AM
I did the nxdbmgr upgrade. My Problem is now, that the database is newer than the server.

Regards.
Title: Re: After upgrading to 2.0M5 Server Error
Post by: multix on July 16, 2015, 02:33:34 AM
then, perhaps you could not uninstall older server and even if you install newer version, you are trying to run older one.
you can check this by running

netxmsd -v
Title: Re: After upgrading to 2.0M5 Server Error
Post by: bk-rheine on July 16, 2015, 09:57:59 AM
How to compile a new Server for database Version 356? Or is a databse downgrade possible?
Title: Re: After upgrading to 2.0M5 Server Error
Post by: Victor Kirhenshtein on July 16, 2015, 06:05:58 PM
Hi,

it seems that you still have older server version then your nxdbmgr. Try to download source package again and compile everything again.

Best regards,
Victor
Title: Re: After upgrading to 2.0M5 Server Error
Post by: bk-rheine on July 16, 2015, 11:26:43 PM
Deleting old instances and compiling new one solved the Problem.

Thanks.