Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1: Failed to write configuration: Failed initialize settings instance #745

Open
JonnyBrando opened this issue Jul 21, 2021 · 0 comments
Open

Comments

@JonnyBrando
Copy link

Issue and Steps to Reproduce

Installing 0.4.x works fine.

Fresh install of 0.5.x works fine ON A NEW SERVER with my current config.

If 0.4 has been on a server, the installer fails when building the nsc.ini file.

Happens when upgrading. Happens if 0.4.X is uninstalled/service removed/folder removed. Same error.

MSIEXEC /I <PATH>\NSCP-0.5.2.41-x64.msi /LOG <PATH>\install.log /NORESTART REBOOT=ReallySuppress

Expected Behavior

Installer should be able to read/leave, rebuild, or create the nsc.ini file without issues

Actual Behavior

Installer proceeds, unpacks new files, does read the INI file and update the installer appropriately, but crashes & rolls back

Details

  • NSClient++ version: 0.5.2
  • OS and Version: Windows Server 2012/2016/2019
  • Checking from: Nagios CORE
  • Checking with: check_nrpe, check_nt, standard_modules

Additional Details

NSClient++ log:

attached
[AUTMSADMIN1_V5_FRESHINSTALL.txt](https://github.com/mickem/nscp/files/6857178/AUTMSADMIN1_V5_FRESHINSTALL.txt)
[AUTMSADMIN1_V5_UPGRADE_NOTRANSFORM.txt](https://github.com/mickem/nscp/files/6857179/AUTMSADMIN1_V5_UPGRADE_NOTRANSFORM.txt)
[AUTMSADMIN1_V5_UPGRADE_TRANSFORMS.txt](https://github.com/mickem/nscp/files/6857180/AUTMSADMIN1_V5_UPGRADE_TRANSFORMS.txt)
[AUTMSADMIN1_V4_WORKING.txt](https://github.com/mickem/nscp/files/6857181/AUTMSADMIN1_V4_WORKING.txt)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant