Page 1 of 1

Upgrade, Nagvis is down

Posted: Wed Apr 09, 2025 5:23 am
by cedric974
Hello,

I just upgrade to 2024R1.4.1

All module in nagios seems to work.

I just have nagvis that is not working with this error page.

Error: (0) Creation of dynamic property NagVisException::$e is deprecated
URL: /nagvis/frontend/nagvis-js/index.php
File: /usr/local/nagvis/share/server/core/classes/CoreExceptions.php
Line: 37
#0 /usr/local/nagvis/share/server/core/classes/CoreExceptions.php(37): nagvisExceptionErrorHandler()
#1 /usr/local/nagvis/share/server/core/classes/GlobalCore.php(562): NagVisException->__construct()
#2 /usr/local/nagvis/share/server/core/classes/GlobalFileCache.php(157): GlobalCore->checkWriteable()
#3 /usr/local/nagvis/share/server/core/classes/GlobalFileCache.php(105): GlobalFileCache->checkCacheFolderWriteable()
#4 /usr/local/nagvis/share/server/core/classes/GlobalMainCfg.php(1534): GlobalFileCache->writeCache()
#5 /usr/local/nagvis/share/server/core/functions/core.php(36): GlobalMainCfg->init()
#6 /usr/local/nagvis/share/frontend/nagvis-js/index.php(41): require('...')
#7 {main}

Thank you for you help.

Re: Upgrade, Nagvis is down

Posted: Wed Apr 09, 2025 3:30 pm
by lgute
Hi @cedric974,

Thanks for reaching out. A fix for this issue will be included in XI 2024R1.4.2.

In the meantime, you can download and install the updated version.

Code: Select all

wget https://assets.nagios.com/downloads/nagiosxi/packages/nagvis-1.9.44-nagios.tar.gz
tar xf nagvis-1.9.44-nagios.tar.gz
cd nagvis-1.9.44-nagios
./install.sh

Re: Upgrade, Nagvis is down

Posted: Thu Apr 10, 2025 3:52 am
by cedric974
Hi,
Thanks for your rapid answer.
It is ok now.

Thanks a lot

Re: Upgrade, Nagvis is down

Posted: Thu Apr 10, 2025 9:06 am
by lgute
Hi @cedric974,

That's great! Thanks for letting us know the fix worked for you.