This error is most times caused by an old gui extension like self defined views or dashboards.
You can have a look inside ~/local/share/check_mk/web/plugins/views or dashboards if there are files existing.
Can you fully show the Error in the GUI? Does it say something about a rrd? And are you sure you had the same error message?
If nothing is in local, itâs worth a try to try the updated after you moved ~/var/check_mk/web away (for a moment). It contains user changes made in the GUI. If this works, you just need to figure out which of the subfolders caused it to do a clean update.
BTW dieser Host wurde umbenannt, warum das â.â am Anfang noch drin ist in irgendweiner Datei und wieso das ĂŒberhaupt ein Problem ist wissen nur die CheckMK GötterâŠ
Ist halt mit dem Punkt am Anfang kein legaler Hostname.
Da ist der Pydantic Check schon korrekt in seiner Aussage.
Zu der anderen Frage warum so ein seltsamer Name ĂŒberhaupt existiert lĂ€sst sich natĂŒrlich nix sagen nachtrĂ€glich. Kann auch sein, dass hier beim umbenennen schief gelaufen ist.
Solche Hostnamen können durch die Piggyback Translation zustande kommen. Hatte den Fall schon mal, dass von ESX quasi ein leerer Name gelesen wurde, dann durch die Piggyback Translation ein Hostname dahinter gepackt, was zu genau dem gefĂŒhrt hatte.
That hostname is somewhere then.
Maybe set in a Filter? Can you grep for (Recursive) it in ~/var/check_mk/web and just to be sure in ~/etc/check_mk/conf.d?
I got near the same errors when I tried to update from 2.2.0p31 cee to 2.3.0p17 cee via the dockerimage and at the regular installation:
errors from the dockerinstallation:
21/28 Update existing two factor...
22/28 Update pagetypes...
+ "Update pagetypes" failed
Traceback (most recent call last):
File "/omd/sites/lub_gs/lib/python3/cmk/update_config/main.py", line 268, in update_config
action(logger, update_state.setdefault(action.name))
File "/omd/sites/lub_gs/lib/python3/cmk/update_config/plugins/actions/pagetypes.py", line 55, in __call__
raw_page_dicts = updater(raw_page_dicts)
^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/lub_gs/lib/python3/cmk/update_config/cee/plugins/actions/pagetypes.py", line 48, in __call__
element["parameters"] = self._parse_graph_specification(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/lub_gs/lib/python3/cmk/update_config/cee/plugins/actions/pagetypes.py", line 72, in _parse_graph_specification
return _parse_legacy_graph_identifier(raw_spec) # type: ignore[arg-type]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/lub_gs/lib/python3/cmk/update_config/cee/plugins/actions/pagetypes.py", line 98, in _parse_legacy_graph_identifier
return parse_raw_graph_specification({"graph_type": identifier[0]} | dict(graph_spec))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/omd/sites/lub_gs/lib/python3/cmk/gui/graphing/_graph_specification.py", line 213, in parse_raw_graph_specification
].model_validate(raw)
^^^^^^^^^^^^^^^^^^^
File "/omd/sites/lub_gs/lib/python3.12/site-packages/pydantic/main.py", line 503, in model_validate
return cls.__pydantic_validator__.validate_python(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.ValidationError: 3 validation errors for CombinedGraphSpecification
context.service
Input should be a valid dictionary [type=dict_type, input_value='Memory and pagefile', input_type=str]
For further information visit https://errors.pydantic.dev/2.5/v/dict_type
context.svc_last_check
Input should be a valid dictionary [type=dict_type, input_value='', input_type=str]
For further information visit https://errors.pydantic.dev/2.5/v/dict_type
context.svc_last_state_change
Input should be a valid dictionary [type=dict_type, input_value='', input_type=str]
For further information visit https://errors.pydantic.dev/2.5/v/dict_type
23/28 Split large audit logs...
After the upgrade we can only login with the cmkadmin user. AFAISee the LDAP users are all locked.
The issue is possibly somewhere in this area to find.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.