Error Message after Update Slave from 2.0.0p39.cme to 2.1.0p40

CMK version: 2.0.0p39.cme to 2.1.0p40
**OS version:**Alma Linux 8

**Error message:**Update ends with

Exception: Version mismatch: this is the ‘cffi’ package version 1.15.1, located in ‘/omd/sites/abatec/local/lib/python3/cffi/api.py’. When we import the top-level ‘_cffi_backend’ extension module, we get version 1.15.0, located in ‘/omd/sites/abatec/lib/python3.9/site-packages/_cffi_backend.cpython-39-x86_64-linux-gnu.so’. The two versions should be equal; check your installation.
Finished update.

Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)

Hello,

The update to my site ends with the message.
Exception: Version mismatch: this is the 'cffi' package version 1.15.1, located in '/omd/sites/abatec/local/lib/python3/cffi/api.py'. When we import the top-level '_cffi_backend' extension module, we get version 1.15.0, located in '/omd/sites/abatec/lib/python3.9/site-packages/_cffi_backend.cpython-39-x86_64-linux-gnu.so'. The two versions should be equal; check your installation.

Who can help? What helps, which documentaries do I need to read?

Hi,

everything below the /local structure is stuff Installed by “you”, so I assume someone installed the python package cffi in your checkmk site.
I don’t know for what this is used, but If you don’t need it, you can uninstall it.

1 Like

Hello,
Thank you!!!

As user sitename
python3 -m pip uninstall cffi

It works!

1 Like

You are welcome, can you please mark the answer as the solution if it solved your problem?

Hello,
It works not good.
The site can no longer be integrated as a slave to the master of the distributed monitoring installation.

We have adjusted the version in __init.py. After that the site started without any error message. BUT after 3 minutes:

HTTP Error - 500: 500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at nobody@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Hi,

take a look at your ~/var/log/web.log. There you should see the stacktrace of the problem, 500 is a server side error.

Here ~/var/log/web.log are the every time the same message:

2024-03-05 12:15:03,197 [40] [cmk.web 3344] Exception (temp, discovered_host_label_sync)
Traceback (most recent call last):
File “/omd/sites/prod/lib/python3/cmk/gui/watolib/host_label_sync.py”, line 192, in _execute_site_sync
**do_remote_automation(site_spec,
File “/omd/sites/prod/lib/python3/cmk/gui/watolib/automations.py”, line 294, in do_remote_automation
response = get_url(url,
File “/omd/sites/prod/lib/python3/cmk/gui/watolib/automations.py”, line 343, in get_url
return get_url_raw(url, insecure, auth, data, files, timeout).text
File “/omd/sites/prod/lib/python3/cmk/gui/watolib/automations.py”, line 337, in get_url_raw
raise MKUserError(None, _(“HTTP Error - %d: %s”) % (response.status_code, response.text))
cmk.gui.exceptions.MKUserError: HTTP Error - 500:
500 Internal Server Error

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete
your request. Please contact the server administrator at
nobody@localhost to inform them of the time this error occurred,
and the actions you performed just before this error.
More information about this error may be available
in the server error log.