NEWS
keine Geräte im Zigbee Adapter [gelöst - Vielen Dank]
-
Ich habe festgestellt, das seit einigen Tagen keine Geräte mehr im Zigbee Adapter angezeigt werden.
Unter Netzwerk sind sie aber sichtbar und die Objekte funktionieren auch.
Ein Update des Adapters wird nicht angeboten.Was mir auffällt, Unter Adapter steht die Versionsnummer 1.8.24
In der Instanz steht allerdings v 1.7.5Mein Zigbee Adapter ist der Stick von Sonoff, der läuft seit Monaten tadellos.
type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v
/usr/bin/nodejs
/home/iobroker/.nvm/versions/node/v18.9.0/bin/node
/home/iobroker/.nvm/versions/node/v18.9.0/bin/npm
/home/iobroker/.nvm/versions/node/v18.9.0/bin/npx
v18.17.1
v18.9.0
8.19.1
8.19.1Hat jemand ein Tip was ich machen kann
IOB FIX hab ich auch schon durchgeführt.
-
nodejs ist falsch installiert.
Nie nvm oder sowas dafür verwenden, immer den Paketmanager des Betriebssystems.iob stop iob fix iob nodejs-update
-
@thomas-braun sagte in keine Geräte im Zigbee Adapter - funktioniert aber.:
iob nodejs-update
Danke für die fixe Antwort:
Ich hab das mal gemacht - krass was da alles angestossen wird.
IOB DIAG:
Copy text starting here:======================= SUMMARY ======================= v.2023-10-10 Static hostname: iobroker Icon name: computer-vm Chassis: vm Virtualization: microsoft Operating System: Ubuntu 20.04.6 LTS Kernel: Linux 5.4.0-166-generic Architecture: x86-64 Installation: microsoft Kernel: x86_64 Userland: amd64 Timezone: Europe/Berlin (CET, +0100) User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 31 This system needs to be REBOOTED NOW! Nodejs-Installation: /usr/bin/nodejs v18.18.2 /usr/local/bin/node v18.9.0 /usr/local/bin/npm 8.19.1 /usr/local/bin/npx 8.19.1 /usr/local/bin/corepack 0.14.0 Recommended versions are nodejs 16.20.2 and npm 8.19.4 *** nodejs is NOT correctly installed *** Wrong installation path detected. This needs to be fixed. Please check https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian for more information on how to fix these errors. MEMORY: total used free shared buff/cache available Mem: 3.9G 531M 1.3G 1.0M 2.1G 3.2G Swap: 2.0G 7.0M 2.0G Total: 5.9G 539M 3.2G Active iob-Instances: 1 Active repo(s): stable ioBroker Core: js-controller 4.0.24 admin 6.2.23 ioBroker Status: iobroker is not 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: 11799 States: 10540 Size of iob-Database: 16M /opt/iobroker/iobroker-data/objects.jsonl 9.7M /opt/iobroker/iobroker-data/objects.json.migrated 9.7M /opt/iobroker/iobroker-data/objects.json.bak.migrated 0 /opt/iobroker/iobroker-data/objects.json.broken 2.6M /opt/iobroker/iobroker-data/states.jsonl 1.3M /opt/iobroker/iobroker-data/states.json.migrated 1.3M /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ====================
=== Mark text until here for copying ===
So wie es aussieht konnte JS nicht geupdatet werden. Nach dem Reboot versuch ich die drei Befhele nocheinmal....
-
Beim Update kommen mehrer Seiten sowas..
Das System läuft aber nach wie vor, anscheinden ohne das ich veränderungen bemerke.
-
@wolkenloser sagte in keine Geräte im Zigbee Adapter - funktioniert aber.:
Wenn
iob nodejs-update
die falschen Pfade nicht löschen können sollte (ich wüsste aber nicht, warum es das nicht können sollte...) hau die von Hand raus:
rm /usr/local/bin/n* rm /usr/local/bin/corepack
-
@thomas-braun
Jetzt sieht die DIAG Anzeige besser aus:
Copy text starting here:======================= SUMMARY ======================= v.2023-10-10 Static hostname: iobroker Icon name: computer-vm Chassis: vm Virtualization: microsoft Operating System: Ubuntu 20.04.6 LTS Kernel: Linux 5.4.0-166-generic Architecture: x86-64 Installation: microsoft Kernel: x86_64 Userland: amd64 Timezone: Europe/Berlin (CET, +0100) User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 27 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 322M 1.9G 1.0M 1.7G 3.3G Swap: 2.0G 0B 2.0G Total: 5.9G 322M 3.8G Active iob-Instances: 1 Active repo(s): stable ioBroker Core: js-controller 4.0.24 admin "admin" not found ioBroker Status: iobroker is not 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: 11799 States: 10539 Size of iob-Database: 16M /opt/iobroker/iobroker-data/objects.jsonl 9.7M /opt/iobroker/iobroker-data/objects.json.migrated 9.7M /opt/iobroker/iobroker-data/objects.json.bak.migrated 0 /opt/iobroker/iobroker-data/objects.json.broken 2.6M /opt/iobroker/iobroker-data/states.jsonl 1.3M /opt/iobroker/iobroker-data/states.json.migrated 1.3M /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ====================
=== Mark text until here for copying ===
Die roten NPN Fehler waren aber auch jetzt da
-
@wolkenloser sagte in keine Geräte im Zigbee Adapter - funktioniert aber.:
Pending iob updates: 27
Wassen da los?
Ran da! -
Das hatte ich zuerst versucht, mit dem Ergebnis das das Update beim ersten Adapter "hängen geblieben" ist. Danach lief der IOBROKER nicht mehr.
Dann musste ich Freitag auf den Spapshot zurückgehen.Bei Mir ist auch Grafana mit a Bord, das würde ich irgendwann al auf ein anderes System bringen, dann würden mir keine Logdaten (Energie Verbrauch) verloren gehen, weil das immer ärgerlich ist.
Ich veruch es aber gleich nochmal...... -
@wolkenloser sagte in keine Geräte im Zigbee Adapter - funktioniert aber.:
Das hatte ich zuerst versucht, mit dem Ergebnis das das Update beim ersten Adapter "hängen geblieben"
Das ganz Ding ist ja auch total windschief.
-
@thomas-braun sagte in keine Geräte im Zigbee Adapter - funktioniert aber.:
@wolkenloser sagte in keine Geräte im Zigbee Adapter - funktioniert aber.:
Wenn
iob nodejs-update
die falschen Pfade nicht löschen können sollte (ich wüsste aber nicht, warum es das nicht können sollte...) hau die von Hand raus:
rm /usr/local/bin/n* rm /usr/local/bin/corepack
Bin mir nicht sicher ob ich das richtig verstehe..
in dem verzeichnis steht nur eine Datei
-
@wolkenloser sagte in keine Geräte im Zigbee Adapter - funktioniert aber.:
in dem verzeichnis steht nur eine Datei
Ja, jetzt. Eben stand da aber noch die falsch hingeklatschte nvm-Installation drin.
-
@thomas-braun
Ja, irgendwie schon.
Ich habe hier bei edem Update immer wieder extrem Probleme.
Nur irgendwie läuft es am Ende dann doch wieder vernüftig.
Die Updates sind leider immer problematisch....und ich versuche eigendlich immer nahch de Leitfaden hier vorzugehen... -
@wolkenloser sagte in keine Geräte im Zigbee Adapter - funktioniert aber.:
Die Updates sind leider immer problematisch.
Nein, sind sie auf einem ordentlich aufgesetzen System nicht.
iob update iob upgrade all
sagt?
-
@thomas-braun
Copy text starting here:======================= SUMMARY ======================= v.2023-10-10 Static hostname: iobroker Icon name: computer-vm Chassis: vm Virtualization: microsoft Operating System: Ubuntu 20.04.6 LTS Kernel: Linux 5.4.0-166-generic Architecture: x86-64 Installation: microsoft Kernel: x86_64 Userland: amd64 Timezone: Europe/Berlin (CET, +0100) User-ID: 1000 X-Server: false Boot Target: graphical.target Pending OS-Updates: 0 Pending iob updates: 27 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 398M 1.7G 1.0M 1.8G 3.2G Swap: 2.0G 0B 2.0G Total: 5.9G 398M 3.7G Active iob-Instances: 1 Active repo(s): stable ioBroker Core: js-controller 4.0.24 admin "admin" not found ioBroker Status: iobroker is not 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: 11799 States: 10539 Size of iob-Database: 16M /opt/iobroker/iobroker-data/objects.jsonl 9.7M /opt/iobroker/iobroker-data/objects.json.migrated 9.7M /opt/iobroker/iobroker-data/objects.json.bak.migrated 0 /opt/iobroker/iobroker-data/objects.json.broken 2.6M /opt/iobroker/iobroker-data/states.jsonl 1.3M /opt/iobroker/iobroker-data/states.json.migrated 1.3M /opt/iobroker/iobroker-data/states.json.bak.migrated 0 /opt/iobroker/iobroker-data/states.json.broken =================== END OF SUMMARY ====================
=== Mark text until here for copying ===
Jetzt guck ich mal wegen den Adapter Updates
-
@thomas-braun sagte in keine Geräte im Zigbee Adapter - funktioniert aber.:
iob update
Mein System hab ich 2019 aufgesetzt.
ICh wäre froh wenn das mal "bereinigt ist.
Aber mein Linux Wissen ist leider begrenzt....iob update Used repository: stable Adapter "alias-manager": 1.2.6 , installed 1.2.6 Adapter "backitup" : 2.8.7 , installed 2.9.3 Adapter "bydbatt" : 1.1.0 , installed 1.1.0 Adapter "bydhvs" : 1.4.0 , installed 1.5.0 Adapter "chromecast" : 3.0.3 , installed 2.3.1 [Updatable] Adapter "cloud" : 4.4.1 , installed 4.4.1 Adapter "daswetter" : 3.1.10 , installed 3.1.11 Adapter "device-reminder": 3.0.0 , installed 1.2.9 [Updatable] Adapter "discovery" : 4.2.0 , installed 3.2.0 [Updatable] Adapter "dwd" : 2.8.5 , installed 2.8.5 Adapter "easee" : 1.0.10 , installed 1.0.10 Adapter "echarts" : 1.5.4 , installed 1.0.12 [Updatable] Adapter "fakeroku" : 0.2.2 , installed 0.2.2 Adapter "feiertage" : 1.1.4 , installed 1.1.4 Adapter "flot" : 1.12.0 , installed 1.12.0 Adapter "fritzbox" : 0.5.0 , installed 0.2.1 [Updatable] Adapter "fronius" : 2.0.2 , installed 2.0.2 Adapter "fronius-solarweb": 0.0.3 , installed 0.0.3 Adapter "harmony" : 1.2.2 , installed 1.3.0 Adapter "history" : 3.0.1 , installed 2.2.6 [Updatable] Adapter "ical" : 1.13.3 , installed 1.13.3 Adapter "icons-addictive-flavour-png": 0.1.0, installed 0.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 "influxdb" : 3.2.0 , installed 3.2.0 Adapter "info" : 2.0.0 , installed 1.9.26 [Updatable] Adapter "jarvis" : 3.1.8 , installed 3.1.8 Controller "js-controller": 5.0.16 , installed 4.0.24 [Updatable] Adapter "knx" : 2.0.23 , installed 2.0.13 [Updatable] Adapter "lg-thinq" : 0.1.4 , installed 0.1.4 Adapter "lgtv" : 2.1.2 , installed 1.1.12 [Updatable] Adapter "midea" : 0.0.7 , installed 0.0.7 Adapter "mihome" : 1.4.0 , installed 1.4.0 Adapter "mihome-vacuum": 4.1.0 , installed 3.8.6 [Updatable] Adapter "mobile" : 1.0.1 , installed 1.0.1 Adapter "moma" : 1.2.9 , installed 1.2.9 Adapter "onkyo" : 2.1.2 , installed 2.1.2 Adapter "openweathermap": 0.4.5 , installed 0.3.11 [Updatable] Adapter "parser" : 2.0.7 , installed 1.3.2 [Updatable] Adapter "phantomjs" : 1.1.3 , installed 1.1.3 Adapter "pi-hole" : 1.3.6 , installed 1.3.6 Adapter "ping" : 1.6.2 , installed 1.6.2 Adapter "pvforecast" : 2.9.0 , installed 2.7.1 [Updatable] Adapter "sayit" : 3.0.5 , installed 1.13.0 [Updatable] Adapter "scenes" : 2.3.9 , installed 2.3.9 Adapter "schwoerer-ventcube": 1.4.2, installed 1.4.2 Adapter "shelly" : 6.6.1 , installed 6.0.0 [Updatable] Adapter "shuttercontrol": 1.6.2 , installed 1.6.3 Adapter "simple-api" : 2.7.2 , installed 2.7.2 Adapter "smartmeter" : 3.3.4 , installed 3.3.4 Adapter "socketio" : 6.5.5 , installed 4.2.0 [Updatable] Adapter "sonoff" : 3.0.3 , installed 2.5.7 [Updatable] Adapter "tankerkoenig" : 3.3.7 , installed 2.1.1 [Updatable] Adapter "tr-064" : 4.2.18 , installed 4.2.18 Adapter "trashschedule": 2.3.0 , installed 2.0.3 [Updatable] Adapter "tuya" : 3.14.2 , installed 3.9.4 [Updatable] Adapter "unifi" : 0.6.6 , installed 0.5.10 [Updatable] Adapter "vis-bars" : 0.1.4 , installed 0.1.4 Adapter "vis-canvas-gauges": 1.0.1, installed 0.1.5 [Updatable] Adapter "vis-colorpicker": 2.0.3 , installed 1.2.0 [Updatable] Adapter "vis-fancyswitch": 1.1.0 , installed 1.1.0 Adapter "vis-google-fonts": 1.0.4 , installed 1.0.4 Adapter "vis-history" : 1.0.0 , installed 1.0.0 Adapter "vis-hqwidgets": 1.4.0 , installed 1.4.0 Adapter "vis-inventwo" : 3.3.3 , installed 3.3.3 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-justgage" : 2.0.0 , installed 1.0.2 [Updatable] Adapter "vis-keyboard" : 0.0.2 , installed 0.0.2 Adapter "vis-lcars" : 1.1.1 , installed 1.1.1 Adapter "vis-map" : 1.0.4 , installed 1.0.4 Adapter "vis-material" : 0.1.3 , installed 0.1.3 Adapter "vis-material-advanced": 1.7.4, installed 1.7.4 Adapter "vis-metro" : 1.2.0 , installed 1.2.0 Adapter "vis-players" : 0.1.6 , installed 0.1.6 Adapter "vis-plumb" : 1.0.2 , installed 1.0.2 Adapter "vis-rgraph" : 0.0.2 , installed 0.0.2 Adapter "vis-timeandweather": 1.2.2, installed 1.2.2 Adapter "vis-weather" : 2.5.6 , installed 2.5.6 Adapter "wifilight" : 1.1.4 , installed 1.1.4 Adapter "wled" : 0.7.1 , installed 0.6.7 [Updatable] Adapter "ws" : 2.5.8 , installed 1.3.0 [Updatable] Adapter "zigbee" : 1.8.24 , installed 1.8.24 iob upgrade all This upgrade of "ws" will at least introduce the following changes: ========================================================================== -> 2.5.8: Corrected adapter termination if the alias has no target -> 2.5.7: upgraded socket-classes to fix vis problems -> 2.5.6: upgraded socket-classes to correct the error by unsubscribing on client disconnect -> 2.5.5: upgraded socket-classes to fix crash cases -> 2.5.4: added missing node16 requirement -> 2.5.3: Added the subscribing on the specific instance messages -> 2.4.0: (bluefox) extended the getObjects function with the possibility to read the list of IDs ========================================================================== BE CAREFUL: THIS IS A MAJOR UPGRADE, WHICH WILL MOST LIKELY INTRODUCE BREAKING CHANGES! Would you like to upgrade ws from @1.3.0 to @2.5.8 now? [(y)es, (n)o]:
-
Dann hau die Updates rein.
Und warum ist da kein admin installiert? -
Would you like to upgrade ws from @1.3.0 to @2.5.8 now? [(y)es, (n)o]:
Ich hab mal y gewählt.... jetzt Installiert er....
-
Anscheinden dauert das ein Weilchen:
-
@thomas-braun sagte in keine Geräte im Zigbee Adapter - funktioniert aber.:
Dann hau die Updates rein.
Und warum ist da kein admin installiert?Kann ich nicht sagen....
Hat aber heute Nachmittag noch funktioniert..
Er hat jetzt erst drei Updates installier..... -
was kann ich denn jetzt machen um den Admin wieder hinzuzufügen......?