Explore the latest product updates and best practices at our hybrid Checkmk Conference #12 from June 16-18, 2026 – Register here

Werk #18894: omd restore: Fix error upon encountering empty site directory

Component Site management
Title omd restore: Fix error upon encountering empty site directory
Date Mar 12, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.6.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.5.0b3
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.4.0p25
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

Previously, omd restore did not handle an empty site directory correctly, if executed as a site user. The following error would be displayed.

  orig_apache_port = config["APACHE_TCP_PORT"]
KeyError: 'APACHE_TCP_PORT'

This has been fixed. To prevent user errors, omd restore will now verify that the user targeted by the restore command is a site user.

To the list of all Werks