After update checkmk version raw the web gui is not display properly

CMK version: 2.1.0P25.cre
OS version: Centos 7

Error message:

  • Updated .profile
  • Installed dir etc/redis
  • Identical new etc/ssl
  • Updated etc/apache/conf.d/01_wsgi.conf
  • Updated etc/apache/conf.d/security.conf
  • Installed file etc/bash_completion.d/stunnel.bash
  • Updated etc/check_mk/apache.conf
  • Updated etc/check_mk/main.mk
  • Installed file etc/init.d/redis
  • Updated etc/init.d/xinetd
  • Installed file etc/logrotate.d/redis
  • Updated etc/mk-livestatus/nagios.cfg
  • Updated etc/nagios/conf.d/check_mk_templates.cfg
  • Installed link etc/rc.d/85-redis
  • Installed file etc/redis/redis.conf
  • Installed dir etc/ssl/certs
  • Installed dir etc/ssl/misc
  • Installed dir etc/ssl/private
  • Installed file etc/ssl/ct_log_list.cnf
  • Installed file etc/ssl/ct_log_list.cnf.dist
  • Installed file etc/ssl/openssl.cnf
  • Installed file etc/ssl/openssl.cnf.dist
  • Installed file etc/ssl/misc/CA.pl
  • Installed link etc/ssl/misc/tsget
  • Installed file etc/ssl/misc/tsget.pl
  • Installed link local/lib/check_mk
  • Installed dir local/lib/python3
  • Installed dir local/lib/python3/cmk
  • Installed dir local/lib/python3/cmk/base
  • Installed dir local/lib/python3/cmk/special_agents
  • Installed dir local/lib/python3/cmk/base/plugins
  • Installed dir local/lib/python3/cmk/base/plugins/agent_based
  • Installed dir var/redis
  • Identical new var/check_mk/crashes
  • Keeping your var/dokuwiki/lib/plugins/acl
  • Keeping your var/dokuwiki/lib/plugins/action.php
  • Keeping your var/dokuwiki/lib/plugins/admin.php
  • Keeping your var/dokuwiki/lib/plugins/auth.php
  • Keeping your var/dokuwiki/lib/plugins/authad
  • Keeping your var/dokuwiki/lib/plugins/authldap
  • Keeping your var/dokuwiki/lib/plugins/authmultisite
  • Keeping your var/dokuwiki/lib/plugins/authmysql
  • Keeping your var/dokuwiki/lib/plugins/authpdo
  • Keeping your var/dokuwiki/lib/plugins/authpgsql
  • Keeping your var/dokuwiki/lib/plugins/authplain
  • Keeping your var/dokuwiki/lib/plugins/bookcreator
  • Keeping your var/dokuwiki/lib/plugins/changes
  • Keeping your var/dokuwiki/lib/plugins/cli.php
  • Keeping your var/dokuwiki/lib/plugins/config
  • Keeping your var/dokuwiki/lib/plugins/dokuteaser
  • Keeping your var/dokuwiki/lib/plugins/extension
  • Keeping your var/dokuwiki/lib/plugins/include
  • Keeping your var/dokuwiki/lib/plugins/index.html
  • Keeping your var/dokuwiki/lib/plugins/indexmenu
  • Keeping your var/dokuwiki/lib/plugins/info
  • Keeping your var/dokuwiki/lib/plugins/pagelist
  • Keeping your var/dokuwiki/lib/plugins/popularity
  • Keeping your var/dokuwiki/lib/plugins/remote.php
  • Keeping your var/dokuwiki/lib/plugins/revert
  • Keeping your var/dokuwiki/lib/plugins/safefnrecode
  • Keeping your var/dokuwiki/lib/plugins/styling
  • Keeping your var/dokuwiki/lib/plugins/syntax.php
  • Keeping your var/dokuwiki/lib/plugins/usermanager
  • Keeping your var/dokuwiki/lib/plugins
  • Keeping your var/dokuwiki/data/tmp/_dummy
  • Keeping your var/dokuwiki/data/pages/wiki/dokuwiki.txt
  • Keeping your var/dokuwiki/data/pages/wiki/ebook.txt
  • Keeping your var/dokuwiki/data/pages/wiki/syntax.txt
  • Keeping your var/dokuwiki/data/pages/playground/playground.txt
  • Keeping your var/dokuwiki/data/pages/playground
  • Keeping your var/dokuwiki/data/pages/wiki
  • Keeping your var/dokuwiki/data/meta/_dummy
  • Keeping your var/dokuwiki/data/media/wiki/dokuwiki-128.png
  • Keeping your var/dokuwiki/data/media/wiki
  • Keeping your var/dokuwiki/data/locks/_dummy
  • Keeping your var/dokuwiki/data/index/_dummy
  • Keeping your var/dokuwiki/data/cache/_dummy
  • Keeping your var/dokuwiki/data/attic/_dummy
  • Keeping your var/dokuwiki/data/.htaccess
  • Keeping your var/dokuwiki/data/_dummy
  • Keeping your var/dokuwiki/data/attic
  • Keeping your var/dokuwiki/data/cache
  • Keeping your var/dokuwiki/data/index
  • Keeping your var/dokuwiki/data/locks
  • Keeping your var/dokuwiki/data/media
  • Keeping your var/dokuwiki/data/media_attic
  • Keeping your var/dokuwiki/data/media_meta
  • Keeping your var/dokuwiki/data/meta
  • Keeping your var/dokuwiki/data/pages
  • Keeping your var/dokuwiki/data/tmp
  • Keeping your var/dokuwiki/data
  • Keeping your var/dokuwiki/lib
  • Keeping your var/dokuwiki
  • Keeping your local/share/dokuwiki/htdocs
  • Keeping your local/share/dokuwiki
  • Vanished etc/pnp4nagios/apache.conf
  • Vanished etc/nagios/ssi/extinfo-header.ssi
  • Vanished etc/nagios/ssi/status-header.ssi
  • Vanished etc/nagios/conf.d/pnp4nagios.cfg
  • Vanished etc/jmx4perl/jmx4perl.cfg
  • Vanished etc/jmx4perl/servers.cfg
  • Keeping your etc/dokuwiki/acl.auth.php
  • Keeping your etc/dokuwiki/acronyms.conf
  • Keeping your etc/dokuwiki/apache.conf
  • Keeping your etc/dokuwiki/dokuwiki.php
  • Keeping your etc/dokuwiki/entities.conf
  • Keeping your etc/dokuwiki/interwiki.conf
  • Keeping your etc/dokuwiki/license.php
  • Keeping your etc/dokuwiki/local.php
  • Keeping your etc/dokuwiki/local.protected.php
  • Keeping your etc/dokuwiki/mediameta.php
  • Keeping your etc/dokuwiki/mime.conf
  • Keeping your etc/dokuwiki/msg
  • Keeping your etc/dokuwiki/mysql.conf.php.example
  • Keeping your etc/dokuwiki/plugins.local.php
  • Keeping your etc/dokuwiki/plugins.php
  • Keeping your etc/dokuwiki/plugins.required.php
  • Keeping your etc/dokuwiki/scheme.conf
  • Keeping your etc/dokuwiki/smileys.conf
  • Keeping your etc/dokuwiki/users.auth.php
  • Keeping your etc/dokuwiki/wordblock.conf
  • Vanished etc/cron.d/cmk_cleanup_crashed_checks
  • Vanished etc/check_mk/conf.d/README
  • Vanished etc/apache/conf.d/dokuwiki.conf
  • Vanished etc/apache/apache-own.conf
  • Keeping your etc/dokuwiki
  • Vanished .pip/pip.conf
  • Vanished .pip
    Creating temporary filesystem /omd/sites/1/tmp…OK
    Executing update-pre-hooks script “01_mkp-disable-outdated”…OK
    Executing update-pre-hooks script “02_cmk-update-config”…
    -| Initializing application…
    -| Loading GUI plugins…
    ERROR (exit code: 1)
    Updating core configuration…
    Cannot read in configuration file /omd/sites/1/etc/check_mk/conf.d/wato/remote_sites/s001/hosts.mk: name ‘folder_attributes’ is not defined
    Finished update.

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

