NEWS
Nach Update läuft nichts mehr!
-
@Thomas-Braun said in Nach Update läuft nichts mehr!:
sudo kill 16869 16920 16990
Der scheint verdammt hartnäckig zu sein
pi@raspberrypi:/opt/iobroker $ sudo kill 16869 pi@raspberrypi:/opt/iobroker $ 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.0 0.3 6512 3472 ? Ss 10:39 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation iobroker 16869 16.7 10.2 199612 97400 ? Dsl 11:04 0:40 iobroker.js-controller pi 19863 0.0 0.0 4772 552 pts/0 S+ 11:08 0:00 grep --color=auto io
-
Und jetzt hat er eine neue PID...ich raff's nicht..wieso startet der denn immer wieder?
pi@raspberrypi:/opt/iobroker $ 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.0 0.3 6512 3472 ? Ss 10:39 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation iobroker 20224 20.6 14.5 229260 137796 ? Rsl 11:08 0:15 iobroker.js-controller iobroker 20266 3.2 4.5 120552 42844 ? Sl 11:08 0:02 io.discovery.0 iobroker 20341 7.1 3.9 130108 37164 ? Sl 11:09 0:04 io.history.0 iobroker 20380 14.9 9.5 184116 91028 ? Sl 11:09 0:09 io.javascript.0 iobroker 20708 11.9 5.1 132532 49252 ? Sl 11:09 0:04 /usr/bin/node /opt/iobroker/node_modules/iobroker.stiebel-isg/main.js 0 info iobroker 20714 7.0 4.4 120504 42040 ? Sl 11:09 0:02 /usr/bin/node /opt/iobroker/node_modules/iobroker.vis/main.js 0 info iobroker 20720 9.4 3.8 131212 36564 ? Sl 11:09 0:03 /usr/bin/node /opt/iobroker/node_modules/iobroker.web/main.js 0 info iobroker 20726 9.0 4.7 131444 45024 ? Sl 11:09 0:03 /usr/bin/node /opt/iobroker/node_modules/iobroker.cloud/main.js 0 info iobroker 20728 7.5 4.5 120544 43120 ? Sl 11:09 0:02 /usr/bin/node /opt/iobroker/node_modules/iobroker.info/main.js 0 info iobroker 20745 9.2 4.8 131288 45548 ? Sl 11:09 0:03 /usr/bin/node /opt/iobroker/node_modules/iobroker.deconz/main.js 0 info iobroker 20792 11.3 3.9 131792 37300 ? Sl 11:09 0:03 /usr/bin/node /opt/iobroker/node_modules/iobroker.tankerkoenig/main.js 0 info pi 21089 0.0 0.0 4772 548 pts/0 S+ 11:10 0:00 grep --color=auto io
-
@Jan1 Jetzt übrigens nicht mehr über die Weboberfläche erreichbar..Aber ist auch kein Wunder, da io.admin sich nicht wie aus Geisterhand von alleine startet..
-
iobroker stop sudo killall iobroker
Wenn das nicht fruchtet:
sudo kill -9 PID
PID weißt du ja wie du die bekommst.
-
Das Problem ist doch gerade, dass nach jedem kill der iobroker.js-controller wieder auftaucht..
pi@raspberrypi:/opt/iobroker $ sudo killall iobroker iobroker: Kein Prozess gefunden pi@raspberrypi:/opt/iobroker $ 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.0 0.3 6512 3472 ? Ss 10:39 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation iobroker 24294 11.6 7.7 170944 73416 ? Rsl 11:14 0:36 iobroker.js-controller iobroker 24334 0.9 4.4 120548 42532 ? Sl 11:14 0:02 io.discovery.0 iobroker 24405 3.0 3.7 129788 35732 ? Sl 11:14 0:09 io.history.0 iobroker 24447 8.1 11.5 200760 109760 ? Sl 11:14 0:24 io.javascript.0 iobroker 25571 6.2 6.4 145400 61484 ? Sl 11:15 0:15 io.stiebel-isg.0 iobroker 25582 1.8 4.2 134016 40080 ? Sl 11:15 0:04 io.web.0 iobroker 25588 3.1 7.8 155956 74028 ? Sl 11:15 0:07 io.cloud.0 iobroker 25591 1.1 4.5 120868 42888 ? Sl 11:15 0:02 /usr/bin/node /opt/iobroker/node_modules/iobroker.info/main.js 0 info iobroker 25602 2.4 4.3 134352 41060 ? Sl 11:15 0:06 io.deconz.0 iobroker 25613 1.5 4.0 132196 37988 ? Sl 11:15 0:03 /usr/bin/node /opt/iobroker/node_modules/iobroker.tankerkoenig/main.js 0 info iobroker 25620 5.8 4.6 135784 44408 ? Sl 11:15 0:14 io.ble.0 iobroker 28191 0.0 0.0 0 0 ? Z 11:19 0:00 [sh] <defunct> pi 28194 0.0 0.0 4772 560 pts/0 S+ 11:19 0:00 grep --color=auto io pi@raspberrypi:/opt/iobroker $ sudo kill -9 24294 pi@raspberrypi:/opt/iobroker $ 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.0 0.3 6512 3472 ? Ss 10:39 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation iobroker 24405 3.8 5.3 131160 50456 ? Sl 11:14 0:13 io.history.0 pi 28986 0.0 0.0 4772 536 pts/0 S+ 11:20 0:00 grep --color=auto io pi@raspberrypi:/opt/iobroker $ sudo kill -9 24405 kill: (24405): Kein passender Prozess gefunden pi@raspberrypi:/opt/iobroker $ 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.0 0.3 6512 3472 ? Ss 10:39 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation iobroker 29172 119 6.4 147356 61188 ? Rsl 11:20 0:03 iobroker.js-controller iobroker 29208 0.0 0.0 0 0 ? Z 11:20 0:00 [sh] <defunct> iobroker 29210 0.0 0.0 0 0 ? Z 11:20 0:00 [sh] <defunct> iobroker 29212 0.0 0.0 0 0 ? Z 11:20 0:00 [sh] <defunct> pi 29215 0.0 0.0 4772 524 pts/0 S+ 11:20 0:00 grep --color=auto io
-
sudo -u iobroker kill -15 -1
-
@Thomas-Braun said in Nach Update läuft nichts mehr!:
sudo -u iobroker kill -15 -1
pi@raspberrypi:/opt/iobroker $ sudo -u iobroker kill -15 -1 Speicherzugriffsfehler
-
@Thomas-Braun said in Nach Update läuft nichts mehr!:
sudo killall iobroker
Ich würde ja gerne wieder sudo systemctl stop iobroker verwenden. Aber das findet @Jan1 ja nicht so prickelnd bzw. veraltet
-
@SaschaS Das kannst du aber mal probieren.
-
@SaschaS said in Nach Update läuft nichts mehr!:
sudo systemctl stop iobroker
Das Stehaufmännchen ist besiegt! Warum das jetzt funktioniert, verstehe ich nicht. Vielleicht habt ihr Ideen.
Ich würde jetzt den Fixer laufen lassen.pi@raspberrypi:/opt/iobroker $ sudo systemctl stop iobroker pi@raspberrypi:/opt/iobroker $ ps auxww | grep io root 12 0.0 0.0 0 0 ? S 11:23 0:00 [migration/0] root 15 0.0 0.0 0 0 ? S 11:23 0:00 [migration/1] root 20 0.0 0.0 0 0 ? S 11:23 0:00 [migration/2] root 25 0.0 0.0 0 0 ? S 11:23 0:00 [migration/3] root 41 0.0 0.0 0 0 ? I< 11:23 0:00 [rpciod] root 43 0.0 0.0 0 0 ? I< 11:23 0:00 [xprtiod] root 47 0.0 0.0 0 0 ? I< 11:23 0:00 [nfsiod] root 62 0.0 0.0 0 0 ? I< 11:23 0:00 [DWC Notificatio] message+ 354 0.1 0.3 6516 3504 ? Ss 11:23 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation pi 4563 0.0 0.0 4772 544 pts/0 S+ 11:27 0:00 grep --color=auto io pi@raspberrypi:/opt/iobroker $ ps auxww | grep io root 12 0.0 0.0 0 0 ? S 11:23 0:00 [migration/0] root 15 0.0 0.0 0 0 ? S 11:23 0:00 [migration/1] root 20 0.0 0.0 0 0 ? S 11:23 0:00 [migration/2] root 25 0.0 0.0 0 0 ? S 11:23 0:00 [migration/3] root 41 0.0 0.0 0 0 ? I< 11:23 0:00 [rpciod] root 43 0.0 0.0 0 0 ? I< 11:23 0:00 [xprtiod] root 47 0.0 0.0 0 0 ? I< 11:23 0:00 [nfsiod] root 62 0.0 0.0 0 0 ? I< 11:23 0:00 [DWC Notificatio] message+ 354 0.1 0.3 6516 3504 ? Ss 11:23 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation pi 4650 0.0 0.0 4772 532 pts/0 S+ 11:27 0:00 grep --color=auto io
-
@SaschaS
Das war eben mal zwischen durch nötig, wobei Deine alte Installation da vielleicht immer noch drauf besteht -
@SaschaS Ja, lass den Fixer mal laufen.
-
@SaschaS
Fixer schadet nie und bei solch komischen Dingern ist das immer ne Option. -
Fixer läuft..
Was wollten wir danach noch einmal machen?
Das upgrade, richtig? -
iobroker update iobroker upgrade
-
@SaschaS
Kannst dann mal die Updates direkt über den Admin versuchen? -
Der Fixer ist durch. Allerdings entfernt der auch die gegeben Rechte
pi@raspberrypi:/opt/iobroker $ groups pi adm dialout cdrom sudo audio video plugdev games users input netdev bluetooth gpio i2c spi
Das hole ich mal mit .. nach:
sudo usermod -aG iobroker pi
-
@SaschaS
Wenn der Fixer die löscht, sollten die nicht wirklich benötigt werden.
Hast jetzt mal versucht die Adapter einfach über die Admin Seite zu aktualisieren? -
@Jan1 Doch, der normale User 'pi' sollte schon auch in der Gruppe 'iobroker' sein. Sonst kannst du die iobroker Befehle nicht als alle user ausführen.
Der Fixer dürfte eigentlich auch das Gegenteil machen, statt die Gruppe zu entfernen hinzufügne. Warum das hier nicht passiert... Keine Ahnung. Dazu müsste mal jemand reinschauen, der shell-Skripte versteht. Ich bin da zu doof für.
@SaschaS
Was macht denn das update / upgrade nun? -
Wie wäre es mit einem
sudo chmod -R 777 /opt/iobroker sudo chown -R iobroker:iobroker /opt/iobroker
das schadet nie.