Updating Windows Agent not possible without reboot from v2.2.6 -> v3.0

When I try to update the windows agent via the powershell command line described here:

$ProgressPreference = ‘SilentlyContinue’; Invoke-WebRequest https://github.com/netdata/netdata/releases/latest/download/netdata-x64.msi -OutFile “netdata-x64.msi”; msiexec /qn /i netdata-x64.msi TOKEN=YYYYYY ROOMS=XXXXX

via my software deployment tool
nothing happens, the agent does not get updated. The initial install however worked just fine.

When I login to the server console, open a powershell console and copy and paste the same powershell command, also nothing happens, it just executes and then finished.

When I open a command line, and just execute the msi file manually, the wizards hows up, I click next, next, next… I start the installation, and then this I get this popup error:

Netdata Agent Setup

The setup must update files or services that cannot be updated while the system is running. If you choose to continue, a reboot will be required to complete the setup.

OK Cancel

So does this really mean that I have to reboot all of my production servers in order to update netdata. How can I do this with my software deployment tool, so I don’t have to manually install the msi file everywhere

Hello @DeKum47 ,

First, we sincerely apologize for the issues you encountered with our installer.

We’ve identified and resolved these problems (fix MSI installer by ktsaou · Pull Request #19962 · netdata/netdata · GitHub) , which will no longer enforce these actions when the PR is merged.

To ensure we’ve covered all possible scenarios, could you please share your Windows version? This will help us verify that we’ve tested your specific environment.

Thank you for your patience and cooperation!

Best regards,

Thiago

No. Reboot is not required. At the moment you need to:

  • stop Netdata Agent service
  • install new version
  • start Netdata Agent service

After 19962 stop/start won’t be needed. You will still get that popup about “reboot required” but you can ignore it.