Replies: 14 comments 7 replies
-
Hello, 0.6.5. should have fixed this issue, but if you have already upgraded to 0.6.4 the config file was unfortunately replaced so if thats the case you need to recreate the config file. If it was a correct config file before you upgraded to version after 0.6.5. // Michael Medin |
Beta Was this translation helpful? Give feedback.
-
And the nsclient.ini file after this did not contain the keys? Strange it reads the config correctly and everything seems fine, I will need to run some tests to see if I can reproduce it... |
Beta Was this translation helpful? Give feedback.
-
Yep, the only items in nsclient.ini are 5 comment lines |
Beta Was this translation helpful? Give feedback.
-
After some tinkering I have now figured out what the problem is... |
Beta Was this translation helpful? Give feedback.
-
One more tidbit of information from my testing, I also see the same behavior if I uninstall any previous version, install 0.6.6, and then try to update to 0.6.7. Thanks, Dale. |
Beta Was this translation helpful? Give feedback.
-
We actually had this happen to us when 6.4 was released and now 6.7. We keep apps updated through PatchMyPC and never had an issue with nsclient before. However, this time around with the new versions our config file is getting wiped out every time. It wasn't just going from major versions like 5.2 > 6.4. It happened with 6.6 to 6.7, thought I should share! |
Beta Was this translation helpful? Give feedback.
-
This should be fixed by https://github.com/mickem/nscp/releases/tag/0.6.8
|
Beta Was this translation helpful? Give feedback.
-
I just tested upgrading from 0.5.2.41 to 0.6.8 and also from 0.6.7 to 0.6.8, and in both cases the nsclient.ini file was lost just as before. Thanks, Dale. |
Beta Was this translation helpful? Give feedback.
-
I did another log on the msi install, and comparing that to the changelog for 0.6.7 -> 0.6.8, I don't see any logMessage saying "Config file found:" or "Backup file:" in the log output from msiexec. Looking at the changelog from installer_lib.cpp lines 677-679, I'm guessing there should be log messages for finding the old config file and what the backup file is? Thanks, Dale. |
Beta Was this translation helpful? Give feedback.
-
Doing more digging on the log file from the MSI install, I see where it deletes files before it gets to the "ScheduleWriteConfig" section .... Action 8:07:57: RemoveFiles. Removing files Action start 8:08:13: ScheduleWriteConfig. Thanks, Dale. |
Beta Was this translation helpful? Give feedback.
-
I am so, so sorry.. I see now that the scheduling change I made on Saturday is missing so I must have done a mistake when I committed the change. I will push a new build ASAP... |
Beta Was this translation helpful? Give feedback.
-
I have tried to re construct the config I used over the weekend but alas failed. I have instead created a new solution and then I found that the problem was likely just that it accidentally wrote the config to nsc.ini instead of nsclient.ini. Anyways I have a new version which I have tested locally that is currently building, it will be done in an hour or so here (feel free to verify): https://github.com/mickem/nscp/actions/runs/13250181343 I will verify the built artifact locally (but that will have to wait till tomorrow) and then push a new release (expected tomorrow evening)... |
Beta Was this translation helpful? Give feedback.
-
Good morning, Thank you very much for release 0.6.9. I've tested three upgrades, one from 0.5.2.41, one from 0.6.6, and one from 0.6.8 and all three maintained the nsclient.ini file. I'll be doing more upgrades in the near future, so I'll let you know if I see anything else odd, but it looks good!! Thanks again. Thanks, Dale. |
Beta Was this translation helpful? Give feedback.
-
Hello,
Is there an install option so that the current nsclient.ini file doesn't get lost during an upgrade install? I've tested upgrading from 0.5.2.41 to 0.6.4 and to 0.6.6 and from 0.6.4 to 0.6.6, and in all cases the current nsclient.ini is replaced with a blank version.
Thanks, Dale.
Beta Was this translation helpful? Give feedback.
All reactions