Beim Update von 1.6.0p22 auf 2.0.xx bekomme ich immer wieder folgende Meldungen:
2021-03-22 18:21:44 - Updating site ‘khwe’ from version 1.6.0p22.cee to 2.0.0p1.cee…
- Updated .profile
- 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/cee
- Installed dir local/lib/python3/cmk/base/plugins
- Installed dir local/lib/python3/cmk/base/plugins/agent_based
- Installed dir local/lib/python3/cmk/cee/dcd
- Installed dir local/lib/python3/cmk/cee/dcd/plugins
- Installed dir local/lib/python3/cmk/cee/dcd/plugins/connectors
- Installed dir var/redis
- Installed dir var/check_mk/crashes
- Installed dir etc/redis
- Identical new etc/ssl
- Updated etc/apache/conf.d/security.conf
- Updated etc/apache/conf.d/01_wsgi.conf
- Updated etc/nagios/conf.d/check_mk_templates.cfg
- Updated etc/check_mk/apache.conf
- Updated etc/check_mk/main.mk
- Installed file etc/logrotate.d/redis
- Installed file etc/redis/redis.conf
- Updated etc/mk-livestatus/nagios.cfg
- Updated etc/init.d/mknotifyd
- Installed file etc/init.d/redis
- Updated etc/init.d/liveproxyd
- Updated etc/init.d/cmc
- Updated etc/init.d/dcd
- Installed dir etc/ssl/certs
- Installed dir etc/ssl/private
- Installed dir etc/ssl/misc
- Installed file etc/ssl/ct_log_list.cnf.dist
- Installed file etc/ssl/openssl.cnf
- Installed file etc/ssl/ct_log_list.cnf
- Installed file etc/ssl/openssl.cnf.dist
- Installed file etc/ssl/misc/tsget.pl
- Installed file etc/ssl/misc/CA.pl
- Installed link etc/ssl/misc/tsget
- Installed link etc/rc.d/85-redis
- Vanished .pip/pip.conf
- Keeping your etc/dokuwiki/plugins.local.php
- Keeping your etc/dokuwiki/users.auth.php
- Keeping your etc/dokuwiki/dokuwiki.php
- Keeping your etc/dokuwiki/entities.conf
- Keeping your etc/dokuwiki/acl.auth.php
- Keeping your etc/dokuwiki/apache.conf
- Keeping your etc/dokuwiki/msg
- Keeping your etc/dokuwiki/acronyms.conf
- Keeping your etc/dokuwiki/mediameta.php
- Keeping your etc/dokuwiki/local.protected.php
- Keeping your etc/dokuwiki/mime.conf
- Keeping your etc/dokuwiki/plugins.required.php
- Keeping your etc/dokuwiki/scheme.conf
- Keeping your etc/dokuwiki/wordblock.conf
- Keeping your etc/dokuwiki/plugins.php
- Keeping your etc/dokuwiki/smileys.conf
- Keeping your etc/dokuwiki/mysql.conf.php.example
- Keeping your etc/dokuwiki/local.php
- Keeping your etc/dokuwiki/license.php
- Keeping your etc/dokuwiki/interwiki.conf
- Vanished etc/cron.d/cmk_cleanup_crashed_checks
- Vanished etc/check_mk/conf.d/README
- Vanished etc/jmx4perl/jmx4perl.cfg
- Vanished etc/jmx4perl/servers.cfg
- Vanished etc/apache/conf.d/dokuwiki.conf
- Keeping your etc/dokuwiki
- Keeping your var/dokuwiki/lib/plugins/dokuteaser
- Keeping your var/dokuwiki/lib/plugins/authad
- Keeping your var/dokuwiki/lib/plugins/index.html
- Keeping your var/dokuwiki/lib/plugins/popularity
- Keeping your var/dokuwiki/lib/plugins/remote.php
- Keeping your var/dokuwiki/lib/plugins/auth.php
- Keeping your var/dokuwiki/lib/plugins/admin.php
- Keeping your var/dokuwiki/lib/plugins/cli.php
- Keeping your var/dokuwiki/lib/plugins/syntax.php
- Keeping your var/dokuwiki/lib/plugins/authpdo
- Keeping your var/dokuwiki/lib/plugins/authmysql
- Keeping your var/dokuwiki/lib/plugins/action.php
- Keeping your var/dokuwiki/lib/plugins/bookcreator
- Keeping your var/dokuwiki/lib/plugins/authpgsql
- Keeping your var/dokuwiki/lib/plugins/safefnrecode
- Keeping your var/dokuwiki/lib/plugins/authmultisite
- Keeping your var/dokuwiki/lib/plugins/extension
- Keeping your var/dokuwiki/lib/plugins/revert
- Keeping your var/dokuwiki/lib/plugins/acl
- Keeping your var/dokuwiki/lib/plugins/authplain
- Keeping your var/dokuwiki/lib/plugins/styling
- Keeping your var/dokuwiki/lib/plugins/pagelist
- Keeping your var/dokuwiki/lib/plugins/indexmenu
- Keeping your var/dokuwiki/lib/plugins/authldap
- Keeping your var/dokuwiki/lib/plugins/usermanager
- Keeping your var/dokuwiki/lib/plugins/config
- Keeping your var/dokuwiki/lib/plugins/include
- Keeping your var/dokuwiki/lib/plugins/info
- Keeping your var/dokuwiki/lib/plugins/changes
- Keeping your var/dokuwiki/lib/plugins
- Keeping your var/dokuwiki/data/index/_dummy
- Keeping your var/dokuwiki/data/locks/_dummy
- Keeping your var/dokuwiki/data/media/wiki/dokuwiki-128.png
- Keeping your var/dokuwiki/data/media/wiki
- Keeping your var/dokuwiki/data/cache/_dummy
- Keeping your var/dokuwiki/data/meta/_dummy
- Keeping your var/dokuwiki/data/attic/_dummy
- Keeping your var/dokuwiki/data/pages/playground/playground.txt
- Keeping your var/dokuwiki/data/pages/wiki/syntax.txt
- Keeping your var/dokuwiki/data/pages/wiki/ebook.txt
- Keeping your var/dokuwiki/data/pages/wiki/dokuwiki.txt
- Keeping your var/dokuwiki/data/pages/wiki
- Keeping your var/dokuwiki/data/pages/playground
- Keeping your var/dokuwiki/data/tmp/_dummy
- Keeping your var/dokuwiki/data/.htaccess
- Keeping your var/dokuwiki/data/_dummy
- Keeping your var/dokuwiki/data/media_meta
- Keeping your var/dokuwiki/data/tmp
- Keeping your var/dokuwiki/data/pages
- Keeping your var/dokuwiki/data/attic
- Keeping your var/dokuwiki/data/media_attic
- Keeping your var/dokuwiki/data/meta
- Keeping your var/dokuwiki/data/cache
- Keeping your var/dokuwiki/data/media
- Keeping your var/dokuwiki/data/locks
- Keeping your var/dokuwiki/data/index
- 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 .pip
Creating temporary filesystem /omd/sites/khwe/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…
-| Failed to load plugin /omd/sites/khwe/local/share/check_mk/web/plugins/perfometer/hh3c_entity.py: name ‘perfometer_cpu_utilization’ is not defined
-| Traceback (most recent call last):
-| File “/omd/sites/khwe/lib/python3/cmk/gui/utils/init.py”, line 172, in load_web_plugins
-| exec(f.read(), globalvars)
-| File “”, line 32, in
-| NameError: name ‘perfometer_cpu_utilization’ is not defined
-|
-| ERROR: Failed to load some GUI plugins. You will either have
-| to remove or update them to be compatible with this
-| Checkmk version.
-|
-| remove flag /omd/sites/khwe/etc/check_mk/conf.d/fs_cap.mk
-| Error in check include file /omd/sites/khwe/local/share/check_mk/checks/temperature.include: [Errno 2] No such file or directory: ‘/omd/sites/khwe/local/share/check_mk/checks/temperature.include’
-| Updating Checkmk configuration…
-| ATTENTION: Some steps may take a long time depending on your installation, e.g. during major upgrades.
-| 1/15 Migrate deprecated network topology dashlet…
-| 2/15 Update global settings…
-| Replacing cmc_cmk_helpers with cmc_fetcher_helpers
-| 3/15 Rewriting WATO tags…
-| 4/15 Rewriting WATO hosts and folders…
-| 5/15 Rewriting WATO rulesets…
-| ERROR: Invalid regular expression in service condition detected: (Ruleset: service_contactgroups, Folder: server/khv/orbis, Rule nr: 0, Condition: File D:\transfer\GWI\iSoftBefund, Exception: bad escape \G at position 16)
-| ERROR: Invalid regular expression in service condition detected: (Ruleset: service_contactgroups, Folder: server/khv/orbis, Rule nr: 0, Condition: File D:\transfer\GWI\opus\befunde, Exception: bad escape \G at position 16)
-| ERROR: Invalid regular expression in service condition detected: (Ruleset: service_contactgroups, Folder: server/khv/orbis, Rule nr: 0, Condition: File D:\transfer\JOMOsoft, Exception: bad escape \J at position 16)
-| WARN: Service condition in rule looks like an absolute windows path that is not correctly escaped. Use double backslash as directory separator in regex expressions, e.g. ‘C:\Program Files\’ (Ruleset: checkgroup_parameters:fileinfo, Folder: server/khv/orbis, Rule nr: 0, Condition:D:\transfer\GWI\opus\befunde\*.hl7$)
-| 6/15 Rewriting autochecks…
-| 7/15 Cleanup version specific caches…
-| 8/15 Migrating fs_used name…
-| Error in check include file /omd/sites/khwe/local/share/check_mk/checks/temperature.include: [Errno 2] No such file or directory: ‘/omd/sites/khwe/local/share/check_mk/checks/temperature.include’
-| 9/15 Migrate pagetype topics…
-| 10/15 Migrate LDAP connections…
-| 11/15 Rewrite BI Configuration…
-| 12/15 Set version specific user attributes…
-| 13/15 Rewriting inventory data…
-| Skipping path ‘/omd/sites/khwe/tmp/check_mk/status_data’ (empty)
-| Finished checking for corrupt files
-| Creating file ‘/omd/sites/khwe/var/check_mk/update_config/py2conversion.done’
-| 14/15 Migrate audit log…
-| New audit log already existing. Skipping.
-| 15/15 Rename discovered host label files…
-| Done
Generating configuration for core (type cmc)…Creating helper config…OK
OK
Updating core configuration…
Finished update.
Wenn ich dann versuche, die Site zu starten:
Starting mkeventd…OK
Starting liveproxyd…OK
Starting mknotifyd…OK
Starting rrdcached…OK
Starting cmc…Failed (Config /omd/sites/khwe/var/check_mk/core/config missing, run “cmk -U” and try again)
Starting apache…OK
Starting dcd…OK
Starting redis…OK
Starting stunnel…OK
Starting xinetd…OK
Initializing Crontab…OK
Temporary filesystem already mounted
Die Site startet dann zwar, aber in der Weboberfläche wird folgendes angezeigt:
Local Site… Livestatus error cannot connect to unix: /omd/sites/khwe/tmp/run/live Errno 2 No such file or directory
Wäre schön, wenn mir jemand helfen könnte, den die Site mit 351 Hosts und 7200 Services neu aufzubauen wäre schon recht aufwändig.
Wenn ich 2.0 mit einen leeren Site starte funktioniert es übrigens problemlos.
vielen Dank im Voraus