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

Werk #18232: BI: handle FileNotFoundError in update config migration

Component BI
Title BI: handle FileNotFoundError in update config migration
Date Jun 24, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.4.0p6 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

Users reported the following error when running the update config migration:

39/39 Migrate legacy frozen aggregations....
FileNotFoundError: [Errno 2] No such file or directory: '~/tmp/check_mk/bi_cache/compilation.LOCK'

This would occur when a user did not have Business Intelligence (BI) rules set. The applied fix makes sure that the operation now never fails, especially when BI is not in use.

The bug was introduced with the following werk: https://checkmk.com/werk/18116

To the list of all Werks