I'm running XI on an Ubuntu 22.04 server and just downloaded and upgraded to version 2024R1.3.3 from 2024R1.3.1. The install seemed to run fine, no issues after having to install a chromium-browser package. Once the upgrade was complete, I lost the ability to see my maps that were created in NagVis. When I first attempted to open my maps, i received a permissions error to the following folders; usr/local/nagvis/var/tmpl/compile, usr/local/nagvis/var/tmpl/cache & usr/local/nagvis/var/. I opened up those permissions and now when I click the NagVis link from the main page, I get the following syntax.
Error (Error): Call to a member function errorInfo() on nullarray(1) { [0]=> array(2) { ["function"]=> string(15) "nagvisException" ["args"]=> array(1) { [0]=> object(Error)#13 (7) { ["message":protected]=> string(45) "Call to a member function errorInfo() on null" ["string":"Error":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(62) "/usr/local/nagvis/share/server/core/classes/CorePDOHandler.php" ["line":protected]=> int(370) ["trace":"Error":private]=> array(4) { [0]=> array(5) { ["file"]=> string(62) "/usr/local/nagvis/share/server/core/classes/CoreAuthModPDO.php" ["line"]=> int(62) ["function"]=> string(5) "error" ["class"]=> string(14) "CorePDOHandler" ["type"]=> string(2) "->" } [1]=> array(5) { ["file"]=> string(63) "/usr/local/nagvis/share/server/core/classes/CoreAuthHandler.php" ["line"]=> int(47) ["function"]=> string(11) "__construct" ["class"]=> string(14) "CoreAuthModPDO" ["type"]=> string(2) "->" } [2]=> array(5) { ["file"]=> string(55) "/usr/local/nagvis/share/server/core/functions/index.php" ["line"]=> int(44) ["function"]=> string(11) "__construct" ["class"]=> string(15) "CoreAuthHandler" ["type"]=> string(2) "->" } [3]=> array(4) { ["file"]=> string(52) "/usr/local/nagvis/share/frontend/nagvis-js/index.php" ["line"]=> int(53) ["args"]=> array(1) { [0]=> string(55) "/usr/local/nagvis/share/server/core/functions/index.php" } ["function"]=> string(7) "require" } } ["previous":"Error":private]=> NULL } } } }
NagVis not working after 2024R1.3.3 upgrade
Re: NagVis not working after 2024R1.3.3 upgrade
Hi @sawdusty,
Thanks for reaching out.
I was able to duplicate this error and created a ticket to get it fixed. When the fix is released, it will appear in the CHANGELOG with the tag [GL:XI#1490].
In the meantime, you can run the following to get NagVis to work.
Thanks for reaching out.
I was able to duplicate this error and created a ticket to get it fixed. When the fix is released, it will appear in the CHANGELOG with the tag [GL:XI#1490].
In the meantime, you can run the following to get NagVis to work.
Code: Select all
cd /usr/local/nagvis
chmod g+w -R etc share var
chown www-data:www-data -R .
Please let us know if you have any other questions or concerns.
-Laura
-Laura