Werk #11855: The updating of the Windows agent no longer causes the disappearing of directories in the ProgramData

Component Checks & agents
Title The updating of the Windows agent no longer causes the disappearing of directories in the ProgramData
Date Mar 8, 2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0 2.1.0b1
Level Prominent Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Previously, cleaning routine of the Windows agent was called too late: after the sending of the signal "SERVICE_STOPPED". This may lead to the disappearing of some directories in %programdata%/checkmk/agent, because deleting of directories, such as tmp, is the integral part of the cleaning phase of the update routine. If the cleaning will happen after the Windows agent restarted, then the cleaning will remove working directories and the Windows agent will not be able to function properly.

With this release the error had been fixed.

To the list of all Werks