Werk #16413: omd update: Fix Permission denied: '/omd/sites/SITE/etc/ssl/agents/legacy_ca.pem'

Komponente Site management
Titel omd update: Fix Permission denied: '/omd/sites/SITE/etc/ssl/agents/legacy_ca.pem'
Datum 18.03.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.3.0b3 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This affects users of the 2.3.0 beta.

Some users may encounter the following traceback will updating from 2.2.0 to the 2.3.0 beta.

Traceback (most recent call last):
  File "/usr/bin/omd", line 53, in <module>
    omdlib.main.main()
  File "/omd/versions/2.3.0b2.cee/lib/python3/omdlib/main.py", line 4722, in main
    command.handler(version_info, site, global_opts, args, command_options)
  File "/omd/versions/2.3.0b2.cee/lib/python3/omdlib/main.py", line 2956, in main_update
    if legacy_agent_ca.exists():
       ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/omd/versions/2.3.0b2.cee/lib/python3.12/pathlib.py", line 860, in exists
    self.stat(follow_symlinks=follow_symlinks)
  File "/omd/versions/2.3.0b2.cee/lib/python3.12/pathlib.py", line 840, in stat
    return os.stat(self, follow_symlinks=follow_symlinks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/omd/sites/monitorv23/etc/ssl/agents/legacy_ca.pem'

This error has now been fixed.

Zur Liste aller Werks