login page look like this


instead of this
image

after logged in

Looks like your css and maybe js files are not loaded.
Maybe with browser developer tools (right mouse click, inspect) and check network (re)loading of elements give you a clue for the cause.

So how do i fix?
Below are the one you asked to check

They seem to be loading fine, otherwise status would display error codes.

Does the other tabs in developer tools give any errors, maybe blocking loaded files?

Nope, i tried on chrome. It’s same. Where to look in config for webgui?

And if you right mouse click those broken images?
image

I don’t know where to look in config, I was hoping that errors in developer tools might give a clue, as in string, what to look for in linux.

I see something on console

Hello Max,

there was an error during your update:

I think you need to fix the folder / file problems first and can then issue a “cmk-update-config” again to see if you fixed the problem.

Are these folders leftovers of some old distributed monitoring tests or are you currently using a distributed setup ?

You can have a look at ~/var/log/web.log if there are any obvious error messages.

log from web.log
2024-03-05 09:44:01,526 [20] [cmk.web.automations 7384] RUN: check_mk --automation get-configuration
2024-03-05 09:44:01,526 [20] [cmk.web.automations 7384] STDIN: “[‘use_new_descriptions_for’, ‘tcp_connect_timeout’, ‘simulation_mode’, ‘restart_locking’, ‘agent_simulator’, ‘delay_precompile’, ‘cluster_max_cachefile_age’, ‘piggyback_max_cachefile_age’, ‘check_mk_perfdata_with_times’, ‘use_dns_cache’, ‘snmp_backend_default’, ‘use_inline_snmp’, ‘http_proxies’, ‘inventory_check_interval’, ‘inventory_check_severity’, ‘inventory_check_autotrigger’, ‘enable_rulebased_notifications’, ‘notification_fallback_email’, ‘notification_backlog’, ‘notification_bulk_interval’, ‘notification_plugin_timeout’, ‘notification_logging’]”
2024-03-05 09:44:01,984 [20] [cmk.web.automations 7384] FINISHED: 0
2024-03-05 09:44:01,985 [40] [cmk.web.background-job 7384] Exception in background function
Traceback (most recent call last):
File “/omd/sites/site/lib/python3/cmk/gui/watolib/automations.py”, line 153, in check_mk_local_automation
return ast.literal_eval(completed_process.stdout)
File “/omd/sites/site/lib/python3.8/ast.py”, line 59, in literal_eval
node_or_string = parse(node_or_string, mode=‘eval’)
File “/omd/sites/site/lib/python3.8/ast.py”, line 47, in parse
return compile(source, filename, mode, flags,
File “”, line 1
remove flag /omd/sites/site/etc/check_mk/conf.d/fs_cap.mk
^
SyntaxError: invalid syntax

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/omd/sites/site/lib/python3/cmk/gui/background_job.py”, line 210, in _execute_function
func_ptr(*args, **kwargs)
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 472, in _build_index_background
IndexBuilder(match_item_generator_registry).build_full_index()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 239, in build_full_index
self._build_index(self._registry.values())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 143, in _build_index
self._add_language_dependent_item_generators_to_redis(
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 179, in _add_language_dependent_item_generators_to_redis
self._add_match_item_generator_to_redis(
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 201, in _add_match_item_generator_to_redis
cls._add_match_items_to_redis(
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 217, in _add_match_items_to_redis
for idx, match_item in enumerate(match_item_generator.generate_match_items()):
File “/omd/sites/site/lib/python3/cmk/gui/wato/pages/global_settings.py”, line 552, in generate_match_items
mode = self._mode_class()
File “/omd/sites/site/lib/python3/cmk/gui/wato/pages/global_settings.py”, line 390, in init
super().init()
File “/omd/sites/site/lib/python3/cmk/gui/wato/pages/global_settings.py”, line 74, in init
self._default_values = ABCConfigDomain.get_all_default_globals()
File “/omd/sites/site/lib/python3/cmk/gui/plugins/watolib/utils.py”, line 60, in get_all_default_globals
settings.update(domain().default_globals())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/config_domains.py”, line 65, in default_globals
return check_mk_local_automation(“get-configuration”, ,
File “/omd/sites/site/lib/python3/cmk/gui/watolib/automations.py”, line 155, in check_mk_local_automation
raise _local_automation_failure(command=command,
cmk.utils.exceptions.MKGeneralException: Error running automation call get-configuration, output:

remove flag /omd/sites/site/etc/check_mk/conf.d/fs_cap.mk
{u’agent_simulator’: False, u’check_mk_perfdata_with_times’: True, u’cluster_max_cachefile_age’: 90, u’delay_precompile’: False, u’enable_rulebased_notifications’: False, u’http_proxies’: {}, u’inventory_check_autotrigger’: True, u’inventory_check_interval’: None, u’inventory_check_severity’: 1, u’notification_backlog’: 10, u’notification_bulk_interval’: 10, u’notification_fallback_email’: u’‘, u’notification_logging’: 15, u’notification_plugin_timeout’: 60, u’piggyback_max_cachefile_age’: 3600, u’restart_locking’: u’abort’, u’simulation_mode’: False, u’snmp_backend_default’: u’inline’, u’tcp_connect_timeout’: 5.0, u’use_dns_cache’: True, u’use_inline_snmp’: True, u’use_new_descriptions_for’: }
: invalid syntax (, line 1)
2024-03-05 09:44:25,095 [20] [cmk.web.automations 7657] RUN: check_mk --automation get-configuration
2024-03-05 09:44:25,095 [20] [cmk.web.automations 7657] STDIN: “[‘use_new_descriptions_for’, ‘tcp_connect_timeout’, ‘simulation_mode’, ‘restart_locking’, ‘agent_simulator’, ‘delay_precompile’, ‘cluster_max_cachefile_age’, ‘piggyback_max_cachefile_age’, ‘check_mk_perfdata_with_times’, ‘use_dns_cache’, ‘snmp_backend_default’, ‘use_inline_snmp’, ‘http_proxies’, ‘inventory_check_interval’, ‘inventory_check_severity’, ‘inventory_check_autotrigger’, ‘enable_rulebased_notifications’, ‘notification_fallback_email’, ‘notification_fallback_format’, ‘notification_backlog’, ‘notification_bulk_interval’, ‘notification_plugin_timeout’, ‘notification_logging’]”
2024-03-05 09:44:25,628 [20] [cmk.web.automations 7657] FINISHED: 0
2024-03-05 09:45:02,120 [40] [cmk.web.background-job 7657] Exception in background function
Traceback (most recent call last):
File “/omd/sites/site/lib/python3.9/site-packages/redis/connection.py”, line 559, in connect
sock = self._connect()
File “/omd/sites/site/lib/python3.9/site-packages/redis/connection.py”, line 911, in _connect
sock.connect(self.path)
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/omd/sites/site/lib/python3/cmk/gui/background_job.py”, line 246, in _execute_function
func_ptr(*args, **kwargs)
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 496, in _build_index_background
IndexBuilder(match_item_generator_registry).build_full_index()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 244, in build_full_index
self._build_index(self._registry.values())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 129, in _build_index
self._do_build_index(match_item_generators)
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 156, in _do_build_index
pipeline.execute()
File “/omd/sites/site/lib/python3.9/site-packages/redis/client.py”, line 4012, in execute
conn = self.connection_pool.get_connection(‘MULTI’,
File “/omd/sites/site/lib/python3.9/site-packages/redis/connection.py”, line 1192, in get_connection
connection.connect()
File “/omd/sites/site/lib/python3.9/site-packages/redis/connection.py”, line 563, in connect
raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 2 connecting to unix socket: /omd/sites/site/tmp/run/redis. No such file or directory.
2024-03-05 09:46:03,871 [20] [cmk.web.automations 8128] RUN: check_mk --automation get-configuration
2024-03-05 09:46:03,871 [20] [cmk.web.automations 8128] STDIN: “[‘use_new_descriptions_for’, ‘tcp_connect_timeout’, ‘simulation_mode’, ‘restart_locking’, ‘agent_simulator’, ‘delay_precompile’, ‘cluster_max_cachefile_age’, ‘piggyback_max_cachefile_age’, ‘check_mk_perfdata_with_times’, ‘use_dns_cache’, ‘snmp_backend_default’, ‘use_inline_snmp’, ‘http_proxies’, ‘inventory_check_interval’, ‘inventory_check_severity’, ‘inventory_check_autotrigger’, ‘enable_rulebased_notifications’, ‘notification_fallback_email’, ‘notification_fallback_format’, ‘notification_backlog’, ‘notification_bulk_interval’, ‘notification_plugin_timeout’, ‘notification_logging’]”
2024-03-05 09:46:04,375 [20] [cmk.web.automations 8128] FINISHED: 0
2024-03-05 09:47:13,808 [20] [cmk.web.automations 8788] RUN: check_mk --automation get-configuration
2024-03-05 09:47:13,808 [20] [cmk.web.automations 8788] STDIN: “[‘use_new_descriptions_for’, ‘tcp_connect_timeout’, ‘simulation_mode’, ‘restart_locking’, ‘agent_simulator’, ‘delay_precompile’, ‘cluster_max_cachefile_age’, ‘piggyback_max_cachefile_age’, ‘check_mk_perfdata_with_times’, ‘use_dns_cache’, ‘snmp_backend_default’, ‘use_inline_snmp’, ‘http_proxies’, ‘inventory_check_interval’, ‘inventory_check_severity’, ‘inventory_check_autotrigger’, ‘enable_rulebased_notifications’, ‘notification_fallback_email’, ‘notification_fallback_format’, ‘notification_backlog’, ‘notification_bulk_interval’, ‘notification_plugin_timeout’, ‘notification_logging’]”
2024-03-05 09:47:14,324 [20] [cmk.web.automations 8788] FINISHED: 0
2024-03-05 09:49:57,572 [20] [cmk.web.automations 9912] RUN: check_mk --automation get-configuration
2024-03-05 09:49:57,572 [20] [cmk.web.automations 9912] STDIN: “[‘use_new_descriptions_for’, ‘tcp_connect_timeout’, ‘simulation_mode’, ‘restart_locking’, ‘agent_simulator’, ‘delay_precompile’, ‘cluster_max_cachefile_age’, ‘piggyback_max_cachefile_age’, ‘check_mk_perfdata_with_times’, ‘use_dns_cache’, ‘snmp_backend_default’, ‘use_inline_snmp’, ‘http_proxies’, ‘inventory_check_interval’, ‘inventory_check_severity’, ‘inventory_check_autotrigger’, ‘enable_rulebased_notifications’, ‘notification_fallback_email’, ‘notification_fallback_format’, ‘notification_backlog’, ‘notification_bulk_interval’, ‘notification_plugin_timeout’, ‘notification_logging’]”
2024-03-05 09:49:58,075 [20] [cmk.web.automations 9912] FINISHED: 0
2024-03-05 09:50:29,576 [20] [cmk.web.automations 10492] RUN: check_mk --automation get-configuration
2024-03-05 09:50:29,576 [20] [cmk.web.automations 10492] STDIN: “[‘use_new_descriptions_for’, ‘tcp_connect_timeout’, ‘simulation_mode’, ‘restart_locking’, ‘agent_simulator’, ‘delay_precompile’, ‘cluster_max_cachefile_age’, ‘piggyback_max_cachefile_age’, ‘check_mk_perfdata_with_times’, ‘use_dns_cache’, ‘snmp_backend_default’, ‘use_inline_snmp’, ‘http_proxies’, ‘inventory_check_interval’, ‘inventory_check_severity’, ‘inventory_check_autotrigger’, ‘enable_rulebased_notifications’, ‘notification_fallback_email’, ‘notification_fallback_format’, ‘notification_backlog’, ‘notification_bulk_interval’, ‘notification_plugin_timeout’, ‘notification_logging’]”
2024-03-05 09:50:30,085 [20] [cmk.web.automations 10492] FINISHED: 0
2024-03-05 09:53:35,707 [20] [cmk.web.automations 11789] RUN: check_mk --automation get-configuration
2024-03-05 09:53:35,708 [20] [cmk.web.automations 11789] STDIN: “[‘use_new_descriptions_for’, ‘tcp_connect_timeout’, ‘simulation_mode’, ‘restart_locking’, ‘agent_simulator’, ‘delay_precompile’, ‘cluster_max_cachefile_age’, ‘piggyback_max_cachefile_age’, ‘check_mk_perfdata_with_times’, ‘use_dns_cache’, ‘snmp_backend_default’, ‘use_inline_snmp’, ‘http_proxies’, ‘inventory_check_interval’, ‘inventory_check_severity’, ‘inventory_check_autotrigger’, ‘enable_rulebased_notifications’, ‘notification_fallback_email’, ‘notification_fallback_format’, ‘notification_backlog’, ‘notification_bulk_interval’, ‘notification_plugin_timeout’, ‘notification_logging’]”
2024-03-05 09:53:36,206 [20] [cmk.web.automations 11789] FINISHED: 0
2024-03-05 10:02:29,303 [20] [cmk.web.automations 14835] RUN: check_mk --automation get-configuration
2024-03-05 10:02:29,303 [20] [cmk.web.automations 14835] STDIN: “[‘use_new_descriptions_for’, ‘tcp_connect_timeout’, ‘simulation_mode’, ‘restart_locking’, ‘agent_simulator’, ‘delay_precompile’, ‘cluster_max_cachefile_age’, ‘piggyback_max_cachefile_age’, ‘check_mk_perfdata_with_times’, ‘use_dns_cache’, ‘snmp_backend_default’, ‘use_inline_snmp’, ‘http_proxies’, ‘inventory_check_interval’, ‘inventory_check_severity’, ‘inventory_check_autotrigger’, ‘enable_rulebased_notifications’, ‘notification_fallback_email’, ‘notification_fallback_format’, ‘notification_backlog’, ‘notification_bulk_interval’, ‘notification_plugin_timeout’, ‘notification_logging’]”
2024-03-05 10:02:29,806 [20] [cmk.web.automations 14835] FINISHED: 0
2024-03-05 10:03:20,276 [20] [cmk.web.automations 15339] RUN: check_mk --automation get-configuration
2024-03-05 10:03:20,276 [20] [cmk.web.automations 15339] STDIN: “[‘use_new_descriptions_for’, ‘tcp_connect_timeout’, ‘simulation_mode’, ‘restart_locking’, ‘agent_simulator’, ‘delay_precompile’, ‘cluster_max_cachefile_age’, ‘piggyback_max_cachefile_age’, ‘check_mk_perfdata_with_times’, ‘use_dns_cache’, ‘snmp_backend_default’, ‘use_inline_snmp’, ‘http_proxies’, ‘inventory_check_interval’, ‘inventory_check_severity’, ‘inventory_check_autotrigger’, ‘enable_rulebased_notifications’, ‘notification_fallback_email’, ‘notification_fallback_format’, ‘notification_backlog’, ‘notification_bulk_interval’, ‘notification_plugin_timeout’, ‘notification_logging’]”
2024-03-05 10:03:20,775 [20] [cmk.web.automations 15339] FINISHED: 0
2024-03-05 10:10:30,654 [20] [cmk.web.automations 16943] RUN: check_mk --automation get-configuration
2024-03-05 10:10:30,655 [20] [cmk.web.automations 16943] STDIN: “[‘use_new_descriptions_for’, ‘tcp_connect_timeout’, ‘simulation_mode’, ‘restart_locking’, ‘agent_simulator’, ‘delay_precompile’, ‘cluster_max_cachefile_age’, ‘piggyback_max_cachefile_age’, ‘check_mk_perfdata_with_times’, ‘use_dns_cache’, ‘snmp_backend_default’, ‘use_inline_snmp’, ‘http_proxies’, ‘inventory_check_interval’, ‘inventory_check_severity’, ‘inventory_check_autotrigger’, ‘enable_rulebased_notifications’, ‘notification_fallback_email’, ‘notification_fallback_format’, ‘notification_backlog’, ‘notification_bulk_interval’, ‘notification_plugin_timeout’, ‘notification_logging’]”
2024-03-05 10:10:31,180 [20] [cmk.web.automations 16943] FINISHED: 0
2024-03-05 10:11:07,390 [40] [cmk.web.background-job 16943] Exception in background function
Traceback (most recent call last):
File “/omd/sites/site/lib/python3.9/site-packages/redis/connection.py”, line 707, in connect
sock = self.retry.call_with_retry(
File “/omd/sites/site/lib/python3.9/site-packages/redis/retry.py”, line 46, in call_with_retry
return do()
File “/omd/sites/site/lib/python3.9/site-packages/redis/connection.py”, line 708, in
lambda: self._connect(), lambda error: self.disconnect(error)
File “/omd/sites/site/lib/python3.9/site-packages/redis/connection.py”, line 1191, in _connect
sock.connect(self.path)
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/omd/sites/site/lib/python3/cmk/gui/background_job.py”, line 246, in _execute_function
func_ptr(*args, **kwargs)
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 496, in _build_index_background
IndexBuilder(match_item_generator_registry).build_full_index()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 244, in build_full_index
self._build_index(self._registry.values())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 129, in _build_index
self._do_build_index(match_item_generators)
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 156, in _do_build_index
pipeline.execute()
File “/omd/sites/site/lib/python3.9/site-packages/redis/client.py”, line 2114, in execute
conn = self.connection_pool.get_connection(“MULTI”, self.shard_hint)
File “/omd/sites/site/lib/python3.9/site-packages/redis/connection.py”, line 1461, in get_connection
connection.connect()
File “/omd/sites/site/lib/python3.9/site-packages/redis/connection.py”, line 713, in connect
raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 2 connecting to unix socket: /omd/sites/site/tmp/run/redis. No such file or directory.
2024-03-05 10:11:10,216 [20] [cmk.web.automations 17178] RUN: check_mk --automation get-configuration
2024-03-05 10:11:10,216 [20] [cmk.web.automations 17178] STDIN: “[‘use_new_descriptions_for’, ‘tcp_connect_timeout’, ‘simulation_mode’, ‘restart_locking’, ‘agent_simulator’, ‘delay_precompile’, ‘cluster_max_cachefile_age’, ‘piggyback_max_cachefile_age’, ‘check_mk_perfdata_with_times’, ‘use_dns_cache’, ‘snmp_backend_default’, ‘use_inline_snmp’, ‘http_proxies’, ‘inventory_check_interval’, ‘inventory_check_severity’, ‘inventory_check_autotrigger’, ‘enable_rulebased_notifications’, ‘notification_fallback_email’, ‘notification_fallback_format’, ‘notification_backlog’, ‘notification_bulk_interval’, ‘notification_plugin_timeout’, ‘notification_logging’]”
2024-03-05 10:11:10,713 [20] [cmk.web.automations 17178] FINISHED: 0
2024-03-05 10:18:24,261 [20] [cmk.web.automations 19184] RUN: check_mk --automation get-configuration
2024-03-05 10:18:24,262 [20] [cmk.web.automations 19184] STDIN: “[‘use_new_descriptions_for’, ‘tcp_connect_timeout’, ‘simulation_mode’, ‘restart_locking’, ‘agent_simulator’, ‘delay_precompile’, ‘cluster_max_cachefile_age’, ‘piggyback_max_cachefile_age’, ‘check_mk_perfdata_with_times’, ‘use_dns_cache’, ‘snmp_backend_default’, ‘use_inline_snmp’, ‘http_proxies’, ‘inventory_check_interval’, ‘inventory_check_severity’, ‘inventory_check_autotrigger’, ‘enable_rulebased_notifications’, ‘notification_fallback_email’, ‘notification_fallback_format’, ‘notification_backlog’, ‘notification_bulk_interval’, ‘notification_plugin_timeout’, ‘notification_logging’]”
2024-03-05 10:18:24,791 [20] [cmk.web.automations 19184] FINISHED: 0
2024-03-05 10:19:01,058 [40] [cmk.web.background-job 19184] Exception in background function
Traceback (most recent call last):
File “/omd/sites/site/lib/python3.9/site-packages/redis/connection.py”, line 559, in connect
sock = self._connect()
File “/omd/sites/site/lib/python3.9/site-packages/redis/connection.py”, line 911, in _connect
sock.connect(self.path)
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/omd/sites/site/lib/python3/cmk/gui/background_job.py”, line 246, in _execute_function
func_ptr(*args, **kwargs)
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 496, in _build_index_background
IndexBuilder(match_item_generator_registry).build_full_index()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 244, in build_full_index
self._build_index(self._registry.values())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 129, in _build_index
self._do_build_index(match_item_generators)
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 156, in _do_build_index
pipeline.execute()
File “/omd/sites/site/lib/python3.9/site-packages/redis/client.py”, line 4012, in execute
conn = self.connection_pool.get_connection(‘MULTI’,
File “/omd/sites/site/lib/python3.9/site-packages/redis/connection.py”, line 1192, in get_connection
connection.connect()
File “/omd/sites/site/lib/python3.9/site-packages/redis/connection.py”, line 563, in connect
raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 2 connecting to unix socket: /omd/sites/site/tmp/run/redis. No such file or directory.
2024-03-05 10:20:27,437 [20] [cmk.web.automations 19491] RUN: check_mk --automation get-configuration
2024-03-05 10:20:27,437 [20] [cmk.web.automations 19491] STDIN: “[‘use_new_descriptions_for’, ‘tcp_connect_timeout’, ‘simulation_mode’, ‘restart_locking’, ‘agent_simulator’, ‘delay_precompile’, ‘cluster_max_cachefile_age’, ‘piggyback_max_cachefile_age’, ‘check_mk_perfdata_with_times’, ‘use_dns_cache’, ‘snmp_backend_default’, ‘use_inline_snmp’, ‘http_proxies’, ‘inventory_check_interval’, ‘inventory_check_severity’, ‘inventory_check_autotrigger’, ‘enable_rulebased_notifications’, ‘notification_fallback_email’, ‘notification_fallback_format’, ‘notification_backlog’, ‘notification_bulk_interval’, ‘notification_plugin_timeout’, ‘notification_logging’]”
2024-03-05 10:20:27,954 [20] [cmk.web.automations 19491] FINISHED: 0
2024-03-05 10:23:32,292 [40] [cmk.web.background-job 20278] Exception in background function
Traceback (most recent call last):
File “/omd/sites/site/lib/python3/cmk/utils/store.py”, line 139, in load_mk_file
exec(f.read(), globals(), default)
File “”, line 13, in
NameError: name ‘folder_attributes’ is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/omd/sites/site/lib/python3/cmk/gui/background_job.py”, line 210, in _execute_function
func_ptr(*args, **kwargs)
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 472, in _build_index_background
IndexBuilder(match_item_generator_registry).build_full_index()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 239, in build_full_index
self._build_index(self._registry.values())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 135, in _build_index
self._add_language_independent_item_generators_to_redis(
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 163, in _add_language_independent_item_generators_to_redis
cls._add_match_item_generator_to_redis(
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 201, in _add_match_item_generator_to_redis
cls._add_match_items_to_redis(
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 217, in _add_match_items_to_redis
for idx, match_item in enumerate(match_item_generator.generate_match_items()):
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 3246, in generate_match_items
) for host_name, host_attributes in self._host_collector().items())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 3144, in collect_all_hosts
return _collect_hosts(Folder.root_folder())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 3149, in _collect_hosts
for host_name, host in folder.all_hosts_recursively().items():
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 1198, in all_hosts_recursively
hosts.update(subfolder.all_hosts_recursively())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 1198, in all_hosts_recursively
hosts.update(subfolder.all_hosts_recursively())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 1196, in all_hosts_recursively
hosts.update(self.hosts())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 1181, in hosts
self._load_hosts_on_demand()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 673, in _load_hosts_on_demand
self._load_hosts()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 682, in _load_hosts
variables = self._load_hosts_file()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 860, in load_hosts_file
return store.load_mk_file(self.hosts_file_path(), variables)
File “/omd/sites/site/lib/python3/cmk/utils/store.py”, line 149, in load_mk_file
raise MKGeneralException(
(“Cannot read configuration file "%s": %s”) % (path, e))
cmk.utils.exceptions.MKGeneralException: Cannot read configuration file “/omd/sites/site/etc/check_mk/conf.d/wato/remote_sites/site/hosts.mk”: name ‘folder_attributes’ is not defined
2024-03-06 04:06:39,225 [40] [cmk.web.background-job 16521] Exception in background function
Traceback (most recent call last):
File “/omd/sites/site/lib/python3/cmk/utils/store.py”, line 139, in load_mk_file
exec(f.read(), globals(), default)
File “”, line 13, in
NameError: name ‘folder_attributes’ is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/omd/sites/site/lib/python3/cmk/gui/background_job.py”, line 210, in _execute_function
func_ptr(*args, **kwargs)
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 472, in _build_index_background
IndexBuilder(match_item_generator_registry).build_full_index()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 239, in build_full_index
self._build_index(self._registry.values())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 135, in _build_index
self._add_language_independent_item_generators_to_redis(
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 163, in _add_language_independent_item_generators_to_redis
cls._add_match_item_generator_to_redis(
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 201, in _add_match_item_generator_to_redis
cls._add_match_items_to_redis(
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 217, in _add_match_items_to_redis
for idx, match_item in enumerate(match_item_generator.generate_match_items()):
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 3246, in generate_match_items
) for host_name, host_attributes in self._host_collector().items())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 3144, in collect_all_hosts
return _collect_hosts(Folder.root_folder())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 3149, in _collect_hosts
for host_name, host in folder.all_hosts_recursively().items():
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 1198, in all_hosts_recursively
hosts.update(subfolder.all_hosts_recursively())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 1198, in all_hosts_recursively
hosts.update(subfolder.all_hosts_recursively())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 1196, in all_hosts_recursively
hosts.update(self.hosts())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 1181, in hosts
self._load_hosts_on_demand()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 673, in _load_hosts_on_demand
self._load_hosts()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 682, in _load_hosts
variables = self._load_hosts_file()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 860, in load_hosts_file
return store.load_mk_file(self.hosts_file_path(), variables)
File “/omd/sites/site/lib/python3/cmk/utils/store.py”, line 149, in load_mk_file
raise MKGeneralException(
(“Cannot read configuration file "%s": %s”) % (path, e))
cmk.utils.exceptions.MKGeneralException: Cannot read configuration file “/omd/sites/site/etc/check_mk/conf.d/wato/remote_sites/site/hosts.mk”: name ‘folder_attributes’ is not defined
2024-03-06 04:08:30,706 [40] [cmk.web.background-job 16786] Exception in background function
Traceback (most recent call last):
File “/omd/sites/site/lib/python3/cmk/utils/store.py”, line 139, in load_mk_file
exec(f.read(), globals(), default)
File “”, line 13, in
NameError: name ‘folder_attributes’ is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/omd/sites/site/lib/python3/cmk/gui/background_job.py”, line 210, in _execute_function
func_ptr(*args, **kwargs)
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 472, in _build_index_background
IndexBuilder(match_item_generator_registry).build_full_index()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 239, in build_full_index
self._build_index(self._registry.values())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 135, in _build_index
self._add_language_independent_item_generators_to_redis(
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 163, in _add_language_independent_item_generators_to_redis
cls._add_match_item_generator_to_redis(
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 201, in _add_match_item_generator_to_redis
cls._add_match_items_to_redis(
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 217, in _add_match_items_to_redis
for idx, match_item in enumerate(match_item_generator.generate_match_items()):
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 3246, in generate_match_items
) for host_name, host_attributes in self._host_collector().items())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 3144, in collect_all_hosts
return _collect_hosts(Folder.root_folder())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 3149, in _collect_hosts
for host_name, host in folder.all_hosts_recursively().items():
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 1198, in all_hosts_recursively
hosts.update(subfolder.all_hosts_recursively())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 1198, in all_hosts_recursively
hosts.update(subfolder.all_hosts_recursively())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 1196, in all_hosts_recursively
hosts.update(self.hosts())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 1181, in hosts
self._load_hosts_on_demand()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 673, in _load_hosts_on_demand
self._load_hosts()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 682, in _load_hosts
variables = self._load_hosts_file()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 860, in load_hosts_file
return store.load_mk_file(self.hosts_file_path(), variables)
File “/omd/sites/site/lib/python3/cmk/utils/store.py”, line 149, in load_mk_file
raise MKGeneralException(
(“Cannot read configuration file "%s": %s”) % (path, e))
cmk.utils.exceptions.MKGeneralException: Cannot read configuration file “/omd/sites/site/etc/check_mk/conf.d/wato/remote_sites/site/hosts.mk”: name ‘folder_attributes’ is not defined
2024-03-06 04:09:02,230 [30] [cmk.web.background-job 16888] Found no abandoned profile.
2024-03-06 04:28:09,587 [40] [cmk.web.background-job 20747] Exception in background function
Traceback (most recent call last):
File “/omd/sites/site/lib/python3/cmk/utils/store.py”, line 139, in load_mk_file
exec(f.read(), globals(), default)
File “”, line 13, in
NameError: name ‘folder_attributes’ is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/omd/sites/site/lib/python3/cmk/gui/background_job.py”, line 210, in _execute_function
func_ptr(*args, **kwargs)
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 472, in _build_index_background
IndexBuilder(match_item_generator_registry).build_full_index()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 239, in build_full_index
self._build_index(self._registry.values())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 135, in _build_index
self._add_language_independent_item_generators_to_redis(
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 163, in _add_language_independent_item_generators_to_redis
cls._add_match_item_generator_to_redis(
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 201, in _add_match_item_generator_to_redis
cls._add_match_items_to_redis(
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 217, in _add_match_items_to_redis
for idx, match_item in enumerate(match_item_generator.generate_match_items()):
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 3246, in generate_match_items
) for host_name, host_attributes in self._host_collector().items())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 3144, in collect_all_hosts
return _collect_hosts(Folder.root_folder())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 3149, in _collect_hosts
for host_name, host in folder.all_hosts_recursively().items():
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 1198, in all_hosts_recursively
hosts.update(subfolder.all_hosts_recursively())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 1198, in all_hosts_recursively
hosts.update(subfolder.all_hosts_recursively())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 1196, in all_hosts_recursively
hosts.update(self.hosts())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 1181, in hosts
self._load_hosts_on_demand()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 673, in _load_hosts_on_demand
self._load_hosts()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 682, in _load_hosts
variables = self._load_hosts_file()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/hosts_and_folders.py”, line 860, in load_hosts_file
return store.load_mk_file(self.hosts_file_path(), variables)
File “/omd/sites/site/lib/python3/cmk/utils/store.py”, line 149, in load_mk_file
raise MKGeneralException(
(“Cannot read configuration file "%s": %s”) % (path, e))
cmk.utils.exceptions.MKGeneralException: Cannot read configuration file “/omd/sites/site/etc/check_mk/conf.d/wato/remote_sites/site/hosts.mk”: name ‘folder_attributes’ is not defined
2024-03-06 04:29:19,436 [20] [cmk.web.automations 21045] RUN: check_mk --automation get-configuration
2024-03-06 04:29:19,437 [20] [cmk.web.automations 21045] STDIN: “[‘use_new_descriptions_for’, ‘tcp_connect_timeout’, ‘simulation_mode’, ‘restart_locking’, ‘agent_simulator’, ‘delay_precompile’, ‘cluster_max_cachefile_age’, ‘piggyback_max_cachefile_age’, ‘check_mk_perfdata_with_times’, ‘use_dns_cache’, ‘snmp_backend_default’, ‘use_inline_snmp’, ‘http_proxies’, ‘inventory_check_interval’, ‘inventory_check_severity’, ‘inventory_check_autotrigger’, ‘enable_rulebased_notifications’, ‘notification_fallback_email’, ‘notification_fallback_format’, ‘notification_backlog’, ‘notification_bulk_interval’, ‘notification_plugin_timeout’, ‘notification_logging’]”
2024-03-06 04:29:19,975 [20] [cmk.web.automations 21045] FINISHED: 0
2024-03-06 04:29:56,366 [40] [cmk.web.background-job 21045] Exception in background function
Traceback (most recent call last):
File “/omd/sites/site/lib/python3.9/site-packages/redis/connection.py”, line 559, in connect
sock = self._connect()
File “/omd/sites/site/lib/python3.9/site-packages/redis/connection.py”, line 911, in _connect
sock.connect(self.path)
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/omd/sites/site/lib/python3/cmk/gui/background_job.py”, line 246, in _execute_function
func_ptr(*args, **kwargs)
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 496, in _build_index_background
IndexBuilder(match_item_generator_registry).build_full_index()
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 244, in build_full_index
self._build_index(self._registry.values())
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 129, in _build_index
self._do_build_index(match_item_generators)
File “/omd/sites/site/lib/python3/cmk/gui/watolib/search.py”, line 156, in _do_build_index
pipeline.execute()
File “/omd/sites/site/lib/python3.9/site-packages/redis/client.py”, line 4012, in execute
conn = self.connection_pool.get_connection(‘MULTI’,
File “/omd/sites/site/lib/python3.9/site-packages/redis/connection.py”, line 1192, in get_connection
connection.connect()
File “/omd/sites/site/lib/python3.9/site-packages/redis/connection.py”, line 563, in connect
raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 2 connecting to unix socket: /omd/sites/site/tmp/run/redis. No such file or directory.
2024-03-06 04:30:25,692 [20] [cmk.web.automations 21289] RUN: check_mk --automation get-configuration
2024-03-06 04:30:25,692 [20] [cmk.web.automations 21289] STDIN: “[‘use_new_descriptions_for’, ‘tcp_connect_timeout’, ‘simulation_mode’, ‘restart_locking’, ‘agent_simulator’, ‘delay_precompile’, ‘cluster_max_cachefile_age’, ‘piggyback_max_cachefile_age’, ‘check_mk_perfdata_with_times’, ‘use_dns_cache’, ‘snmp_backend_default’, ‘use_inline_snmp’, ‘http_proxies’, ‘inventory_check_interval’, ‘inventory_check_severity’, ‘inventory_check_autotrigger’, ‘enable_rulebased_notifications’, ‘notification_fallback_email’, ‘notification_fallback_format’, ‘notification_backlog’, ‘notification_bulk_interval’, ‘notification_plugin_timeout’, ‘notification_logging’]”
2024-03-06 04:30:26,206 [20] [cmk.web.automations 21289] FINISHED: 0
2024-03-06 04:40:47,384 [30] [cmk.web.auth 22228] Login failed for username: cmkadmin (existing: Yes, locked: No, failed logins until locked: 9), client: 172.20.25.140
2024-03-06 04:42:31,822 [30] [cmk.web.auth 22228] Login failed for username: cmkadmin (existing: Yes, locked: No, failed logins until locked: 8), client: 172.20.25.140
2024-03-06 07:06:40,698 [30] [cmk.web.auth 22228] Login failed for username: cmkadmin (existing: Yes, locked: No, failed logins until locked: 7), client: 172.20.24.140

Result after run command
cmk-update-config
Skipping conversion of bi.mk (already done)

Did you look at the folders mentioned there ?
You need to fix those before you rerun the update process.

Additionally redis is not running :

File “/omd/sites/site/lib/python3.9/site-packages/redis/connection.py”, line 563, in connect
raise ConnectionError(self._error_message(e))
redis.exceptions.ConnectionError: Error 2 connecting to unix socket: /omd/sites/site/tmp/run/redis. No such file or directory.

Take a look at ~/var/log/redis-server.log to see what is happening there.

May be a problem related to the first one, may be not.

cat ~/var/log/redis-server.log
8097:C 05 Mar 2024 09:46:01.433 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
8097:C 05 Mar 2024 09:46:01.433 # Redis version=6.2.6, bits=64, commit=5e064e8e, modified=1, pid=8097, just started
8097:C 05 Mar 2024 09:46:01.433 # Configuration loaded
8097:M 05 Mar 2024 09:46:01.434 * monotonic clock: POSIX clock_gettime
8097:M 05 Mar 2024 09:46:01.435 * Running mode=standalone, port=0.
8097:M 05 Mar 2024 09:46:01.435 # Server initialized
8097:M 05 Mar 2024 09:46:01.435 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
8097:M 05 Mar 2024 09:46:01.435 * The server is now ready to accept connections at /omd/sites/site/tmp/run/redis
8097:signal-handler (1709632024) Received SIGTERM scheduling shutdown…
8097:M 05 Mar 2024 09:47:04.354 # User requested shutdown…
8097:M 05 Mar 2024 09:47:04.354 * Removing the pid file.
8097:M 05 Mar 2024 09:47:04.355 * Removing the unix socket file.
8097:M 05 Mar 2024 09:47:04.355 # Redis is now ready to exit, bye bye…
8767:C 05 Mar 2024 09:47:11.462 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
8767:C 05 Mar 2024 09:47:11.462 # Redis version=6.2.6, bits=64, commit=5e064e8e, modified=1, pid=8767, just started
8767:C 05 Mar 2024 09:47:11.462 # Configuration loaded
8767:M 05 Mar 2024 09:47:11.463 * monotonic clock: POSIX clock_gettime
8767:M 05 Mar 2024 09:47:11.463 * Running mode=standalone, port=0.
8767:M 05 Mar 2024 09:47:11.464 # Server initialized
8767:M 05 Mar 2024 09:47:11.464 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
8767:M 05 Mar 2024 09:47:11.464 * The server is now ready to accept connections at /omd/sites/site/tmp/run/redis
8767:signal-handler (1709632087) Received SIGTERM scheduling shutdown…
8767:M 05 Mar 2024 09:48:07.160 # User requested shutdown…
8767:M 05 Mar 2024 09:48:07.160 * Removing the pid file.
8767:M 05 Mar 2024 09:48:07.160 * Removing the unix socket file.
8767:M 05 Mar 2024 09:48:07.161 # Redis is now ready to exit, bye bye…
9893:C 05 Mar 2024 09:49:55.389 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
9893:C 05 Mar 2024 09:49:55.389 # Redis version=6.2.6, bits=64, commit=5e064e8e, modified=1, pid=9893, just started
9893:C 05 Mar 2024 09:49:55.389 # Configuration loaded
9893:M 05 Mar 2024 09:49:55.391 * monotonic clock: POSIX clock_gettime
9893:M 05 Mar 2024 09:49:55.392 * Running mode=standalone, port=0.
9893:M 05 Mar 2024 09:49:55.392 # Server initialized
9893:M 05 Mar 2024 09:49:55.392 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
9893:M 05 Mar 2024 09:49:55.392 * The server is now ready to accept connections at /omd/sites/site/tmp/run/redis
9893:signal-handler (1709632220) Received SIGTERM scheduling shutdown…
9893:M 05 Mar 2024 09:50:20.671 # User requested shutdown…
9893:M 05 Mar 2024 09:50:20.671 * Removing the pid file.
9893:M 05 Mar 2024 09:50:20.671 * Removing the unix socket file.
9893:M 05 Mar 2024 09:50:20.672 # Redis is now ready to exit, bye bye…
10473:C 05 Mar 2024 09:50:27.367 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
10473:C 05 Mar 2024 09:50:27.367 # Redis version=6.2.6, bits=64, commit=5e064e8e, modified=1, pid=10473, just started
10473:C 05 Mar 2024 09:50:27.367 # Configuration loaded
10473:M 05 Mar 2024 09:50:27.368 * monotonic clock: POSIX clock_gettime
10473:M 05 Mar 2024 09:50:27.368 * Running mode=standalone, port=0.
10473:M 05 Mar 2024 09:50:27.369 # Server initialized
10473:M 05 Mar 2024 09:50:27.369 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
10473:M 05 Mar 2024 09:50:27.369 * The server is now ready to accept connections at /omd/sites/site/tmp/run/redis
10473:signal-handler (1709632265) Received SIGTERM scheduling shutdown…
10473:M 05 Mar 2024 09:51:05.606 # User requested shutdown…
10473:M 05 Mar 2024 09:51:05.606 * Removing the pid file.
10473:M 05 Mar 2024 09:51:05.606 * Removing the unix socket file.
10473:M 05 Mar 2024 09:51:05.606 # Redis is now ready to exit, bye bye…
11769:C 05 Mar 2024 09:53:33.498 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
11769:C 05 Mar 2024 09:53:33.498 # Redis version=6.2.6, bits=64, commit=5e064e8e, modified=1, pid=11769, just started
11769:C 05 Mar 2024 09:53:33.499 # Configuration loaded
11769:M 05 Mar 2024 09:53:33.499 * monotonic clock: POSIX clock_gettime
11769:M 05 Mar 2024 09:53:33.500 * Running mode=standalone, port=0.
11769:M 05 Mar 2024 09:53:33.501 # Server initialized
11769:M 05 Mar 2024 09:53:33.501 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
11769:M 05 Mar 2024 09:53:33.501 * The server is now ready to accept connections at /omd/sites/site/tmp/run/redis
11769:signal-handler (1709632896) Received SIGTERM scheduling shutdown…
11769:M 05 Mar 2024 10:01:36.785 # User requested shutdown…
11769:M 05 Mar 2024 10:01:36.786 * Removing the pid file.
11769:M 05 Mar 2024 10:01:36.786 * Removing the unix socket file.
11769:M 05 Mar 2024 10:01:36.786 # Redis is now ready to exit, bye bye…
14815:C 05 Mar 2024 10:02:27.093 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
14815:C 05 Mar 2024 10:02:27.094 # Redis version=6.2.6, bits=64, commit=5e064e8e, modified=1, pid=14815, just started
14815:C 05 Mar 2024 10:02:27.094 # Configuration loaded
14815:M 05 Mar 2024 10:02:27.095 * monotonic clock: POSIX clock_gettime
14815:M 05 Mar 2024 10:02:27.096 * Running mode=standalone, port=0.
14815:M 05 Mar 2024 10:02:27.096 # Server initialized
14815:M 05 Mar 2024 10:02:27.096 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
14815:M 05 Mar 2024 10:02:27.097 * The server is now ready to accept connections at /omd/sites/site/tmp/run/redis
14815:signal-handler (1709632986) Received SIGTERM scheduling shutdown…
14815:M 05 Mar 2024 10:03:06.248 # User requested shutdown…
14815:M 05 Mar 2024 10:03:06.249 * Removing the pid file.
14815:M 05 Mar 2024 10:03:06.249 * Removing the unix socket file.
14815:M 05 Mar 2024 10:03:06.249 # Redis is now ready to exit, bye bye…
15319:C 05 Mar 2024 10:03:18.073 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
15319:C 05 Mar 2024 10:03:18.074 # Redis version=6.2.6, bits=64, commit=5e064e8e, modified=1, pid=15319, just started
15319:C 05 Mar 2024 10:03:18.074 # Configuration loaded
15319:M 05 Mar 2024 10:03:18.075 * monotonic clock: POSIX clock_gettime
15319:M 05 Mar 2024 10:03:18.076 * Running mode=standalone, port=0.
15319:M 05 Mar 2024 10:03:18.076 # Server initialized
15319:M 05 Mar 2024 10:03:18.076 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
15319:M 05 Mar 2024 10:03:18.077 * The server is now ready to accept connections at /omd/sites/site/tmp/run/redis
15319:signal-handler (1709633308) Received SIGTERM scheduling shutdown…
15319:M 05 Mar 2024 10:08:28.544 # User requested shutdown…
15319:M 05 Mar 2024 10:08:28.545 * Removing the pid file.
15319:M 05 Mar 2024 10:08:28.545 * Removing the unix socket file.
15319:M 05 Mar 2024 10:08:28.545 # Redis is now ready to exit, bye bye…
17153:C 05 Mar 2024 10:11:07.899 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
17153:C 05 Mar 2024 10:11:07.900 # Redis version=6.2.6, bits=64, commit=5e064e8e, modified=1, pid=17153, just started
17153:C 05 Mar 2024 10:11:07.900 # Configuration loaded
17153:M 05 Mar 2024 10:11:07.901 * monotonic clock: POSIX clock_gettime
17153:M 05 Mar 2024 10:11:07.902 * Running mode=standalone, port=0.
17153:M 05 Mar 2024 10:11:07.902 # Server initialized
17153:M 05 Mar 2024 10:11:07.902 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
17153:M 05 Mar 2024 10:11:07.903 * The server is now ready to accept connections at /omd/sites/site/tmp/run/redis
17153:signal-handler (1709633876) Received SIGTERM scheduling shutdown…
17153:M 05 Mar 2024 10:17:56.093 # User requested shutdown…
17153:M 05 Mar 2024 10:17:56.094 * Removing the pid file.
17153:M 05 Mar 2024 10:17:56.094 * Removing the unix socket file.
17153:M 05 Mar 2024 10:17:56.094 # Redis is now ready to exit, bye bye…
19449:C 05 Mar 2024 10:20:25.261 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
19449:C 05 Mar 2024 10:20:25.261 # Redis version=6.2.6, bits=64, commit=5e064e8e, modified=1, pid=19449, just started
19449:C 05 Mar 2024 10:20:25.261 # Configuration loaded
19449:M 05 Mar 2024 10:20:25.262 * monotonic clock: POSIX clock_gettime
19449:M 05 Mar 2024 10:20:25.263 * Running mode=standalone, port=0.
19449:M 05 Mar 2024 10:20:25.263 # Server initialized
19449:M 05 Mar 2024 10:20:25.264 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
19449:M 05 Mar 2024 10:20:25.264 * The server is now ready to accept connections at /omd/sites/site/tmp/run/redis
19449:signal-handler (1709634051) Received SIGTERM scheduling shutdown…
19449:M 05 Mar 2024 10:20:51.750 # User requested shutdown…
19449:M 05 Mar 2024 10:20:51.751 * Removing the pid file.
19449:M 05 Mar 2024 10:20:51.751 * Removing the unix socket file.
19449:M 05 Mar 2024 10:20:51.751 # Redis is now ready to exit, bye bye…
16764:C 06 Mar 2024 04:08:29.549 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
16764:C 06 Mar 2024 04:08:29.549 # Redis version=6.1.240, bits=64, commit=a46fc3f7, modified=1, pid=16764, just started
16764:C 06 Mar 2024 04:08:29.550 # Configuration loaded
16764:M 06 Mar 2024 04:08:29.551 * monotonic clock: POSIX clock_gettime
16764:M 06 Mar 2024 04:08:29.552 * Running mode=standalone, port=0.
16764:M 06 Mar 2024 04:08:29.552 # Server initialized
16764:M 06 Mar 2024 04:08:29.553 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
16764:M 06 Mar 2024 04:08:29.553 * The server is now ready to accept connections at /omd/sites/site/tmp/run/redis
16764:signal-handler (1709698163) Received SIGTERM scheduling shutdown…
16764:M 06 Mar 2024 04:09:23.096 # User requested shutdown…
16764:M 06 Mar 2024 04:09:23.097 * Removing the pid file.
16764:M 06 Mar 2024 04:09:23.097 * Removing the unix socket file.
16764:M 06 Mar 2024 04:09:23.097 # Redis is now ready to exit, bye bye…
21239:C 06 Mar 2024 04:30:23.439 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
21239:C 06 Mar 2024 04:30:23.439 # Redis version=6.2.6, bits=64, commit=5e064e8e, modified=1, pid=21239, just started
21239:C 06 Mar 2024 04:30:23.440 # Configuration loaded
21239:M 06 Mar 2024 04:30:23.441 * monotonic clock: POSIX clock_gettime
21239:M 06 Mar 2024 04:30:23.442 * Running mode=standalone, port=0.
21239:M 06 Mar 2024 04:30:23.442 # Server initialized
21239:M 06 Mar 2024 04:30:23.442 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add ‘vm.overcommit_memory = 1’ to /etc/sysctl.conf and then reboot or run the command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
21239:M 06 Mar 2024 04:30:23.443 * The server is now ready to accept connections at /omd/sites/site/tmp/run/redis

This seems ok so far.
What about the other questions ?

1 Like

I navigate to the folder
/omd/sites/site/etc/check_mk/conf.d/wato/remote_sites/site/hosts.mk
I found the file host.mk but i’m not sure what’s exactly missing?

I found this line was there
folder_attributes.update({})

Now i just comment this line and try restart omd

I think you need that entry in the remote_sites/s001/hosts.mk file.
If it does not exist there, just add the same entry as in the other file.

the file is there in that location, i don’t think this file has a problem

should i try backup and then remove checkmk
Install check mk and restore again, will it fix this issue?