NEWS
[gelöst] Dauerhafter ioBroker Restart nach JS-Update
-
Guten Morgen Liebe Community,
nach JS-Controller Update von V5.0.19 auf V6.0.9 startet der ioBroker immer wieder alles neu, da er die Controller-Directory nicht finden kann.
System: Ubuntu VM 20.04
Node: 18.17.1
NPM: 8.19.4Folgende Fehler sind im Log zu finden:
uncaught exception: Could not determine controller directory
Error: Could not determine controller directory at getControllerDir (file:///opt/iobroker/node_modules/@iobroker/js-controller-common-db/build/esm/lib/common/tools.js:1853:11) at Module.getConfigFileName (file:///opt/iobroker/node_modules/@iobroker/js-controller-common-db/build/esm/lib/common/tools.js:1896:27) at getConfig (file:///opt/iobroker/node_modules/iobroker.js-controller/build/esm/main.js:127:30) at processMessage (file:///opt/iobroker/node_modules/iobroker.js-controller/build/esm/main.js:2046:32) at change (file:///opt/iobroker/node_modules/iobroker.js-controller/build/esm/main.js:383:25) at Immediate.<anonymous> (file:///opt/iobroker/node_modules/@iobroker/db-states-redis/build/esm/lib/states/statesInRedisClient.js:291:37) at process.processImmediate (node:internal/timers:476:21)
Ich habe nach dem Pfad file:///opt/iobroker/node_modules/@iobroker/js-controller-common-db/build/esm/lib/common/tools.js:1853:11 gesucht, jedoch gibt es den Ordner esm nicht, sondern nur /opt/iobroker/node_modules/@iobroker/js-controller-common-db/build/lib/common, dort ist aber das Problem, dass die tools.js keine 1853 Zeilen lang ist, sondern nur 79 Zeilen.
ioBroker Fix etc. hab ich bereits mehrmals drüber laufen lassen. Derzeitig habe ich wieder ein Backup (der ganzen VM) von ein paar Stunden vor versuchtem Upgrade drin.
-
@tmartin was ist denn da die Basis?
bitte Langfassung von
iob diag
-
-
@tmartin bitte hier in code-tags posten!
die code-tags sind bereits im output integriert! -
-
@homoran Du meinst jetzt vom ganzen Output?
-
@tmartin sagte in Dauerhafter ioBroker Restart, nach Update vom JS-Controller:
@homoran Du meinst jetzt vom ganzen Output?
ja!
das nutzt doch sonst nichts -
@thomas-braun Ist erfolgt, in der Summary steht nun auch "Your nodejs installation is correct"
-
-
Skript v.2024-05-22 *** BASE SYSTEM *** Static hostname: pfitiob01 Icon name: computer-vm Chassis: vm Virtualization: kvm Operating System: Ubuntu 20.04.6 LTS Kernel: Linux 5.4.0-190-generic Architecture: x86-64 model name : Common KVM processor Docker : false Virtualization : kvm Kernel : x86_64 Userland : 64 bit Systemuptime and Load: 10:08:24 up 50 min, 1 user, load average: 0.76, 0.55, 0.41 CPU threads: 8 *** Time and Time Zones *** Local time: Mon 2024-08-05 10:08:24 CEST Universal time: Mon 2024-08-05 08:08:24 UTC RTC time: Mon 2024-08-05 08:08:25 Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: n/a RTC in local TZ: no *** Users and Groups *** User that called 'iob diag': tmartin HOME=/home/tmartin GROUPS=users sudo iobroker sshuser User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker tty dialout audio video redis *** Display-Server-Setup *** Display-Server: false Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 7.9G 1.9G 4.0G 1.0M 2.0G 5.7G Swap: 4.1G 0B 4.1G Total: 12G 1.9G 8.1G Active iob-Instances: 21 7945 M total memory 1942 M used memory 2905 M active memory 563 M inactive memory 4028 M free memory 473 M buffer memory 1500 M swap cache 4095 M total swap 0 M used swap 4095 M free swap *** top - Table Of Processes *** top - 10:08:25 up 50 min, 1 user, load average: 0.70, 0.54, 0.41 Tasks: 196 total, 1 running, 195 sleeping, 0 stopped, 0 zombie %Cpu(s): 0.0 us, 0.0 sy, 0.0 ni, 98.4 id, 0.0 wa, 0.0 hi, 1.6 si, 0.0 st MiB Mem : 7945.4 total, 4028.2 free, 1943.3 used, 1973.9 buff/cache MiB Swap: 4096.0 total, 4096.0 free, 0.0 used. 5689.8 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 3.9G 0 3.9G 0% /dev tmpfs tmpfs 795M 1.3M 794M 1% /run /dev/sda2 ext4 63G 26G 34G 44% / tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup /dev/loop0 squashfs 104M 104M 0 100% /snap/core/16928 /dev/loop1 squashfs 105M 105M 0 100% /snap/core/17200 /dev/loop2 squashfs 92M 92M 0 100% /snap/lxd/29619 /dev/loop3 squashfs 64M 64M 0 100% /snap/core20/2264 /dev/loop4 squashfs 64M 64M 0 100% /snap/core20/2318 /dev/loop5 squashfs 92M 92M 0 100% /snap/lxd/24061 tmpfs tmpfs 795M 0 795M 0% /run/user/2005 Messages concerning ext4 filesystem in dmesg: [Mon Aug 5 09:17:35 2024] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) [Mon Aug 5 09:17:36 2024] EXT4-fs (sda2): re-mounted. Opts: (null) Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,relatime |-/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime | |-/sys/fs/cgroup tmpfs tmpfs ro,nosuid,nodev,noexec,mode=755 | | |-/sys/fs/cgroup/unified cgroup2 cgroup2 rw,nosuid,nodev,noexec,relatime | | |-/sys/fs/cgroup/systemd cgroup cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd | | |-/sys/fs/cgroup/net_cls,net_prio cgroup cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio | | |-/sys/fs/cgroup/cpu,cpuacct cgroup cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct | | |-/sys/fs/cgroup/pids cgroup cgroup rw,nosuid,nodev,noexec,relatime,pids | | |-/sys/fs/cgroup/memory cgroup cgroup rw,nosuid,nodev,noexec,relatime,memory | | |-/sys/fs/cgroup/devices cgroup cgroup rw,nosuid,nodev,noexec,relatime,devices | | |-/sys/fs/cgroup/freezer cgroup cgroup rw,nosuid,nodev,noexec,relatime,freezer | | |-/sys/fs/cgroup/blkio cgroup cgroup rw,nosuid,nodev,noexec,relatime,blkio | | |-/sys/fs/cgroup/cpuset cgroup cgroup rw,nosuid,nodev,noexec,relatime,cpuset | | |-/sys/fs/cgroup/hugetlb cgroup cgroup rw,nosuid,nodev,noexec,relatime,hugetlb | | |-/sys/fs/cgroup/rdma cgroup cgroup rw,nosuid,nodev,noexec,relatime,rdma | | `-/sys/fs/cgroup/perf_event cgroup cgroup rw,nosuid,nodev,noexec,relatime,perf_event | |-/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec,relatime | |-/sys/fs/bpf none bpf rw,nosuid,nodev,noexec,relatime,mode=700 | |-/sys/kernel/debug debugfs debugfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/tracing tracefs tracefs rw,nosuid,nodev,noexec,relatime | |-/sys/fs/fuse/connections fusectl fusectl rw,nosuid,nodev,noexec,relatime | `-/sys/kernel/config configfs configfs rw,nosuid,nodev,noexec,relatime |-/proc proc proc rw,nosuid,nodev,noexec,relatime | `-/proc/sys/fs/binfmt_misc systemd-1 autofs rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1522 | `-/proc/sys/fs/binfmt_misc binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime |-/dev udev devtmpfs rw,nosuid,noexec,relatime,size=4021228k,nr_inodes=1005307,mode=755 | |-/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 | |-/dev/shm tmpfs tmpfs rw,nosuid,nodev | |-/dev/hugepages hugetlbfs hugetlbfs rw,relatime,pagesize=2M | `-/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec,relatime |-/run tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=813608k,mode=755 | |-/run/lock tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k | |-/run/snapd/ns tmpfs[/snapd/ns] tmpfs rw,nosuid,nodev,noexec,relatime,size=813608k,mode=755 | | `-/run/snapd/ns/lxd.mnt nsfs[mnt:[4026532510]] nsfs rw | `-/run/user/2005 tmpfs tmpfs rw,nosuid,nodev,relatime,size=813604k,mode=700,uid=2005,gid=100 |-/snap/core/16928 /dev/loop0 squashfs ro,nodev,relatime |-/snap/core/17200 /dev/loop1 squashfs ro,nodev,relatime |-/snap/lxd/29619 /dev/loop2 squashfs ro,nodev,relatime |-/snap/core20/2264 /dev/loop3 squashfs ro,nodev,relatime |-/snap/core20/2318 /dev/loop4 squashfs ro,nodev,relatime |-/snap/lxd/24061 /dev/loop5 squashfs ro,nodev,relatime `-/var/lib/lxcfs lxcfs fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other Files in neuralgic directories: /var: 5.9G /var/ 4.1G /var/log/journal/5e84a9602df64173976cdbaaf6e7e283 4.1G /var/log/journal 4.1G /var/log 1.4G /var/lib Hint: You are currently not seeing messages from other users and the system. Users in groups 'adm', 'systemd-journal' can see all messages. Pass -q to turn off this notice. Archived and active journals take up 8.0M in the file system. /opt/iobroker/backups: 13M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 1.2G /opt/iobroker/iobroker-data/ 978M /opt/iobroker/iobroker-data/files 785M /opt/iobroker/iobroker-data/files/images 164M /opt/iobroker/iobroker-data/backup-objects 139M /opt/iobroker/iobroker-data/files/javascript.admin The five largest files in iobroker-data are: 31M /opt/iobroker/iobroker-data/objects.jsonl 22M /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.18496c94.js.map 9.7M /opt/iobroker/iobroker-data/objects.json.bak.migrated 9.0M /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.18496c94.js 8.1M /opt/iobroker/iobroker-data/files/images/javascript.0.Kameras.Getraenkekeller-1661859088.0917654.mp4 USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id': /dev/serial/by-id/usb-0658_0200-if00 *** NodeJS-Installation *** /usr/bin/nodejs v20.16.0 /usr/bin/node v20.16.0 /usr/bin/npm 10.8.1 /usr/bin/npx 10.8.1 /usr/bin/corepack 0.28.2 nodejs: Installed: 20.16.0-1nodesource1 Candidate: 20.16.0-1nodesource1 Version table: *** 20.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 20.15.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 10.19.0~dfsg-3ubuntu1.6 500 500 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages 500 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages 10.19.0~dfsg-3ubuntu1 500 500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: redis Core adapters versions js-controller: 5.0.19 admin: 6.17.14 javascript: 8.3.1 nodejs modules from github: 1 | | | | | `-- reconnect-core@0.0.1 invalid: "https://github.com/dodo/reconnect-core/tarball/merged" from node_modules/node-xmpp-core Adapter State + system.adapter.admin.0 : admin : pfitiob01 - enabled, port: 8180, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.discovery.0 : discovery : pfitiob01 - enabled + system.adapter.doorbird.0 : doorbird : pfitiob01 - enabled + system.adapter.ecovacs-deebot.0 : ecovacs-deebot : pfitiob01 - enabled + system.adapter.email.0 : email : pfitiob01 - enabled + system.adapter.email.1 : email : pfitiob01 - enabled + system.adapter.history.0 : history : pfitiob01 - enabled + system.adapter.hue.0 : hue : pfitiob01 - enabled, port: 443 + system.adapter.info.0 : info : pfitiob01 - enabled + system.adapter.javascript.0 : javascript : pfitiob01 - enabled + system.adapter.lovelace.0 : lovelace : pfitiob01 - enabled, port: 8091, bind: 0.0.0.0, run as: admin + system.adapter.modbus.0 : modbus : pfitiob01 - enabled + system.adapter.modbus.1 : modbus : pfitiob01 - enabled + system.adapter.modbus.2 : modbus : pfitiob01 - enabled + system.adapter.mqtt.0 : mqtt : pfitiob01 - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.rest-api.0 : rest-api : pfitiob01 - enabled, port: 8093, bind: 0.0.0.0, run as: admin + system.adapter.simple-api.0 : simple-api : pfitiob01 - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.socketio.0 : socketio : pfitiob01 - enabled, port: 8084, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.zwave2.0 : zwave2 : iobroker-slave - enabled + system.adapter.zwave2.1 : zwave2 : pfitiob01 - enabled + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : pfitiob01 - enabled, port: 8180, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.hue.0 : hue : pfitiob01 - enabled, port: 443 + system.adapter.lovelace.0 : lovelace : pfitiob01 - enabled, port: 8091, bind: 0.0.0.0, run as: admin + system.adapter.mqtt.0 : mqtt : pfitiob01 - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.rest-api.0 : rest-api : pfitiob01 - enabled, port: 8093, bind: 0.0.0.0, run as: admin + system.adapter.simple-api.0 : simple-api : pfitiob01 - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.socketio.0 : socketio : pfitiob01 - enabled, port: 8084, bind: 0.0.0.0 (SSL), run as: admin ioBroker-Repositories Stable (default): http://download.iobroker.net/sources-dist.json Beta (latest) : http://download.iobroker.net/sources-dist-latest.json Active repo(s): Stable (default) Installed ioBroker-Instances Used repository: Stable (default) Adapter "admin" : 7.0.22 , installed 6.17.14 [Updatable] Adapter "discovery" : 4.5.0 , installed 4.5.0 Adapter "doorbird" : 1.6.0 , installed 0.1.5 [Updatable] Adapter "ecovacs-deebot": 1.4.15 , installed 1.4.15 Adapter "email" : 1.3.1 , installed 1.3.1 Adapter "history" : 3.0.1 , installed 3.0.1 Adapter "hue" : 3.11.0 , installed 3.11.0 Adapter "javascript" : 8.7.6 , installed 8.3.1 [Updatable] Controller "js-controller": 6.0.9 , installed 5.0.19 [Updatable] Adapter "lovelace" : 4.1.10 , installed 4.1.10 Adapter "modbus" : 6.2.3 , installed 6.2.3 Adapter "mqtt" : 5.2.0 , installed 5.2.0 Adapter "rest-api" : 2.0.1 , installed 2.0.1 Adapter "simple-api" : 2.8.0 , installed 2.8.0 Adapter "socketio" : 6.7.0 , installed 6.7.0 Adapter "sql" : 3.0.1 , installed 2.2.0 [Updatable] Adapter "zwave2" : 3.1.0 , installed 3.1.0 Objects and States Please stand by - This may take a while Objects: 7064 States: 6429 *** OS-Repositories and Updates *** Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease Hit:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease Hit:4 http://archive.ubuntu.com/ubuntu focal-security InRelease Hit:5 https://deb.nodesource.com/node_20.x nodistro 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 0.0.0.0:1882 0.0.0.0:* LISTEN 1001 237428 124948/io.mqtt.0 tcp 0 0 0.0.0.0:52220 0.0.0.0:* LISTEN 0 27678 810/sshd: /usr/sbin tcp 0 0 192.168.51.101:8100 0.0.0.0:* LISTEN 1001 242901 126812/io.doorbird. tcp 0 0 127.0.0.1:33060 0.0.0.0:* LISTEN 113 31017 932/mysqld tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN 1001 235890 124504/iobroker.js- tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 113 28497 932/mysqld tcp 0 0 0.0.0.0:6379 0.0.0.0:* LISTEN 111 28106 1162/redis-server 0 tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 101 19418 662/systemd-resolve tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 0 27357 1936/master tcp6 0 0 :::8091 :::* LISTEN 1001 238487 125659/io.lovelace. tcp6 0 0 :::6556 :::* LISTEN 997 27070 683/cmk-agent-ctl tcp6 0 0 :::52220 :::* LISTEN 0 27680 810/sshd: /usr/sbin tcp6 0 0 :::8093 :::* LISTEN 1001 240351 126573/io.rest-api. tcp6 0 0 :::9000 :::* LISTEN 0 183755 101233/node /opt/op tcp6 0 0 :::9996 :::* LISTEN 0 182185 101233/node /opt/op tcp6 0 0 :::9997 :::* LISTEN 0 182738 101233/node /opt/op tcp6 0 0 :::9998 :::* LISTEN 0 182149 101233/node /opt/op tcp6 0 0 :::80 :::* LISTEN 0 25481 868/apache2 tcp6 0 0 :::4433 :::* LISTEN 0 184403 101233/node /opt/op tcp6 0 0 :::465 :::* LISTEN 0 184402 101233/node /opt/op tcp6 0 0 :::8084 :::* LISTEN 1001 238995 125704/io.socketio. tcp6 0 0 :::8180 :::* LISTEN 1001 236610 124536/io.admin.0 tcp6 0 0 :::8087 :::* LISTEN 1001 241692 125937/io.simple-ap tcp6 0 0 :::25 :::* LISTEN 0 27358 1936/master udp 0 0 0.0.0.0:39149 0.0.0.0:* 102 25123 715/rsyslogd udp 0 0 127.0.0.53:53 0.0.0.0:* 101 19417 662/systemd-resolve udp 0 0 192.168.51.101:123 0.0.0.0:* 0 26463 755/ntpd udp 0 0 127.0.0.1:123 0.0.0.0:* 0 26461 755/ntpd udp 0 0 0.0.0.0:123 0.0.0.0:* 0 26457 755/ntpd udp 0 0 0.0.0.0:45276 0.0.0.0:* 112 26280 679/avahi-daemon: r udp 0 0 0.0.0.0:5353 0.0.0.0:* 112 26278 679/avahi-daemon: r udp6 0 0 fe80::98c0:f3ff:fe4:123 :::* 0 26467 755/ntpd udp6 0 0 ::1:123 :::* 0 26465 755/ntpd udp6 0 0 :::123 :::* 0 26454 755/ntpd udp6 0 0 :::50238 :::* 112 26281 679/avahi-daemon: r udp6 0 0 :::5353 :::* 112 26279 679/avahi-daemon: r *** Log File - Last 25 Lines *** 2024-08-05 10:07:33.594 - info: zwave2.1 (126237) Node 147: ready to use 2024-08-05 10:07:33.641 - info: zwave2.1 (126237) Node 150: ready to use 2024-08-05 10:07:33.648 - info: zwave2.1 (126237) Node 176: ready to use 2024-08-05 10:07:33.703 - info: zwave2.1 (126237) Node 178: ready to use 2024-08-05 10:07:33.748 - info: zwave2.1 (126237) Node 185: ready to use 2024-08-05 10:07:33.778 - info: zwave2.1 (126237) Node 187: ready to use 2024-08-05 10:07:33.825 - info: zwave2.1 (126237) Node 188: ready to use 2024-08-05 10:07:33.928 - info: zwave2.1 (126237) Node 189: ready to use 2024-08-05 10:07:34.014 - info: zwave2.1 (126237) Node 192: ready to use 2024-08-05 10:07:34.141 - info: zwave2.1 (126237) Node 194: ready to use 2024-08-05 10:07:34.154 - info: zwave2.1 (126237) Node 195: ready to use 2024-08-05 10:07:34.224 - info: zwave2.1 (126237) Node 199: ready to use 2024-08-05 10:07:34.281 - info: zwave2.1 (126237) Node 201: ready to use 2024-08-05 10:07:34.291 - info: zwave2.1 (126237) Node 204: ready to use 2024-08-05 10:07:35.342 - info: host.pfitiob01 instance system.adapter.doorbird.0 started with pid 126812 2024-08-05 10:07:35.876 - info: doorbird.0 (126812) starting. Version 0.1.5 in /opt/iobroker/node_modules/iobroker.doorbird, node: v20.16.0, js-controller: 5.0.19 2024-08-05 10:08:31.301 - warn: modbus.2 (125086) Error: undefined 2024-08-05 10:08:31.302 - error: modbus.2 (125086) Request timed out. 2024-08-05 10:08:31.302 - error: modbus.2 (125086) Client in error state. 2024-08-05 10:08:31.302 - warn: modbus.2 (125086) [1] Poll error count: 1 code: {"err":"timeout","timeout":10000} 2024-08-05 10:08:32.302 - info: modbus.2 (125086) Disconnected from slave 192.168.51.98 2024-08-05 10:08:38.648 - info: zwave2.1 (126237) State value to set for "zwave2.1.Node_126.Climate_Control_Schedule.overrideState" has to be type "number" but received type "string" 2024-08-05 10:08:38.817 - info: zwave2.1 (126237) Node 126 is now awake 2024-08-05 10:08:40.232 - info: zwave2.1 (126237) Node 126 is now asleep 2024-08-05 10:08:42.305 - info: modbus.2 (125086) Connected to slave 192.168.51.98
======================= SUMMARY ======================= v.2024-05-22 Static hostname: pfitiob01 Icon name: computer-vm Chassis: vm Virtualization: kvm Operating System: Ubuntu 20.04.6 LTS Kernel: Linux 5.4.0-190-generic Architecture: x86-64 Installation: kvm Kernel: x86_64 Userland: 64 bit Timezone: Europe/Berlin (CEST, +0200) User-ID: 2005 Display-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 5 Nodejs-Installation: /usr/bin/nodejs v20.16.0 /usr/bin/node v20.16.0 /usr/bin/npm 10.8.1 /usr/bin/npx 10.8.1 /usr/bin/corepack 0.28.2 Recommended versions are nodejs 18.20.4 and npm 10.7.0 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 7.9G 2.0G 4.0G 1.0M 2.0G 5.7G Swap: 4.1G 0B 4.1G Total: 12G 2.0G 8.1G Active iob-Instances: 21 Active repo(s): Stable (default) ioBroker Core: js-controller 5.0.19 admin 6.17.14 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: redis Status admin and web instance: + system.adapter.admin.0 : admin : pfitiob01 - enabled, port: 8180, bind: 0.0.0.0 (SSL), run as: admin Objects: 7064 States: 6429 Size of iob-Database: 31M /opt/iobroker/iobroker-data/objects.jsonl 9.7M /opt/iobroker/iobroker-data/objects.json.bak.migrated 528K /opt/iobroker/iobroker-data/states.json.bak 528K /opt/iobroker/iobroker-data/states.json =================== END OF SUMMARY ====================
-
@tmartin sagte in Dauerhafter ioBroker Restart, nach Update vom JS-Controller:
node-xmpp-core
wofür brauchst du den?
@tmartin sagte in Dauerhafter ioBroker Restart, nach Update vom JS-Controller:
Pending iob updates: 5
auch noch hochziehen
-
Setz den user noch in die Gruppe 'adm' rein.
sudo usermod -aG adm tmartin exit
Dann versuch jetzt mal ein Update des iobroker:
iob update iob upgrade all -y iob stop iob upgrade self iob start
-
Dann war die fehlerhafte Node-Installation wohl das Problem.
Jetzt hat alles geklappt, danke euch beiden -
@tmartin sagte in [gelöst] Dauerhafter ioBroker Restart nach JS-Update:
Dann war die fehlerhafte Node-Installation wohl das Problem.
Das ist immer ein Problem.
-
Hallo, hab bei einem anderen System ca. das gleiche Problem, der ioBroker verliert die Verbindung, da der JS-Controller nicht mehr gefunden wird. Das ganze kam meiner Meinung nach zustande, nachdem ein npm module im javascript-adapter eingetragen wurde und dieser neugestartet ist.
host.michaeliob01 2024-09-04 11:20:10.858 error Error: Could not determine controller directory at Module.getControllerDir (file:///opt/iobroker/node_modules/@iobroker/js-controller-common-db/build/esm/lib/common/tools.js:1853:11) at installAdapters (file:///opt/iobroker/node_modules/iobroker.js-controller/build/esm/main.js:2900:42) at processMessage (file:///opt/iobroker/node_modules/iobroker.js-controller/build/esm/main.js:2373:46) at file:///opt/iobroker/node_modules/iobroker.js-controller/build/esm/main.js:3470:37 at Immediate.<anonymous> (file:///opt/iobroker/node_modules/iobroker.js-controller/build/esm/main.js:1042:31) at process.processImmediate (node:internal/timers:485:21) host.michaeliob01 2024-09-04 11:20:10.858 error uncaught exception: Could not determine controller directory
Nodejs 20
NPM 10.8.2
Admin u. JS-Controller haben die neuste Version, ich hatte den js-controller auch nochmal über "npm install iobroker.js-controller" neu installiert, hat kurz funktioniert und ist dann wieder mit dem error beendet.Nodejs hatte ich auf diesem System auch über den Befehl "iob nodejs-update 20" installiert.
Ausgabe iob diag
Skript v.2024-05-22 *** BASE SYSTEM *** Static hostname: michaeliob01 Icon name: computer-vm Chassis: vm Virtualization: kvm Operating System: Ubuntu 20.04.6 LTS Kernel: Linux 5.4.0-193-generic Architecture: x86-64 model name : AMD Opteron 63xx class CPU Docker : false Virtualization : kvm Kernel : x86_64 Userland : 64 bit Systemuptime and Load: 11:30:24 up 1:59, 1 user, load average: 1.76, 1.79, 1.43 CPU threads: 2 *** Time and Time Zones *** Local time: Wed 2024-09-04 11:30:24 CEST Universal time: Wed 2024-09-04 09:30:24 UTC RTC time: Wed 2024-09-04 09:30:25 Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** Users and Groups *** User that called 'iob diag': tmartin HOME=/home/tmartin GROUPS=tmartin adm sudo iobroker sshusers User that is running 'js-controller': iobroker HOME=/home/iobroker GROUPS=iobroker adm tty dialout audio video plugdev redis *** Display-Server-Setup *** Display-Server: false Desktop: Terminal: tty Boot Target: graphical.target *** MEMORY *** total used free shared buff/cache available Mem: 7.9G 1.8G 2.9G 1.0M 3.3G 5.8G Swap: 4.1G 1.0M 4.1G Total: 12G 1.8G 7.0G Active iob-Instances: 21 7945 M total memory 1796 M used memory 2965 M active memory 1565 M inactive memory 2885 M free memory 513 M buffer memory 2750 M swap cache 4095 M total swap 1 M used swap 4094 M free swap *** top - Table Of Processes *** top - 11:30:24 up 1:59, 1 user, load average: 1.76, 1.79, 1.43 Tasks: 168 total, 1 running, 167 sleeping, 0 stopped, 0 zombie %Cpu(s): 73.5 us, 8.8 sy, 0.0 ni, 14.7 id, 0.0 wa, 0.0 hi, 2.9 si, 0.0 st MiB Mem : 7945.9 total, 2886.1 free, 1796.1 used, 3263.8 buff/cache MiB Swap: 4096.0 total, 4095.0 free, 1.0 used. 5842.0 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION * postfix@-.service loaded failed failed Postfix Mail Transport Agent (instance -) * wg-quick@wg0-client.service loaded failed failed WireGuard via wg-quick(8) for wg0/client LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 2 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 3.9G 0 3.9G 0% /dev tmpfs tmpfs 795M 1.2M 794M 1% /run /dev/sda2 ext4 63G 35G 26G 58% / tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup /dev/loop1 squashfs 56M 56M 0 100% /snap/core18/2829 /dev/loop0 squashfs 104M 104M 0 100% /snap/core/16928 /dev/loop2 squashfs 64M 64M 0 100% /snap/core20/2264 /dev/loop3 squashfs 64M 64M 0 100% /snap/core20/2318 /dev/loop6 squashfs 92M 92M 0 100% /snap/lxd/24061 /dev/loop5 squashfs 105M 105M 0 100% /snap/core/17200 /dev/loop4 squashfs 56M 56M 0 100% /snap/core18/2823 /dev/loop7 squashfs 92M 92M 0 100% /snap/lxd/29619 tmpfs tmpfs 795M 0 795M 0% /run/user/1002 tmpfs tmpfs 795M 0 795M 0% /run/user/1115 Messages concerning ext4 filesystem in dmesg: [Wed Sep 4 09:30:33 2024] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) [Wed Sep 4 09:30:36 2024] EXT4-fs (sda2): re-mounted. Opts: (null) Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/sda2 ext4 rw,relatime |-/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime | |-/sys/fs/cgroup tmpfs tmpfs ro,nosuid,nodev,noexec,mode=755 | | |-/sys/fs/cgroup/unified cgroup2 cgroup2 rw,nosuid,nodev,noexec,relatime | | |-/sys/fs/cgroup/systemd cgroup cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd | | |-/sys/fs/cgroup/perf_event cgroup cgroup rw,nosuid,nodev,noexec,relatime,perf_event | | |-/sys/fs/cgroup/memory cgroup cgroup rw,nosuid,nodev,noexec,relatime,memory | | |-/sys/fs/cgroup/pids cgroup cgroup rw,nosuid,nodev,noexec,relatime,pids | | |-/sys/fs/cgroup/blkio cgroup cgroup rw,nosuid,nodev,noexec,relatime,blkio | | |-/sys/fs/cgroup/net_cls,net_prio cgroup cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio | | |-/sys/fs/cgroup/rdma cgroup cgroup rw,nosuid,nodev,noexec,relatime,rdma | | |-/sys/fs/cgroup/cpu,cpuacct cgroup cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct | | |-/sys/fs/cgroup/freezer cgroup cgroup rw,nosuid,nodev,noexec,relatime,freezer | | |-/sys/fs/cgroup/hugetlb cgroup cgroup rw,nosuid,nodev,noexec,relatime,hugetlb | | |-/sys/fs/cgroup/devices cgroup cgroup rw,nosuid,nodev,noexec,relatime,devices | | `-/sys/fs/cgroup/cpuset cgroup cgroup rw,nosuid,nodev,noexec,relatime,cpuset | |-/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec,relatime | |-/sys/fs/bpf none bpf rw,nosuid,nodev,noexec,relatime,mode=700 | |-/sys/kernel/tracing tracefs tracefs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/debug debugfs debugfs rw,nosuid,nodev,noexec,relatime | |-/sys/kernel/config configfs configfs rw,nosuid,nodev,noexec,relatime | `-/sys/fs/fuse/connections fusectl fusectl rw,nosuid,nodev,noexec,relatime |-/proc proc proc rw,nosuid,nodev,noexec,relatime | `-/proc/sys/fs/binfmt_misc systemd-1 autofs rw,relatime,fd=28,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=16666 | `-/proc/sys/fs/binfmt_misc binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime |-/dev udev devtmpfs rw,nosuid,noexec,relatime,size=4021504k,nr_inodes=1005376,mode=755 | |-/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 | |-/dev/shm tmpfs tmpfs rw,nosuid,nodev | |-/dev/mqueue mqueue mqueue rw,nosuid,nodev,noexec,relatime | `-/dev/hugepages hugetlbfs hugetlbfs rw,relatime,pagesize=2M |-/run tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=813664k,mode=755 | |-/run/lock tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k | |-/run/rpc_pipefs sunrpc rpc_pipefs rw,relatime | |-/run/user/1115 tmpfs tmpfs rw,nosuid,nodev,relatime,size=813660k,mode=700,uid=1115,gid=1102 | |-/run/snapd/ns tmpfs[/snapd/ns] tmpfs rw,nosuid,nodev,noexec,relatime,size=813664k,mode=755 | | `-/run/snapd/ns/lxd.mnt nsfs[mnt:[4026532265]] nsfs rw | `-/run/user/1002 tmpfs tmpfs rw,nosuid,nodev,relatime,size=813660k,mode=700,uid=1002,gid=1002 |-/snap/core18/2829 /dev/loop1 squashfs ro,nodev,relatime |-/snap/core/16928 /dev/loop0 squashfs ro,nodev,relatime |-/snap/core20/2264 /dev/loop2 squashfs ro,nodev,relatime |-/snap/core20/2318 /dev/loop3 squashfs ro,nodev,relatime |-/snap/lxd/24061 /dev/loop6 squashfs ro,nodev,relatime |-/snap/core/17200 /dev/loop5 squashfs ro,nodev,relatime |-/snap/core18/2823 /dev/loop4 squashfs ro,nodev,relatime |-/snap/lxd/29619 /dev/loop7 squashfs ro,nodev,relatime `-/var/lib/lxcfs lxcfs fuse.lxcfs rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other Files in neuralgic directories: /var: 5.9G /var/ 4.1G /var/log 4.0G /var/log/journal/5e84a9602df64173976cdbaaf6e7e283 4.0G /var/log/journal 1.6G /var/lib Archived and active journals take up 3.9G in the file system. /opt/iobroker/backups: 6.9M /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 925M /opt/iobroker/iobroker-data/ 758M /opt/iobroker/iobroker-data/files 442M /opt/iobroker/iobroker-data/files/javascript.admin 409M /opt/iobroker/iobroker-data/files/javascript.admin/static 408M /opt/iobroker/iobroker-data/files/javascript.admin/static/js The five largest files in iobroker-data are: 22M /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.18496c94.js.map 18M /opt/iobroker/iobroker-data/files/images/javascript.0.Kameras.Außenbereich-1662719085.9843452.mp4 17M /opt/iobroker/iobroker-data/objects.jsonl 9.0M /opt/iobroker/iobroker-data/files/modbus.admin/static/js/main.18496c94.js 8.7M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/838.0aa41cb0.chunk.js.map USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id': /dev/serial/by-id/usb-0658_0200-if00 *** NodeJS-Installation *** /usr/bin/nodejs v20.17.0 /usr/bin/node v20.17.0 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.29.3 nodejs: Installed: 20.17.0-1nodesource1 Candidate: 20.17.0-1nodesource1 Version table: *** 20.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 20.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.15.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.2-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.1-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 10.19.0~dfsg-3ubuntu1.6 500 500 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages 500 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 Packages 10.19.0~dfsg-3ubuntu1 500 500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: *** ioBroker-Installation *** ioBroker Status iobroker is running on this host. Objects type: jsonl States type: jsonl Core adapters versions js-controller: 6.0.11 admin: 7.0.23 javascript: 8.7.6 nodejs modules from github: 0 Adapter State + system.adapter.admin.0 : admin : michaeliob01 - enabled, port: 8180, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.backitup.0 : backitup : iobroker-slave - enabled + system.adapter.discovery.0 : discovery : michaeliob01 - enabled + system.adapter.ecovacs-deebot.0 : ecovacs-deebot : michaeliob01 - enabled + system.adapter.email.0 : email : michaeliob01 - enabled + system.adapter.email.1 : email : michaeliob01 - enabled + system.adapter.email.2 : email : michaeliob01 - enabled + system.adapter.enocean.0 : enocean : iobroker-slave - enabled + system.adapter.history.0 : history : michaeliob01 - enabled + system.adapter.hue.0 : hue : michaeliob01 - enabled, port: 443 + system.adapter.info.0 : info : michaeliob01 - enabled + system.adapter.javascript.0 : javascript : michaeliob01 - enabled + system.adapter.lovelace.0 : lovelace : michaeliob01 - enabled, port: 8091, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.modbus.0 : modbus : michaeliob01 - enabled + system.adapter.mqtt.0 : mqtt : michaeliob01 - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.rest-api.0 : rest-api : michaeliob01 - enabled, port: 8093, bind: 0.0.0.0, run as: admin + system.adapter.simple-api.0 : simple-api : michaeliob01 - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.socketio.0 : socketio : michaeliob01 - enabled, port: 8084, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.zwave2.0 : zwave2 : iobroker-slave - enabled + system.adapter.zwave2.1 : zwave2 : michaeliob01 - enabled + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : michaeliob01 - enabled, port: 8180, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.hue.0 : hue : michaeliob01 - enabled, port: 443 + system.adapter.lovelace.0 : lovelace : michaeliob01 - enabled, port: 8091, bind: 0.0.0.0 (SSL), run as: admin + system.adapter.mqtt.0 : mqtt : michaeliob01 - enabled, port: 1882, bind: 0.0.0.0 + system.adapter.rest-api.0 : rest-api : michaeliob01 - enabled, port: 8093, bind: 0.0.0.0, run as: admin + system.adapter.simple-api.0 : simple-api : michaeliob01 - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.socketio.0 : socketio : michaeliob01 - enabled, port: 8084, bind: 0.0.0.0 (SSL), run as: admin ioBroker-Repositories ┌─────────┬────────────────────┬─────────────────────────────────────────────────────────┬──────────────┐ │ (index) │ name │ url │ auto upgrade │ ├─────────┼────────────────────┼─────────────────────────────────────────────────────────┼──────────────┤ │ 0 │ 'Stable (default)' │ 'http://download.iobroker.net/sources-dist.json' │ false │ │ 1 │ 'Beta (latest)' │ 'http://download.iobroker.net/sources-dist-latest.json' │ false │ └─────────┴────────────────────┴─────────────────────────────────────────────────────────┴──────────────┘ Active repo(s): Stable (default) Upgrade policy: none Installed ioBroker-Instances Used repository: Stable (default) Adapter "admin" : 7.0.23 , installed 7.0.23 Adapter "discovery" : 4.5.0 , installed 4.5.0 Adapter "ecovacs-deebot": 1.4.15 , installed 1.4.15 Adapter "email" : 1.3.1 , installed 1.3.1 Adapter "history" : 3.0.1 , installed 3.0.1 Adapter "hue" : 3.12.0 , installed 3.12.0 Adapter "javascript" : 8.7.6 , installed 8.7.6 Controller "js-controller": 6.0.11 , installed 6.0.11 Adapter "lovelace" : 4.1.10 , installed 4.1.10 Adapter "modbus" : 6.2.3 , installed 6.2.3 Adapter "mqtt" : 5.2.0 , installed 5.2.0 Adapter "rest-api" : 2.0.3 , installed 2.0.3 Adapter "simple-api" : 2.8.0 , installed 2.8.0 Adapter "socketio" : 6.7.1 , installed 6.7.1 Adapter "zwave2" : 3.1.0 , installed 3.1.0 Objects and States Please stand by - This may take a while Objects: 12916 States: 11189 *** OS-Repositories and Updates *** Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease Hit:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease Hit:4 http://archive.ubuntu.com/ubuntu focal-security InRelease Hit:5 https://deb.nodesource.com/node_20.x nodistro InRelease Reading package lists... Pending Updates: 2 *** 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 0.0.0.0:1882 0.0.0.0:* LISTEN 1001 264813 46322/io.mqtt.0 tcp 0 0 0.0.0.0:52220 0.0.0.0:* LISTEN 0 27395 747/sshd: /usr/sbin tcp 0 0 127.0.0.1:33060 0.0.0.0:* LISTEN 113 31877 936/mysqld tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN 1001 263713 45913/iobroker.js-c tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN 1001 262044 45913/iobroker.js-c tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 113 31891 936/mysqld tcp 0 0 127.0.0.1:6379 0.0.0.0:* LISTEN 111 28676 787/redis-server 12 tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 0 16677 1/init tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 101 23790 626/systemd-resolve tcp6 0 0 :::8091 :::* LISTEN 1001 265128 46444/io.lovelace.0 tcp6 0 0 :::6556 :::* LISTEN 998 28171 649/cmk-agent-ctl tcp6 0 0 :::52220 :::* LISTEN 0 27397 747/sshd: /usr/sbin tcp6 0 0 :::8093 :::* LISTEN 1001 266295 46476/io.rest-api.0 tcp6 0 0 ::1:6379 :::* LISTEN 111 28677 787/redis-server 12 tcp6 0 0 :::111 :::* LISTEN 0 16685 1/init tcp6 0 0 :::4433 :::* LISTEN 0 31117 1195/node /opt/open tcp6 0 0 :::465 :::* LISTEN 0 31116 1195/node /opt/open tcp6 0 0 :::8084 :::* LISTEN 1001 267333 46595/io.socketio.0 tcp6 0 0 :::8180 :::* LISTEN 1001 264878 46333/io.admin.0 tcp6 0 0 :::8087 :::* LISTEN 1001 267284 46565/io.simple-api udp 0 0 0.0.0.0:20199 0.0.0.0:* 0 28162 - udp 0 0 127.0.0.53:53 0.0.0.0:* 101 23789 626/systemd-resolve udp 0 0 192.168.49.180:68 0.0.0.0:* 100 23757 623/systemd-network udp 0 0 0.0.0.0:111 0.0.0.0:* 0 16680 1/init udp 0 0 0.0.0.0:5353 0.0.0.0:* 112 27388 647/avahi-daemon: r udp 0 0 0.0.0.0:50777 0.0.0.0:* 112 27390 647/avahi-daemon: r udp 0 0 0.0.0.0:51850 0.0.0.0:* 0 28157 - udp6 0 0 :::20199 :::* 0 28163 - udp6 0 0 :::53233 :::* 112 27391 647/avahi-daemon: r udp6 0 0 :::111 :::* 0 16690 1/init udp6 0 0 :::5353 :::* 112 27389 647/avahi-daemon: r udp6 0 0 :::51850 :::* 0 28158 - *** Log File - Last 25 Lines *** 2024-09-04 11:28:51.838 - info: mqtt.0 (46322) Client [shellyAußenbereich] connection closed: disconnected 2024-09-04 11:29:34.724 - info: javascript.0 (46580) requesting all states 2024-09-04 11:29:34.726 - info: javascript.0 (46580) requesting all objects 2024-09-04 11:29:35.623 - info: javascript.0 (46580) received all states 2024-09-04 11:29:35.972 - info: javascript.0 (46580) received all objects 2024-09-04 11:29:40.390 - info: javascript.0 (46580) Start JavaScript script.js.Script.Alarmanlage.Alarmanlage (Javascript/js) 2024-09-04 11:29:40.541 - info: javascript.0 (46580) script.js.Script.Alarmanlage.Alarmanlage: registered 19 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2024-09-04 11:29:40.554 - info: javascript.0 (46580) Start JavaScript script.js.Script.Alarmanlage.Bewegungsmelder (Javascript/js) 2024-09-04 11:29:40.598 - info: javascript.0 (46580) script.js.Script.Alarmanlage.Bewegungsmelder: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions 2024-09-04 11:29:40.599 - info: javascript.0 (46580) Start JavaScript script.js.Script.Geraetestatus.Thermostat (Javascript/js) 2024-09-04 11:29:40.613 - info: javascript.0 (46580) script.js.Script.Geraetestatus.Thermostat: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2024-09-04 11:29:40.613 - info: javascript.0 (46580) Start JavaScript script.js.Script.Geraetestatus.changeAliveState (Javascript/js) 2024-09-04 11:29:40.618 - info: javascript.0 (46580) script.js.Script.Geraetestatus.changeAliveState: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2024-09-04 11:29:40.618 - info: javascript.0 (46580) Start JavaScript script.js.Script.Geraetestatus.changeToCelsius (Javascript/js) 2024-09-04 11:29:40.623 - info: javascript.0 (46580) script.js.Script.Geraetestatus.changeToCelsius: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2024-09-04 11:29:40.623 - info: javascript.0 (46580) Start JavaScript script.js.Script.Lovelace.Shelly (Javascript/js) 2024-09-04 11:29:40.627 - info: javascript.0 (46580) script.js.Script.Lovelace.Shelly: registered 6 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions 2024-09-04 11:29:40.636 - info: javascript.0 (46580) Watch /opt/iobroker/scripts/Script/Alarmanlage/ 2024-09-04 11:29:40.637 - info: javascript.0 (46580) Watch /opt/iobroker/scripts/Script/Geraetestatus/ 2024-09-04 11:29:40.638 - info: javascript.0 (46580) Watch /opt/iobroker/scripts/Script/Lovelace/ 2024-09-04 11:29:40.638 - info: javascript.0 (46580) Watch /opt/iobroker/scripts/Script/ 2024-09-04 11:29:40.639 - info: javascript.0 (46580) Watch /opt/iobroker/scripts/global/ 2024-09-04 11:29:40.639 - info: javascript.0 (46580) Watch /opt/iobroker/scripts/ 2024-09-04 11:30:03.060 - warn: rest-api.0 (46476) Used invalid characters: javascript.0.Kameras.AuÃenbereich changed to javascript.0.Kameras.AuÃ_enbereich 2024-09-04 11:30:03.067 - warn: rest-api.0 (46476) Object javascript.0.Kameras.AuÃ_enbereich is invalid: obj.type has to exist This will throw an error up from js-controller version 7.0.0!
-
scheint sich nach nem iob diag etc. wieder gelöst zu haben? Zumindest jetzt seit Erstellung der Reply keine Probleme mehr gehabt.
-
@tmartin sagte in [gelöst] Dauerhafter ioBroker Restart nach JS-Update:
scheint sich nach nem iob diag etc. wieder gelöst zu haben?
Das kann nicht der Grund sein,
iob diag
liest nur Dinge aus, ändert aber nichts.