We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Checkmk Conference #6 goes digital. Get your tickets here!

Werk #7088: omd update can now be performed without access to source version

Titleomd update can now be performed without access to source version
Date2019-02-18 08:10:57
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.6.0b1,1.7.0i1
LevelProminent Change
ClassNew Feature
CompatibilityCompatible - no manual interaction needed

The "omd update" procedure, which is used to perform a version update for a site, always needed access to the previous version, the new version and the site.

Since this change it is now possible to perform an update without access to the old version. This is possible becase we copy the information that are needed to the Check_MK site during site creation.

This new mechanism can only be used when updating FROM a site that already implements this werk.

Technical detail:

  • The meta files are saved for the first time during "omd create"
  • The meta files are updated to the new version during each "omd update"
  • The files are copied to the sites .version_meta directory.
  • The directory /omd/versions/[version]/skel is copied.
  • The file /omd/versions/[version]/share/omd/skel.permissions is copied.
  • A file .version_meta/version is created.
  • When an update is performed, the meta files are used if they are available and up-to-date. In case they don't fit these conditiones, the previous version files need to be available as before this werk.