the new stable release 2.1.0p8 of Checkmk is ready for download.
This maintenance release ships with 5 changes affecting all editions of Checkmk,
3 Enterprise Edition specific changes and 0 Managed Services Edition specific changes.
Hi,
ich bekomme beim Update von p5 auf p8 nun folgenden Fehler:
Traceback (most recent call last):
File "/omd/versions/2.1.0p8.cee/bin/omd", line 63, in <module>
omdlib.main.main()
File "/omd/versions/2.1.0p8.cee/lib/python3/omdlib/main.py", line 4665, in main
command.handler(version_info, site, global_opts, args, command_options)
File "/omd/versions/2.1.0p8.cee/lib/python3/omdlib/main.py", line 2726, in main_update
not is_apache_hook_up_to_date(site)
File "/omd/versions/2.1.0p8.cee/lib/python3/omdlib/system_apache.py", line 72, in is_apache_hook_up_to_date
with open(os.path.join(omdlib.utils.omd_base_path(), "omd/apache/%s.conf" % site.name)) as f:
PermissionError: [Errno 13] Permission denied: '/omd/apache/checkmk_test.conf'
Woran liegt das? bzw. ist das ein Bug? @robin.gierse
VG
Christian
The files located here /omd/apache are readable only by root and the group. The site user cannot access them. But I don’t know if this is a general bug or if it could be because of our umask (0027)?!
Is it enough to just give the files o+r or is there more to change?
edit:
after chmod o+r to the related file, the update procedure was successful.
After update do 2.1.0p8 there is error when clicking Check_MK Discovery → Parametar for this servise
Traceback:
File "/omd/sites/XXX/lib/python3/cmk/gui/wsgi/applications/checkmk.py", line 241, in _process_request
resp = page_handler()
File "/omd/sites/XXX/lib/python3/cmk/gui/wsgi/applications/utils.py", line 56, in _call_auth
func()
File "/omd/sites/XXX/lib/python3/cmk/gui/pages.py", line 195, in <lambda>
return (lambda hc: lambda: hc().handle_page())(handle_class)
File "/omd/sites/XXX/lib/python3/cmk/gui/pages.py", line 48, in handle_page
self.page()
File "/omd/sites/XXX/lib/python3/cmk/gui/pages.py", line 165, in <lambda>
"page": lambda self: self._wrapped_callable[0](),
File "/omd/sites/XXX/lib/python3/cmk/gui/wato/page_handler.py", line 95, in page_handler
_wato_page_handler(current_mode, mode_permissions, mode_class)
File "/omd/sites/XXX/lib/python3/cmk/gui/wato/page_handler.py", line 172, in _wato_page_handler
mode.handle_page()
File "/omd/sites/XXX/lib/python3/cmk/gui/plugins/wato/utils/base_modes.py", line 152, in handle_page
return self.page()
File "/omd/sites/XXX/lib/python3/cmk/gui/wato/pages/object_parameters.py", line 110, in page
service_result = self._show_service_info(all_rulesets=all_rulesets)
File "/omd/sites/XXX/lib/python3/cmk/gui/wato/pages/object_parameters.py", line 167, in _show_service_info
origin = serviceinfo["origin"]
Local Variables
{'all_rulesets': <cmk.gui.watolib.rulesets.AllRulesets object at 0x7f76fc0663a0>,
'self': <cmk.gui.wato.pages.object_parameters.ModeObjectParameters object at 0x7f76ff4d0520>,
'service_result': AnalyseServiceResult(service_info={'labels': {}, 'label_sources': {}}),
'serviceinfo': {'label_sources': {}, 'labels': {}}}
Could all of you facing this “parameter of the service” error execute “omd update-apache-config [SITENAME]” like mentioned in Fix local privilege escalation from site users please. In my case error has been “fixed” by this.
Devs are informed to make the werk incompatible…
Hi, the issue with “Parameters for this service has been fixed”: https://checkmk.com/werk/14546
The fix will be released with the next patch release.
Das sieht aus, als wäre da eine Datei abgelegt, die nicht zu Checkmk gehört. Kann das sein?
Ansonsten gab es schon die richtigen Hinweise, wĂĽrde ich sagen.