NEWS
Diskussion zum HowTo nodejs-Installation und upgrade
-
@turrican was aus der Anleitung (https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian) hast du denn schon gemacht?
was kam dabei raus?
bitte komplette Ein- und Ausgaben in code-tags posten. -
Ich habe Geschafft mit der Anleitung
in der /etc/apt/sources.list.d/nodesource.list
waren nur 2 Einträge mit 12, die habe ich zu 14 geändert und dann
sudo apt update sudo apt upgrade
Nach Reboot habe ich jetzt Node.js v14.19.1
also alles Gut!
Danke
Gruss Björn -
ist nodejs 16 nun Standard? Ich hab leider vergessen das Bild vor dem Update zu machen wo es angezeigt hat das 16 die gewünschte Version ist.
-
@brainbug sagte in Diskussion zum HowTo nodejs-Installation und upgrade:
ist nodejs 16 nun Standard? Ich hab leider vergessen das Bild vor dem Update zu machen wo es angezeigt hat das 16 gewünschte Version ist.
Bei steht weiterhin 14 drin. Gewünschte Version steht gar nicht drin. Bin auf stable.
Bist du auf beta unterwegs ?
-
@bahnuhr
Ach sorry das liegt ja dann an mir! Ich hab die node 16 in die nodesource.list eingetragen und dann erkennt iobroker die nächste Version und sagt bitte updaten. Sorry für die ..... Frage! -
Und hier ist der nächste mit dem Problem das Adapter kein Update mehr erhalten können.
Bei mir läuft ioBroker in einer VM unter Proxmox.
7 Adapter werden angezeigt und bei keinem funktioniert es, alle mit Fehlercode 25.
Ich habe nun versucht die vielen Hinweise nachzuvollziehen und bekomme 2 Adapter nicht richtig gelöscht.
Der "modbus" und der "tr-64-community" scheint Probleme zu machen.
Den "tr-064-community" sehe ich gar nicht im iobroker, den "modbus" bekomme ich im iobroker nicht gelöscht.Wie bekomme ich diese sauber gelöscht ?
sprite01@iobroker:/opt/iobroker$ sudo ln -s /usr/bin/node /usr/bin/nodejs ln: failed to create symbolic link '/usr/bin/nodejs': File exists sprite01@iobroker:/opt/iobroker$ uname -m && which 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.15.1 v16.15.1 8.11.0 sprite01 /opt/iobroker OK:1 http://de.archive.ubuntu.com/ubuntu bionic InRelease OK:2 https://deb.nodesource.com/node_16.x bionic InRelease OK:3 http://de.archive.ubuntu.com/ubuntu bionic-updates InRelease OK:4 http://de.archive.ubuntu.com/ubuntu bionic-backports InRelease OK:5 http://de.archive.ubuntu.com/ubuntu bionic-security InRelease Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Alle Pakete sind aktuell. nodejs: Installiert: 16.15.1-1nodesource1 Installationskandidat: 16.15.1-1nodesource1 Versionstabelle: *** 16.15.1-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bionic/main amd64 Packages 100 /var/lib/dpkg/status 8.10.0~dfsg-2ubuntu0.4 500 500 http://de.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages 8.10.0~dfsg-2ubuntu0.2 500 500 http://de.archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages 8.10.0~dfsg-2 500 500 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages sprite01@iobroker:/opt/iobroker$
sprite01@iobroker:/opt/iobroker$ iobroker update Used repository: Stable (default) Adapter "admin" : 5.3.8 , installed 5.3.8 Adapter "alexa2" : 3.11.2 , installed 3.11.2 Adapter "backitup" : 2.4.9 , installed 2.4.9 Adapter "cloud" : 4.1.1 , installed 4.1.1 Adapter "countdown" : 1.2.5 , installed 1.2.5 Adapter "device-reminder": 1.2.9 , installed 1.2.9 Adapter "devices" : 1.0.12 , installed 1.0.10 [Updatable] Adapter "discovergy" : 0.5.8 , installed 0.5.8 Adapter "discovery" : 3.0.3 , installed 3.0.3 Adapter "dwd" : 2.8.3 , installed 2.8.3 Adapter "echarts" : 1.0.7 , installed 1.0.7 Adapter "feiertage" : 1.1.0 , installed 1.1.0 Adapter "flot" : 1.11.0 , installed 1.10.7 [Updatable] Adapter "fritzbox" : 0.2.1 , installed 0.2.1 Adapter "fritzdect" : 2.2.3 , installed 2.2.3 Adapter "fronius" : 1.1.3 , installed 1.1.3 Adapter "harmony" : 1.2.2 , installed 1.2.2 Adapter "hass" : 1.1.2 , installed 1.1.2 Adapter "heatingcontrol": 2.8.6 , installed 2.8.6 Adapter "history" : 1.11.1 , installed 1.11.1 Adapter "hm-rega" : 3.0.40 , installed 3.0.40 Adapter "hm-rpc" : 1.15.12 , installed 1.15.12 Adapter "hue" : 3.7.0 , installed 3.6.5 [Updatable] Adapter "ical" : 1.12.1 , installed 1.12.1 Adapter "icons-addictive-flavour-png": 0.1.0, installed 0.1.0 Adapter "icons-fatcow-hosting": 0.1.0, installed 0.1.0 Adapter "icons-icons8" : 0.0.1 , installed 0.0.1 Adapter "icons-material-png": 0.1.0, installed 0.1.0 Adapter "icons-material-svg": 0.1.0, installed 0.1.0 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.3 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "info" : 1.9.19 , installed 1.9.19 Adapter "iot" : 1.11.4 , installed 1.11.4 Adapter "iqontrol" : 2.0.0 , installed 2.0.0 Adapter "javascript" : 5.7.0 , installed 5.7.0 Controller "js-controller": 4.0.23 , installed 4.0.23 Adapter "luftdaten" : 2.2.4 , installed 2.2.4 Adapter "mclighting" : 0.1.2 , installed 0.1.2 Adapter "mihome" : 1.4.0 , installed 1.4.0 Adapter "mobile" : 1.0.1 , installed 1.0.1 Adapter "mqtt" : 3.0.6 , installed 3.0.6 Adapter "netatmo" : 1.7.1 , installed 1.7.1 Adapter "node-red" : 3.3.1 , installed 3.3.0 [Updatable] Adapter "onvif" : 0.4.4 , installed 0.4.4 Adapter "owntracks" : 1.0.2 , installed 1.0.2 Adapter "panasonic-viera": 2.0.0 , installed 2.0.0 Adapter "parser" : 1.1.7 , installed 1.1.5 [Updatable] Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "places" : 1.1.2 , installed 1.1.2 Adapter "proxmox" : 1.3.4 , installed 1.3.4 Adapter "pushbullet" : 0.0.11 , installed 0.0.11 Adapter "pushover" : 2.1.0 , installed 2.1.0 Adapter "radar2" : 2.0.3 , installed 2.0.3 Adapter "rflink" : 2.1.6 , installed 2.1.6 Adapter "robonect" : 0.1.4 , installed 0.1.4 Adapter "sayit" : 1.12.3 , installed 1.12.3 Adapter "scenes" : 2.3.9 , installed 2.3.9 Adapter "shelly" : 5.3.2 , installed 5.3.2 Adapter "simple-api" : 2.7.0 , installed 2.6.5 [Updatable] Adapter "smartmeter" : 3.3.4 , installed 3.3.4 Adapter "socketio" : 4.2.0 , installed 4.2.0 Adapter "sonos" : 2.1.7 , installed 2.1.7 Adapter "systeminfo" : 0.3.1 , installed 0.3.1 Adapter "tankerkoenig" : 2.1.1 , installed 2.1.1 Adapter "terminal" : 0.2.6 , installed 0.2.5 [Updatable] Adapter "text2command" : 2.2.1 , installed 2.2.1 Adapter "unifi" : 0.5.10 , installed 0.5.10 Adapter "viessmannapi" : 2.0.9 , installed 2.0.9 Adapter "virtualpowermeter": 1.4.4, installed 1.4.4 Adapter "vis" : 1.4.15 , installed 1.4.15 Adapter "vis-bars" : 0.1.4 , installed 0.1.4 Adapter "vis-canvas-gauges": 0.1.5, installed 0.1.5 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-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-lcars" : 1.0.4 , installed 1.0.4 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-plumb" : 1.0.2 , installed 1.0.2 Adapter "vis-rgraph" : 0.0.2 , installed 0.0.2 Adapter "vis-timeandweather": 1.1.7, installed 1.1.7 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 "wled" : 0.6.7 , installed 0.6.7 Adapter "ws" : 1.3.0 , installed 1.3.0 Adapter "yahka" : 0.13.1 , installed 0.13.1 Adapter "yr" : 5.3.0 , installed 5.3.0 Adapter "zigbee" : 1.7.5 , installed 1.7.5
sprite01@iobroker:/opt/iobroker$ npm ls | grep ERR npm ERR! code ELSPROBLEMS npm ERR! extraneous: @types/caseless@0.12.2 /opt/iobroker/node_modules/@types/caseless npm ERR! extraneous: @types/request@2.48.8 /opt/iobroker/node_modules/@types/request npm ERR! extraneous: @types/tough-cookie@4.0.2 /opt/iobroker/node_modules/@types/tough-cookie npm ERR! extraneous: coffee-compiler@0.3.2 /opt/iobroker/node_modules/coffee-compiler npm ERR! extraneous: coffee-script@1.12.7 /opt/iobroker/node_modules/coffee-script npm ERR! extraneous: crc@4.1.1 /opt/iobroker/node_modules/crc npm ERR! missing: iobroker.modbus@5.0.3, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.tr-064-community@https://github.com/iobroker-community-adapters/ioBroker.tr-064-community/tarball/46b9e0400150a185e1ebf191fbf876e686e21fef, required by iobroker.inst@2.0.3 npm ERR! missing: iobroker.tr-064@4.2.16, required by iobroker.inst@2.0.3 npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors npm ERR! extraneous: stampit-event-bus@0.1.1 /opt/iobroker/node_modules/stampit-event-bus npm ERR! extraneous: stampit-state-machine@0.2.1 /opt/iobroker/node_modules/stampit-state-machine npm ERR! extraneous: stampit@2.1.2 /opt/iobroker/node_modules/stampit npm ERR! extraneous: suncalc2@1.8.1 /opt/iobroker/node_modules/suncalc2 npm ERR! extraneous: supermixer@1.0.5 /opt/iobroker/node_modules/supermixer npm ERR! extraneous: tr-O64@0.2.4 /opt/iobroker/node_modules/tr-O64 npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc npm ERR! extraneous: vm2@3.9.9 /opt/iobroker/node_modules/vm2 npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan
-
@sprite01 sagte in Diskussion zum HowTo nodejs-Installation und upgrade:
iobroker del modbus iobroker del tr-064-community
liefert?
-
Sorry, ich habe am WE so viel probiert (und vergessen welchen Blödsinn ich offensichtlich gemacht habe)...
Da ich den Adapter "tr-064 community" nicht mehr im ioBroker hatte habe ich den Ordner mittels WinSCP händisch gelöscht.
Offensichtlich habe ich das mit "modbus" genauso gemacht.
Die Frage ist eher: wie bekomme ich die Einträge aus dem ioBroker dazu raus.
sprite01@iobroker:~$ iobroker del modbus Delete adapter "modbus" host.iobroker object modbus deleted host.iobroker object modbus.admin deleted Error deleting adapter modbus from disk: Cannot find module 'iobroker.modbus/io-package.json' Require stack: - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js You might have to delete it yourself! sprite01@iobroker:~$ iobroker del tr-064-community Delete adapter "tr-064-community" host.iobroker Counted 2 meta of tr-064-community host.iobroker Counted 1 adapter for tr-064-community host.iobroker Counted 1 states of system.adapter.tr-064-community host.iobroker Counted 1 states (system.adapter.tr-064-community.*) from states host.iobroker object tr-064-community deleted host.iobroker object tr-064-community.admin deleted host.iobroker Deleting 4 object(s). host.iobroker Deleting 1 state(s). Error deleting adapter tr-064-community from disk: Cannot find module 'iobroker.tr-064-community/io-package.json' Require stack: - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js You might have to delete it yourself!
-
@sprite01 sagte in Diskussion zum HowTo nodejs-Installation und upgrade:
Da ich den Adapter "tr-064 community" nicht mehr im ioBroker hatte habe ich den Ordner mittels WinSCP händisch gelöscht.
Macht man nicht.
(Schon gar nicht per WinSCP...)Lösch mal die /opt/iobroker/package-lock.json und /opt/iobroker/package.json
iobroker stop rm /opt/iobroker/package* iobroker start iobroker update -i iobroker upgrade all
-
@thomas-braun Danke für deine Unterstützung.
Sieht schon mal gut aus, 1/7 ist erledigt.
Bevor ich nun wieder einen Bock schieße frage ich lieber nochmals nach: wie weiter ?prite01@iobroker:~$ iob stop sprite01@iobroker:~$ rm /opt/iobroker/package* sprite01@iobroker:~$ iobroker start sprite01@iobroker:~$ iobroker update -i Used repository: Stable (default) Adapter "admin" : 5.3.8 , installed 5.3.8 Adapter "alexa2" : 3.11.2 , installed 3.11.2 Adapter "backitup" : 2.4.9 , installed 2.4.9 Adapter "cloud" : 4.1.1 , installed 4.1.1 Adapter "countdown" : 1.2.5 , installed 1.2.5 Adapter "device-reminder": 1.2.9 , installed 1.2.9 Adapter "devices" : 1.0.12 , installed 1.0.10 [Updatable] Adapter "discovergy" : 0.5.8 , installed 0.5.8 Adapter "discovery" : 3.0.3 , installed 3.0.3 Adapter "dwd" : 2.8.3 , installed 2.8.3 Adapter "echarts" : 1.0.7 , installed 1.0.7 Adapter "feiertage" : 1.1.0 , installed 1.1.0 Adapter "flot" : 1.11.0 , installed 1.10.7 [Updatable] Adapter "fritzbox" : 0.2.1 , installed 0.2.1 Adapter "fritzdect" : 2.2.3 , installed 2.2.3 Adapter "fronius" : 1.1.3 , installed 1.1.3 Adapter "harmony" : 1.2.2 , installed 1.2.2 Adapter "hass" : 1.1.2 , installed 1.1.2 Adapter "heatingcontrol": 2.8.6 , installed 2.8.6 Adapter "history" : 1.11.1 , installed 1.11.1 Adapter "hm-rega" : 3.0.40 , installed 3.0.40 Adapter "hm-rpc" : 1.15.12 , installed 1.15.12 Adapter "hue" : 3.7.0 , installed 3.6.5 [Updatable] Adapter "ical" : 1.12.1 , installed 1.12.1 Adapter "icons-addictive-flavour-png": 0.1.0, installed 0.1.0 Adapter "icons-fatcow-hosting": 0.1.0, installed 0.1.0 Adapter "icons-icons8" : 0.0.1 , installed 0.0.1 Adapter "icons-material-png": 0.1.0, installed 0.1.0 Adapter "icons-material-svg": 0.1.0, installed 0.1.0 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.3 Adapter "icons-ultimate-png": 1.0.1, installed 1.0.1 Adapter "info" : 1.9.19 , installed 1.9.19 Adapter "iot" : 1.11.4 , installed 1.11.4 Adapter "iqontrol" : 2.0.0 , installed 2.0.0 Adapter "javascript" : 5.7.0 , installed 5.7.0 Controller "js-controller": 4.0.23 , installed 4.0.23 Adapter "luftdaten" : 2.2.4 , installed 2.2.4 Adapter "mclighting" : 0.1.2 , installed 0.1.2 Adapter "mihome" : 1.4.0 , installed 1.4.0 Adapter "mobile" : 1.0.1 , installed 1.0.1 Adapter "mqtt" : 3.0.6 , installed 3.0.6 Adapter "netatmo" : 1.7.1 , installed 1.7.1 Adapter "node-red" : 3.3.1 , installed 3.3.0 [Updatable] Adapter "onvif" : 0.4.4 , installed 0.4.4 Adapter "owntracks" : 1.0.2 , installed 1.0.2 Adapter "panasonic-viera": 2.0.0 , installed 2.0.0 Adapter "parser" : 1.1.7 , installed 1.1.5 [Updatable] Adapter "ping" : 1.5.3 , installed 1.5.3 Adapter "places" : 1.1.2 , installed 1.1.2 Adapter "proxmox" : 1.3.4 , installed 1.3.4 Adapter "pushbullet" : 0.0.11 , installed 0.0.11 Adapter "pushover" : 2.1.0 , installed 2.1.0 Adapter "radar2" : 2.0.3 , installed 2.0.3 Adapter "rflink" : 2.1.6 , installed 2.1.6 Adapter "robonect" : 0.1.4 , installed 0.1.4 Adapter "sayit" : 1.12.3 , installed 1.12.3 Adapter "scenes" : 2.3.9 , installed 2.3.9 Adapter "shelly" : 5.3.2 , installed 5.3.2 Adapter "simple-api" : 2.7.0 , installed 2.6.5 [Updatable] Adapter "smartmeter" : 3.3.4 , installed 3.3.4 Adapter "socketio" : 4.2.0 , installed 4.2.0 Adapter "sonos" : 2.1.7 , installed 2.1.7 Adapter "systeminfo" : 0.3.1 , installed 0.3.1 Adapter "tankerkoenig" : 2.1.1 , installed 2.1.1 Adapter "terminal" : 0.2.6 , installed 0.2.5 [Updatable] Adapter "text2command" : 2.2.1 , installed 2.2.1 Adapter "unifi" : 0.5.10 , installed 0.5.10 Adapter "viessmannapi" : 2.0.9 , installed 2.0.9 Adapter "virtualpowermeter": 1.4.4, installed 1.4.4 Adapter "vis" : 1.4.15 , installed 1.4.15 Adapter "vis-bars" : 0.1.4 , installed 0.1.4 Adapter "vis-canvas-gauges": 0.1.5, installed 0.1.5 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-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-lcars" : 1.0.4 , installed 1.0.4 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-plumb" : 1.0.2 , installed 1.0.2 Adapter "vis-rgraph" : 0.0.2 , installed 0.0.2 Adapter "vis-timeandweather": 1.1.7, installed 1.1.7 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 "wled" : 0.6.7 , installed 0.6.7 Adapter "ws" : 1.3.0 , installed 1.3.0 Adapter "yahka" : 0.13.1 , installed 0.13.1 Adapter "yr" : 5.3.0 , installed 5.3.0 Adapter "zigbee" : 1.7.5 , installed 1.7.5 sprite01@iobroker:~$ iobroker upgrade all This upgrade of "terminal" will introduce the following changes: ========================================================================== -> 0.2.6: Fix crash cases as reported by Sentry ========================================================================== Would you like to upgrade terminal from @0.2.5 to @0.2.6 now? [(y)es, (n)o]: y Update terminal from @0.2.5 to @0.2.6 NPM version: 8.11.0 Installing iobroker.terminal@0.2.6... (System call) added 16 packages, removed 3070 packages, and changed 1 package in 56s 8 packages are looking for funding run `npm fund` for details upload [0] terminal /opt/iobroker/node_modules/iobroker.terminal/www/login/index.html login/index.html text/ html Update "system.adapter.terminal.0" upload [1] terminal.admin /opt/iobroker/node_modules/iobroker.terminal/admin/index.html index.html text/html upload [0] terminal.admin /opt/iobroker/node_modules/iobroker.terminal/admin/terminal.png terminal.png image /png Adapter "simple-api" is not installed. Adapter "parser" is not installed. Adapter "node-red" is not installed. Adapter "hue" is not installed. Adapter "flot" is not installed. Adapter "devices" is not installed.
-
Läuft das jetzt für alle Module durch?
-
@sprite01
Nein,
mehr passiert im Moment nicht.
Das Putty-Fenster habe ich noch offen und auf die Admin-Oberfläche komme ich nicht mehr.
ioBroker läuft aber wie ich an der Vis sehe. -
iobroker reboot bringt einen Fehler.
sprite01@iobroker:~$ iobroker reboot node:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } sprite01@iobroker:~$
-
cd /opt/iobroker sudo -H -u iobroker npm install iobroker.js-controller
Wie kommst du auf
iobroker reboot
?
Das heißtiobroker restart
(Vermutlich) -
Stimmt, restart ist richtig. Sorry.
Das lief jetzt aber schnell durch, aber der iobroker startet nicht mehr.
sprite01@iobroker:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-controller up to date in 2s 21 packages are looking for funding run `npm fund` for details sprite01@iobroker:/opt/iobroker$ iobroker start
-
iobroker status
-
sprite01@iobroker:/opt/iobroker$ iobroker status iobroker is running on this host. Objects type: jsonl States type: jsonl sprite01@iobroker:/opt/iobroker$
-
-
@thomas-braun sagte in Diskussion zum HowTo nodejs-Installation und upgrade:
Läuft doch.
Sehe ich ja nicht so einfach, zumindest die Weboberfläche ist nicht erreichbar.
sprite01@iobroker:/opt/iobroker$ iobroker list adapters system.adapter.admin : admin - v5.3.8 system.adapter.admin-2 : admin-2 - v2.0.10 system.adapter.admin-beta : admin-beta - v3.0.12 system.adapter.admin-neo : admin-neo - v0.0.1 system.adapter.alexa2 : alexa2 - v3.11.2 system.adapter.b-control-em : b-control-em - v0.2.1 system.adapter.backitup : backitup - v2.4.9 system.adapter.bosesoundtouch : bosesoundtouch - v0.2.4 system.adapter.cameras : cameras - v0.1.3 system.adapter.chromecast : chromecast - v2.3.1 system.adapter.cloud : cloud - v4.1.1 system.adapter.countdown : countdown - v1.2.5 system.adapter.deconz : deconz - v1.1.2 system.adapter.device-reminder : device-reminder - v1.2.9 system.adapter.devices : devices - v1.0.10 system.adapter.discovergy : discovergy - v0.5.8 system.adapter.discovery : discovery - v3.0.3 system.adapter.dwd : dwd - v2.8.3 system.adapter.echarts : echarts - v1.0.7 system.adapter.email : email - v1.0.5 system.adapter.feiertage : feiertage - v1.1.0 system.adapter.firetv : firetv - v0.0.33 system.adapter.flot : flot - v1.11.0 system.adapter.fritzbox : fritzbox - v0.2.1 system.adapter.fritzdect : fritzdect - v2.2.3 system.adapter.fronius : fronius - v1.1.3 system.adapter.geofency : geofency - v0.3.2 system.adapter.harmony : harmony - v1.2.2 system.adapter.hass : hass - v1.1.2 system.adapter.heatingcontrol : heatingcontrol - v2.8.6 system.adapter.history : history - v1.11.1 system.adapter.hm-rega : hm-rega - v3.0.40 system.adapter.hm-rpc : hm-rpc - v1.15.12 system.adapter.hmm : hmm - v1.0.1 system.adapter.hombot : hombot - v0.1.3 system.adapter.hue : hue - v3.6.5 system.adapter.hyperion : hyperion - v0.0.9 system.adapter.ical : ical - v1.12.1 system.adapter.icons-addictive-flavour-png: icons-addictive-flavour-png - v0.1.0 system.adapter.icons-fatcow-hosting : icons-fatcow-hosting - v0.1.0 system.adapter.icons-icons8 : icons-icons8 - v0.0.1 system.adapter.icons-material-png : icons-material-png - v0.1.0 system.adapter.icons-material-svg : icons-material-svg - v0.1.0 system.adapter.icons-mfd-png : icons-mfd-png - v1.1.0 system.adapter.icons-mfd-svg : icons-mfd-svg - v1.1.0 system.adapter.icons-open-icon-library-png: icons-open-icon-library-png - v0.1.2 system.adapter.icons-ultimate-png : icons-ultimate-png - v1.0.1 system.adapter.influxdb : influxdb - v1.6.3 system.adapter.info : info - v1.9.19 system.adapter.iot : iot - v1.11.4 system.adapter.iqontrol : iqontrol - v2.0.0 system.adapter.javascript : javascript - v5.7.0 system.adapter.lgtv11 : lgtv11 - v1.0.5 system.adapter.life360 : life360 - v0.2.11 system.adapter.luftdaten : luftdaten - v2.2.4 system.adapter.mclighting : mclighting - v0.1.2 system.adapter.mihome : mihome - v1.4.0 system.adapter.mobile : mobile - v1.0.1 system.adapter.motion : motion - v0.0.1 system.adapter.mqtt : mqtt - v3.0.6 system.adapter.mytime : mytime - v0.6.1 system.adapter.netatmo : netatmo - v1.7.1 system.adapter.network : network - v0.0.4 system.adapter.node-red : node-red - v3.3.1 system.adapter.nut : nut - v1.1.3 system.adapter.onkyo : onkyo - v2.0.3 system.adapter.onvif : onvif - v0.4.4 system.adapter.openweathermap : openweathermap - v0.1.0 system.adapter.owntracks : owntracks - v1.0.2 system.adapter.panasonic-viera : panasonic-viera - v2.0.0 system.adapter.parser : parser - v1.1.5 system.adapter.ping : ping - v1.5.3 system.adapter.places : places - v1.1.2 system.adapter.proxmox : proxmox - v1.3.4 system.adapter.pushbullet : pushbullet - v0.0.11 system.adapter.pushover : pushover - v2.1.0 system.adapter.pushsafer : pushsafer - v0.1.8 system.adapter.radar2 : radar2 - v2.0.3 system.adapter.rflink : rflink - v2.1.6 system.adapter.robonect : robonect - v0.1.4 system.adapter.rpi2 : rpi2 - v1.1.1 system.adapter.sayit : sayit - v1.12.3 system.adapter.scenes : scenes - v2.3.9 system.adapter.shelly : shelly - v5.3.2 system.adapter.simple-api : simple-api - v2.6.5 system.adapter.smartmeter : smartmeter - v3.3.4 system.adapter.socketio : socketio - v4.2.0 system.adapter.solarlog : solarlog - v1.2.0 system.adapter.sonoff : sonoff - v2.3.3 system.adapter.sonos : sonos - v2.1.7 system.adapter.sourceanalytix : sourceanalytix - v0.4.12 system.adapter.stockmarket : stockmarket - v0.0.2 system.adapter.systeminfo : systeminfo - v0.3.1 system.adapter.tankerkoenig : tankerkoenig - v2.1.1 system.adapter.telegram : telegram - v1.4.6 system.adapter.terminal : terminal - v0.2.6 system.adapter.text2command : text2command - v2.2.1 system.adapter.unifi : unifi - v0.5.10 system.adapter.unifi-protect : unifi-protect - v0.0.11 system.adapter.viessmannapi : viessmannapi - v2.0.9 system.adapter.virtualpowermeter : virtualpowermeter - v1.4.4 system.adapter.vis : vis - v1.4.15 system.adapter.vis-bars : vis-bars - v0.1.4 system.adapter.vis-beta : vis-beta - v0.14.1 system.adapter.vis-canvas-gauges : vis-canvas-gauges - v0.1.5 system.adapter.vis-colorpicker : vis-colorpicker - v1.2.0 system.adapter.vis-fancyswitch : vis-fancyswitch - v1.1.0 system.adapter.vis-google-fonts : vis-google-fonts - v1.0.3 system.adapter.vis-history : vis-history - v1.0.0 system.adapter.vis-hqwidgets : vis-hqwidgets - v1.2.0 system.adapter.vis-jqui-mfd : vis-jqui-mfd - v1.0.12 system.adapter.vis-justgage : vis-justgage - v1.0.2 system.adapter.vis-keyboard : vis-keyboard - v0.0.2 system.adapter.vis-lcars : vis-lcars - v1.0.4 system.adapter.vis-map : vis-map - v1.0.4 system.adapter.vis-material : vis-material - v0.1.5 system.adapter.vis-materialdesign : vis-materialdesign - v0.4.2 system.adapter.vis-metro : vis-metro - v1.2.0 system.adapter.vis-players : vis-players - v0.1.6 system.adapter.vis-plumb : vis-plumb - v1.0.2 system.adapter.vis-rgraph : vis-rgraph - v0.0.2 system.adapter.vis-timeandweather : vis-timeandweather - v1.1.7 system.adapter.vis-weather : vis-weather - v2.5.5 system.adapter.weatherunderground : weatherunderground - v3.4.2 system.adapter.web : web - v4.3.0 system.adapter.whatsapp-cmb : whatsapp-cmb - v0.2.2 system.adapter.wled : wled - v0.6.7 system.adapter.yahka : yahka - v0.13.1 system.adapter.yr : yr - v5.3.0 system.adapter.zigbee : zigbee - v1.7.5 system.adapter.zont : zont - v0.5.3 sprite01@iobroker:/opt/iobroker$ iobroker list instances 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.cameras.0 : cameras : iobroker - disabled, port: 8200, bind: 127.0.0.1 system.adapter.cloud.0 : cloud : iobroker - disabled 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.dwd.0 : dwd : iobroker - disabled system.adapter.echarts.0 : echarts : iobroker - enabled system.adapter.feiertage.0 : feiertage : iobroker - enabled system.adapter.flot.0 : flot : iobroker - disabled system.adapter.fritzbox.0 : fritzbox : iobroker - enabled system.adapter.fronius.0 : fronius : iobroker - enabled system.adapter.harmony.0 : harmony : iobroker - enabled system.adapter.history.0 : history : iobroker - enabled system.adapter.hm-rega.0 : hm-rega : iobroker - enabled system.adapter.hm-rpc.0 : hm-rpc : iobroker - enabled, port: 0 system.adapter.hm-rpc.1 : hm-rpc : iobroker - enabled, port: 0 system.adapter.hm-rpc.2 : hm-rpc : iobroker - enabled, port: 0 system.adapter.hue.0 : hue : iobroker - enabled, port: 443 system.adapter.ical.0 : ical : iobroker - enabled system.adapter.ical.1 : ical : iobroker - enabled system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: iobroker - disabled system.adapter.icons-fatcow-hosting.0 : icons-fatcow-hosting : iobroker - disabled system.adapter.icons-icons8.0 : icons-icons8 : iobroker - disabled system.adapter.icons-material-png.0 : icons-material-png : iobroker - disabled system.adapter.icons-material-svg.0 : icons-material-svg : iobroker - disabled system.adapter.icons-mfd-png.0 : icons-mfd-png : iobroker - disabled system.adapter.icons-mfd-svg.0 : icons-mfd-svg : iobroker - disabled system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: iobroker - disabled system.adapter.icons-ultimate-png.0 : icons-ultimate-png : iobroker - disabled system.adapter.info.0 : info : iobroker - enabled system.adapter.iot.0 : iot : iobroker - enabled system.adapter.iqontrol.0 : iqontrol : iobroker - disabled system.adapter.javascript.0 : javascript : iobroker - enabled system.adapter.luftdaten.0 : luftdaten : iobroker - disabled system.adapter.mclighting.0 : mclighting : iobroker - disabled, port: 81 system.adapter.mihome.0 : mihome : iobroker - disabled, port: 9898, bind: 0.0.0.0 system.adapter.mobile.0 : mobile : iobroker - disabled system.adapter.mqtt.0 : mqtt : iobroker - enabled, port: 1883, bind: 0.0.0.0 system.adapter.mytime.0 : mytime : iobroker - enabled system.adapter.netatmo.0 : netatmo : iobroker - enabled system.adapter.node-red.0 : node-red : iobroker - disabled, port: 1880, bind: 0.0.0.0 system.adapter.panasonic-viera.0 : panasonic-viera : iobroker - disabled system.adapter.parser.0 : parser : iobroker - enabled system.adapter.ping.0 : ping : iobroker - enabled system.adapter.places.0 : places : iobroker - disabled system.adapter.proxmox.0 : proxmox : iobroker - enabled, port: 8006 system.adapter.pushbullet.0 : pushbullet : iobroker - disabled system.adapter.pushover.0 : pushover : iobroker - enabled system.adapter.radar2.0 : radar2 : iobroker - disabled system.adapter.rflink.0 : rflink : iobroker - disabled system.adapter.robonect.0 : robonect : iobroker - disabled system.adapter.sayit.0 : sayit : iobroker - enabled, port: 0 system.adapter.sayit.1 : sayit : iobroker - disabled, port: 0 system.adapter.scenes.0 : scenes : iobroker - disabled system.adapter.simple-api.0 : simple-api : iobroker - disabled, port: 8087, bind: 0.0.0.0, run as: admin system.adapter.smartmeter.0 : smartmeter : iobroker - enabled system.adapter.socketio.0 : socketio : iobroker - enabled, port: 8084, bind: 0.0.0.0, run as: admin system.adapter.sourceanalytix.0 : sourceanalytix : iobroker - enabled system.adapter.systeminfo.0 : systeminfo : iobroker - disabled system.adapter.tankerkoenig.0 : tankerkoenig : iobroker - enabled system.adapter.terminal.0 : terminal : iobroker - disabled, port: 8088, bind: 0.0.0.0, run as: admin system.adapter.unifi.0 : unifi : iobroker - enabled system.adapter.viessmannapi.0 : viessmannapi : iobroker - enabled system.adapter.virtualpowermeter.0 : virtualpowermeter : iobroker - enabled system.adapter.vis-bars.0 : vis-bars : iobroker - disabled system.adapter.vis-canvas-gauges.0 : vis-canvas-gauges : iobroker - disabled system.adapter.vis-colorpicker.0 : vis-colorpicker : iobroker - disabled system.adapter.vis-fancyswitch.0 : vis-fancyswitch : iobroker - disabled system.adapter.vis-google-fonts.0 : vis-google-fonts : iobroker - enabled system.adapter.vis-history.0 : vis-history : iobroker - disabled system.adapter.vis-hqwidgets.0 : vis-hqwidgets : iobroker - disabled system.adapter.vis-jqui-mfd.0 : vis-jqui-mfd : iobroker - disabled system.adapter.vis-justgage.0 : vis-justgage : iobroker - disabled system.adapter.vis-keyboard.0 : vis-keyboard : iobroker - disabled system.adapter.vis-lcars.0 : vis-lcars : iobroker - disabled system.adapter.vis-map.0 : vis-map : iobroker - disabled system.adapter.vis-material.0 : vis-material : iobroker - disabled system.adapter.vis-materialdesign.0 : vis-materialdesign : iobroker - disabled system.adapter.vis-metro.0 : vis-metro : iobroker - disabled system.adapter.vis-players.0 : vis-players : iobroker - disabled system.adapter.vis-plumb.0 : vis-plumb : iobroker - disabled system.adapter.vis-rgraph.0 : vis-rgraph : iobroker - disabled system.adapter.vis-timeandweather.0 : vis-timeandweather : iobroker - disabled system.adapter.vis-weather.0 : vis-weather : iobroker - disabled 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.whatsapp-cmb.0 : whatsapp-cmb : iobroker - enabled system.adapter.wled.0 : wled : iobroker - disabled system.adapter.yahka.0 : yahka : iobroker - disabled system.adapter.yr.0 : yr : iobroker - disabled + instance is alive
-
@sprite01 sagte in Diskussion zum HowTo nodejs-Installation und upgrade:
Was ist denn das alles für Kram?
system.adapter.admin : admin - v5.3.8 system.adapter.admin-2 : admin-2 - v2.0.10 system.adapter.admin-beta : admin-beta - v3.0.12 system.adapter.admin-neo : admin-neo - v0.0.1
Admin per
iobroker start admin
starten.