NetXMS Support Forum

English Support => General Support => Topic started by: radw on June 10, 2016, 01:30:03 AM

Title: Check NETXMS Upgrade in Debian
Post by: radw on June 10, 2016, 01:30:03 AM
Hello, I just find that the new version 2.0.4 was released, and following the adm guide for my system Debian (https://www.netxms.org/documentation/adminguide/upgrade.html), I apply the apt update and upgrade. However , ¿ how could I check that the new version was installed correctly after the upgrade??

Also, I'm bit concerned about the outcome of the upgrade process, since I've read some threads where appear db and other issues. Up this moment, my upgrade process dont finish yet, but I want to be sure that it end successful.

Regards.

Title: Re: Check NETXMS Upgrade in Debian
Post by: radw on June 10, 2016, 03:49:15 AM
Hello, the upgrade end, but the db was lock. Fortunately, this thread had the solution: https://www.netxms.org/forum/general-support/'database-is-locked'-after-upgrade-to-2-0-m5-via-apt/ ,so  I apply it, start netxmsd service, and NETXMS worked again.

Regards.
Title: Re: Check NETXMS Upgrade in Debian
Post by: Tatjana Dubrovica on June 10, 2016, 11:51:40 AM
To check versions you can run excutables with "-v" option: "netxmsd -v" and "nxagentd -v" it will return the version. "nxdbmgr upgrade" will aknowlage if there were some errors while upgrade and netxmsd just will not start if database upgrade failed.
Title: Re: Check NETXMS Upgrade in Debian
Post by: radw on June 15, 2016, 09:29:59 AM
Hello, thanks your your reply. After the update, I'm wondering if its possible only with apt update and upgrade netxms , for not install all other Debian packages.

Regards.
Title: Re: Check NETXMS Upgrade in Debian
Post by: Alex Kirhenshtein on June 15, 2016, 02:48:40 PM
APT will update installed packages.
Under normal circumstances netxmsd will shutdown properly and remove database lock - and will not require any manual intervention.
Title: Re: Check NETXMS Upgrade in Debian
Post by: troffasky on June 17, 2016, 01:22:30 PM
Quote from: radw on June 15, 2016, 09:29:59 AM
I'm wondering if its possible only with apt update and upgrade netxms , for not install all other Debian packages.

apt-get install <packagename> will update just <packagename> if there are updates available for it [and any necessary dependencies also].