Werk #16413: omd update: Fix Permission denied: '/omd/sites/SITE/etc/ssl/agents/legacy_ca.pem'
Component | Site management | ||
Title | omd update: Fix Permission denied: '/omd/sites/SITE/etc/ssl/agents/legacy_ca.pem' | ||
Date | Mar 18, 2024 | ||
Level | Trivial Change | ||
Class | Bug Fix | ||
Compatibility | Compatible - no manual interaction needed | ||
Checkmk versions & editions |
|
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.