UBUNTU 22.04 - UPGRATE NETXMS TO 4.4

Started by ruidias, December 10, 2023, 01:26:12 PM

Previous topic - Next topic

ruidias

Hi

We were unable to migrate to 4.4 in Ubuntu 22.04

Our current version is NetXMS server version 4.0.2200 build tag 4.0-2200-gd285ae314a and we already have the repository updated 

When we make apt-get update don't find newer version

Alex Kirhenshtein

Hi

make sure that you are using correct repository, it should be
deb http://packages.netxms.org/ubuntu jammy main
I've checked and it's available:
root@e450415b83cf:~# apt-cache show netxms-server|grep Version
Version: 4.4.5-1
Version: 4.4.4-1
Version: 4.4.3-1
...

ruidias

Setting up netxms-server:amd64 (4.4.5-1) ...
NetXMS Database Manager Version 4.4.5 Build 4.4-755-g1ec09e5921 (UNICODE)

Unable to load and initialize database driver "mysql.ddr"
dpkg: error processing package netxms-server:amd64 (--configure):
installed netxms-server:amd64 package post-installation script subprocess returned error exit status 3
Processing triggers for libc-bin (2.31-0ubuntu9.14) ...
Errors were encountered while processing:
netxms-server:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)



also with 

root@netxms:~# nxdbmgr export netxms.db
NetXMS Database Manager Version 4.4.5 Build 4.4-755-g1ec09e5921 (UNICODE)

Unable to load and initialize database driver "mysql.ddr"

Alex Kirhenshtein

Install package "netxms-dbdrv-mariadb", then change DBDriver parameter in netxmsd.conf "mariadb" from "mysql"