CMK version: 2.4.0p4
OS version: RHEL 9.5
Error message: Failed to start discovery: Got response: HTTP 404: {“detail”:“Not Found”}
after updating from 2.3.0p30 → (latest) 2.3.0p34 → (latest) 2.4.0p4
eg. bulk changes

or Activate pending changes

or bake agents

what I see at 1st glance is the following entry in the logfile:
SAL@lnzcheckmk01:[~]\> less ./var/log/web.log
....
2025-06-13 17:49:48,817 [40] [cmk.web 808221] error calling AJAX page handler
Traceback (most recent call last):
File "/omd/sites/SAL/lib/python3/cmk/gui/pages.py", line 102, in handle_page
action_response = self.page()
^^^^^^^^^^^
File "/omd/sites/SAL/lib/python3/cmk/gui/wato/pages/activate_changes.py", line 1013, in page
activation_id = manager.start(
^^^^^^^^^^^^^^
File "/omd/sites/SAL/lib/python3.12/contextlib.py", line 81, in inner
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/omd/sites/SAL/lib/python3/cmk/gui/watolib/activate_changes.py", line 1492, in start
self._start_activation()
File "/omd/sites/SAL/lib/python3.12/contextlib.py", line 81, in inner
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/omd/sites/SAL/lib/python3/cmk/gui/watolib/activate_changes.py", line 1796, in _start_activation
raise result.error
cmk.gui.job_scheduler_client.StartupError: Got response: HTTP 404: {"detail":"Not Found"}
what could I do to investigate further?