Failure to update from 2024R1.4.3 to 2024R1.4.4

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
arthurkroth
Posts: 13
Joined: Mon Oct 14, 2024 9:54 am

Failure to update from 2024R1.4.3 to 2024R1.4.4

Post by arthurkroth »

Hi Everyone.

Linux Distribution and version? Ubuntu 22.04 LTS
32 or 64bit? 64 Bits
VMware Image or Manual Install of XI? Manual Installation - Migrated servers in Oct 2024.

I am currently trying to patch my Nagios XI version to 2024R1.4.4 and I am getting the following error:

Code: Select all

(...)
UPGRADE: Nagios Core upgraded OK.
Proceeding with upgrade...
Updating XI config wizards...
INSTALL: Installing/updating XI wizards...
Backing up existing wizards to /tmp/xiwizards_backup...
Installing 'wizards/amazon_ec2.zip'
TMPNAME: CXVjV
Archive:  /usr/local/nagiosxi/tmp/nagiosxi/subcomponents/xiwizards/wizards/amazon_ec2.zip
   creating: amazon_ec2/
  inflating: amazon_ec2/CHANGELOG.txt  
  inflating: amazon_ec2/amazon_ec2.inc.php  
  inflating: amazon_ec2/config.xml   
   creating: amazon_ec2/css/
  inflating: amazon_ec2/css/main-dark.css  
  inflating: amazon_ec2/css/main.css  
  inflating: amazon_ec2/ec2.ajax.php  
  inflating: amazon_ec2/install.sh   
   creating: amazon_ec2/logos/
  inflating: amazon_ec2/logos/ec2.png  
   creating: amazon_ec2/plugins/
  inflating: amazon_ec2/plugins/check_ec2.py  
   creating: amazon_ec2/steps/
  inflating: amazon_ec2/steps/step1.php  
  inflating: amazon_ec2/steps/step2.php  
   creating: amazon_ec2/templates/
  inflating: amazon_ec2/templates/ec2.cfg  
amazon_ec2
WIZARD NAME: amazon_ec2
CMD: cp -rf /usr/local/nagiosxi/tmp/CXVjV/amazon_ec2 /usr/local/nagiosxi/html/includes/configwizards/
PHP Fatal error:  Uncaught Error: Undefined constant "CONFIGWIZARD_IS_PREMIUM" in /usr/local/nagiosxi/html/includes/configwizards/amazon_ec2/amazon_ec2.inc.php:0
Stack trace:
#0 /usr/local/nagiosxi/html/includes/configwizards/amazon_ec2/amazon_ec2.inc.php(0): ec2_configwizard_init()
#1 /usr/local/nagiosxi/html/includes/configwizards/amazon_ec2/amazon_ec2.inc.php(2): sg_load()
#2 /usr/local/nagiosxi/tools/install_configwizard.php(120): include('...')
#3 /usr/local/nagiosxi/tools/install_configwizard.php(14): doit()
#4 {main}
  thrown in /usr/local/nagiosxi/html/includes/configwizards/amazon_ec2/amazon_ec2.inc.php on line 0

The installation is being attempted from the Web interface rather than manually via the CLI.

Could you please advise? I usually don't have any issues when updating versions, my latest update install was on 04/05/2025, no issues reported back then.

Thanks for your attention,
Arthur
BenCowan
Posts: 86
Joined: Thu Jul 28, 2011 11:34 am

Re: Failure to update from 2024R1.4.3 to 2024R1.4.4

Post by BenCowan »

I have the same issue. Any help yet?
bbahn
Posts: 379
Joined: Thu Jan 12, 2023 5:42 pm

Re: Failure to update from 2024R1.4.3 to 2024R1.4.4

Post by bbahn »

Hello @arthurkroth and @BenCowan,

It seems the wrong build was released. This has since been fixed and the correct build has been put in place. I have tested an upgrade that failed from using the bad tarball and then upgrading with the correct 1.4.4 tarball afterwards seems to have worked, so you should be able to get the new tarball and re-try the upgrade.
Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
arthurkroth
Posts: 13
Joined: Mon Oct 14, 2024 9:54 am

Re: Failure to update from 2024R1.4.3 to 2024R1.4.4

Post by arthurkroth »

Hi @bbahn

Thanks for your update on this.

My production server was just updated with no issues via Nagios XI GUI.

This post can be closed.

Thanks again!

Regards,
Arthur.
Post Reply