NEWS
Gestern Update alles gut, nach Restart nicht erreichbar
-
@glasfaser
leider gleiches noch immer auch nach deinem genannten Befehlroot@iobroker:/opt/iobroker# sudo -H -u iobroker npm install iobroker.js-controller up to date in 6s 143 packages are looking for funding run `npm fund` for details root@iobroker:/opt/iobroker#
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- ----- System Information ----- ----- arch: x86_64 ----- ----- hostname: iobroker ----- ----- ----- ----- Version Information ----- ----- image: v8.1.0 ----- ----- build: 2023-09-21T23:45:32+00:00 ----- ----- node: v18.17.1 ----- ----- npm: 9.6.7 ----- ----- ----- ----- Environment Variables ----- ----- DEBUG: true ----- ----- SETGID: 1000 ----- ----- SETUID: 1000 ----- -------------------------------------------------------------------------------- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!! DEBUG LOG ACTIVE !!!! !!!! Environment variable DEBUG is set to true. !!!! !!!! This will extend the logging output and may slow down container start. !!!! !!!! Please make sure to deactivate if no longer needed. !!!! !!!! For more information see ioBroker Docker image documentation: !!!! !!!! https://docs.buanet.de/iobroker-docker-image/docs/ !!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -------------------------------------------------------------------------------- ----- Step 1 of 5: Preparing container ----- -------------------------------------------------------------------------------- Updating Linux packages on first run... Done. Registering maintenance script as command... Done. -------------------------------------------------------------------------------- ----- Step 2 of 5: Detecting ioBroker installation ----- -------------------------------------------------------------------------------- Existing installation of ioBroker detected in "/opt/iobroker". -------------------------------------------------------------------------------- ----- Step 3 of 5: Checking ioBroker installation ----- -------------------------------------------------------------------------------- (Re)setting permissions (This might take a while! Please be patient!)... Done. Fixing "sudo-bug" by replacing sudo with gosu... Done. [DEBUG] Checking multihost settings... [DEBUG] No multihost settings detected. [DEBUG] Done. [DEBUG] Checking custom objects db settings... [DEBUG] No custom objects db settings detected. [DEBUG] Done. [DEBUG] Checking custom states db settings... [DEBUG] No custom states db settings detected. [DEBUG] Done. Checking Database connection... Failed. [DEBUG] Error message: [DEBUG] node:internal/modules/cjs/loader:1080 [DEBUG] throw err; [DEBUG] ^ [DEBUG] [DEBUG] Error: Cannot find module 'tar' [DEBUG] Require stack: [DEBUG] - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js [DEBUG] - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js [DEBUG] - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js [DEBUG] at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) [DEBUG] at Module._load (node:internal/modules/cjs/loader:922:27) [DEBUG] at Module.require (node:internal/modules/cjs/loader:1143:19) [DEBUG] at require (node:internal/modules/cjs/helpers:121:18) [DEBUG] at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js:12:31) [DEBUG] at Module._compile (node:internal/modules/cjs/loader:1256:14) [DEBUG] at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) [DEBUG] at Module.load (node:internal/modules/cjs/loader:1119:32) [DEBUG] at Module._load (node:internal/modules/cjs/loader:960:12) [DEBUG] at Module.require (node:internal/modules/cjs/loader:1143:19) { [DEBUG] code: 'MODULE_NOT_FOUND', [DEBUG] requireStack: [ [DEBUG] '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js', [DEBUG] '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js', [DEBUG] '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' [DEBUG] ] [DEBUG] } [DEBUG] [DEBUG] Node.js v18.17.1 Please check your configuration and try again. For more information see ioBroker Docker Image Docs (https://docs.buanet.de/iobroker-docker-image/docs). [DEBUG] Debug mode prevents the container from exiting on errors. [DEBUG] This enables you to investigate or fix your issue on the command line. [DEBUG] If you want to stop or restart your container you have to do it manually. [DEBUG] IoBroker is not running!
Update habe ich - wie in den letzten Jahren immer wieder zuerst den Container geupdatet (pull)
und dann innerhalb des Containers den iobroker2. docker-compose down (dann Docker Image via GUI auf Qnap löschen) 3. docker-compose pull 4. docker-compose up --build -d Wechsel in Shell/bash des IO-broker-Containers: 1. docker exec -it -u root iobroker-compose bash 2. pkill -u iobroker 3. iobroker update 4. iobroker upgrade self 5. iobroker upgrade Wechsel zurück in Qnap-Shell 1. exit 2. docker-compose down 3. docker-compose up -d
-
@dp20eic sagt mir so leider bei Docker nichts. habe die zeile auch mal eingegeben, da passiert leider nichts
-
@homebrokerkev sagte in Gestern Update alles gut, nach Restart nicht erreichbar:
sagt mir so leider bei Docker nichts. habe die zeile auch mal eingegeben, da passiert leider nichts
Moin,
im
ioBroker Container
?
Das kann sein, dass dieses Skript von Buanet noch recht neu ist, welche Version des Docker Images nutzt Du?VG
Bernd -
@dp20eic sagte in Gestern Update alles gut, nach Restart nicht erreichbar:
maintenance
aber nicht für eine Reparatur
echo " status > reports the current state of maintenance mode"
echo " on > switches mantenance mode ON"
echo " off > switches mantenance mode OFF and stops or restarts the container"
echo " upgrade > puts the container to maintenance mode and upgrades ioBroker"
echo " restart > stops iobroker and stops or restarts the container"
echo " restore > stops iobroker and restores the last backup"
echo " help > shows this help" -
-
======== Start marking the full check here =========
Skript v.2023-06-20 *** BASE SYSTEM *** cat: /sys/devices/virtual/dmi/id/sys_vendor: No such file or directory Hardware Vendor : Kernel : x86_64 Userland : amd64 Docker : v8.1.0 Virtualization : Docker Kernel : x86_64 Userland : amd64 Systemuptime and Load: 22:47:36 up 12:40, 0 users, load average: 7.64, 6.32, 4.71 CPU threads: 4 *** Time and Time Zones *** Tue Sep 26 20:47:36 UTC 2023 Tue Sep 26 22:47:36 CEST 2023 CEST +0200 Etc/UTC *** User and Groups *** root /root root *** X-Server-Setup *** X-Server: false Desktop: Terminal: *** MEMORY *** total used free shared buff/cache available Mem: 36G 6.7G 2.8G 449M 26G 28G Swap: 7.1G 9.0M 7.1G Total: 43G 6.7G 9.8G 36055 M total memory 6737 M used memory 3990 M active memory 25286 M inactive memory 2786 M free memory 2904 M buffer memory 23628 M swap cache 7063 M total swap 9 M used swap 7053 M free swap *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on overlay overlay 694G 506G 188G 73% / tmpfs tmpfs 64M 0 64M 0% /dev tmpfs tmpfs 18G 0 18G 0% /sys/fs/cgroup shm tmpfs 64M 0 64M 0% /dev/shm /dev/mapper/cachedev5 ext4 694G 506G 188G 73% /opt/iobroker /dev/mapper/cachedev6 ext4 1.8T 1.6T 237G 88% /opt/ueberwachungskamera tmpfs tmpfs 18G 0 18G 0% /proc/asound tmpfs tmpfs 18G 0 18G 0% /proc/acpi tmpfs tmpfs 18G 0 18G 0% /proc/scsi tmpfs tmpfs 18G 0 18G 0% /sys/firmware Messages concerning ext4 filesystem in dmesg: dmesg: read kernel buffer failed: Operation not permitted Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS /opt/iobroker /dev/mapper/cachedev5[/Container/Docker-Compose-Volumes/iobroker] ext4 rw,relatime,stripe=256,data=ordered,data_err=abort,jqfmt=vfsv1,usrjquota=aquota.user /opt/ueberwachungskamera /dev/mapper/cachedev6[/Ueberwachungskamera] ext4 rw,relatime,stripe=128,data=ordered,data_err=abort,jqfmt=vfsv1,usrjquota=aquota.user /etc/resolv.conf /dev/mapper/cachedev5[/Container/container-station-data/lib/docker/containers/4bcddb95714f5f45b537e2295f5b1193ec9d9b388cd3525857ee819284a7ab51/resolv.conf] ext4 rw,relatime,stripe=256,data=ordered,data_err=abort,jqfmt=vfsv1,usrjquota=aquota.user /etc/hostname /dev/mapper/cachedev5[/Container/container-station-data/lib/docker/containers/4bcddb95714f5f45b537e2295f5b1193ec9d9b388cd3525857ee819284a7ab51/hostname] ext4 rw,relatime,stripe=256,data=ordered,data_err=abort,jqfmt=vfsv1,usrjquota=aquota.user /etc/hosts /dev/mapper/cachedev5[/Container/container-station-data/lib/docker/containers/4bcddb95714f5f45b537e2295f5b1193ec9d9b388cd3525857ee819284a7ab51/hosts] ext4 rw,relatime,stripe=256,data=ordered,data_err=abort,jqfmt=vfsv1,usrjquota=aquota.user Files in neuralgic directories: /var: 16M /var/ 13M /var/lib/dpkg 13M /var/lib 12M /var/lib/dpkg/info 2.0M /var/cache /opt/iobroker/backups: 968M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 4.0G /opt/iobroker/iobroker-data/ 3.3G /opt/iobroker/iobroker-data/history 373M /opt/iobroker/iobroker-data/files 212M /opt/iobroker/iobroker-data/backup-objects 54M /opt/iobroker/iobroker-data/files/javascript.admin The five largest files in iobroker-data are: 35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map 22M /opt/iobroker/iobroker-data/objects.jsonl 21M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.edf7552a.js.map 19M /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.2975a411.js.map 17M /opt/iobroker/iobroker-data/objects.json.migrated *** NodeJS-Installation *** /usr/bin/nodejs v18.17.1 /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 nodejs: Installed: 18.17.1-deb-1nodesource1 Candidate: 18.17.1-deb-1nodesource1 Version table: *** 18.17.1-deb-1nodesource1 100 100 /var/lib/dpkg/status Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: 0 *** ioBroker-Installation *** ioBroker Status node:internal/modules/cjs/loader:1080 throw err; ^ Error: Cannot find module 'tar' Require stack: - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:121:18) at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js:12:31) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js', '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js', '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' ] } Node.js v18.17.1 node:internal/modules/cjs/loader:1080 throw err; ^ Error: Cannot find module 'tar' Require stack: - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:121:18) at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js:12:31) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js', '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js', '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' ] } Node.js v18.17.1 Core adapters versions node:internal/modules/cjs/loader:1080 throw err; ^ Error: Cannot find module 'tar' Require stack: - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:121:18) at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js:12:31) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js', '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js', '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' ] } Node.js v18.17.1 js-controller: node:internal/modules/cjs/loader:1080 throw err; ^ Error: Cannot find module 'tar' Require stack: - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:121:18) at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js:12:31) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js', '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js', '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' ] } Node.js v18.17.1 admin: node:internal/modules/cjs/loader:1080 throw err; ^ Error: Cannot find module 'tar' Require stack: - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:121:18) at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js:12:31) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js', '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js', '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' ] } Node.js v18.17.1 javascript: Adapters from github: 0 Adapter State node:internal/modules/cjs/loader:1080 throw err; ^ Error: Cannot find module 'tar' Require stack: - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:121:18) at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js:12:31) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js', '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js', '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' ] } Node.js v18.17.1 Enabled adapters with bindings node:internal/modules/cjs/loader:1080 throw err; ^ Error: Cannot find module 'tar' Require stack: - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:121:18) at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js:12:31) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js', '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js', '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' ] } Node.js v18.17.1 ioBroker-Repositories node:internal/modules/cjs/loader:1080 throw err; ^ Error: Cannot find module 'tar' Require stack: - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:121:18) at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js:12:31) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js', '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js', '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' ] } Node.js v18.17.1 Installed ioBroker-Instances node:internal/modules/cjs/loader:1080 throw err; ^ Error: Cannot find module 'tar' Require stack: - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:121:18) at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js:12:31) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js', '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js', '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' ] } Node.js v18.17.1 Objects and States Please stand by - This may take a while Objects: 0 States: 0 *** OS-Repositories and Updates *** Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Hit:4 https://deb.nodesource.com/node_18.x bullseye InRelease Reading package lists... Pending Updates: 0 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 127.0.0.11:34667 0.0.0.0:* LISTEN 0 9564196 - udp 0 0 127.0.0.11:43153 0.0.0.0:* 0 9564195 - *** Log File - Last 25 Lines *** 2023-09-26 07:47:15.833 - info: ping.0 (894) terminating with timeout 2023-09-26 07:47:15.848 - info: hm-rega.0 (833) terminating with timeout 2023-09-26 07:47:15.875 - info: modbus.0 (1033) terminating with timeout 2023-09-26 07:47:15.873 - info: fritzbox.0 (1108) terminating with timeout 2023-09-26 07:47:15.889 - info: trashschedule.0 (1365) terminating with timeout 2023-09-26 07:47:15.895 - info: roomba.0 (1774) terminating with timeout 2023-09-26 07:47:15.902 - info: discovery.0 (1136) terminating with timeout 2023-09-26 07:47:15.931 - info: kodi.2 (975) terminating with timeout 2023-09-26 07:47:15.941 - info: kodi.1 (947) terminating with timeout 2023-09-26 07:47:15.951 - info: fullybrowser.0 (1379) terminating with timeout 2023-09-26 07:47:15.982 - info: javascript.0 (208) terminating with timeout 2023-09-26 07:47:15.983 - info: backitup.0 (1323) terminating with timeout 2023-09-26 07:47:15.990 - info: ems-esp.0 (1433) terminating 2023-09-26 07:47:16.118 - info: bring.0 (1257) terminating with timeout 2023-09-26 07:47:16.256 - info: iot.0 (1410) terminating with timeout 2023-09-26 07:47:16.265 - info: vis-inventwo.0 (1394) terminating with timeout 2023-09-26 07:47:16.306 - info: hm-rpc.0 (818) terminating with timeout 2023-09-26 07:47:16.350 - info: hm-rpc.1 (852) terminating with timeout 2023-09-26 07:47:16.387 - info: hm-rpc.2 (867) terminating with timeout 2023-09-26 07:47:16.470 - info: device-reminder.0 (1468) terminating with timeout 2023-09-26 07:47:16.554 - info: parser.0 (1523) terminating with timeout 2023-09-26 07:47:16.572 - info: e3dc-rscp.0 (1483) terminating with timeout 2023-09-26 07:47:16.993 - info: ems-esp.0 (1433) terminating with timeout 2023-09-26 07:47:17.033 - info: device-watcher.0 (1543) terminating with timeout 2023-09-26 07:47:17.083 - info: hm-rpc.1 (852) Connected
============ Mark until here for C&P =============
-
-
root@iobroker:/opt/iobroker# iob update node:internal/modules/cjs/loader:1080 throw err; ^ Error: Cannot find module 'tar' Require stack: - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:121:18) at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js:12:31) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js', '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js', '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' ] } Node.js v18.17.1 root@iobroker:/opt/iobroker#
root@iobroker:/opt/iobroker# iob list adapters node:internal/modules/cjs/loader:1080 throw err; ^ Error: Cannot find module 'tar' Require stack: - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:121:18) at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js:12:31) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js', '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js', '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' ] } Node.js v18.17.1 root@iobroker:/opt/iobroker#
root@iobroker:/opt/iobroker# iob list instances node:internal/modules/cjs/loader:1080 throw err; ^ Error: Cannot find module 'tar' Require stack: - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js - /opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:121:18) at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js:12:31) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/lib/setup/setupBackup.js', '/opt/iobroker/node_modules/@iobroker/js-controller-cli/build/index.js', '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' ] } Node.js v18.17.1 root@iobroker:/opt/iobroker#
Das hilft wohl nicht weiter!?
-
@homebrokerkev sagte in Gestern Update alles gut, nach Restart nicht erreichbar:
load average: 7.64, 6.32, 4.71
puh, würde mir zu denken geben
-
pkill -u iobroker find "/opt/iobroker/" -iname "*package-lock*" -exec rm -rf "{}" \; find "/opt/iobroker/" -iname "*package.json*" -exec rm -rf "{}" \;
Container neu starten
-
@djmarc75
was heißt das bzw. was ist damit gemeint? -
Schau mal wo 'tar' bei dir verwendet wird.
cd /opt/iobroker && npm ls tar
Schaut dann so aus:
echad@chet:/opt/iobroker $ npm ls tar iobroker.inst@3.0.0 /opt/iobroker ├─┬ iobroker.echarts@1.5.4 │ └─┬ canvas@2.11.2 │ └─┬ @mapbox/node-pre-gyp@1.0.11 │ └── tar@6.1.15 deduped ├─┬ iobroker.js-controller@5.0.12 │ └── tar@6.1.15 └─┬ iobroker.zigbee@1.8.24 └── tar@6.1.15 deduped
-
@homebrokerkev sagte in Gestern Update alles gut, nach Restart nicht erreichbar:
was heißt das bzw. was ist damit gemeint?
Damit ist gemeint, das deine Kiste dauerhaft im roten Bereich dreht.
Du hast 4 Kerne. Eine Load von 1 ist eine 100% Auslastung pro Kern. Bei dir wäre also 4 = Vollauslastung. Du hast deutlich mehr / zu viel laufen.
-
@thomas-braun
also ich bin jetzt einen Schritt weiter. Ich habe Iobroker einen komplett neuen Container aufgesetzt und dann mit dem Backup-Adapter ein Backup eingespielt. Das "aktuellste" Backup schlug immer fehl, daher habe ich ein 2 Tage altes Backup verwendet. Damit lief (fast) alles wieder super. (außer VIS fehlten wohl ein paar Bilder, aber Nebensächlich)Jetzt lief der IObroker wieder einen Tag - und wurde wieder immer "langsamer". D.h. Aktionen werden verzögert ausgelöst.
Aktuell kann ich den Intro-Tab im Admin nicht laden bzw. lädt seit 3 Minuten bisher...Container habe ich noch nicht heruntergefahren.
habe jetzt nen iob diag ausgeführt:======== Start marking the full check here =========
Skript v.2023-06-20 *** BASE SYSTEM *** cat: /sys/devices/virtual/dmi/id/sys_vendor: No such file or directory Hardware Vendor : Kernel : x86_64 Userland : amd64 Docker : v8.1.0 Virtualization : Docker Kernel : x86_64 Userland : amd64 Systemuptime and Load: 18:32:11 up 3 days, 8:24, 0 users, load average: 2.67, 3.43, 3.42 CPU threads: 4 *** Time and Time Zones *** Fri Sep 29 16:32:11 UTC 2023 Fri Sep 29 18:32:11 CEST 2023 CEST +0200 Etc/UTC *** User and Groups *** root /root root *** X-Server-Setup *** X-Server: false Desktop: Terminal: *** MEMORY *** total used free shared buff/cache available Mem: 36G 11G 10G 455M 14G 24G Swap: 7.1G 10M 7.1G Total: 43G 11G 17G 36055 M total memory 11173 M used memory 4838 M active memory 15911 M inactive memory 10217 M free memory 5070 M buffer memory 9593 M swap cache 7063 M total swap 10 M used swap 7053 M free swap *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on overlay overlay 694G 513G 181G 74% / tmpfs tmpfs 64M 0 64M 0% /dev tmpfs tmpfs 18G 0 18G 0% /sys/fs/cgroup shm tmpfs 64M 0 64M 0% /dev/shm /dev/mapper/cachedev5 ext4 694G 513G 181G 74% /opt/iobroker /dev/mapper/cachedev6 ext4 1.8T 1.6T 231G 88% /opt/ueberwachungskamera tmpfs tmpfs 18G 0 18G 0% /proc/asound tmpfs tmpfs 18G 0 18G 0% /proc/acpi tmpfs tmpfs 18G 0 18G 0% /proc/scsi tmpfs tmpfs 18G 0 18G 0% /sys/firmware Messages concerning ext4 filesystem in dmesg: dmesg: read kernel buffer failed: Operation not permitted Show mounted filesystems (real ones only): TARGET SOURCE FSTYPE OPTIONS /opt/iobroker /dev/mapper/cachedev5[/Container/Docker-Compose-Volumes/iobrokertest/iobrokerneu] ext4 rw,relatime,stripe=256,data=ordered,data_err=abort,jqfmt=vfsv1,usrjquota=aquota.user /opt/ueberwachungskamera /dev/mapper/cachedev6[/Ueberwachungskamera] ext4 rw,relatime,stripe=128,data=ordered,data_err=abort,jqfmt=vfsv1,usrjquota=aquota.user /etc/resolv.conf /dev/mapper/cachedev5[/Container/container-station-data/lib/docker/containers/3a8b20620d3c7467238010f5bc0a49c79f1ffdb97e1d803637f17c12bc5e6626/resolv.conf] ext4 rw,relatime,stripe=256,data=ordered,data_err=abort,jqfmt=vfsv1,usrjquota=aquota.user /etc/hostname /dev/mapper/cachedev5[/Container/container-station-data/lib/docker/containers/3a8b20620d3c7467238010f5bc0a49c79f1ffdb97e1d803637f17c12bc5e6626/hostname] ext4 rw,relatime,stripe=256,data=ordered,data_err=abort,jqfmt=vfsv1,usrjquota=aquota.user /etc/hosts /dev/mapper/cachedev5[/Container/container-station-data/lib/docker/containers/3a8b20620d3c7467238010f5bc0a49c79f1ffdb97e1d803637f17c12bc5e6626/hosts] ext4 rw,relatime,stripe=256,data=ordered,data_err=abort,jqfmt=vfsv1,usrjquota=aquota.user Files in neuralgic directories: /var: 16M /var/ 13M /var/lib/dpkg 13M /var/lib 12M /var/lib/dpkg/info 2.0M /var/cache /opt/iobroker/backups: 90M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 517M /opt/iobroker/iobroker-data/ 342M /opt/iobroker/iobroker-data/files 109M /opt/iobroker/iobroker-data/backup-objects 53M /opt/iobroker/iobroker-data/files/javascript.admin 45M /opt/iobroker/iobroker-data/files/devices.admin/static The five largest files in iobroker-data are: 35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map 34M /opt/iobroker/iobroker-data/states.jsonl 30M /opt/iobroker/iobroker-data/objects.jsonl 21M /opt/iobroker/iobroker-data/files/web.admin/static/js/main.edf7552a.js.map 19M /opt/iobroker/iobroker-data/files/iot.admin/static/js/main.2975a411.js.map *** NodeJS-Installation *** /usr/bin/nodejs v18.17.1 /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 nodejs: Installed: 18.17.1-deb-1nodesource1 Candidate: 18.17.1-deb-1nodesource1 Version table: *** 18.17.1-deb-1nodesource1 100 100 /var/lib/dpkg/status Temp directories causing npm8 problem: 0 No problems detected npm ERR! code ELSPROBLEMS npm ERR! missing: simple-ssh@^1.1.1, required by iobroker.javascript@7.1.4 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-09-29T16_32_16_407Z-debug-0.log Errors in npm tree: 0 *** ioBroker-Installation *** ioBroker Status Cannot determine Lua scripts strategy: Connection is closed. ["cfg.o.system.host.iobroker"] Server Cannot start inMem-states on port 9000: Failed to lock DB file "/opt/iobroker/iobroker-data/states.jsonl"! /opt/iobroker/node_modules/standard-as-callback/built/index.js:6 throw e; ^ Error: Connection is closed. at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) at Object.onceWrapper (node:events:629:26) at Socket.emit (node:events:514:28) at TCP.<anonymous> (node:net:323:12) Emitted 'error' event on ScanStream instance at: at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22 at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23) at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Node.js v18.17.1 Core adapters versions js-controller: 4.0.24 admin: 6.10.1 javascript: 7.1.4 Adapters from github: 0 Adapter State /opt/iobroker/node_modules/standard-as-callback/built/index.js:6 throw e; ^ Error: Connection is closed. at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) at Object.onceWrapper (node:events:629:26) at Socket.emit (node:events:514:28) at TCP.<anonymous> (node:net:323:12) Emitted 'error' event on ScanStream instance at: at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22 at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23) at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) Node.js v18.17.1 Enabled adapters with bindings ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json live-beta : http://iobroker.live/repo/sources-dist-latest.json live-stable : http://iobroker.live/repo/sources-dist.json latest-beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): stable Installed ioBroker-Instances Used repository: stable Adapter "admin" : 6.10.1 , installed 6.10.1 Adapter "backitup" : 2.8.1 , installed 2.8.1 Adapter "bring" : 1.8.1 , installed 1.8.1 Adapter "daswetter" : 3.1.10 , installed 3.1.10 Adapter "device-reminder": 1.2.9 , installed 1.2.9 Adapter "device-watcher": 2.9.3 , installed 2.9.3 Adapter "devices" : 1.1.5 , installed 1.1.5 Adapter "discovery" : 3.1.0 , installed 3.1.0 Adapter "e3dc-rscp" : 1.2.3 , installed 1.2.3 Adapter "email" : 1.2.0 , installed 1.2.0 Adapter "ems-esp" : 2.4.1 , installed 2.4.1 Adapter "fritzbox" : 0.5.0 , installed 0.5.0 Adapter "fritzdect" : 2.3.1 , installed 2.3.1 Adapter "fullybrowser" : 2.1.2 , installed 2.1.2 Adapter "hm-rega" : 3.0.47 , installed 3.0.47 Adapter "hm-rpc" : 1.15.19 , installed 1.15.19 Adapter "ical" : 1.13.3 , installed 1.13.3 Adapter "icons-addictive-flavour-png": 0.1.0, installed 0.1.0 Adapter "icons-icons8" : 0.0.1 , installed 0.0.1 Adapter "icons-material-png": 0.1.0, installed 0.1.0 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "influxdb" : 3.2.0 , installed 3.2.0 Adapter "info" : 1.9.26 , installed 1.9.26 Adapter "iot" : 1.14.5 , installed 1.14.5 Adapter "javascript" : 7.1.4 , installed 7.1.4 Controller "js-controller": 5.0.12 , installed 4.0.24 [Updatable] Adapter "km200" : 2.0.3 , installed 2.0.3 Adapter "kodi" : 3.0.0 , installed 3.0.0 Adapter "modbus" : 5.0.11 , installed 5.0.11 Adapter "mqtt" : 4.1.1 , installed 4.1.1 Adapter "parser" : 1.3.2 , installed 1.3.2 Adapter "ping" : 1.6.2 , installed 1.6.2 Adapter "pushover" : 3.0.3 , installed 3.0.3 Adapter "roomba" : 1.2.2 , installed 1.2.2 Adapter "shelly" : 6.4.1 , installed 6.4.1 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "socketio" : 6.5.5 , installed 6.5.5 Adapter "solarwetter" : 1.1.5 , installed 1.1.5 Adapter "trashschedule": 2.2.0 , installed 2.2.0 Adapter "unifi" : 0.6.6 , installed 0.6.6 Adapter "vis" : 1.4.16 , installed 1.4.16 Adapter "vis-bars" : 0.1.4 , installed 0.1.4 Adapter "vis-colorpicker": 2.0.3 , installed 2.0.3 Adapter "vis-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-hqwidgets": 1.4.0 , installed 1.4.0 Adapter "vis-inventwo" : 3.3.3 , installed 3.3.3 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-justgage" : 1.0.2 , installed 1.0.2 Adapter "vis-metro" : 1.2.0 , installed 1.2.0 Adapter "vis-players" : 0.1.6 , installed 0.1.6 Adapter "vis-plumb" : 1.0.2 , installed 1.0.2 Adapter "vis-rgraph" : 0.0.2 , installed 0.0.2 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "web" : 6.1.2 , installed 6.1.2 Adapter "whatsapp-cmb" : 0.2.3 , installed 0.2.3 Adapter "ws" : 2.5.5 , installed 2.5.5 Adapter "yr" : 5.3.0 , installed 5.3.0 Objects and States Please stand by - This may take a while Objects: 3 States: 2 *** OS-Repositories and Updates *** Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Hit:4 https://deb.nodesource.com/node_18.x bullseye InRelease Reading package lists... Pending Updates: 0 *** Listening Ports *** Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 192.168.17.15:2001 0.0.0.0:* LISTEN 1000 15808243 - tcp 0 0 0.0.0.0:1850 0.0.0.0:* LISTEN 1000 15821417 - tcp 0 0 192.168.17.15:2010 0.0.0.0:* LISTEN 1000 15811586 - tcp 0 0 0.0.0.0:1885 0.0.0.0:* LISTEN 1000 15819554 - tcp 0 0 192.168.17.15:8701 0.0.0.0:* LISTEN 1000 15812710 - tcp 0 0 0.0.0.0:1888 0.0.0.0:* LISTEN 1000 15816410 - tcp 0 0 127.0.0.11:45955 0.0.0.0:* LISTEN 0 15770379 - tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1000 15795439 - tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1000 15791974 - tcp6 0 0 :::8081 :::* LISTEN 1000 15856414 - tcp6 0 0 :::8082 :::* LISTEN 1000 16411384 - udp 0 0 127.0.0.11:38585 0.0.0.0:* 0 15770378 - *** Log File - Last 25 Lines *** 2023-09-29 18:35:11.261 - info: shelly.1 (999) [MQTT] Device with client id "shellyplus2pm-485519a1c348" connected! 2023-09-29 18:35:16.695 - error: shelly.1 (999) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-485519a1c348" 2023-09-29 18:35:16.944 - info: shelly.1 (999) [MQTT] Device with client id "shellyplusi4-a8032ab6139c" connected! 2023-09-29 18:35:17.642 - error: shelly.1 (999) [MQTT] Unable to get mqttprefix of client with id "shellyplusi4-0cdc7ef69ae0" 2023-09-29 18:35:17.875 - warn: yr.0 (27570) slow connection to objects DB. Still waiting ... 2023-09-29 18:35:18.338 - error: shelly.1 (999) [MQTT] Unable to get mqttprefix of client with id "shellyplus1-441793d029b8" 2023-09-29 18:35:18.338 - error: shelly.1 (999) [MQTT] Unable to get mqttprefix of client with id "shellyplusi4-485519993f20" 2023-09-29 18:35:19.658 - error: shelly.1 (999) [MQTT] Unable to get mqttprefix of client with id "shellyplusi4-0cdc7ef69ae0" 2023-09-29 18:35:19.835 - info: shelly.1 (999) [MQTT] Client Close: (shellyplus1 / shellyplus1-441793a9baf0 / shellyplus1#441793a9baf0#1) (false) 2023-09-29 18:35:19.881 - info: shelly.1 (999) [MQTT] Device with client id "shellyplusi4-a8032ab5b8fc" connected! 2023-09-29 18:35:20.192 - error: shelly.1 (999) [MQTT] Unable to get mqttprefix of client with id "shellyplus1-441793a9baf0" 2023-09-29 18:35:20.200 - error: shelly.1 (999) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-485519a1fc18" 2023-09-29 18:35:20.944 - error: shelly.1 (999) [MQTT] Unable to get mqttprefix of client with id "shellyplusi4-0cdc7ef6c5d8" 2023-09-29 18:35:21.250 - info: shelly.1 (999) [MQTT] Client Close: (shellyplus2pm / shellyplus2pm-485519a1c348 / shellyplus2pm#485519a1c348#1) (false) 2023-09-29 18:35:21.635 - error: shelly.1 (999) [MQTT] Unable to get mqttprefix of client with id "shellyplusi4-0cdc7ef69afc" 2023-09-29 18:35:21.635 - error: shelly.1 (999) [MQTT] Unable to get mqttprefix of client with id "shellyplusi4-a8032ab6139c" 2023-09-29 18:35:22.165 - error: shelly.1 (999) [MQTT] Unable to get mqttprefix of client with id "shellyplusi4-a8032ab5b8fc" 2023-09-29 18:35:26.942 - info: shelly.1 (999) [MQTT] Client Close: (shellyplusi4 / shellyplusi4-a8032ab6139c / shellyplusi4#a8032ab6139c#1) (false) 2023-09-29 18:35:27.291 - error: shelly.1 (999) [MQTT] Unable to get mqttprefix of client with id "shellyplus1-441793a9baf0" 2023-09-29 18:35:28.571 - error: shelly.1 (999) [MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-485519a1c348" 2023-09-29 18:35:28.742 - info: shelly.1 (999) [MQTT] Device with client id "shellyplus1-441793d029b8" connected! 2023-09-29 18:35:29.874 - info: shelly.1 (999) [MQTT] Client Close: (shellyplusi4 / shellyplusi4-a8032ab5b8fc / shellyplusi4#a8032ab5b8fc#1) (false) 2023-09-29 18:35:30.422 - warn: fullybrowser.0 (1332) updateDeviceERROR 192.168.28.179 2023-09-29 18:35:31.429 - info: shelly.1 (999) [MQTT] Device with client id "shellyplus2pm-485519a1fc18" connected! 2023-09-29 18:35:31.966 - info: shelly.1 (999) [MQTT] Device with client id "shellyplusi4-0cdc7ef6c5d8" connected!
============ Mark until here for C&P =============
-
@thomas-braun
die Qnapt zeigt ne CPU Auslastung von 46% an... -
top
im Container:
Tasks: 45 total, 2 running, 43 sleeping, 0 stopped, 0 zombie %Cpu(s): 41,5 us, 6,2 sy, 0,1 ni, 48,2 id, 2,6 wa, 0,0 hi, 1,3 si, 0,0 st MiB Mem : 36055,7 total, 10419,2 free, 10897,7 used, 14738,9 buff/cache MiB Swap: 7063,2 total, 7053,2 free, 10,1 used. 24298,6 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 451 iobroker 20 0 1836716 982164 45688 R 100,7 2,7 2088:00 iobroker.js-con 1252 iobroker 20 0 1133584 507460 45220 S 17,3 1,4 319:43.71 io.device-watch 2458 iobroker 20 0 1161892 274088 45352 S 7,7 0,7 285:41.77 io.javascript.0 968 iobroker 20 0 726136 156380 39608 S 6,3 0,4 272:45.75 io.shelly.0 527 iobroker 20 0 1009004 128892 39764 S 5,3 0,3 170:18.58 io.influxdb.0 999 iobroker 20 0 1261944 429204 39528 S 3,3 1,2 250:04.98 io.shelly.1 893 iobroker 20 0 699568 102084 39760 S 1,7 0,3 26:03.38 io.modbus.0 1269 iobroker 30 10 751900 91888 39656 S 1,0 0,2 11:22.04 io.e3dc-rscp.0 590 iobroker 20 0 953844 80864 40500 S 0,3 0,2 1:12.73 io.pushover.1 723 iobroker 20 0 702236 101160 39848 S 0,3 0,3 2:27.84 io.hm-rega.0 1129 iobroker 20 0 966900 102832 40800 S 0,3 0,3 10:27.68 io.bring.0 1357 iobroker 20 0 937080 89028 40580 S 0,3 0,2 1:34.04 io.info.0 2602 iobroker 20 0 10,9g 126224 46892 S 0,3 0,3 1:18.13 io.backitup.0 5736 iobroker 20 0 974488 134560 40276 S 0,3 0,4 4:33.35 io.web.0 25183 iobroker 20 0 10,9g 82016 42164 S 0,3 0,2 0:04.68 io.unifi.0 28734 root 20 0 10428 3908 3304 R 0,3 0,0 0:00.02 top 1 root 20 0 7372 3268 2924 S 0,0 0,0 0:00.05 bash 508 iobroker 20 0 683804 74152 39412 S 0,0 0,2 1:10.30 io.email.0 569 iobroker 20 0 950004 80248 40512 S 0,0 0,2 1:13.91 io.pushover.0 613 iobroker 20 0 817908 78568 40684 S 0,0 0,2 1:12.01 io.pushover.2 634 iobroker 20 0 751860 77664 40524 S 0,0 0,2 1:11.23 io.pushover.3 661 iobroker 20 0 887540 85300 40668 S 0,0 0,2 1:13.36 io.whatsapp-cmb 676 iobroker 20 0 884724 83300 40684 S 0,0 0,2 1:13.04 io.whatsapp-cmb 708 iobroker 20 0 689660 84452 40564 S 0,0 0,2 1:14.76 io.fritzbox.0 750 iobroker 20 0 691628 83288 40148 S 0,0 0,2 1:44.33 io.hm-rpc.0 765 iobroker 20 0 697516 89608 39924 S 0,0 0,2 2:25.88 io.hm-rpc.1 780 iobroker 20 0 691372 81084 39476 S 0,0 0,2 1:19.45 io.hm-rpc.2 908 iobroker 20 0 702072 93672 39412 S 0,0 0,3 2:48.73 io.mqtt.0 931 iobroker 20 0 690716 81000 39636 S 0,0 0,2 5:16.52 io.ping.0 1063 iobroker 20 0 687388 77524 39400 S 0,0 0,2 1:10.14 io.discovery.0 1168 iobroker 20 0 692508 83784 39636 S 0,0 0,2 2:24.27 io.device-remin 1218 iobroker 20 0 700444 92748 39828 S 0,0 0,3 6:06.11 io.kodi.0 1226 iobroker 20 0 703772 95520 39604 S 0,0 0,3 7:53.73 io.kodi.1 1233 iobroker 20 0 702748 95776 39604 S 0,0 0,3 6:05.06 io.kodi.2 1321 iobroker 20 0 954652 84680 39912 S 0,0 0,2 1:32.09 io.fritzdect.0 1332 iobroker 20 0 687900 78224 39540 S 0,0 0,2 1:23.51 io.fullybrowser 1391 iobroker 20 0 966100 103172 40800 S 0,0 0,3 2:40.63 io.iot.0 1455 iobroker 20 0 690204 81824 39604 S 0,0 0,2 3:16.95 io.km200.0 1471 iobroker 20 0 954396 87660 40512 S 0,0 0,2 1:15.79 io.parser.0 1605 iobroker 20 0 690716 82740 39960 S 0,0 0,2 1:17.60 io.trashschedul 1938 iobroker 20 0 1105420 214780 46876 S 0,0 0,6 4:52.52 io.admin.0 2400 iobroker 20 0 864388 106008 46404 S 0,0 0,3 3:43.23 io.roomba.0 2558 iobroker 20 0 704028 97904 39772 S 0,0 0,3 2:13.96 io.ems-esp.0 5751 iobroker 20 0 687388 77064 39412 S 0,0 0,2 1:09.61 io.vis-inventwo 27048 root 20 0 7508 3980 3460 S 0,0 0,0 0:00.03 bash
JS Controller nehme ich an?
-
@thomas-braun
Kurzes Update
Nachdem mich die Hinweise bezüglich des defekten Moduls / JSController leider nicht weiter gebracht haben,
hatte ich mich dazu entschieden den Container neu zu machen und mit einem Backup zu arbeiten.Dabei ist mir nach 1 tag das Ursprüngliche Problem mit der verlangsamten Ausführung der Aktionen wieder begegnet.
Danke @Thomas-Braun und @DJMarc75 für die Hinweise bezüglich load average. Das brachte mich dazu mit top die CPU Auslastung näher zu prüfen.Dabei konnte ich feststellen, dass iobroker.js-con fast immer über 100% lag und der io.device-watch ebenfalls dauerhaft eine recht hohe Auslastung hatte. Über die Console reagierte der IObroker mehrmals mit Fehlermeldungen, dass die DB nicht erreicht werden kann, wenn ich versuchte einzelne Adapter zu stoppen. Nach mehrmaligen Versuchen klappte dies jedoch.
Nachdem der Adapter Device-Watcher beendet war, beruhigte sich die CPU Auslastung nach einigen Minuten und ich konnte urplötzlich die Admin-Seite wieder erreichen und normal bedienen.
Ich habe den Device-Watcher jetzt erst einmal deaktiviert gelassen und beobachte das ganze 1-2 Tage. Wenn weiterhin alles funktioniert, würde ich den Device-Watcher mit modifizierten Einstellungen nochmals testen. Ich hatte den auf ein Update-Intervall von 20 Sekunden eingestellt. > Würde dann mit 3600 Sekunden testen. - für die meisten Anwendungen sollte das reichen.
Vielen dank an alle für die Bemühungen - ich melde mich wieder wenn ich längerfristig getestet habe. aktuell sieht "top" so aus: (Alle Adapter außer device-watcher laufen)
top - 22:59:47 up 3 days, 12:52, 0 users, load average: 3,01, 2,60, 2,53 Tasks: 43 total, 1 running, 42 sleeping, 0 stopped, 0 zombie %Cpu(s): 19,3 us, 4,1 sy, 0,0 ni, 73,9 id, 1,4 wa, 0,0 hi, 1,3 si, 0,0 st MiB Mem : 36055,7 total, 9957,2 free, 9221,9 used, 16876,6 buff/cache MiB Swap: 7063,2 total, 7053,2 free, 10,1 used. 25975,1 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 451 iobroker 20 0 1383204 554160 45928 S 31,3 1,5 8:12.06 iobroker.js-con 1996 iobroker 20 0 721260 148604 39552 S 12,0 0,4 1:52.91 io.shelly.0 983 iobroker 20 0 1023152 256372 45552 S 7,7 0,7 1:58.58 io.javascript.0 2003 iobroker 20 0 716652 140404 39776 S 7,7 0,4 1:53.30 io.shelly.1 901 iobroker 20 0 763172 107788 39776 S 6,3 0,3 1:13.02 io.influxdb.0 1799 iobroker 20 0 688912 81448 39552 S 1,0 0,2 0:07.40 io.kodi.0 1821 iobroker 20 0 687632 79908 39552 S 0,7 0,2 0:07.47 io.kodi.2 496 iobroker 20 0 10,8g 112728 46964 S 0,3 0,3 0:04.21 io.backitup.0 1810 iobroker 20 0 689164 80292 39840 S 0,3 0,2 0:07.32 io.kodi.1 1840 iobroker 20 0 693668 85776 39852 S 0,3 0,2 0:11.71 io.modbus.0 1956 iobroker 20 0 718456 98756 47280 S 0,3 0,3 0:04.33 io.roomba.0 1 root 20 0 7372 3632 3292 S 0,0 0,0 0:00.06 bash 473 iobroker 20 0 1090748 194524 46844 S 0,0 0,5 0:23.76 io.admin.0 558 iobroker 20 0 966120 101148 40288 S 0,0 0,3 0:05.29 io.web.0 682 iobroker 20 0 958440 91296 40652 S 0,0 0,2 0:07.92 io.bring.0 709 iobroker 20 0 679440 73292 39424 S 0,0 0,2 0:02.94 io.device-remin 720 iobroker 20 0 678672 70592 39360 S 0,0 0,2 0:02.03 io.discovery.0 735 iobroker 30 10 751632 84416 39412 S 0,0 0,2 0:09.42 io.e3dc-rscp.0 769 iobroker 20 0 691472 89656 39840 S 0,0 0,2 0:12.47 io.ems-esp.0 780 iobroker 20 0 686064 78240 40512 S 0,0 0,2 0:03.37 io.fritzbox.0 791 iobroker 20 0 680460 72044 39668 S 0,0 0,2 0:02.41 io.fritzdect.0 814 iobroker 20 0 679952 72356 39776 S 0,0 0,2 0:02.35 io.fullybrowser 829 iobroker 20 0 686608 82304 39860 S 0,0 0,2 0:05.25 io.hm-rega.0 852 iobroker 20 0 680608 73072 40160 S 0,0 0,2 0:02.71 io.hm-rpc.0 867 iobroker 20 0 683168 76760 40160 S 0,0 0,2 0:03.99 io.hm-rpc.1 878 iobroker 20 0 680096 73080 39712 S 0,0 0,2 0:02.31 io.hm-rpc.2 914 iobroker 20 0 815132 77108 40684 S 0,0 0,2 0:04.48 io.info.0 950 iobroker 20 0 895176 94168 40652 S 0,0 0,3 0:05.92 io.iot.0 1694 iobroker 20 0 678416 70356 39648 S 0,0 0,2 0:02.17 io.email.0 1847 iobroker 20 0 686700 79588 39648 S 0,0 0,2 0:03.15 io.mqtt.0 1874 iobroker 20 0 811972 74384 40524 S 0,0 0,2 0:02.24 io.parser.0 1885 iobroker 20 0 682000 75528 39648 S 0,0 0,2 0:04.83 io.ping.0 1900 iobroker 20 0 746728 71264 40524 S 0,0 0,2 0:02.18 io.pushover.0 1911 iobroker 20 0 745960 72584 40524 S 0,0 0,2 0:02.25 io.pushover.1 1918 iobroker 20 0 678416 70468 39648 S 0,0 0,2 0:02.09 io.pushover.2 1929 iobroker 20 0 678416 71396 39648 S 0,0 0,2 0:02.08 io.pushover.3 2029 iobroker 20 0 679436 72224 39988 S 0,0 0,2 0:02.21 io.trashschedul 2040 iobroker 20 0 10,9g 95584 41920 S 0,0 0,3 0:29.93 io.unifi.0 2076 iobroker 20 0 678416 70748 39648 S 0,0 0,2 0:02.05 io.vis-inventwo 2091 iobroker 20 0 682256 73260 39400 S 0,0 0,2 0:02.30 io.whatsapp-cmb 2102 iobroker 20 0 682512 74092 39648 S 0,0 0,2 0:02.27 io.whatsapp-cmb 2315 root 20 0 7504 3888 3448 S 0,0 0,0 0:00.02 bash 2323 root 20 0 10328 3832 3296 R 0,0 0,0 0:00.61 top