NCPA update stops update process and/or breaks config

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nehpets
Posts: 7
Joined: Thu May 07, 2020 3:19 pm

NCPA update stops update process and/or breaks config

Post by nehpets »

Every time NCPA updates, it pauses the apt upgrade process waiting for user input (even when run with apt upgrade -y).

This also leads to users selecting to use the new file which wipes out the password being used and breaking communication with Nagios XI. What can be done to avoid this situation on future NCPA updates?

The only "custom" change in my config file is setting the password.

Code: Select all

Setting up ncpa (2.4.0-1) ...

Configuration file '/usr/local/ncpa/etc/ncpa.cfg'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** ncpa.cfg (Y/I/N/O/D/Z) [default=N] ? n
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NCPA update stops update process and/or breaks config

Post by ssax »

I'm able to replicate this, I'm looking for a solution and will update shortly.
Locked