I've used Ocs Server for many years and the upgrade was always easy to accomplish but not this time with version 2.6. As my previous server has crashed, the disk controller was dead, I've done a brand new install. Ocs is running on Ubuntu 18.04.03 lts
In the web interface, the dashboard indicates, there is 0 machine, in fact there is no more communication/synchronisation between clients and server (most of my network clients are in 2.4 state) but I've tried installing the 2.6 version with the same error.
I've plenty errors coming from all IP clients in /var/log/apache/error.log :
Can't call method "rollback" on an undefined value at /usr/local/share/perl/5.26.1/Apache/Ocsinventory/Server/System.pm line 312.\n
Line 312 in System.pm file :
if( $ret==APACHE_SERVER_ERROR ){
&_log(515,'end', 'error') if $ENV{'OCS_OPT_LOGLEVEL'};
$dbh->rollback;
}
I've installed the latest build : OCSNG_UNIX_SERVER_2.6-nightly-2020-01-21.tar.gz but it didn't solve the problem. If you could help me, it would be greatly appreciated.