NEWS
Upgrade: npm ERR! Cannot convert undefined or null to object
-
Systemdata Bitte Ausfüllen Hardwaresystem: Intel NUC / Proxmox Arbeitsspeicher: 4GB Festplattenart: SSD Betriebssystem: Ubuntu Node-Version: 18.17.1 Nodejs-Version: 18.17.1 NPM-Version: 9.6.7 Installationsart: Skript Image genutzt: weiß nicht mehr Ort/Name der Imagedatei: - Hallo zusammen,
ich wollte eben mein IOBroker und dessen Adapter mal wieder auf Vordermann bringen, leider ohne Erfolg.
Ich kann weder die Adapter, noch den js.controller aktualisieren. Interessanterweise bekomme ich nur eine Fehlermeldung, wenn ich per Konsole und --debug upgraden will ( "npm ERR! Cannot convert undefined or null to object") ansonsten läuft das Upgrade durch, allerdings ohne Erfolg, bzw. mit derselben Version wie vorher.
Was hab ich da falsch gemacht?Btw: beim Ausfüllen der Sysinfo ist mir aufgefallen, das im Terminal die Versionen 18.17.1 / 9.6.7 angezeigt werden, auf der Info Seite im IOB allerdings
18.16.1 / 9.5.1 (sieht aus, als wäre da schon was nicht ganz i.O. )Viele Grüße
Marco -
iob stop iob fix iob start iob diag
nodejs/npm dann damit auf Stand bringen:
https://forum.iobroker.net/topic/69068/neuer-befehl-iob-nodejs-update
-
@thomas-braun
Danke für die schnelle Antwort. Ich habe natürlich vorhin vergessen, was ich schon alles versucht habe . Unter anderem auch deinen neuen "iob nodejs-update" mit folgender Ausgabe:ioBroker nodejs fixer 2023-10-13 Recommended nodejs-version is: 16.20.2 Checking your installation now. Please be patient! Your current setup is: /usr/bin/nodejs v18.17.1 /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 /usr/bin/corepack 0.18.0 We found these nodejs versions available for installation: nodejs: Installed: 18.17.1-deb-1nodesource1 Candidate: 18.17.1-deb-1nodesource1 Version table: *** 18.17.1-deb-1nodesource1 500 500 https://deb.nodesource.com/node_18.x bullseye/main amd64 Packages 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u4 500 500 http://deb.debian.org/debian bullseye/main amd64 Packages 500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages Nothing to do - Your installation is using the correct paths. You are running nodejs v18.17.1. Do you want to install recommended version 16.20.2? Press <y> to continue or any other key to quit
Einzig über die vorgeschlagene nodejs version hatte ich mich ein wenig gewundert. Soll ich hier downgraden?
-
Ja, versuch mal. Der setzt dich zumindest auf die richtige Schiene.
Oder ruf das Kommando mittelsiob nodejs-update 18
auf.
-
@marcoh sagte in Upgrade: npm ERR! Cannot convert undefined or null to object:
ich wollte eben mein IOBroker und dessen Adapter mal wieder auf Vordermann bringen,
Wie lange ist denn das letzte Update/Upgrade her?
-
@thomas-braun
Gute frage, das System selbst ist aktuell, "nur" iobroker und die Adapter hatte ich etwas vernachlässigt (never change a running system , admin version ist 6.3.5 ).Zu deinen Tipps:
ich habe zunächst mit iob nodejs-update 18 aktualisiert. Das lief durch, hat aber am Problem nichts geändert. Ein downgrade auf 16 lief zwar, allerdings hatte ich am Ende immer noch die 18.18. drauf.Hier die summary von iob diag:
======================= SUMMARY ======================= v.2023-10-10 Static hostname: IOBroker Icon name: computer-vm Chassis: vm Virtualization: kvm Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 5.10.0-26-amd64 Architecture: x86-64 Installation: kvm Kernel: x86_64 Userland: amd64 Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: true Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 39 Nodejs-Installation: /usr/bin/nodejs v18.18.2 /usr/bin/node v18.18.2 /usr/bin/npm 9.8.1 /usr/bin/npx 9.8.1 /usr/bin/corepack 0.19.0 Recommended versions are nodejs 16.20.2 and npm 8.19.4 Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.9G 2.5G 558M 4.0M 887M 1.2G Swap: 4.1G 0B 4.1G Total: 8.0G 2.5G 4.7G Active iob-Instances: 30 Active repo(s): stable ioBroker Core: js-controller 4.0.24 admin 6.3.5 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : IOBroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : IOBroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 10495 States: 10700 Size of iob-Database: 18M /opt/iobroker/iobroker-data/objects.jsonl 14M /opt/iobroker/iobroker-data/objects.json.migrated 14M /opt/iobroker/iobroker-data/objects.json.bak.migrated 12M /opt/iobroker/iobroker-data/states.jsonl 4.5M /opt/iobroker/iobroker-data/states.json.migrated 4.5M /opt/iobroker/iobroker-data/states.json.bak.migrated =================== END OF SUMMARY ====================
-
@marcoh sagte in Upgrade: npm ERR! Cannot convert undefined or null to object:
never change a running system
Eigentlich hatte ich mir geschworen, in Threads wo der Blödsinn verzapft wird gar nicht mehr zu antworten...
-
Die Langfassung von dem 'näwah getschängten Süstäm'.
-
@marcoh sagte in Upgrade: npm ERR! Cannot convert undefined or null to object:
X-Server: true
Boot Target: graphical.targetKannste auch gleich ausschalten. Wird auf Servern nicht verwendet.
-
Hallo Thomas,
hier die ausgabe von iob diag:
Skript v.2023-10-10 *** BASE SYSTEM *** Static hostname: IOBroker Icon name: computer-vm Chassis: vm Virtualization: kvm Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 5.10.0-26-amd64 Architecture: x86-64 model name : Common KVM processor Docker : false Virtualization : kvm Kernel : x86_64 Userland : amd64 Systemuptime and Load: 09:39:49 up 54 min, 1 user, load average: 1.06, 0.95, 0.85 CPU threads: 4 *** Time and Time Zones *** Local time: Tue 2023-10-17 09:39:49 CEST Universal time: Tue 2023-10-17 07:39:49 UTC RTC time: Tue 2023-10-17 07:39:50 Time zone: Europe/Berlin (CEST, +0200) System clock synchronized: yes NTP service: active RTC in local TZ: no *** User and Groups *** marco /home/marco marco cdrom floppy sudo audio dip video plugdev netdev scanner iobroker *** X-Server-Setup *** X-Server: false Desktop: Terminal: tty Boot Target: multi-user.target *** MEMORY *** total used free shared buff/cache available Mem: 3.9G 2.6G 348M 0.0K 954M 1.0G Swap: 4.1G 0B 4.1G Total: 8.0G 2.6G 4.4G 3919 M total memory 2616 M used memory 455 M active memory 2825 M inactive memory 348 M free memory 160 M buffer memory 794 M swap cache 4093 M total swap 0 M used swap 4093 M free swap *** FAILED SERVICES *** UNIT LOAD ACTIVE SUB DESCRIPTION 0 loaded units listed. *** FILESYSTEM *** Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 1.9G 0 1.9G 0% /dev tmpfs tmpfs 392M 836K 392M 1% /run /dev/vda1 ext4 28G 11G 16G 41% / tmpfs tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs tmpfs 392M 36K 392M 1% /run/user/1000 Messages concerning ext4 filesystem in dmesg: [Tue Oct 17 08:45:36 2023] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null) [Tue Oct 17 08:45:37 2023] EXT4-fs (vda1): re-mounted. Opts: errors=remount-ro Show mounted filesystems \(real ones only\): TARGET SOURCE FSTYPE OPTIONS / /dev/vda1 ext4 rw,relatime,errors=remount-ro Files in neuralgic directories: /var: 1.3G /var/ 952M /var/cache 935M /var/cache/apt 864M /var/cache/apt/archives 163M /var/log 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 24.0M in the file system. /opt/iobroker/backups: 1.6G /opt/iobroker/backups/ /opt/iobroker/iobroker-data: 1.3G /opt/iobroker/iobroker-data/ 512M /opt/iobroker/iobroker-data/files 503M /opt/iobroker/iobroker-data/history 185M /opt/iobroker/iobroker-data/backup-objects 85M /opt/iobroker/iobroker-data/files/echarts.admin The five largest files in iobroker-data are: 33M /opt/iobroker/iobroker-data/files/devices.admin/static/js/main.10538062.js.map 27M /opt/iobroker/iobroker-data/objects.jsonl 23M /opt/iobroker/iobroker-data/files/echarts/static/js/main.a5779c98.js.map 23M /opt/iobroker/iobroker-data/files/echarts.admin/chart/static/js/main.a5779c98.js.map 22M /opt/iobroker/iobroker-data/files/echarts.admin/static/js/main.073332eb.js.map USB-Devices by-id: USB-Sticks - Avoid direct links to /dev/* in your adapter setups, please always prefer the links 'by-id': find: '/dev/serial/by-id/': No such file or directory *** NodeJS-Installation *** /usr/bin/nodejs v18.18.2 /usr/bin/node v18.18.2 /usr/bin/npm 9.8.1 /usr/bin/npx 9.8.1 /usr/bin/corepack 0.19.0 nodejs: Installed: 18.18.2-1nodesource1 Candidate: 18.18.2-1nodesource1 Version table: *** 18.18.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 100 /var/lib/dpkg/status 18.18.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.18.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.17.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.17.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.16.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.16.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.15.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.14.2-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.14.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.14.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.13.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.12.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.11.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.10.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.9.1-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.9.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.8.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.7.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.6.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.5.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.4.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.3.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.2.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.1.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 18.0.0-1nodesource1 1001 500 https://deb.nodesource.com/node_18.x nodistro/main amd64 Packages 12.22.12~dfsg-1~deb11u4 500 500 http://deb.debian.org/debian bullseye/main amd64 Packages 500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages Temp directories causing npm8 problem: 0 No problems detected Errors in npm tree: npm ERR! code ELSPROBLEMS npm ERR! extraneous: @apollon/frankjoke-myadapter@1.2.5 /opt/iobroker/node_modules/@apollon/frankjoke-myadapter npm ERR! extraneous: @node-red/editor-api@0.20.8 /opt/iobroker/node_modules/@node-red/editor-api npm ERR! extraneous: @node-red/editor-client@0.20.8 /opt/iobroker/node_modules/@node-red/editor-client npm ERR! extraneous: @node-red/nodes@0.20.8 /opt/iobroker/node_modules/@node-red/nodes npm ERR! extraneous: @node-red/registry@0.20.8 /opt/iobroker/node_modules/@node-red/registry npm ERR! extraneous: @node-red/runtime@0.20.8 /opt/iobroker/node_modules/@node-red/runtime npm ERR! extraneous: @node-red/util@0.20.8 /opt/iobroker/node_modules/@node-red/util npm ERR! extraneous: alexa-cookie2@2.1.0 /opt/iobroker/node_modules/alexa-cookie2 npm ERR! extraneous: alexa-remote2@2.3.4 /opt/iobroker/node_modules/alexa-remote2 npm ERR! extraneous: areq@0.2.0 /opt/iobroker/node_modules/areq npm ERR! extraneous: arr-diff@4.0.0 /opt/iobroker/node_modules/arr-diff npm ERR! extraneous: arr-flatten@1.1.0 /opt/iobroker/node_modules/arr-flatten npm ERR! extraneous: arr-union@3.1.0 /opt/iobroker/node_modules/arr-union npm ERR! extraneous: array-ext@0.1.5 /opt/iobroker/node_modules/array-ext npm ERR! extraneous: array-unique@0.3.2 /opt/iobroker/node_modules/array-unique npm ERR! extraneous: assertion-error@1.1.0 /opt/iobroker/node_modules/assertion-error npm ERR! extraneous: assign-symbols@1.0.0 /opt/iobroker/node_modules/assign-symbols npm ERR! extraneous: atob@2.1.2 /opt/iobroker/node_modules/atob npm ERR! extraneous: aws-sdk@2.485.0 /opt/iobroker/node_modules/aws-sdk npm ERR! extraneous: base@0.11.2 /opt/iobroker/node_modules/base npm ERR! extraneous: binary-search-tree@0.2.5 /opt/iobroker/node_modules/binary-search-tree npm ERR! extraneous: braces@2.3.2 /opt/iobroker/node_modules/braces npm ERR! extraneous: bson@1.1.1 /opt/iobroker/node_modules/bson npm ERR! extraneous: busyman@0.3.0 /opt/iobroker/node_modules/busyman npm ERR! extraneous: cache-base@1.0.1 /opt/iobroker/node_modules/cache-base npm ERR! extraneous: callback-stream@1.1.0 /opt/iobroker/node_modules/callback-stream npm ERR! extraneous: chai@4.2.0 /opt/iobroker/node_modules/chai npm ERR! extraneous: check-error@1.0.2 /opt/iobroker/node_modules/check-error
jetzt kommen noch jede Menge npm ERR! (musste kürzen, sonst konnte ich nicht posten da mehr als 100000Zeichen)
und hier der Rest:
Adapter State + system.adapter.admin.0 : admin : IOBroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.alexa2.0 : alexa2 : IOBroker - enabled + system.adapter.backitup.0 : backitup : IOBroker - enabled + system.adapter.broadlink2.0 : broadlink2 : IOBroker - enabled + system.adapter.device-reminder.0 : device-reminder : IOBroker - enabled system.adapter.devices.0 : devices : IOBroker - enabled system.adapter.discovery.0 : discovery : IOBroker - disabled system.adapter.flot.0 : flot : IOBroker - enabled system.adapter.fritzdect.0 : fritzdect : IOBroker - disabled system.adapter.history.0 : history : IOBroker - disabled system.adapter.ical.0 : ical : IOBroker - enabled system.adapter.icons-mfd-png.0 : icons-mfd-png : IOBroker - enabled system.adapter.icons-ultimate-png.0 : icons-ultimate-png : IOBroker - enabled + system.adapter.influxdb.0 : influxdb : IOBroker - enabled, port: 8086 + system.adapter.info.0 : info : IOBroker - enabled + system.adapter.javascript.0 : javascript : IOBroker - enabled + system.adapter.linkeddevices.0 : linkeddevices : IOBroker - enabled + system.adapter.logparser.0 : logparser : IOBroker - enabled + system.adapter.lovelace.0 : lovelace : IOBroker - enabled, port: 8091, bind: 0.0.0.0, run as: admin + system.adapter.meross.0 : meross : IOBroker - enabled + system.adapter.modbus.0 : modbus : IOBroker - enabled + system.adapter.modbus.1 : modbus : IOBroker - enabled + system.adapter.mqtt.0 : mqtt : IOBroker - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.node-red.0 : node-red : IOBroker - enabled, port: 1880, bind: 0.0.0.0 system.adapter.octoprint.0 : octoprint : IOBroker - disabled + system.adapter.pi-hole.0 : pi-hole : IOBroker - enabled + system.adapter.ping.0 : ping : IOBroker - enabled + system.adapter.pvforecast.0 : pvforecast : IOBroker - enabled system.adapter.radar2.0 : radar2 : IOBroker - disabled system.adapter.rickshaw.0 : rickshaw : IOBroker - enabled system.adapter.scenes.0 : scenes : IOBroker - disabled system.adapter.schoolfree.0 : schoolfree : IOBroker - enabled + system.adapter.senec.0 : senec : IOBroker - enabled + system.adapter.shuttercontrol.0 : shuttercontrol : IOBroker - enabled + system.adapter.simple-api.0 : simple-api : IOBroker - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.sonoff.0 : sonoff : IOBroker - enabled, port: 1886, bind: 0.0.0.0 system.adapter.sony-bravia.0 : sony-bravia : IOBroker - disabled system.adapter.sourceanalytix.0 : sourceanalytix : IOBroker - disabled system.adapter.sql.0 : sql : IOBroker - disabled, port: 0 system.adapter.statistics.0 : statistics : IOBroker - disabled + system.adapter.telegram.0 : telegram : IOBroker - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.telegram.1 : telegram : IOBroker - enabled, port: 8443, bind: 0.0.0.0 system.adapter.text2command.0 : text2command : IOBroker - disabled + system.adapter.tr-064.1 : tr-064 : IOBroker - enabled + system.adapter.trashschedule.0 : trashschedule : IOBroker - enabled system.adapter.vis-bars.0 : vis-bars : IOBroker - enabled system.adapter.vis-fancyswitch.0 : vis-fancyswitch : IOBroker - enabled system.adapter.vis-history.0 : vis-history : IOBroker - enabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : IOBroker - enabled system.adapter.vis-justgage.0 : vis-justgage : IOBroker - enabled system.adapter.vis-keyboard.0 : vis-keyboard : IOBroker - enabled system.adapter.vis-material.0 : vis-material : IOBroker - enabled system.adapter.vis-metro.0 : vis-metro : IOBroker - enabled system.adapter.vis-players.0 : vis-players : IOBroker - enabled system.adapter.vis-plumb.0 : vis-plumb : IOBroker - enabled system.adapter.vis-timeandweather.0 : vis-timeandweather : IOBroker - enabled system.adapter.vis.0 : vis : IOBroker - enabled + system.adapter.web.0 : web : IOBroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin + system.adapter.wled.0 : wled : IOBroker - enabled system.adapter.zigbee.0 : zigbee : IOBroker - enabled, port: /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B00194AD8A0-if00 + instance is alive Enabled adapters with bindings + system.adapter.admin.0 : admin : IOBroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.influxdb.0 : influxdb : IOBroker - enabled, port: 8086 + system.adapter.lovelace.0 : lovelace : IOBroker - enabled, port: 8091, bind: 0.0.0.0, run as: admin + system.adapter.mqtt.0 : mqtt : IOBroker - enabled, port: 1883, bind: 0.0.0.0 + system.adapter.node-red.0 : node-red : IOBroker - enabled, port: 1880, bind: 0.0.0.0 + system.adapter.simple-api.0 : simple-api : IOBroker - enabled, port: 8087, bind: 0.0.0.0, run as: admin + system.adapter.sonoff.0 : sonoff : IOBroker - enabled, port: 1886, bind: 0.0.0.0 + system.adapter.telegram.0 : telegram : IOBroker - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.telegram.1 : telegram : IOBroker - enabled, port: 8443, bind: 0.0.0.0 + system.adapter.web.0 : web : IOBroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin system.adapter.zigbee.0 : zigbee : IOBroker - enabled, port: /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B00194AD8A0-if00 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-Instances Used repository: stable Adapter "accuweather" : 1.3.1 , installed 1.2.4 [Updatable] Adapter "admin" : 6.10.1 , installed 6.3.5 [Updatable] Adapter "alexa2" : 3.25.2 , installed 3.23.2 [Updatable] Adapter "backitup" : 2.8.1 , installed 2.5.12 [Updatable] Adapter "broadlink2" : 2.1.5 , installed 2.1.5 Adapter "cloud" : 4.4.1 , installed 4.3.0 [Updatable] Adapter "coronavirus-statistics": 0.8.7, installed 0.8.7 Adapter "daswetter" : 3.1.10 , installed 3.1.7 [Updatable] Adapter "device-reminder": 1.2.9 , installed 1.2.9 Adapter "devices" : 1.1.5 , installed 1.1.2 [Updatable] Adapter "discovery" : 3.1.0 , installed 3.1.0 Adapter "echarts" : 1.5.1 , installed 1.4.11 [Updatable] Adapter "flot" : 1.12.0 , installed 1.11.0 [Updatable] Adapter "fritzdect" : 2.3.1 , installed 2.2.6 [Updatable] Adapter "fullcalendar" : 1.2.0 , installed 1.2.0 Adapter "history" : 2.2.6 , installed 2.2.4 [Updatable] Adapter "ical" : 1.13.3 , installed 1.13.2 [Updatable] Adapter "icons-mfd-png": 1.1.0 , installed 1.1.0 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "influxdb" : 3.2.0 , installed 3.2.0 Adapter "info" : 2.0.0 , installed 1.9.22 [Updatable] Adapter "iqontrol" : 2.3.0 , installed 2.1.0 [Updatable] Adapter "jarvis" : 3.1.2 , installed 3.1.2 Adapter "javascript" : 7.1.4 , installed 6.1.4 [Updatable] Controller "js-controller": 5.0.12 , installed 4.0.24 [Updatable] Adapter "linkeddevices": 1.5.5 , installed 1.5.5 Adapter "logparser" : 2.2.0 , installed 2.2.0 Adapter "lovelace" : 3.0.1 , installed 3.0.1 Adapter "mclighting" : 0.1.2 , installed 0.1.2 Adapter "meross" : 1.15.1 , installed 1.15.0 [Updatable] Adapter "modbus" : 5.0.11 , installed 5.0.11 Adapter "mqtt" : 4.1.1 , installed 4.0.7 [Updatable] Adapter "node-red" : 4.0.3 , installed 4.0.0 [Updatable] Adapter "octoprint" : 4.0.0 , installed 4.0.1 Adapter "pi-hole" : 1.3.6 , installed 1.3.4 [Updatable] Adapter "ping" : 1.6.2 , installed 1.5.3 [Updatable] Adapter "proxmox" : 1.3.5 , installed 1.3.4 [Updatable] Adapter "pvforecast" : 2.8.1 , installed 2.5.1 [Updatable] Adapter "radar2" : 2.0.7 , installed 2.0.3 [Updatable] Adapter "rickshaw" : 1.0.0 , installed 1.0.0 Adapter "scenes" : 2.3.9 , installed 2.3.9 Adapter "schoolfree" : 1.1.2 , installed 1.1.0 [Updatable] Adapter "shuttercontrol": 1.6.2 , installed 1.4.18 [Updatable] Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "smartcontrol" : 2.0.1 , installed 1.2.1 [Updatable] Adapter "socketio" : 6.5.5 , installed 6.3.1 [Updatable] Adapter "sonoff" : 2.5.3 , installed 2.5.1 [Updatable] Adapter "sony-bravia" : 1.0.9 , installed 1.0.9 Adapter "spotify-premium": 1.2.2 , installed 1.2.2 Adapter "sql" : 2.2.0 , installed 2.2.0 Adapter "statistics" : 2.3.0 , installed 2.3.0 Adapter "tankerkoenig" : 3.3.7 , installed 3.1.0 [Updatable] Adapter "telegram" : 1.16.0 , installed 1.15.2 [Updatable] Adapter "terminal" : 1.0.0 , installed 1.0.0 Adapter "text2command" : 3.0.2 , installed 2.3.0 [Updatable] Adapter "tr-064" : 4.2.18 , installed 4.2.17 [Updatable] Adapter "trashschedule": 2.2.0 , installed 2.2.0 Adapter "tvspielfilm" : 2.0.4 , installed 2.0.4 Adapter "upnp" : 1.0.21 , installed 1.0.21 Adapter "vis" : 1.4.16 , installed 1.4.15 [Updatable] Adapter "vis-bars" : 0.1.4 , installed 0.1.4 Adapter "vis-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-history" : 1.0.0 , installed 1.0.0 Adapter "vis-hqwidgets": 1.4.0 , installed 1.3.0 [Updatable] Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-justgage" : 1.0.2 , installed 1.0.2 Adapter "vis-keyboard" : 0.0.2 , installed 0.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-timeandweather": 1.2.2, installed 1.2.2 Adapter "web" : 6.1.2 , installed 5.3.1 [Updatable] Adapter "wled" : 0.7.1 , installed 0.6.7 [Updatable] Adapter "ws" : 2.5.5 , installed 2.3.1 [Updatable] Adapter "zigbee" : 1.8.23 , installed 1.8.10 [Updatable] Objects and States Please stand by - This may take a while Objects: 10495 States: 10661 *** OS-Repositories and Updates *** Hit:1 http://ftp.debian.org/debian bullseye-backports InRelease Hit:2 http://security.debian.org/debian-security bullseye-security InRelease Hit:3 http://deb.debian.org/debian bullseye InRelease Hit:4 http://deb.debian.org/debian bullseye-updates InRelease Hit:5 https://deb.nodesource.com/node_18.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:22 0.0.0.0:* LISTEN 0 13662 470/sshd: /usr/sbin tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 13592 453/cupsd tcp 0 0 0.0.0.0:1880 0.0.0.0:* LISTEN 1001 20301 2247/node-red tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 0 13718 743/exim4 tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 1001 20778 2323/io.mqtt.0 tcp 0 0 0.0.0.0:1884 0.0.0.0:* LISTEN 1001 20779 2323/io.mqtt.0 tcp 0 0 0.0.0.0:1886 0.0.0.0:* LISTEN 1001 20170 2284/io.sonoff.0 tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 19598 2124/iobroker.js-co tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 19591 2124/iobroker.js-co tcp6 0 0 :::80 :::* LISTEN 1001 20336 2247/node-red tcp6 0 0 :::8081 :::* LISTEN 1001 120258 61233/io.admin.0 tcp6 0 0 :::8082 :::* LISTEN 1001 22113 2395/io.web.0 tcp6 0 0 :::22 :::* LISTEN 0 13673 470/sshd: /usr/sbin tcp6 0 0 :::8087 :::* LISTEN 1001 23591 2631/io.simple-api. tcp6 0 0 ::1:631 :::* LISTEN 0 13591 453/cupsd tcp6 0 0 ::1:25 :::* LISTEN 0 13719 743/exim4 tcp6 0 0 :::8091 :::* LISTEN 1001 23629 2468/io.lovelace.0 udp 0 0 0.0.0.0:631 0.0.0.0:* 0 13694 465/cups-browsed udp 0 0 0.0.0.0:15001 0.0.0.0:* 1001 20852 2411/io.broadlink2. udp 0 0 0.0.0.0:35723 0.0.0.0:* 108 13439 413/avahi-daemon: r udp 0 0 0.0.0.0:5353 0.0.0.0:* 1001 20914 2533/io.wled.0 udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 13437 413/avahi-daemon: r udp 0 0 0.0.0.0:34298 0.0.0.0:* 1001 92999 2411/io.broadlink2. udp 0 0 0.0.0.0:1900 0.0.0.0:* 1001 19347 2247/node-red udp6 0 0 fe80::d8b4:62ff:feb:546 :::* 0 12832 417/NetworkManager udp6 0 0 :::48075 :::* 108 13440 413/avahi-daemon: r udp6 0 0 :::5353 :::* 108 13438 413/avahi-daemon: r *** Log File - Last 25 Lines *** 2023-10-17 09:38:03.895 - info: host.IOBroker iobroker upload [9] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/es/translations.json i18n/es/translations.json application/json 2023-10-17 09:38:03.963 - info: host.IOBroker iobroker upload [8] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/fr/translations.json i18n/fr/translations.json application/json 2023-10-17 09:38:03.983 - info: host.IOBroker iobroker upload [7] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/it/translations.json i18n/it/translations.json application/json 2023-10-17 09:38:04.024 - info: host.IOBroker iobroker upload [6] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/nl/translations.json i18n/nl/translations.json application/json 2023-10-17 09:38:04.035 - info: host.IOBroker iobroker upload [5] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pl/translations.json i18n/pl/translations.json application/json 2023-10-17 09:38:04.045 - info: host.IOBroker iobroker upload [4] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/pt/translations.json i18n/pt/translations.json application/json 2023-10-17 09:38:04.056 - info: host.IOBroker iobroker upload [3] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/ru/translations.json i18n/ru/translations.json application/json 2023-10-17 09:38:04.069 - info: host.IOBroker iobroker upload [2] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/uk/translations.json i18n/uk/translations.json application/json 2023-10-17 09:38:04.080 - info: host.IOBroker iobroker upload [1] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json 2023-10-17 09:38:04.089 - info: host.IOBroker iobroker upload [0] admin.admin /opt/iobroker/node_modules/iobroker.admin/admin/jsonConfig.json5 jsonConfig.json5 application/json5 2023-10-17 09:38:04.101 - info: host.IOBroker iobroker host.IOBroker Adapter "system.adapter.admin.0" is started 2023-10-17 09:38:04.276 - info: host.IOBroker "system.adapter.admin.0" enabled 2023-10-17 09:38:04.586 - info: host.IOBroker instance system.adapter.admin.0 started with pid 61233 2023-10-17 09:38:05.382 - info: host.IOBroker iobroker exit 0 2023-10-17 09:38:09.159 - info: admin.0 (61233) starting. Version 6.3.5 in /opt/iobroker/node_modules/iobroker.admin, node: v18.18.2, js-controller: 4.0.24 2023-10-17 09:38:09.247 - info: admin.0 (61233) requesting all states 2023-10-17 09:38:09.248 - info: admin.0 (61233) requesting all objects 2023-10-17 09:38:12.497 - info: admin.0 (61233) received all objects 2023-10-17 09:38:13.134 - info: admin.0 (61233) http server listening on port 8081 2023-10-17 09:38:13.135 - info: admin.0 (61233) Use link "http://localhost:8081" to configure. 2023-10-17 09:38:13.144 - info: admin.0 (61233) socket.io server listening on port 8081 2023-10-17 09:38:13.420 - info: admin.0 (61233) ==> Connected system.user.admin from ::ffff:192.168.1.48 2023-10-17 09:38:13.444 - info: admin.0 (61233) ==> Connected system.user.admin from ::ffff:192.168.1.48 2023-10-17 09:38:15.841 - info: admin.0 (61233) <== Disconnect system.user.admin from ::ffff:192.168.1.48 admin 2023-10-17 09:38:17.091 - info: admin.0 (61233) ==> Connected system.user.admin from ::ffff:192.168.1.48
Die Grafische Oberfläche hab ich abgeschaltet, danke für den Tipp.
-
Schau dir die npm Errors genauer an.
-
@thomas-braun
neben hunderten "extraneous" Einträgen (zu Modulen die ich nicht kenne) fällt einer mit "invalid" aus der Reihe, der Senec Adapter
Auszug:npm ERR! extraneous: imap@0.8.19 /opt/iobroker/node_modules/imap npm ERR! extraneous: interpret@1.2.0 /opt/iobroker/node_modules/interpret npm ERR! invalid: iobroker.senec@1.3.9 /opt/iobroker/node_modules/iobroker.senec npm ERR! extraneous: is-absolute@1.0.0 /opt/iobroker/node_modules/is-absolute npm ERR! extraneous: is-accessor-descriptor@0.1.6 /opt/iobroker/node_modules/is-accessor-descriptor
ich habe den Senec gelöscht, aber ändert nichts am Problem (und wird auch weiterhin als invalid angezeigt).
-
Dann installiere den noch mal aus einem Repo, nicht aus dem GitHub.
Entweder über den Reiter 'npm' oder kurz das Beta-Repository freischalten und den daraus dann installieren.
Danach die Beta-Quelle wieder deaktivieren.
Mittelsiob update iob upgrade
die Installation updaten.
-
@thomas-braun
Hallo und sorry wegen der späten Rückmeldung, aber ich war die letzten Wochen komplett ausser Gefecht gesetzt.
Kurzes Feedback zum Problem: (fast) alles läuft wieder wie geschmiert bzw. sogar viel besser! Die Fehler habe ich zwar nicht beheben können, aber ich habe festgestellt, dass eine Neuinstallation (dank des super Backup Adapters) gar nicht weh tut . Hätte ich dann noch einen Snapshot der VM mit frischer IOB Installation (was ich in dem Zusammenhang gleich nachgeholt hab und jedem ans Herz legen kann) wäre das ganze Thema innerhalb einer Stunde gegessen gewesen. Wenn ich dagegen halte, wielange ich mit der Fehlersuche beschäftigt war... . Von einem Problem bin ich zum nächsten gekommen, ich glaube, ich hatte mir zum Ende auch noch node. js zerschossen.
Aber, dümmer bin ich dadurch auch nicht geworden .Nochmal Danke für deine Hilfe und bis zum nächsten Problem
Marco