NEWS
iob startet nicht mehr nach js-controller-Update
-
Platform : linux
os : linux
Architecture : x64
CPUs : 4
Speed : 2800 MHz
Model : Intel(R) Celeron(R) N5095 @ 2.00GHz
RAM : 7.5 GB
System uptime : 09:44:46
Node.js : v20.19.3
time : 1752788647397
timeOffset : -120
NPM : 10.8.2
adapters count : 570
Disk size : 40.2 GiB
Disk free : 3.5 GiB- Adaptername: js-controller
- Link zu Adapterrepository: www.github.com...
- Adapterversion: 7.0.x
- js-controller Version: 5.0.19
- Admin Version: 7.6.17
- Festplattenart: SSD
- Installationsart: Skript
- Image, Docker genutzt: Nein
- Ort, Name der Imagedatei: ...
Hallo,
ich verzeifele gerade am Upgrade des js-controllers. Grundsätzlich funktioniert die Aktualisierung mitiob upgrade self
aber das System startet nicht mehr richtig.
Im Protokoll sehe diesen Fehler:
2025-07-17 13:05:46.943 - info: javascript.0 (2878) received all states 2025-07-17 13:05:47.152 - info: javascript.0 (2878) script.js.global.piremote_irsend: compiling TypeScript source... 2025-07-17 13:05:48.769 - error: host.iob-Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker_neu/iobroker-data/objects.jsonl"! 2025-07-17 13:05:48.931 - error: host.iob instance system.adapter.js-controller.0 terminated with code 22 (NO_CONNECTION_TO_OBJ_DB) 2025-07-17 13:05:48.934 - error: host.iob uncaught exception: Cannot read properties of undefined (reading 'webInstance') 2025-07-17 13:05:48.934 - error: host.iob TypeError: Cannot read properties of undefined (reading 'webInstance')
Dieser Fehler taucht zwar auch mit der js-controller-Version 5.0.19 auf, das System läuft aber weiter.
Bei jüngeren js-controller-Versionen werden alle Instanzen beendet und iobroker startet neu.
D.h. das System hängt in einer Startschleife.Ich habe eine Multihost-Umgebung konfiguriert, dieser Host ist der Server.
Ich habe schon alles mögliche probiert den Fehler zu beheben und habe auch alle js-controller-Versionen probiert. Die Version 5.0.19 ist die letzte die läuft.
VG Andreas
-
@andisoft1 sagte in iob startet nicht mehr nach js-controller-Update:
Die Version 5.0.19 ist die letzte die läuft.
War das die Ausgangsbasis für das Upgrade?
Was spucktiob diag
aus?
-
Ausgabe auf dem laufenden System:
========== Start marking the full check here =========== ```bash Script v.2025-03-08 *** BASE SYSTEM *** Static hostname: iob Icon name: computer-laptop Chassis: laptop 💻 Operating System: Ubuntu 24.04.2 LTS Kernel: Linux 6.8.0-63-generic Architecture: x86-64 Hardware Vendor: GEEKOM Hardware Model: MiniAir 11 Firmware Version: 2.09 Firmware Date: Wed 2023-02-08 Firmware Age: 2y 5month 1w 1d OS is similar to: debian model name : Intel(R) Celeron(R) N5095 @ 2.00GHz Docker : false Virtualization : none Kernel : x86_64 Userland : 64 bit Systemuptime and Load: 00:07:58 up 10:08, 2 users, load average: 0.56, 0.91, 0.90 CPU threads: 4 *** LIFE CYCLE STATUS *** Operating System is the current Ubuntu LTS release codenamed 'noble'! *** TIME AND TIMEZONES *** Local time: Fri 2025-07-18 00:07:58 CEST Universal time: Thu 2025-07-17 22:07:58 UTC RTC time: Thu 2025-07-17 22:07:58 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': fink HOME=/home/fink GROUPS=fink adm sudo iobroker User that is running 'js-controller': js-controller is not running *** DISPLAY-SERVER SETUP *** Display-Server: false Desktop: Terminal: tty *** MEMORY *** total used free shared buff/cache available Mem: 8.1G 1.3G 4.9G 6.2M 2.3G 6.8G Swap: 13G 0B 13G Total: 21G 1.3G 18G Active iob-Instances: 1 7721 M total memory 1193 M used memory 1123 M active memory 1427 M inactive memory 4665 M free memory 349 M buffer memory 1821 M swap cache 13203 M total swap 0 M used swap 13203 M free swap *** top - Table Of Processes *** top - 00:07:59 up 10:08, 2 users, load average: 0.56, 0.91, 0.90 Tasks: 182 total, 1 running, 181 sleeping, 0 stopped, 0 zombie %Cpu(s): 3.9 us, 3.9 sy, 0.0 ni, 90.2 id, 2.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 7721.1 total, 4665.7 free, 1193.0 used, 2170.6 buff/cache MiB Swap: 13204.0 total, 13204.0 free, 0.0 used. 6528.1 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION * iobroker.service loaded failed failed ioBroker Server * minidlna.service loaded failed failed MiniDLNA lightweight DLNA/UPnP-AV server * postfix@-.service loaded failed failed Postfix Mail Transport Agent (instance -) Legend: 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. 3 loaded units listed. *** DMESG CRITICAL ERRORS *** No critical errors detected *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on tmpfs tmpfs 773M 5.6M 767M 1% /run /dev/sda5 ext4 41G 37G 1.8G 96% / tmpfs tmpfs 3.8G 0 3.8G 0% /dev/shm tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock efivarfs efivarfs 192K 45K 143K 24% /sys/firmware/efi/efivars tmpfs tmpfs 3.8G 0 3.8G 0% /tmp /dev/sda8 vfat 400M 6.2M 394M 2% /boot/efi /dev/sda6 ext4 134G 11G 117G 9% /home tmpfs tmpfs 773M 96K 773M 1% /run/user/3202 Messages concerning ext4 filesystem in dmesg: Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/sda5 ext4 rw,relatime,discard |-/snap/bare/5 /dev/loop0 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/core22/2010 /dev/loop1 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/core24/1006 /dev/loop3 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/core22/2045 /dev/loop2 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/core24/1055 /dev/loop4 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/firefox/6436 /dev/loop5 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/firefox/6495 /dev/loop6 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/gnome-42-2204/202 /dev/loop7 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/gnome-42-2204/176 /dev/loop8 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/gnome-46-2404/117 /dev/loop9 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/gnome-46-2404/90 /dev/loop10 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/gtk-common-themes/1535 /dev/loop11 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/mesa-2404/495 /dev/loop12 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/mesa-2404/887 /dev/loop13 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/mysql-workbench-community/13 /dev/loop14 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/mysql-workbench-community/15 /dev/loop15 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/snapd/24718 /dev/loop17 squashfs ro,nodev,relatime,errors=continue,threads=single |-/var/snap/firefox/common/host-hunspell /dev/sda5[/usr/share/hunspell] ext4 ro,noexec,noatime,discard |-/snap/snapd/24792 /dev/loop16 squashfs ro,nodev,relatime,errors=continue,threads=single |-/boot/efi /dev/sda8 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro `-/home /dev/sda6 ext4 rw,relatime,discard Files in neuralgic directories: /var: 14G /var/ 11G /var/lib 5.7G /var/lib/snapd 4.4G /var/lib/mysql 3.8G /var/lib/snapd/snaps Archived and active journals take up 1.7G in the file system. /opt/iobroker/backups: 3.9G /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 1.7G /opt/iobroker/iobroker-data/ 738M /opt/iobroker/iobroker-data/files 395M /opt/iobroker/iobroker-data/Instanz1 278M /opt/iobroker/iobroker-data/backup-objects 68M /opt/iobroker/iobroker-data/files/vis The five largest files in iobroker-data are: 42M /opt/iobroker/iobroker-data/objects.jsonl_20230914 41M /opt/iobroker/iobroker-data/files/material/static/js/main.c5478f66.js.map 39M /opt/iobroker/iobroker-data/objects.jsonl 35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map 33M /opt/iobroker/iobroker-data/2024-01-22_16-55_objects.jsonl USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id': No Devices found 'by-id' *** ZigBee Settings *** HINT: Your zigbee.0 COM-Port is NOT matching 'by-id'. Please check your setting: /dev/ttyACM0 Zigbee Network Settings on your coordinator/in nvbackup are: zigbee.X Extended Pan ID: *** MASKED *** Pan ID: *** MASKED *** Channel: *** MASKED *** Network Key: *** MASKED *** To unmask the settings run 'iob diag --unmask' *** NodeJS-Installation *** /usr/bin/nodejs v20.19.3 /usr/bin/node v20.19.3 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.32.0 nodejs: Installed: 20.19.3-1nodesource1 Candidate: 20.19.4-1nodesource1 Version table: 20.19.4-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages *** 20.19.3-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 20.19.2-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.19.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.19.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.18.3-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.18.2-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.18.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.18.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.17.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.16.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.15.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.15.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.14.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.2-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.10.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.9.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.7.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.4.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.2.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.1.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.0.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 18.19.1+dfsg-6ubuntu5 500 500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages Temp directories causing deletion problem: 0 No problems detected Errors in npm tree: 0 No problems detected *** ioBroker-Installation *** ioBroker Status iobroker is not running on this host. Objects type: jsonl States type: jsonl Hosts: iob iob (version: 5.0.19, hostname: iob , alive, uptime: 28012) iob-zwave iob-zwave (version: 7.0.6, hostname: iob-zwave , dead, uptime: 27278) Core adapters versions js-controller: 5.0.19 admin: 7.6.17 javascript: 8.9.2 nodejs modules from github: 1 | +-- node-milight-promise@0.3.2 (git+ssh://git@github.com/Steiger04/node-milight-promise.git#f1089feac9b7990727adf2016891029436729d33) Adapter State system.adapter.accuweather.0 : accuweather : iob - disabled system.adapter.admin.0 : admin : iob - enabled, port: 8081, bind: 0.0.0.0 system.adapter.alias-manager.0 : alias-manager : iob - enabled system.adapter.backitup.0 : backitup : iob - enabled system.adapter.chromecast.0 : chromecast : iob - enabled system.adapter.coronavirus-statistics.0 : coronavirus-statistics: iob - disabled system.adapter.daswetter.0 : daswetter : iob - enabled system.adapter.devices.0 : devices : iob - enabled system.adapter.discovery.0 : discovery : iob - enabled system.adapter.dwd.0 : dwd : iob - disabled system.adapter.echarts.0 : echarts : iob - enabled system.adapter.email.0 : email : iob - enabled system.adapter.energiefluss.0 : energiefluss : iob - enabled system.adapter.feiertage.0 : feiertage : iob - enabled system.adapter.flot.0 : flot : iob - enabled system.adapter.fullcalendar.0 : fullcalendar : iob - enabled system.adapter.ical.0 : ical : iob - enabled system.adapter.icons-material-svg.0 : icons-material-svg : iob - disabled system.adapter.icons-ultimate-png.0 : icons-ultimate-png : iob - disabled system.adapter.info.0 : info : iob - disabled system.adapter.iqontrol.0 : iqontrol : iob - disabled system.adapter.javascript.0 : javascript : iob - enabled system.adapter.javascript.1 : javascript : iob - disabled system.adapter.js-controller.0 : js-controller : iob - enabled system.adapter.lovelace.0 : lovelace : iob - disabled, port: 8091, bind: 0.0.0.0, run as: admin system.adapter.material.0 : material : iob - disabled system.adapter.midea.0 : midea : iob - enabled system.adapter.milight-smart-light.0 : milight-smart-light : iob - disabled system.adapter.milight.0 : milight : iob - enabled, port: 5987 system.adapter.mobile.0 : mobile : iob - disabled system.adapter.modbus.0 : modbus : iob - enabled system.adapter.mqtt.0 : mqtt : iob - enabled, port: 1883, bind: 0.0.0.0 system.adapter.net-tools.0 : net-tools : iob - disabled system.adapter.onkyo.0 : onkyo : iob - enabled system.adapter.openweathermap.0 : openweathermap : iob - disabled system.adapter.ping.0 : ping : iob - enabled system.adapter.proxy.0 : proxy : iob - disabled system.adapter.pvforecast.0 : pvforecast : iob - enabled system.adapter.raumfeld.0 : raumfeld : iob - disabled system.adapter.rickshaw.0 : rickshaw : iob - disabled system.adapter.sayit.0 : sayit : iob-zwave - enabled system.adapter.scenes.0 : scenes : iob - enabled system.adapter.semp.0 : semp : iob - enabled system.adapter.shelly.0 : shelly : iob - enabled, port: 1889, bind: 0.0.0.0 system.adapter.shelly.1 : shelly : iob - disabled, port: 1882, bind: 0.0.0.0 system.adapter.simple-api.0 : simple-api : iob - enabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.sma-em.0 : sma-em : iob - enabled system.adapter.socketio.0 : socketio : iob - enabled, port: 8084, bind: 0.0.0.0, run as: admin system.adapter.solarwetter.0 : solarwetter : iob - enabled system.adapter.sonoff.0 : sonoff : iob - enabled, port: 1884, bind: 0.0.0.0 system.adapter.sql.0 : sql : iob - enabled, port: 3306 system.adapter.statistics.0 : statistics : iob - enabled system.adapter.text2command.0 : text2command : iob - enabled system.adapter.upnp.0 : upnp : iob - disabled system.adapter.valuetrackerovertime.0 : valuetrackerovertime : iob - enabled system.adapter.vis-bars.0 : vis-bars : iob - disabled system.adapter.vis-canvas-gauges.0 : vis-canvas-gauges : iob - disabled system.adapter.vis-colorpicker.0 : vis-colorpicker : iob - enabled system.adapter.vis-fancyswitch.0 : vis-fancyswitch : iob - disabled system.adapter.vis-history.0 : vis-history : iob - disabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets : iob - enabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : iob - disabled system.adapter.vis-justgage.0 : vis-justgage : iob - disabled system.adapter.vis-players.0 : vis-players : iob - disabled system.adapter.vis-rgraph.0 : vis-rgraph : iob - disabled system.adapter.vis-weather.0 : vis-weather : iob - disabled system.adapter.vis.0 : vis : iob - enabled system.adapter.vuplus.0 : vuplus : iob - disabled system.adapter.web.0 : web : iob - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.webui.0 : webui : iob - enabled system.adapter.whatsapp-cmb.0 : whatsapp-cmb : iob - enabled system.adapter.wled.0 : wled : iob - enabled system.adapter.worx.0 : worx : iob - enabled system.adapter.ws.0 : ws : iob - enabled, port: 8084, bind: 0.0.0.0, run as: admin system.adapter.zigbee.0 : zigbee : iob-zwave - enabled, port: /dev/ttyACM0 system.adapter.zwave2.0 : zwave2 : iob-zwave - enabled + instance is alive Enabled adapters with bindings system.adapter.admin.0 : admin : iob - enabled, port: 8081, bind: 0.0.0.0 system.adapter.milight.0 : milight : iob - enabled, port: 5987 system.adapter.mqtt.0 : mqtt : iob - enabled, port: 1883, bind: 0.0.0.0 system.adapter.shelly.0 : shelly : iob - enabled, port: 1889, bind: 0.0.0.0 system.adapter.simple-api.0 : simple-api : iob - enabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.socketio.0 : socketio : iob - enabled, port: 8084, bind: 0.0.0.0, run as: admin system.adapter.sonoff.0 : sonoff : iob - enabled, port: 1884, bind: 0.0.0.0 system.adapter.sql.0 : sql : iob - enabled, port: 3306 system.adapter.web.0 : web : iob - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.ws.0 : ws : iob - enabled, port: 8084, bind: 0.0.0.0, run as: admin system.adapter.zigbee.0 : zigbee : iob-zwave - enabled, port: /dev/ttyACM0 ioBroker-Repositories stable : http://download.iobroker.net/sources-dist.json beta : http://download.iobroker.net/sources-dist-latest.json Active repo(s): stable Installed ioBroker-Adapters
-
@andisoft1 sagte in iob startet nicht mehr nach js-controller-Update:
Core adapters versions
js-controller: 5.0.19Bring das Etappenweise über js-controller@6 auf den aktuellen js-controller.
Und regelmäßiger updaten...Die Ausgabe von iob diag ist nicht vollständig.
-
Ausgabe nach der Installation von js-controller 7.0.6
========== Start marking the full check here ===========
Script v.2025-03-08 *** BASE SYSTEM *** Static hostname: iob Icon name: computer-laptop Chassis: laptop 💻 Operating System: Ubuntu 24.04.2 LTS Kernel: Linux 6.8.0-63-generic Architecture: x86-64 Hardware Vendor: GEEKOM Hardware Model: MiniAir 11 Firmware Version: 2.09 Firmware Date: Wed 2023-02-08 Firmware Age: 2y 5month 1w 1d OS is similar to: debian model name : Intel(R) Celeron(R) N5095 @ 2.00GHz Docker : false Virtualization : none Kernel : x86_64 Userland : 64 bit Systemuptime and Load: 00:12:58 up 10:13, 2 users, load average: 0.26, 0.49, 0.71 CPU threads: 4 *** LIFE CYCLE STATUS *** Operating System is the current Ubuntu LTS release codenamed 'noble'! *** TIME AND TIMEZONES *** Local time: Fri 2025-07-18 00:12:59 CEST Universal time: Thu 2025-07-17 22:12:59 UTC RTC time: Thu 2025-07-17 22:12:59 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': fink HOME=/home/fink GROUPS=fink adm sudo iobroker User that is running 'js-controller': js-controller is not running *** DISPLAY-SERVER SETUP *** Display-Server: false Desktop: Terminal: tty *** MEMORY *** total used free shared buff/cache available Mem: 8.1G 1.3G 4.9G 6.1M 2.3G 6.8G Swap: 13G 0B 13G Total: 21G 1.3G 18G Active iob-Instances: 1 7721 M total memory 1209 M used memory 1120 M active memory 1433 M inactive memory 4641 M free memory 350 M buffer memory 1827 M swap cache 13203 M total swap 0 M used swap 13203 M free swap *** top - Table Of Processes *** top - 00:12:59 up 10:13, 2 users, load average: 0.26, 0.49, 0.71 Tasks: 181 total, 1 running, 180 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.2 us, 4.4 sy, 0.0 ni, 93.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st MiB Mem : 7721.1 total, 4641.0 free, 1209.6 used, 2178.7 buff/cache MiB Swap: 13204.0 total, 13204.0 free, 0.0 used. 6511.5 avail Mem *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION * iobroker.service loaded failed failed ioBroker Server * minidlna.service loaded failed failed MiniDLNA lightweight DLNA/UPnP-AV server * postfix@-.service loaded failed failed Postfix Mail Transport Agent (instance -) Legend: 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. 3 loaded units listed. *** DMESG CRITICAL ERRORS *** No critical errors detected *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on tmpfs tmpfs 773M 5.6M 767M 1% /run /dev/sda5 ext4 41G 37G 1.8G 96% / tmpfs tmpfs 3.8G 0 3.8G 0% /dev/shm tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock efivarfs efivarfs 192K 45K 143K 24% /sys/firmware/efi/efivars tmpfs tmpfs 3.8G 0 3.8G 0% /tmp /dev/sda8 vfat 400M 6.2M 394M 2% /boot/efi /dev/sda6 ext4 134G 11G 117G 9% /home tmpfs tmpfs 773M 96K 773M 1% /run/user/3202 Messages concerning ext4 filesystem in dmesg: Show mounted filesystems: TARGET SOURCE FSTYPE OPTIONS / /dev/sda5 ext4 rw,relatime,discard |-/snap/bare/5 /dev/loop0 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/core22/2010 /dev/loop1 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/core24/1006 /dev/loop3 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/core22/2045 /dev/loop2 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/core24/1055 /dev/loop4 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/firefox/6436 /dev/loop5 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/firefox/6495 /dev/loop6 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/gnome-42-2204/202 /dev/loop7 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/gnome-42-2204/176 /dev/loop8 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/gnome-46-2404/117 /dev/loop9 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/gnome-46-2404/90 /dev/loop10 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/gtk-common-themes/1535 /dev/loop11 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/mesa-2404/495 /dev/loop12 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/mesa-2404/887 /dev/loop13 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/mysql-workbench-community/13 /dev/loop14 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/mysql-workbench-community/15 /dev/loop15 squashfs ro,nodev,relatime,errors=continue,threads=single |-/snap/snapd/24718 /dev/loop17 squashfs ro,nodev,relatime,errors=continue,threads=single |-/var/snap/firefox/common/host-hunspell /dev/sda5[/usr/share/hunspell] ext4 ro,noexec,noatime,discard |-/snap/snapd/24792 /dev/loop16 squashfs ro,nodev,relatime,errors=continue,threads=single |-/boot/efi /dev/sda8 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro `-/home /dev/sda6 ext4 rw,relatime,discard Files in neuralgic directories: /var: 14G /var/ 11G /var/lib 5.7G /var/lib/snapd 4.4G /var/lib/mysql 3.8G /var/lib/snapd/snaps Archived and active journals take up 1.7G in the file system. /opt/iobroker/backups: 3.9G /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 1.7G /opt/iobroker/iobroker-data/ 738M /opt/iobroker/iobroker-data/files 395M /opt/iobroker/iobroker-data/Instanz1 278M /opt/iobroker/iobroker-data/backup-objects 68M /opt/iobroker/iobroker-data/files/vis The five largest files in iobroker-data are: 42M /opt/iobroker/iobroker-data/objects.jsonl_20230914 41M /opt/iobroker/iobroker-data/files/material/static/js/main.c5478f66.js.map 39M /opt/iobroker/iobroker-data/objects.jsonl 35M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.24f2bb56.js.map 33M /opt/iobroker/iobroker-data/2024-01-22_16-55_objects.jsonl USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/tty* in your adapter setups, please always prefer the links 'by-id': No Devices found 'by-id' *** ZigBee Settings *** HINT: Your zigbee.0 COM-Port is NOT matching 'by-id'. Please check your setting: /dev/ttyACM0 Zigbee Network Settings on your coordinator/in nvbackup are: zigbee.X Extended Pan ID: *** MASKED *** Pan ID: *** MASKED *** Channel: *** MASKED *** Network Key: *** MASKED *** To unmask the settings run 'iob diag --unmask' *** NodeJS-Installation *** /usr/bin/nodejs v20.19.3 /usr/bin/node v20.19.3 /usr/bin/npm 10.8.2 /usr/bin/npx 10.8.2 /usr/bin/corepack 0.32.0 nodejs: Installed: 20.19.3-1nodesource1 Candidate: 20.19.4-1nodesource1 Version table: 20.19.4-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages *** 20.19.3-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 20.19.2-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.19.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.19.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.18.3-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.18.2-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.18.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.18.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.17.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.16.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.15.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.15.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.14.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.13.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.2-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.12.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.11.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.10.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.9.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.8.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.7.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.6.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.5.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.4.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.1-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.3.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.2.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.1.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 20.0.0-1nodesource1 600 500 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages 18.19.1+dfsg-6ubuntu5 500 500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages Temp directories causing deletion problem: 0 No problems detected Errors in npm tree: 0 No problems detected *** ioBroker-Installation *** ioBroker Status iobroker is not running on this host. Objects type: jsonl States type: jsonl Hosts: iob iob (version: 5.0.19, hostname: iob , alive, uptime: 28012) iob-zwave iob-zwave (version: 7.0.6, hostname: iob-zwave , dead, uptime: 27278) Core adapters versions js-controller: 7.0.6 admin: 7.6.17 javascript: 8.9.2 nodejs modules from github: 1 | +-- node-milight-promise@0.3.2 (git+ssh://git@github.com/Steiger04/node-milight-promise.git#f1089feac9b7990727adf2016891029436729d33) Adapter State system.adapter.accuweather.0 : accuweather : iob - disabled system.adapter.admin.0 : admin : iob - enabled, port: 8081, bind: 0.0.0.0 system.adapter.alias-manager.0 : alias-manager : iob - enabled system.adapter.backitup.0 : backitup : iob - enabled system.adapter.chromecast.0 : chromecast : iob - enabled system.adapter.coronavirus-statistics.0 : coronavirus-statistics: iob - disabled system.adapter.daswetter.0 : daswetter : iob - enabled system.adapter.devices.0 : devices : iob - enabled system.adapter.discovery.0 : discovery : iob - enabled system.adapter.dwd.0 : dwd : iob - disabled system.adapter.echarts.0 : echarts : iob - enabled system.adapter.email.0 : email : iob - enabled system.adapter.energiefluss.0 : energiefluss : iob - enabled system.adapter.feiertage.0 : feiertage : iob - enabled system.adapter.flot.0 : flot : iob - enabled system.adapter.fullcalendar.0 : fullcalendar : iob - enabled system.adapter.ical.0 : ical : iob - enabled system.adapter.icons-material-svg.0 : icons-material-svg : iob - disabled system.adapter.icons-ultimate-png.0 : icons-ultimate-png : iob - disabled system.adapter.info.0 : info : iob - disabled system.adapter.iqontrol.0 : iqontrol : iob - disabled system.adapter.javascript.0 : javascript : iob - enabled system.adapter.javascript.1 : javascript : iob - disabled system.adapter.js-controller.0 : js-controller : iob - enabled system.adapter.lovelace.0 : lovelace : iob - disabled, port: 8091, bind: 0.0.0.0, run as: admin system.adapter.material.0 : material : iob - disabled system.adapter.midea.0 : midea : iob - enabled system.adapter.milight-smart-light.0 : milight-smart-light : iob - disabled system.adapter.milight.0 : milight : iob - enabled, port: 5987 system.adapter.mobile.0 : mobile : iob - disabled system.adapter.modbus.0 : modbus : iob - enabled system.adapter.mqtt.0 : mqtt : iob - enabled, port: 1883, bind: 0.0.0.0 system.adapter.net-tools.0 : net-tools : iob - disabled system.adapter.onkyo.0 : onkyo : iob - enabled system.adapter.openweathermap.0 : openweathermap : iob - disabled system.adapter.ping.0 : ping : iob - enabled system.adapter.proxy.0 : proxy : iob - disabled system.adapter.pvforecast.0 : pvforecast : iob - enabled system.adapter.raumfeld.0 : raumfeld : iob - disabled system.adapter.rickshaw.0 : rickshaw : iob - disabled system.adapter.sayit.0 : sayit : iob-zwave - enabled system.adapter.scenes.0 : scenes : iob - enabled system.adapter.semp.0 : semp : iob - enabled system.adapter.shelly.0 : shelly : iob - enabled, port: 1889, bind: 0.0.0.0 system.adapter.shelly.1 : shelly : iob - disabled, port: 1882, bind: 0.0.0.0 system.adapter.simple-api.0 : simple-api : iob - enabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.sma-em.0 : sma-em : iob - enabled system.adapter.socketio.0 : socketio : iob - enabled, port: 8084, bind: 0.0.0.0, run as: admin system.adapter.solarwetter.0 : solarwetter : iob - enabled system.adapter.sonoff.0 : sonoff : iob - enabled, port: 1884, bind: 0.0.0.0 system.adapter.sql.0 : sql : iob - enabled, port: 3306 system.adapter.statistics.0 : statistics : iob - enabled system.adapter.text2command.0 : text2command : iob - enabled system.adapter.upnp.0 : upnp : iob - disabled system.adapter.valuetrackerovertime.0 : valuetrackerovertime : iob - enabled system.adapter.vis-bars.0 : vis-bars : iob - disabled system.adapter.vis-canvas-gauges.0 : vis-canvas-gauges : iob - disabled system.adapter.vis-colorpicker.0 : vis-colorpicker : iob - enabled system.adapter.vis-fancyswitch.0 : vis-fancyswitch : iob - disabled system.adapter.vis-history.0 : vis-history : iob - disabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets : iob - enabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : iob - disabled system.adapter.vis-justgage.0 : vis-justgage : iob - disabled system.adapter.vis-players.0 : vis-players : iob - disabled system.adapter.vis-rgraph.0 : vis-rgraph : iob - disabled system.adapter.vis-weather.0 : vis-weather : iob - disabled system.adapter.vis.0 : vis : iob - enabled system.adapter.vuplus.0 : vuplus : iob - disabled system.adapter.web.0 : web : iob - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.webui.0 : webui : iob - enabled system.adapter.whatsapp-cmb.0 : whatsapp-cmb : iob - enabled system.adapter.wled.0 : wled : iob - enabled system.adapter.worx.0 : worx : iob - enabled system.adapter.ws.0 : ws : iob - enabled, port: 8084, bind: 0.0.0.0, run as: admin system.adapter.zigbee.0 : zigbee : iob-zwave - enabled, port: /dev/ttyACM0 system.adapter.zwave2.0 : zwave2 : iob-zwave - enabled + instance is alive Enabled adapters with bindings system.adapter.admin.0 : admin : iob - enabled, port: 8081, bind: 0.0.0.0 system.adapter.milight.0 : milight : iob - enabled, port: 5987 system.adapter.mqtt.0 : mqtt : iob - enabled, port: 1883, bind: 0.0.0.0 system.adapter.shelly.0 : shelly : iob - enabled, port: 1889, bind: 0.0.0.0 system.adapter.simple-api.0 : simple-api : iob - enabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.socketio.0 : socketio : iob - enabled, port: 8084, bind: 0.0.0.0, run as: admin system.adapter.sonoff.0 : sonoff : iob - enabled, port: 1884, bind: 0.0.0.0 system.adapter.sql.0 : sql : iob - enabled, port: 3306 system.adapter.web.0 : web : iob - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.ws.0 : ws : iob - enabled, port: 8084, bind: 0.0.0.0, run as: admin system.adapter.zigbee.0 : zigbee : iob-zwave - enabled, port: /dev/ttyACM0 ioBroker-Repositories ┌─────────┬──────────┬─────────────────────────────────────────────────────────┬──────────────┐ │ (index) │ name │ url │ auto upgrade │ ├─────────┼──────────┼─────────────────────────────────────────────────────────┼──────────────┤ │ 0 │ 'stable' │ 'http://download.iobroker.net/sources-dist.json' │ false │ │ 1 │ 'beta' │ 'http://download.iobroker.net/sources-dist-latest.json' │ false │ └─────────┴──────────┴─────────────────────────────────────────────────────────┴──────────────┘ Active repo(s): stable Upgrade policy: none Installed ioBroker-Adapters
-
@andisoft1 sagte in iob startet nicht mehr nach js-controller-Update:
Hosts: iob iob (version: 5.0.19, hostname: iob , alive, uptime: 28012) iob-zwave iob-zwave (version: 7.0.6, hostname: iob-zwave , dead, uptime: 27278) Core adapters versions js-controller: 7.0.6
Kann ja eigentlich nicht sein.
-
@thomas-braun Was meinst Du, die unterschiedlichen Versionen auf den Hosts ?
-
Ja. Der host 'iob' wird mit 5.0.19 angezeigt, danach wird in der gleichen Installation 7.0.6 aufgeführt.
-
Hier das Protokoll an dem die Instanzen wieder gestoppt werden:
2025-07-18 00:17:15.976 - info: javascript.0 (179504) received all objects 2025-07-18 00:17:16.340 - info: host.iob iobroker.js-controller version 7.0.6 js-controller starting 2025-07-18 00:17:16.342 - info: host.iob Copyright (c) 2014-2024 bluefox, 2014 hobbyquaker 2025-07-18 00:17:16.343 - info: host.iob hostname: iob, node: v20.19.3 2025-07-18 00:17:16.343 - info: host.iob ip addresses: 192.168.1.124 fd07:3d39:28eb:0:f3eb:853d:4127:46b2 fd07:3d39:28eb:0:2cc6:17a8:6f35:58ec 2a02:8071:50f3:4660:86d9:c2c4:dbf9:d337 2a02:8071:50f3:4660:ecfe:71c9:4f5f:5f9b fe80::164:48db:5aca:446d 192.168.1.123 2a02:8071:50f3:4660:bc46:e41e:ba72:e08a 2a02:8071:50f3:4660:9ed3:2f47:9a8f:5780 fd07:3d39:28eb:0:5702:4b04:c945:7bb6 fd07:3d39:28eb:0:5517:5fe1:5cd7:ca0e fe80::470c:a2b2:79ef:a0b4 2025-07-18 00:17:16.682 - info: javascript.0 (179504) received all states 2025-07-18 00:17:16.953 - info: javascript.0 (179504) script.js.global.piremote_irsend: compiling TypeScript source... 2025-07-18 00:17:18.411 - error: host.iob-Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker_neu/iobroker-data/objects.jsonl"! 2025-07-18 00:17:18.558 - error: host.iob instance system.adapter.js-controller.0 terminated with code 22 (NO_CONNECTION_TO_OBJ_DB) 2025-07-18 00:17:18.561 - error: host.iob uncaught exception: Cannot read properties of undefined (reading 'webInstance') 2025-07-18 00:17:18.561 - error: host.iob TypeError: Cannot read properties of undefined (reading 'webInstance') at file:///opt/iobroker_neu/node_modules/iobroker.js-controller/build/esm/main.js:3533:53 at Immediate.<anonymous> (file:///opt/iobroker_neu/node_modules/iobroker.js-controller/build/esm/main.js:1041:31) at process.processImmediate (node:internal/timers:485:21) 2025-07-18 00:17:18.562 - info: host.iob stopInstance system.adapter.admin.0 (force=false, process=true) 2025-07-18 00:17:18.563 - info: host.iob stopInstance system.adapter.email.0 (force=false, process=true) 2025-07-18 00:17:18.563 - info: host.iob stopInstance system.adapter.javascript.0 (force=false, process=true) 2025-07-18 00:17:18.563 - info: host.iob stopInstance system.adapter.javascript.1 (force=false, process=false) 2025-07-18 00:17:18.563 - info: host.iob stopInstance system.adapter.js-controller.0 (force=false, process=false)
Es ist auch egal ob die Instanz auf dem iob-zwave-Server läuft oder nicht ...
-
@thomas-braun Ich habe alle Versionen ausprobiert, auch die 6er. Ich kämpfe schon länger mit den Upgrade, bisher habe ich alles selbst hinbekommen. Ich habe nur keine Lust alles neu zu installieren, da steckt ja schon einiges drin.
-
Wie kommt es denn zu diesem Installationsverzeichnis?
/opt/iobroker_neu/
Üblich ist /opt/iobroker. Da hast du zwei Installationen laufen, eine in /opt/iobroker und eine in /opt/iobroker_neuKann ich dir nicht helfen, hab ich noch nie mit zu tun gehabt.