NEWS
Nach Update läuft nichts mehr!
-
@Thomas-Braun Neustart läuft
Node und Nodejs sind auch auf der gleichen Version
pi@raspberrypi:/opt/iobroker $ npm -v && node -v && nodejs -v 6.14.4 v12.16.3 v12.16.3
-
@Thomas-Braun said in Nach Update läuft nichts mehr!:
@SaschaS Ich würde das Netzwerk neustarten. Am besten startest du aber die ganze Kiste mal durch:
sudo reboot
Und nach dem Neustart bringen wir ioBroker noch auf den aktuellen stand?
-
@SaschaS Dann sollte node jetzt sauber sein.
cd /opt/iobroker iobroker version iobroker update iobroker upgrade iobroker stop iobroker upgrade self iobroker rebuild iobroker start
-
Nach einem Neustart starten folgende Dienste automatisch:
pi@raspberrypi:~ $ ps auxww | grep io root 12 0.0 0.0 0 0 ? S 10:39 0:00 [migration/0] root 15 0.0 0.0 0 0 ? S 10:39 0:00 [migration/1] root 20 0.0 0.0 0 0 ? S 10:39 0:00 [migration/2] root 25 0.0 0.0 0 0 ? S 10:39 0:00 [migration/3] root 41 0.0 0.0 0 0 ? I< 10:39 0:00 [rpciod] root 43 0.0 0.0 0 0 ? I< 10:39 0:00 [xprtiod] root 47 0.0 0.0 0 0 ? I< 10:39 0:00 [nfsiod] root 62 0.0 0.0 0 0 ? I< 10:39 0:00 [DWC Notificatio] message+ 350 0.1 0.3 6512 3472 ? Ss 10:39 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation iobroker 613 31.1 11.6 212908 110008 ? Dsl 10:39 0:37 iobroker.js-controller iobroker 748 13.3 6.2 152608 58892 ? Sl 10:40 0:15 io.admin.0 iobroker 1520 2.1 4.4 120396 42120 ? Sl 10:40 0:02 io.discovery.0 iobroker 1563 5.7 3.9 132284 37416 ? Sl 10:40 0:06 io.history.0 iobroker 1654 16.4 11.1 208156 106060 ? Rl 10:40 0:16 io.javascript.0 iobroker 1674 13.4 5.1 141812 49012 ? Sl 10:40 0:12 io.stiebel-isg.0 iobroker 1752 4.6 4.1 133636 39080 ? Sl 10:40 0:04 io.web.0 iobroker 1883 4.5 4.1 132840 38948 ? Sl 10:40 0:03 io.cloud.0 iobroker 1911 1.6 3.4 84472 32328 ? Sl 10:40 0:01 /usr/bin/node /opt/iobroker/node_modules/iobroker.info/main.js 0 info iobroker 1994 4.4 5.1 131928 48460 ? Dl 10:40 0:03 io.deconz.0 iobroker 2107 5.2 3.8 131700 36836 ? Sl 10:40 0:03 /usr/bin/node /opt/iobroker/node_modules/iobroker.tankerkoenig/main.js 0 info iobroker 2135 5.9 4.2 134424 40168 ? Sl 10:40 0:03 io.ical.0 iobroker 2169 0.0 0.0 1888 368 ? S 10:40 0:00 /bin/sh -c npm -v iobroker 2219 1.5 2.8 76492 26652 ? Dl 10:40 0:00 npm iobroker 2255 4.5 3.5 119676 33684 ? Sl 10:41 0:02 /usr/bin/node /opt/iobroker/node_modules/iobroker.ble/build/main.js 0 info iobroker 2332 0.0 0.0 0 0 ? Z 10:41 0:00 [sh] <defunct> iobroker 2334 0.0 0.0 0 0 ? Z 10:41 0:00 [sh] <defunct> pi 2812 0.0 0.0 4772 524 pts/0 S+ 10:41 0:00 grep --color=auto io
-
@Thomas-Braun said in Nach Update läuft nichts mehr!:
@SaschaS Dann sollte node jetzt sauber sein.
cd /opt/iobroker iobroker version iobroker update iobroker upgrade iobroker stop iobroker upgrade self iobroker rebuild iobroker start
pi@raspberrypi:/opt/iobroker $ iobroker version 2.2.8
-
@SaschaS
rein theoretisch solltest Du jetzt schon wieder auf die IOBroker Seite kommen, da Node nun der Mindestanforderung des Admin entspricht.
Wenn das geht, steht einer weiteren Aktualisierung nichts im Weg. -
@Thomas-Braun said in Nach Update läuft nichts mehr!:
iobroker update
pi@raspberrypi:/opt/iobroker $ iobroker update Used repository: default hash unchanged, use cached sources update done Adapter "admin" : 4.0.10 , installed 3.7.8 [Updateable] Adapter "alarm" : 0.3.0 Adapter "alexa2" : 3.0.5 Adapter "alpha2" : 1.0.0 Adapter "amazon-dash" : 1.1.0 Adapter "artnet" : 1.2.2 Adapter "asterisk" : 1.0.6 Adapter "asuswrt" : 1.0.1 Adapter "b-control-em" : 0.2.1 Adapter "backitup" : 1.4.5 Adapter "beckhoff" : 1.2.0 Adapter "benq" : 0.2.0 Adapter "binance" : 1.1.2 Adapter "ble" : 0.11.0 , installed 0.11.0 Adapter "bmw" : 1.3.3 Adapter "bosesoundtouch": 0.2.4 Adapter "botvac" : 1.0.0 , installed 1.0.0 Adapter "bring" : 1.7.2 Adapter "broadlink2" : 2.0.2 Adapter "bsblan" : 0.1.0 Adapter "bshb" : 0.1.10 Adapter "chromecast" : 2.3.1 Adapter "cloud" : 3.0.3 , installed 3.0.3 Adapter "comfoair" : 0.3.2 Adapter "contactid" : 1.0.0 Adapter "coronavirus-statistics": 0.5.9 Adapter "countdown" : 1.1.0 Adapter "cul" : 1.2.1 Adapter "daikin" : 1.0.5 Adapter "daswetter" : 2.8.1 , installed 2.8.1 Adapter "deconz" : 1.3.7 , installed 1.3.7 Adapter "denon" : 1.7.4 Adapter "devices" : 0.3.6 Adapter "digitalstrom" : 0.5.5 Adapter "discovergy" : 0.5.0 Adapter "discovery" : 2.3.5 , installed 2.2.2 [Updateable] Adapter "ds18b20" : 1.1.4 Adapter "dwd" : 2.4.9 , installed 2.4.6 [Updateable] Adapter "ebus" : 1.0.0 Adapter "egigeozone" : 0.1.2 Adapter "ekey" : 1.1.0 Adapter "email" : 1.0.6 Adapter "emby" : 1.0.2 Adapter "energymanager" : 1.2.2 Adapter "enet" : 1.0.1 Adapter "epson_stylus_px830": 0.2.1 Adapter "exchangerates" : 0.0.12 Adapter "fakeroku" : 0.2.1 Adapter "fb-checkpresence": 0.3.0 Adapter "feiertage" : 1.0.17 Adapter "fhem" : 1.3.0 Adapter "find-my-iphone": 0.2.15 Adapter "firetv" : 0.0.27 Adapter "flot" : 1.9.2 , installed 1.9.2 Adapter "foobar2000" : 1.0.0 Adapter "fritzbox" : 0.2.1 Adapter "fritzdect" : 0.2.4 Adapter "fronius" : 1.0.5 Adapter "fullcalendar" : 1.1.0 Adapter "fullybrowser" : 1.0.0 Adapter "g-homa" : 0.5.1 Adapter "geofency" : 0.3.2 Adapter "gruenbeck" : 0.0.18 Adapter "habpanel" : 0.4.1 Adapter "haier" : 1.0.2 Adapter "ham" : 1.1.2 Adapter "ham-wemo" : 1.0.1 Adapter "harmony" : 1.2.2 Adapter "heatingcontrol": 0.3.19 Adapter "heytech" : 0.2.0 Adapter "hid" : 0.1.17 Adapter "history" : 1.9.6 , installed 1.8.7 [Updateable] Adapter "hm-rega" : 2.5.5 Adapter "hm-rpc" : 1.14.2 Adapter "hmip" : 0.0.11 Adapter "homeconnect" : 0.0.30 Adapter "homee" : 0.3.1 Adapter "homepilot" : 1.0.3 Adapter "hp-ilo" : 1.0.5 Adapter "hs100" : 1.0.10 Adapter "hue" : 3.2.4 , installed 3.2.4 Adapter "hue-extended" : 1.2.3 Adapter "ical" : 1.7.0 , installed 1.7.0 Adapter "icons-addictive-flavour-png": 0.1.0 Adapter "icons-fatcow-hosting": 0.1.0 Adapter "icons-icons8" : 0.0.1 Adapter "icons-material-png": 0.1.0 Adapter "icons-material-svg": 0.1.0 Adapter "icons-mfd-png" : 1.0.2 , installed 1.0.2 Adapter "icons-mfd-svg" : 1.0.2 , installed 1.0.2 Adapter "icons-open-icon-library-png": 0.1.2 Adapter "icons-ultimate-png": 1.0.1 , installed 1.0.1 Adapter "influxdb" : 1.8.6 Adapter "info" : 1.7.2 , installed 1.5.7 [Updateable] Adapter "innogy-smarthome": 0.3.3 Adapter "iogo" : 0.5.9 Adapter "iot" : 1.4.18 Adapter "iqontrol" : 0.2.16 Adapter "javascript" : 4.5.1 , installed 4.3.4 [Updateable] Adapter "jeelink" : 0.1.0 Controller "js-controller" : 2.2.9 , installed 2.2.8 [Updateable] Adapter "kecontact" : 0.1.0 Adapter "klf200" : 0.9.5 Adapter "km200" : 1.1.6 Adapter "knmi-weather" : 0.2.0 Adapter "knx" : 1.0.39 Adapter "kodi" : 2.0.1 Adapter "kress" : 2.5.5 Adapter "lametric" : 0.0.9 Adapter "landroid" : 1.0.3 Adapter "lcn" : 0.3.2 Adapter "lgtv" : 1.1.6 Adapter "lgtv-rs" : 0.1.0 Adapter "lgtv11" : 1.0.5 Adapter "lifx" : 0.1.0 Adapter "lightify" : 0.2.16 Adapter "link" : 0.5.9 Adapter "linkeddevices" : 1.1.4 Adapter "lovelace" : 1.0.16 Adapter "loxone" : 1.0.0 Adapter "luftdaten" : 0.0.15 Adapter "lupusec" : 1.2.3 Adapter "luxtronik1" : 0.2.2 Adapter "material" : 0.13.8 Adapter "maxcube" : 0.1.2 Adapter "maxcul" : 1.3.0 Adapter "mbus" : 2.1.4 Adapter "mclighting" : 0.1.1 Adapter "megad" : 1.2.1 Adapter "megadd" : 0.2.0 Adapter "megaesp" : 0.1.0 Adapter "mercedesme" : 0.0.21 Adapter "mercury" : 0.1.0 Adapter "meross" : 1.3.11 Adapter "meteoalarm" : 1.0.9 Adapter "miele" : 0.1.5 Adapter "mielecloudservice": 1.2.1 Adapter "mihome" : 1.3.0 Adapter "mihome-lamp" : 1.1.0 Adapter "mihome-plug" : 0.2.0 Adapter "mihome-vacuum" : 1.1.5 Adapter "mikrotik" : 1.0.11 Adapter "milight" : 0.3.6 Adapter "milight-smart-light": 0.2.7 Adapter "mobile" : 0.5.0 Adapter "modbus" : 3.0.0 Adapter "moma" : 1.2.6 Adapter "mpd" : 1.0.4 Adapter "mqtt" : 2.1.2 Adapter "mqtt-client" : 1.3.1 Adapter "musiccast" : 0.1.3 Adapter "mysensors" : 2.0.0 Adapter "nanoleaf-lightpanels": 0.8.1 Adapter "nello" : 2.0.6 Adapter "netatmo" : 1.3.1 Adapter "nibeuplink" : 0.3.0 Adapter "nina" : 0.0.22 Adapter "node-red" : 1.13.0 Adapter "nuki" : 1.2.3 Adapter "nuki-extended" : 2.2.5 Adapter "nut" : 1.1.3 Adapter "odl" : 1.0.5 Adapter "oilfox" : 0.0.5 Adapter "onkyo" : 2.0.3 Adapter "onvif" : 0.0.2 Adapter "openhab" : 1.1.0 Adapter "openligadb" : 1.0.0 Adapter "openweathermap": 0.1.0 Adapter "opi" : 0.1.1 Adapter "oppoplayer" : 0.2.1 Adapter "owfs" : 0.6.4 Adapter "owntracks" : 0.6.2 Adapter "panasonic-viera": 1.0.2 Adapter "parser" : 1.0.7 Adapter "paw" : 0.0.7 Adapter "phantomjs" : 1.0.1 Adapter "pi-hole" : 1.2.3 Adapter "piface" : 1.0.0 Adapter "pimatic" : 0.3.0 Adapter "ping" : 1.4.7 Adapter "places" : 0.7.0 Adapter "plex" : 0.8.9 Adapter "plexconnect" : 0.0.7 Adapter "pollenflug" : 1.0.4 Adapter "proxmox" : 1.0.1 Adapter "proxy" : 1.1.1 Adapter "pushbullet" : 0.0.11 Adapter "pushover" : 2.0.2 Adapter "pushsafer" : 0.1.8 Adapter "radar2" : 1.0.9 Adapter "radiohead" : 1.0.4 Adapter "rflink" : 2.0.0 Adapter "rickshaw" : 1.0.0 Adapter "ring" : 1.1.3 Adapter "robonect" : 0.1.3 Adapter "roomba" : 1.1.1 Adapter "rpi2" : 1.1.1 Adapter "s7" : 1.1.7 Adapter "samsung" : 0.2.9 Adapter "sayit" : 1.9.4 Adapter "sbfspot" : 2.4.0 Adapter "scenes" : 1.1.0 Adapter "schoolfree" : 0.5.0 Adapter "shelly" : 3.1.6 Adapter "shuttercontrol": 0.4.3 Adapter "sia" : 1.0.3 Adapter "siegenia" : 1.0.0 Adapter "simple-api" : 2.4.5 , installed 2.3.2 [Updateable] Adapter "smappee" : 0.2.2 Adapter "smartmeter" : 3.0.10 Adapter "snips" : 1.5.0 Adapter "snmp" : 0.5.0 Adapter "socketio" : 3.0.7 , installed 3.0.6 [Updateable] Adapter "solarlog" : 2.0.0 Adapter "solarwetter" : 1.0.0 Adapter "sonnen" : 1.4.0 Adapter "sonoff" : 2.3.3 Adapter "sonos" : 2.0.1 Adapter "sony-bravia" : 1.0.1 Adapter "spotify-premium": 1.0.0 Adapter "sql" : 1.12.5 Adapter "squeezebox" : 1.0.0 Adapter "squeezeboxrpc" : 1.0.0 Adapter "starline" : 1.0.0 Adapter "statistics" : 0.2.2 Adapter "stiebel-isg" : 1.4.11 , installed 1.4.11 Adapter "sunnyportal" : 0.1.5 , installed 0.1.5 Adapter "swiss-weather-api": 0.2.0 Adapter "systeminfo" : 0.3.1 Adapter "tahoma" : 0.3.2 , installed 0.3.2 Adapter "tankerkoenig" : 2.0.5 , installed 2.0.6 Adapter "telegram" : 1.5.9 Adapter "terminal" : 0.1.2 Adapter "tesla-motors" : 0.2.3 Adapter "text2command" : 1.3.0 Adapter "tr-064" : 4.0.3 Adapter "tradfri" : 2.6.1 Adapter "trashschedule" : 0.0.7 Adapter "tunnelbroker-endpoint-updater": 0.0.1 Adapter "tuya" : 3.2.2 Adapter "tvspielfilm" : 1.0.4 Adapter "unifi" : 0.4.3 , installed 0.4.3 Adapter "upnp" : 1.0.16 Adapter "vaillant" : 0.0.10 Adapter "valloxmv" : 1.0.3 Adapter "vcard" : 0.0.9 Adapter "velux" : 0.0.5 Adapter "viessmann" : 1.2.4 Adapter "virtualpowermeter": 1.2.1 Adapter "vis" : 1.2.4 , installed 1.2.4 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.1.1 Adapter "vis-fancyswitch": 1.1.0 Adapter "vis-google-fonts": 0.1.0 Adapter "vis-history" : 1.0.0 , installed 1.0.0 Adapter "vis-hqwidgets" : 1.1.4 , installed 1.1.4 Adapter "vis-inventwo" : 1.3.3 Adapter "vis-jqui-mfd" : 1.0.12 , installed 1.0.12 Adapter "vis-justgage" : 1.0.2 Adapter "vis-keyboard" : 0.0.2 Adapter "vis-lcars" : 1.0.4 Adapter "vis-map" : 1.0.4 Adapter "vis-metro" : 1.1.2 , installed 1.1.2 Adapter "vis-players" : 0.1.5 , installed 0.1.5 Adapter "vis-plumb" : 1.0.2 Adapter "vis-rgraph" : 0.0.2 Adapter "vis-timeandweather": 1.1.7 , installed 1.1.7 Adapter "vis-weather" : 2.5.2 Adapter "vr200" : 1.0.0 Adapter "vw-connect" : 0.0.15 Adapter "weatherunderground": 3.1.6 Adapter "web" : 3.0.8 , installed 3.0.7 [Updateable] Adapter "weishaupt-wem" : 0.0.8 Adapter "wiffi-wz" : 2.2.0 Adapter "wifilight" : 1.1.0 Adapter "windows-control": 0.1.3 Adapter "wled" : 0.5.0 Adapter "wm-bus" : 0.1.12 Adapter "wolf" : 0.9.2 Adapter "worx" : 1.0.0 Adapter "xbox" : 0.6.4 Adapter "xs1" : 1.0.2 Adapter "yahka" : 0.11.0 Adapter "yamaha" : 0.3.19 Adapter "yeelight-2" : 1.0.3 Adapter "youtube" : 0.0.11 Adapter "yr" : 2.0.3 Adapter "zigbee" : 1.0.4 Adapter "zont" : 0.5.3 Adapter "zwave" : 2.0.1
Soweit war ich irgendwie gestern Abend auch
Und mit dem upgrade self Befehl hat sich die Kiste dann verabschiedet ^^
-
@SaschaS sagte in Nach Update läuft nichts mehr!:
Soweit war ich irgendwie gestern Abend auch
Nee, gestern lief da node 8 als Laufzeitumgebung. Das ist nicht das gleiche.
Jetzt zuerst die Adapter aktualisieren, dann den js-controller (mit 'self'). -
@SaschaS
Schau mal ob der IOBroker erreichbar ist. Wenn ja, würde ich die Adapter über den Admin updaten, wobei noch ein npm rebuild wegen des Node Updates anstehen dürfte.
Das soll aber Thomas mal dirigieren. -
@Thomas-Braun @Jan1 Oh Oh... Da scheint wieder was nicht zu passen.
pi@raspberrypi:/opt/iobroker $ iobroker upgrade Update admin from @3.7.8 to @4.0.10 host.raspberrypi Adapter "system.adapter.admin.0" is stopped. NPM version: 6.14.2 npm install iobroker.admin@4.0.10 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code EACCES npm ERR! syscall access npm ERR! path /opt/iobroker/node_modules/iobroker.admin npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.admin' npm ERR! { Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.admin' npm ERR! stack: 'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/iobroker.admin\'', npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/opt/iobroker/node_modules/iobroker.admin' } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-05-21T08_49_06_019Z-debug.log host.raspberrypi Cannot install iobroker.admin@4.0.10: 243
Soll ich das ganze noch einmal mit sudo probieren?
-
-
@Jan1 IoBroker war kurzzeitig über die Weboberfläche erreichbar. Zeit mir auch an, dass 9 Adapter aktualisiert werden können.
-
@Thomas-Braun said in Nach Update läuft nichts mehr!:
@SaschaS Nein.
groups
zeigen.
pi@raspberrypi:/opt/iobroker $ groups pi adm dialout cdrom sudo audio video plugdev games users input netdev bluetooth gpio i2c spi
-
@SaschaS
sehr gut, dann weiter mit der Anweisung von Thomas -
sudo usermod -aG iobroker pi
Dann den user 'pi' einmal ausloggen und wieder als 'pi' einloggen.
-
@Thomas-Braun said in Nach Update läuft nichts mehr!:
sudo usermod -aG iobroker pi
Ich frage lieber nach. Ausloggen mit exit, logout ? peinlich?
-
@SaschaS Ja, mit
exit
-
pi@raspberrypi:/opt/iobroker $ groups pi adm dialout cdrom sudo audio video plugdev games users input netdev bluetooth gpio i2c spi iobroker
da hier jetzt iobroker in der Liste aufgeführt ist, gehe ich mal davon aus, dass jetzt mehr Rechte da sind und ich noch einmal das upgrade anstoßen kann.
-
@SaschaS Richtig, das war der Plan...
-
@Thomas-Braun Weniger erfolgreich..
pi@raspberrypi:/opt/iobroker $ iobroker upgrade Update admin from @3.7.8 to @4.0.10 NPM version: 6.14.2 npm install iobroker.admin@4.0.10 --loglevel error --prefix "/opt/iobroker" (System call) npm ERR! code EACCES npm ERR! syscall access npm ERR! path /opt/iobroker/node_modules/iobroker.admin npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.admin' npm ERR! { Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.admin' npm ERR! stack: 'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/iobroker.admin\'', npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/opt/iobroker/node_modules/iobroker.admin' } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-05-21T08_58_31_749Z-debug.log host.raspberrypi Cannot install iobroker.admin@4.0.10: 243