NEWS
Telegram und Mqtt starten nicht.
-
-
@glasfaser hab ich, Was soll den fehlen? Hab die Sachen nacheinander ausgeführt. Bin mir da gerade keiner Schuld bewusst.
Habs nochmal alles mit einmal gemacht:/opt/iobroker$ npm ls | grep -E 'github.com|ERR' iobroker update -i sudo ln -s /usr/bin/node /usr/bin/nodejs uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodej ├── iobroker.enigma2@1.3.2 (git+ssh://git@github.com/Matten-Matten/ioBroker.enigma2.git#9d3d3b7f884e7bd309db9a1c1984b69fb0528e17) ├── iobroker.samsung_tizen@0.0.12 (git+ssh://git@github.com/dahuby/iobroker.samsung_tizen.git#defeef34bd3f460c77b4fff115de34fd1c11bff7) Used repository: beta Adapter "admin" : 6.2.20 , installed 6.2.20 Adapter "alexa2" : 3.19.7 , installed 3.19.7 Adapter "backitup" : 2.4.12 , installed 2.4.12 Adapter "binance" : 1.1.3 , installed 1.1.3 Adapter "discovery" : 3.0.5 , installed 3.0.5 Adapter "fakeroku" : 0.2.1 , installed 0.2.1 Adapter "feiertage" : 1.1.0 , installed 1.1.0 Adapter "fhem" : 1.6.3 , installed 1.6.3 Adapter "flot" : 1.11.0 , installed 1.11.0 Adapter "fritzbox" : 0.5.0 , installed 0.5.0 Adapter "fritzdect" : 2.2.3 , installed 2.2.3 Adapter "habpanel" : 0.5.0 , installed 0.5.0 Adapter "harmony" : 1.2.2 , installed 1.2.2 Adapter "hass" : 1.3.0 , installed 1.3.0 Adapter "history" : 2.2.1 , installed 2.2.1 Adapter "hmip" : 1.19.1 , installed 1.19.1 Adapter "homeconnect" : 1.0.1 , installed 1.0.1 Adapter "info" : 1.9.19 , installed 1.9.19 Adapter "iot" : 1.11.9 , installed 1.11.9 Adapter "javascript" : 6.0.1 , installed 6.0.1 Controller "js-controller": 4.0.23 , installed 4.0.23 Adapter "mihome" : 1.4.0 , installed 1.4.0 Adapter "mihome-vacuum": 3.6.0 , installed 3.6.0 Adapter "mqtt" : 4.0.7 , installed 4.0.7 Adapter "musiccast" : 0.2.2 , installed 0.2.2 Adapter "node-red" : 4.0.0 , installed 4.0.0 Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "radar2" : 2.0.3 , installed 2.0.3 Adapter "rickshaw" : 1.0.0 , installed 1.0.0 Adapter "samsung" : 0.5.11 , installed 0.5.11 Adapter "scenes" : 2.3.9 , installed 2.3.9 Adapter "simple-api" : 2.7.1 , installed 2.7.1 Adapter "socketio" : 6.1.10 , installed 6.1.10 Adapter "sonoff" : 2.5.1 , installed 2.5.1 Adapter "sourceanalytix": 0.4.14 , installed 0.4.14 Adapter "tankerkoenig" : 2.1.1 , installed 2.1.1 Adapter "telegram" : 1.14.1 , installed 1.14.1 Adapter "tr-064" : 4.2.16 , installed 4.2.16 Adapter "vis" : 1.4.15 , installed 1.4.15 Adapter "vis-canvas-gauges": 0.1.5, installed 0.1.5 Adapter "vis-colorpicker": 1.2.0 , installed 1.2.0 Adapter "vis-hqwidgets": 1.3.0 , installed 1.3.0 Adapter "vis-map" : 1.0.4 , installed 1.0.4 Adapter "vis-metro" : 1.2.0 , installed 1.2.0 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "web" : 5.2.5 , installed 5.2.5 Adapter "wifilight" : 1.1.4 , installed 1.1.4 Adapter "ws" : 2.1.5 , installed 2.1.5 Adapter "yahka" : 0.13.1 , installed 0.13.1 Adapter "yamaha" : 0.5.3 , installed 0.5.3 Adapter "yeelight-2" : 1.2.1 , installed 1.2.1 ln: failed to create symbolic link '/usr/bin/nodejs': File exists x86_64 /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.17.0 v16.17.0 8.15.0 liquid /opt/iobroker OK:1 http://de.archive.ubuntu.com/ubuntu jammy InRelease OK:2 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease OK:3 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease OK:4 https://deb.nodesource.com/node_16.x jammy InRelease OK:5 http://de.archive.ubuntu.com/ubuntu jammy-security InRelease Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Alle Pakete sind aktuell. N: Paket nodej kann nicht gefunden werden.
Die nodej Ausgabe hatte ich beim ersten mal nicht.
So jetzt richtig? -
Du nimmts doch z.b Putty .. oder was du sonst noch hast ..
und alles was du ein eingibts bzw. was als Ergebniss kommt , hier posten .z.B so:
pi@IOBroker-Sted1:/opt/iobroker $ iobroker update -u Used repository: Stable (default) Adapter "email" : 1.1.3 , installed 1.0.10 [Updatable] Adapter "flot" : 1.11.0 , installed 1.10.7 [Updatable] Adapter "simple-api" : 2.7.0 , installed 2.6.5 [Updatable] pi@IOBroker-Sted1:/opt/iobroker $
-
@glasfaser und ganz genau so hab ich es gemacht. Möchte je geholfen bekommen. Ich hab alle Befehle ausgeführt und das Ergebnis hier gepostet. Mehr wirft mein Terminalprogramm nicht aus.
-
nochmal:
liquid@raspberry:/opt/iobroker$ npm ls | grep -E 'github.com|ERR' ├── iobroker.enigma2@1.3.2 (git+ssh://git@github.com/Matten-Matten/ioBroker.enigma2.git#9d3d3b7f884e7bd309db9a1c1984b69fb0528e17) ├── iobroker.samsung_tizen@0.0.12 (git+ssh://git@github.com/dahuby/iobroker.samsung_tizen.git#defeef34bd3f460c77b4fff115de34fd1c11bff7) liquid@raspberry:/opt/iobroker$ iobroker update -i Used repository: beta Adapter "admin" : 6.2.20 , installed 6.2.20 Adapter "alexa2" : 3.19.7 , installed 3.19.7 Adapter "backitup" : 2.4.12 , installed 2.4.12 Adapter "binance" : 1.1.3 , installed 1.1.3 Adapter "discovery" : 3.0.5 , installed 3.0.5 Adapter "fakeroku" : 0.2.1 , installed 0.2.1 Adapter "feiertage" : 1.1.0 , installed 1.1.0 Adapter "fhem" : 1.6.3 , installed 1.6.3 Adapter "flot" : 1.11.0 , installed 1.11.0 Adapter "fritzbox" : 0.5.0 , installed 0.5.0 Adapter "fritzdect" : 2.2.3 , installed 2.2.3 Adapter "habpanel" : 0.5.0 , installed 0.5.0 Adapter "harmony" : 1.2.2 , installed 1.2.2 Adapter "hass" : 1.3.0 , installed 1.3.0 Adapter "history" : 2.2.1 , installed 2.2.1 Adapter "hmip" : 1.19.1 , installed 1.19.1 Adapter "homeconnect" : 1.0.1 , installed 1.0.1 Adapter "info" : 1.9.19 , installed 1.9.19 Adapter "iot" : 1.11.9 , installed 1.11.9 Adapter "javascript" : 6.0.1 , installed 6.0.1 Controller "js-controller": 4.0.23 , installed 4.0.23 Adapter "mihome" : 1.4.0 , installed 1.4.0 Adapter "mihome-vacuum": 3.6.0 , installed 3.6.0 Adapter "mqtt" : 4.0.7 , installed 4.0.7 Adapter "musiccast" : 0.2.2 , installed 0.2.2 Adapter "node-red" : 4.0.0 , installed 4.0.0 Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "radar2" : 2.0.3 , installed 2.0.3 Adapter "rickshaw" : 1.0.0 , installed 1.0.0 Adapter "samsung" : 0.5.11 , installed 0.5.11 Adapter "scenes" : 2.3.9 , installed 2.3.9 Adapter "simple-api" : 2.7.1 , installed 2.7.1 Adapter "socketio" : 6.1.10 , installed 6.1.10 Adapter "sonoff" : 2.5.1 , installed 2.5.1 Adapter "sourceanalytix": 0.4.14 , installed 0.4.14 Adapter "tankerkoenig" : 2.1.1 , installed 2.1.1 Adapter "telegram" : 1.14.1 , installed 1.14.1 Adapter "tr-064" : 4.2.16 , installed 4.2.16 Adapter "vis" : 1.4.15 , installed 1.4.15 Adapter "vis-canvas-gauges": 0.1.5, installed 0.1.5 Adapter "vis-colorpicker": 1.2.0 , installed 1.2.0 Adapter "vis-hqwidgets": 1.3.0 , installed 1.3.0 Adapter "vis-map" : 1.0.4 , installed 1.0.4 Adapter "vis-metro" : 1.2.0 , installed 1.2.0 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "web" : 5.2.5 , installed 5.2.5 Adapter "wifilight" : 1.1.4 , installed 1.1.4 Adapter "ws" : 2.1.5 , installed 2.1.5 Adapter "yahka" : 0.13.1 , installed 0.13.1 Adapter "yamaha" : 0.5.3 , installed 0.5.3 Adapter "yeelight-2" : 1.2.1 , installed 1.2.1 liquid@raspberry:/opt/iobroker$ sudo ln -s /usr/bin/node /usr/bin/nodejs ln: failed to create symbolic link '/usr/bin/nodejs': File exists liquid@raspberry:/opt/iobroker$ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs x86_64 /usr/bin/nodejs /usr/bin/node /usr/bin/npm v16.17.0 v16.17.0 8.15.0 liquid /opt/iobroker OK:1 http://de.archive.ubuntu.com/ubuntu jammy InRelease Holen:2 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB] OK:3 https://deb.nodesource.com/node_16.x jammy InRelease Holen:4 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease [99,8 kB] OK:5 http://de.archive.ubuntu.com/ubuntu jammy-security InRelease Es wurden 214 kB in 3 s geholt (61,9 kB/s). Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Alle Pakete sind aktuell. nodejs: Installiert: 16.17.0-deb-1nodesource1 Installationskandidat: 16.17.0-deb-1nodesource1 Versionstabelle: *** 16.17.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x jammy/main amd64 Packages 100 /var/lib/dpkg/status 12.22.9~dfsg-1ubuntu3 500 500 http://de.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
-
@root_ sagte in Telegram und Mqtt starten nicht.:
Was ist der Inhalt von package?
-
@glasfaser said in Telegram und Mqtt starten nicht.:
iobroker stop rm /opt/iobroker/package* iobroker start
Hat leider nicht geholfen.
-
iobroker upgrade admin@6.2.20 sudo reboot
-
@glasfaser jetzt startet iobroker nicht mehr.
-
iobroker list instances
-
-
@glasfaser said in Telegram und Mqtt starten nicht.:
iobroker start admin
iobroker start admin node:internal/modules/cjs/loader:959 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15) at Function.Module._load (node:internal/modules/cjs/loader:804:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
liquid@raspberry:~$ iobroker list instances node:internal/modules/cjs/loader:959 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15) at Function.Module._load (node:internal/modules/cjs/loader:804:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
-
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller
-
@thomas-braun said in Telegram und Mqtt starten nicht.:
sudo -H -u iobroker npm install iobroker.js-controller
liquid@raspberry:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-controller [sudo] password for liquid: npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! code 6 npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller npm ERR! command failed npm ERR! command sh /tmp/install-ff6dd1c3.sh npm ERR! Uncaught Rejection: Error: Cannot find module '@iobroker/db-states-jsonl' npm ERR! Require stack: npm ERR! - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js npm ERR! - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js npm ERR! at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15) npm ERR! at Function.Module._load (node:internal/modules/cjs/loader:804:27) npm ERR! at Module.require (node:internal/modules/cjs/loader:1028:19) npm ERR! at require (node:internal/modules/cjs/helpers:102:18) npm ERR! at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:3165:26) npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2022-09-03T13_48_21_323Z-debug-0.log
-
@glasfaser Hallo Helfer in der Not,
ich hänge mich hier mal an, da ich scheinbar ebenfalls dieses Problem habe.Die ersten Schritte bin ich schon mal durchlaufen:
pi@raspberrypi:~ $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ npm ls | grep -E 'github.com|ERR' npm ERR! peer dep missing: chai@>= 2.1.2 < 5, required by chai-as-promised@7.1.1 npm ERR! peer dep missing: chai@^4.0.0, required by sinon-chai@3.7.0 npm ERR! peer dep missing: sinon@>=4.0.0, required by sinon-chai@3.7.0 pi@raspberrypi:/opt/iobroker $ ^C pi@raspberrypi:/opt/iobroker $ iobroker update -i Used repository: stable Adapter "accuweather" : 1.2.1 , installed 1.2.1 Adapter "admin" : 6.2.20 , installed 5.3.8 [Updatable] Adapter "alexa2" : 3.11.2 , installed 3.11.2 Adapter "backitup" : 2.4.10 , installed 2.4.10 Adapter "cloud" : 4.2.2 , installed 4.2.2 Adapter "coronavirus-statistics": 0.8.7, installed 0.8.7 Adapter "cul" : 2.0.2 , installed 2.0.2 Adapter "daswetter" : 3.1.2 , installed 3.1.2 Adapter "devices" : 1.0.12 , installed 1.0.12 Adapter "discovery" : 3.0.5 , installed 3.0.5 Adapter "ds18b20" : 1.6.0 , installed 1.6.0 Adapter "dwd" : 2.8.3 , installed 2.8.3 Adapter "email" : 1.1.3 , installed 1.1.3 Adapter "fahrplan" : 1.2.2 , installed 1.2.2 Adapter "feiertage" : 1.1.0 , installed 1.1.0 Adapter "fhem" : 1.6.3 , installed 1.6.3 Adapter "firetv" : 1.0.0 , installed 1.0.0 Adapter "flot" : 1.11.0 , installed 1.11.0 Adapter "followthesun" : 0.3.9 , installed 0.3.9 Adapter "fritzbox" : 0.2.1 , installed 0.2.1 Adapter "frontier_silicon": 0.0.10, installed 0.0.10 Adapter "history" : 2.2.0 , installed 2.2.0 Adapter "hm-rega" : 3.0.40 , installed 3.0.40 Adapter "hm-rpc" : 1.15.12 , installed 1.15.12 Adapter "homekit-controller": 0.5.1, installed 0.5.1 Adapter "ical" : 1.13.1 , installed 1.13.1 Adapter "icons-fatcow-hosting": 0.1.0, installed 0.1.0 Adapter "icons-icons8" : 0.0.1 , installed 0.0.1 Adapter "icons-mfd-png": 1.1.0 , installed 1.1.0 Adapter "icons-mfd-svg": 1.1.0 , installed 1.1.0 Adapter "icons-open-icon-library-png": 0.1.2, installed 0.1.2 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "influxdb" : 3.1.7 , installed 3.1.7 Adapter "info" : 1.9.19 , installed 1.9.19 Adapter "iot" : 1.11.8 , installed 1.11.8 Adapter "jarvis" : 3.0.11 , installed 3.0.11 Adapter "javascript" : 6.0.0 , installed 6.0.0 Controller "js-controller": 4.0.23 , installed 4.0.23 Adapter "luftdaten" : 2.2.4 , installed 2.2.4 Adapter "meteoalarm" : 2.1.3 , installed 2.1.3 Adapter "mqtt" : 4.0.7 , installed 4.0.7 Adapter "net-tools" : 0.2.0 , installed 0.2.0 Adapter "netatmo" : 1.7.1 , installed 1.7.1 Adapter "netatmo-crawler": 0.8.1 , installed 0.8.1 Adapter "nina" : 0.0.25 , installed 0.0.25 Adapter "openweathermap": 0.3.0 , installed 0.3.0 Adapter "pegelalarm" : 1.2.8 , installed 1.2.8 Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "rpi2" : 1.3.2 , installed 1.3.2 Adapter "sayit" : 1.12.3 , installed 1.12.3 Adapter "scenes" : 2.3.9 , installed 2.3.9 Adapter "schoolfree" : 1.0.1 , installed 1.0.1 Adapter "shuttercontrol": 1.4.14 , installed 1.4.14 Adapter "signal-cmb" : 0.1.7 , installed 0.1.7 Adapter "simple-api" : 2.7.0 , installed 2.7.0 Adapter "socketio" : 4.2.0 , installed 4.2.0 Adapter "sonoff" : 2.5.1 , installed 2.5.1 Adapter "spotify-premium": 1.2.1 , installed 1.2.1 Adapter "sql" : 2.1.7 , installed 2.1.7 Adapter "tankerkoenig" : 2.1.1 , installed 2.1.1 Adapter "telegram" : 1.14.1 , installed 1.14.1 Adapter "terminal" : 0.2.6 , installed 0.2.6 Adapter "text2command" : 2.2.2 , installed 2.2.2 Adapter "tr-064" : 4.2.16 , installed 4.2.16 Adapter "trashschedule": 2.0.3 , installed 2.0.3 Adapter "vis" : 1.4.15 , installed 1.4.15 Adapter "vis-bars" : 0.1.4 , installed 0.1.4 Adapter "vis-colorpicker": 1.2.0 , installed 1.2.0 Adapter "vis-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-google-fonts": 1.0.3 , installed 1.0.3 Adapter "vis-history" : 1.0.0 , installed 1.0.0 Adapter "vis-hqwidgets": 1.2.0 , installed 1.2.0 Adapter "vis-icontwo" : 0.89.0 , installed 0.89.0 Adapter "vis-inventwo" : 3.3.1 , installed 3.3.1 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-keyboard" : 0.0.2 , installed 0.0.2 Adapter "vis-map" : 1.0.4 , installed 1.0.4 Adapter "vis-metro" : 1.2.0 , installed 1.2.0 Adapter "vis-players" : 0.1.6 , installed 0.1.6 Adapter "vis-rgraph" : 0.0.2 , installed 0.0.2 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "vis-weather" : 2.5.5 , installed 2.5.5 Adapter "weatherunderground": 3.4.2, installed 3.4.2 Adapter "web" : 4.3.0 , installed 4.3.0 Adapter "whatsapp-cmb" : 0.2.2 , installed 0.2.2 Adapter "ws" : 1.3.0 , installed 1.3.0 Adapter "yr" : 5.3.0 , installed 5.3.0 Adapter "zigbee" : 1.7.5 , installed 1.7.5 pi@raspberrypi:/opt/iobroker $ sudo ln -s /usr/bin/node /usr/bin/nodejs ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits pi@raspberrypi:/opt/iobroker $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs armv7l /usr/bin/nodejs /usr/bin/node /usr/bin/npm v14.20.0 v14.20.0 6.14.17 pi /opt/iobroker OK:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease OK:2 http://repo.feed.flightradar24.com flightradar24 InRelease Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut… Fertig Statusinformationen werden eingelesen… Fertig Alle Pakete sind aktuell. nodejs: Installiert: 14.20.0-deb-1nodesource1 Installationskandidat: 14.20.0-deb-1nodesource1 Versionstabelle: *** 14.20.0-deb-1nodesource1 100 100 /var/lib/dpkg/status 12.22.12~dfsg-1~deb11u1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
-
Da fehlen dir Quellen, direkt vom OS.
Und die Quelle für nodejs (nodesource.list) fehlt auch. -
@thomas-braun said in Telegram und Mqtt starten nicht.:
Da fehlen dir Quellen, direkt vom OS.
Meinst Du diese hier?
deb http://deb.debian.org/debian bullseye main contrib non-free deb http://deb.debian.org/debian bullseye-updates main contrib non-free deb http://security.debian.org/debian-security bullseye-security main contrib non-free
@thomas-braun said in Telegram und Mqtt starten nicht.:
Und die Quelle für nodejs (nodesource.list) fehlt auch.
und diesen Befehl:
curl -fsSL https://deb.nodesource.com/setup_current.x | sudo -E bash -
-
@martin-72
Möglich. Kann gerade nicht nachschauen.
Der Befehl für nodejs ist aber falsch, der würde dir nodejs18 aufs System knallen. Das willst du nicht. -
Ich hab mein Problem behoben. Bei mir ist ausser dem Host noch ein Slave installiert und der war noch nicht upgedatet. Anscheinend kennen Mqtt, Telegram und der Info Adapter nicht, das der Master Admin aktuell ist, sondern nehmen den Slave Admin als "Quelle".
Ganz klar aber ein Fehler beim Updaten meinerseits, da ich den Slave noch nicht aktualisiert hatte. -
Ja, die Versionen sollte übereinstimmen.