NEWS
ioBroker/Proxmox LXC Container: Kein Restore möglich
-
@apollon77
Vielen Dank.
Dann suche ich mal, wie ich den Hosts aktualisiere. Hab ich so lange nicht gemacht. -
@apollon77
Moin,gerade wollte ich meinen Hosts updaten. Meine Adaper sind alle aktuell. Bis auf Admin und Script Engine. Die wollte ich nach dem Hosts Update machen.
Das ganze habe ich schon einige Mal gemacht. Aber jetzt kommt es mir komisch vor.
Bevor ich alles zerschiesse, frag ich besserMein iobroker Container läuft als 192.168.01.16
Habe vorher das Proxmox System aktualisiert und am Ende einen Reboot gemacht.Dann habe mich dann per SSH auf 192.168.0.16 eingeloggt.
login as: iobroker
iobroker@192.168.0.16's password:
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.18-30-pve x86_64)-
Documentation: https://help.ubuntu.com
-
Management: https://landscape.canonical.com
-
Support: https://ubuntu.com/advantage
-
Are you ready for Kubernetes 1.19? It's nearly here! Try RC3 with
sudo snap install microk8s --channel=1.19/candidate --classichttps://microk8s.io/ has docs and details.
-
Canonical Livepatch is available for installation.
- Reduce system reboots and improve kernel security. Activate at:
https://ubuntu.com/livepatch
Last login: Sun Aug 30 15:38:43 2020 from 192.168.0.20
iobroker@iobroker-1804:~$ cd /opt/iobroker
iobroker@iobroker-1804:/opt/iobroker$ sudo iobroker stop
[sudo] password for iobroker:
iobroker controller daemon is not running
iobroker@iobroker-1804:/opt/iobroker$ sudo iobroker stop
iobroker controller daemon is not running
iobroker@iobroker-1804:/opt/iobroker$ iobroker stop
iobroker controller daemon is not running
iobroker@iobroker-1804:/opt/iobroker$
- Reduce system reboots and improve kernel security. Activate at:
Wenn ich aber die WebGUI aufrufe, läuft ioBroker noch:
http://192.168.0.16:8081/#tab-intro
Ich kann alles anwählen.Ich habe es auch ohne Sudo probiert.
Und auch im OPT/IOBROKER Verzeichnis.Wieso bekomme ich es nicht gestoppt?
Wäre toll, wenn Du mir helfen kannst.
LG -
-
-
@Thomas-Braun
erstmal vielen Dank für die Antwort.iobroker status gibt folgendes aus
iobroker@iobroker-1804:/opt/iobroker$ iobroker status
iobroker is running on this host.At least one iobroker host is running.
Objects type: file
States type: file
iobroker@iobroker-1804:/opt/iobroker$Soll ich pkill ausführen?
LG
-
@Kaiman55
Was läuft da noch?ps aux | grep ^io
-
@Thomas-Braun
in dem Proxmox Container läuft nur ioBroker.
Kenne mich mit Linux nicht aus.
Ich habe den Container auch schon kompl runtergefahren und neugestartet. Problem bleibt. -
@Kaiman55
Wäre schön, wenn du die Befehle eingeben würdest. Auch wenn du damit nichts anfangen kannst. Andere schon. -
Sorry. ich hatte die Zeile mit dem Befehl übersehen.
Hier die Ausgabe:
iobroker@iobroker-1804:/opt/iobroker$ ps aux | grep ^io iobroker 148 28.6 5.9 1071464 250276 ? Rsl 15:41 22:42 iobroker.js-controller iobroker 362 0.5 1.6 972396 68412 ? Sl 15:41 0:25 io.admin.0 iobroker 377 0.0 0.4 619952 17904 ? Sl 15:41 0:02 io.discovery.0 iobroker 418 0.0 0.4 643732 20496 ? Sl 15:41 0:04 io.web.0 iobroker 437 0.1 0.5 659176 23220 ? Sl 15:41 0:06 io.history.0 iobroker 452 0.5 1.0 655456 46024 ? Sl 15:41 0:24 io.hue.0 iobroker 467 0.0 0.4 621276 17192 ? Sl 15:41 0:03 io.mihome.0 iobroker 482 0.1 0.7 923568 32452 ? Sl 15:41 0:07 io.netatmo.0 iobroker 497 0.0 0.4 627264 18544 ? Sl 15:41 0:02 io.socketio.0 iobroker 512 0.3 0.7 654616 31404 ? Sl 15:41 0:14 io.tr-064.0 iobroker 542 0.4 1.1 661884 49504 ? Sl 15:42 0:19 io.shelly.0 iobroker 557 0.0 0.4 639516 19924 ? Sl 15:42 0:03 io.hs100.0 iobroker 572 0.1 0.5 629904 22348 ? Sl 15:42 0:04 io.lametric.0 iobroker 583 0.1 0.5 917320 22584 ? Sl 15:42 0:06 io.alexa2.0 iobroker 598 0.1 0.7 862600 31748 ? Sl 15:42 0:08 io.telegram.0 iobroker 613 0.0 0.4 643012 20760 ? Sl 15:42 0:04 io.hm-rpc.0 iobroker 628 0.2 0.7 648528 31016 ? Sl 15:42 0:11 io.hm-rpc.1 iobroker 643 0.0 0.5 624076 21436 ? Sl 15:42 0:03 io.hm-rpc.2 iobroker 658 0.1 0.5 648524 23296 ? Sl 15:42 0:07 io.hm-rega.0 iobroker 677 0.0 0.4 620948 18108 ? Sl 15:42 0:02 io.pushover.0 iobroker 688 0.3 0.5 649584 25152 ? Sl 15:42 0:15 io.vuplus.0 iobroker 755 0.3 1.0 654584 42388 ? Sl 15:43 0:16 io.proxmox.0 iobroker 767 0.0 0.4 621976 18324 ? Sl 15:43 0:02 io.text2command.0 iobroker 783 0.0 0.4 711772 20288 ? Sl 15:43 0:03 io.zigbee.0 iobroker 799 0.1 0.7 901380 29364 ? Sl 15:43 0:05 io.tankerkoenig.0 iobroker 815 0.2 0.9 923792 37784 ? Sl 15:43 0:10 io.bring.0 iobroker 847 0.1 0.6 621468 26744 ? Sl 15:43 0:05 io.ping.0 iobroker 865 1.0 0.9 847252 38664 ? Sl 15:43 0:49 io.info.0 iobroker 892 0.0 0.4 621736 18088 ? Sl 15:43 0:02 io.simple-api.0 iobroker 910 0.0 0.4 640476 20040 ? Sl 15:43 0:03 io.scenes.0 iobroker 988 0.1 0.5 631880 22744 ? Sl 15:43 0:06 io.harmony.0 iobroker 1258 0.0 0.4 618388 17796 ? Sl 15:43 0:02 io.email.0 iobroker 1282 9.6 2.3 677764 96908 ? Sl 15:43 7:23 io.lupusec.0 iobroker 1373 0.2 0.6 652996 27908 ? Sl 15:43 0:11 io.synology.0 iobroker 1406 0.2 0.6 653260 27196 ? Sl 15:44 0:11 io.synology.1 iobroker 1505 0.1 0.5 672592 22024 ? Sl 15:44 0:07 io.nuc.0 iobroker 1529 0.0 0.5 644264 22648 ? Sl 15:44 0:03 io.nuki.0 iobroker 1625 0.0 0.4 621220 20596 ? Sl 15:44 0:03 io.yeelight-2.0 iobroker 1769 0.0 0.5 927224 21860 ? Sl 15:44 0:04 io.mihome-vacuum.0 iobroker 1996 0.0 0.0 76516 0 ? Ss 15:44 0:00 /lib/systemd/systemd --user iobroker 1997 0.0 0.0 111356 4 ? S 15:44 0:00 (sd-pam) iobroker 2045 0.0 0.0 107984 1132 ? S 15:44 0:00 sshd: iobroker@pts/2 iobroker 2046 0.0 0.0 19416 2580 pts/2 Ss 15:44 0:00 -bash iobroker 5910 0.0 0.0 34400 2884 pts/2 R+ 17:14 0:00 ps aux iobroker 5911 0.0 0.0 11464 1080 pts/2 R+ 17:14 0:00 grep --color=auto ^io iobroker 30435 0.0 15.2 1797296 638240 ? Rl 17:04 11:01 io.javascript.0 iobroker@iobroker-1804:/opt/iobroker$
-
-
@Thomas-Braun
So sieht es jetzt aus:iobroker@iobroker-1804:/opt/iobroker$ sudo pkill iobroker [sudo] password for iobroker: iobroker@iobroker-1804:/opt/iobroker$ ps aux | grep ^io iobroker 1996 0.0 0.0 76516 0 ? Ss 15:44 0:00 /lib/systemd/systemd --user iobroker 1997 0.0 0.0 111356 4 ? S 15:44 0:00 (sd-pam) iobroker 2045 0.0 0.0 107984 1132 ? S 15:44 0:00 sshd: iobroker@pts/2 iobroker 2046 0.0 0.0 19416 2600 pts/2 Ss 15:44 0:00 -bash iobroker 8734 0.0 0.0 34400 2924 pts/2 R+ 17:18 0:00 ps aux iobroker 8735 0.0 0.0 11464 1088 pts/2 S+ 17:18 0:00 grep --color=auto ^io iobroker 30435 4346 19.9 2243172 836508 ? Rl 17:04 15:56 io.javascript.0 iobroker@iobroker-1804:/opt/iobroker$
-
@Kaiman55
Jetzt ist der ioBroker aus.
Das Update / Upgrade sollte nun funktionieren. -
@Thomas-Braun
über die WebGui kann ich ioBroker immer noch aufrufen und auch bedienen.
sudo iobroker stop zeigt dann immer noch:
iobroker@iobroker-1804:/opt/iobroker$ sudo iobroker stop
iobroker controller daemon is not running
iobroker@iobroker-1804:/opt/iobroker$ -
@Thomas-Braun
Habe eben nochmaliobroker@iobroker-1804:/opt/iobroker$ ps aux | grep ^io iobroker 1996 0.0 0.0 76516 0 ? Ss 15:44 0:00 /lib/systemd/systemd --user iobroker 1997 0.0 0.0 111356 4 ? S 15:44 0:00 (sd-pam) iobroker 2045 0.0 0.0 107984 1132 ? S 15:44 0:00 sshd: iobroker@pts/2 iobroker 2046 0.0 0.0 19416 2612 pts/2 Ss 15:44 0:00 -bash iobroker 8736 0.0 9.1 1203124 382876 ? Ssl 17:18 1:47 iobroker.js-controller iobroker 8755 0.0 2.4 885196 103500 ? Sl 17:18 0:08 io.admin.0 iobroker 8770 0.0 1.3 618928 55368 ? Sl 17:18 0:00 io.discovery.0 iobroker 8785 0.0 10.2 1393008 429884 ? Rl 17:18 3:06 io.javascript.0 iobroker 8811 0.0 1.2 641368 53252 ? Sl 17:18 0:01 io.web.0 iobroker 8830 0.0 1.2 640548 51644 ? Sl 17:18 0:02 io.history.0 iobroker 8845 0.0 1.3 626120 56648 ? Sl 17:19 0:02 io.hue.0 iobroker 8860 0.0 1.1 623508 48796 ? Sl 17:19 0:00 io.mihome.0 iobroker 8875 0.0 1.3 910760 54972 ? Sl 17:19 0:01 io.netatmo.0 iobroker 8890 0.0 1.4 621516 58868 ? Sl 17:19 0:00 io.socketio.0 iobroker 8905 0.0 1.4 645768 59268 ? Sl 17:19 0:02 io.tr-064.0 iobroker 8935 0.0 1.3 644444 58396 ? Sl 17:19 0:02 io.shelly.0 iobroker 8958 0.0 1.1 635116 46340 ? Sl 17:19 0:01 io.hs100.0 iobroker 8973 0.0 1.1 622392 49464 ? Sl 17:19 0:01 io.lametric.0 iobroker 8984 0.0 1.5 920008 64732 ? Sl 17:19 0:03 io.alexa2.0 iobroker 8999 0.0 1.8 804284 75604 ? Sl 17:19 0:02 io.telegram.0 iobroker 9014 0.0 1.1 636664 49200 ? Sl 17:19 0:01 io.hm-rpc.0 iobroker 9029 0.0 1.2 642508 53748 ? Sl 17:19 0:01 io.hm-rpc.1 iobroker 9053 0.0 1.3 620492 56652 ? Sl 17:19 0:00 io.hm-rpc.2 iobroker 9072 0.0 1.3 644012 56956 ? Sl 17:19 0:02 io.hm-rega.0 iobroker 9087 0.0 1.2 618904 54116 ? Sl 17:20 0:00 io.pushover.0 iobroker 9098 0.0 1.2 640572 52032 ? Sl 17:20 0:01 io.vuplus.0 iobroker 9165 0.0 1.2 639480 52840 ? Sl 17:20 0:01 io.proxmox.0 iobroker 9177 0.0 1.3 619416 54628 ? Sl 17:20 0:00 io.text2command.0 iobroker 9193 0.0 1.2 707568 53100 ? Sl 17:20 0:01 io.zigbee.0 iobroker 9210 0.0 1.2 696860 51792 ? Sl 17:20 0:01 io.tankerkoenig.0 iobroker 9226 0.0 1.2 909568 51348 ? Sl 17:20 0:01 io.bring.0 iobroker 9258 0.0 1.3 619420 54852 ? Sl 17:20 0:00 io.ping.0 iobroker 9276 0.0 1.2 706120 53208 ? Sl 17:20 0:02 io.info.0 iobroker 9302 0.0 1.2 618664 53592 ? Sl 17:20 0:00 io.simple-api.0 iobroker 9317 0.0 1.4 624616 62568 ? Sl 17:21 0:00 io.scenes.0 iobroker 9335 0.0 1.4 629924 60388 ? Sl 17:21 0:01 io.harmony.0 iobroker 9670 0.0 1.2 620436 53436 ? Sl 17:21 0:00 io.email.0 iobroker 9694 0.0 2.2 653972 94872 ? Sl 17:21 0:06 io.lupusec.0 iobroker 9785 0.0 1.3 645460 58196 ? Sl 17:21 0:02 io.synology.0 iobroker 9807 0.0 1.4 645404 58840 ? Sl 17:21 0:02 io.synology.1 iobroker 9874 0.0 3.3 697184 138660 ? Sl 17:21 0:01 io.nuc.0 iobroker 9927 0.0 1.2 640668 50460 ? Sl 17:21 0:01 io.nuki.0 iobroker 10008 0.0 1.3 620552 58304 ? Sl 17:21 0:00 io.yeelight-2.0 iobroker 10069 0.0 1.9 932432 83844 ? Sl 17:21 0:01 io.mihome-vacuum.0 iobroker 10473 0.0 0.0 13456 1072 ? S 17:22 0:00 /bin/ping -n -w 2 -c 1 192.168.0.101 iobroker 10474 0.0 0.0 34400 2780 pts/2 R+ 17:22 0:00 ps aux iobroker 10475 0.0 0.0 11464 1084 pts/2 S+ 17:22 0:00 grep --color=auto ^io iobroker@iobroker-1804:/opt/iobroker$
Es kommt dann wieder die Ausgabe
-
@Thomas-Braun
Habe jetzt nochmal den pkill befehl gemacht. Dann auf die GUI geschaut.
Die hat dann nur noch die Sanduhr.
Ist also beendet.
Wenn ich dann aber 30 Sk warte, ist ioBroker wieder gestartet.
Ohne das ich etwas mache. -
@Kaiman55
Und dann hast du welche Prozesse laufen? -
iobroker@iobroker-1804:/opt/iobroker$ ps aux | grep ^io iobroker 1996 0.0 0.0 76516 0 ? Ss 15:44 0:00 /lib/systemd/systemd --user iobroker 1997 0.0 0.0 111356 4 ? S 15:44 0:00 (sd-pam) iobroker 2045 0.0 0.0 107984 1132 ? S 15:44 0:00 sshd: iobroker@pts/2 iobroker 2046 0.0 0.0 19416 2616 pts/2 Ss 15:44 0:00 -bash iobroker 11468 0.0 9.7 1230256 408036 ? Ssl 17:24 2:13 iobroker.js-controller iobroker 11487 0.0 2.4 950656 104136 ? Sl 17:24 0:10 io.admin.0 iobroker 11502 0.0 1.3 620464 56296 ? Sl 17:24 0:00 io.discovery.0 iobroker 11517 0.0 19.3 1704180 812348 ? Rl 17:24 5:08 io.javascript.0 iobroker 11543 0.0 1.2 641368 53160 ? Sl 17:24 0:01 io.web.0 iobroker 11562 0.0 1.2 641324 51792 ? Sl 17:24 0:02 io.history.0 iobroker 11585 0.0 1.4 629460 61220 ? Sl 17:24 0:03 io.hue.0 iobroker 11596 0.0 1.1 623164 48408 ? Sl 17:24 0:00 io.mihome.0 iobroker 11611 0.0 1.3 911824 55400 ? Sl 17:24 0:01 io.netatmo.0 iobroker 11626 0.0 1.2 624720 52768 ? Sl 17:24 0:00 io.socketio.0 iobroker 11641 0.0 1.4 647916 61928 ? Sl 17:24 0:03 io.tr-064.0 iobroker 11675 0.0 1.4 646300 60696 ? Sl 17:24 0:02 io.shelly.0 iobroker 11690 0.0 1.0 635328 45760 ? Sl 17:25 0:01 io.hs100.0 iobroker 11705 0.0 1.2 639280 50448 ? Sl 17:25 0:01 io.lametric.0 iobroker 11716 0.0 1.5 922052 66676 ? Sl 17:25 0:03 io.alexa2.0 iobroker 11746 0.0 1.1 637772 49140 ? Sl 17:25 0:01 io.hm-rpc.0 iobroker 11765 0.0 1.3 643020 55352 ? Sl 17:25 0:02 io.hm-rpc.1 iobroker 11776 0.0 1.3 620492 58120 ? Sl 17:25 0:00 io.hm-rpc.2 iobroker 11795 0.0 1.3 645692 57428 ? Sl 17:25 0:02 io.hm-rega.0 iobroker 11810 0.0 1.3 619412 55656 ? Sl 17:25 0:00 io.pushover.0 iobroker 11825 0.0 1.2 640408 52592 ? Sl 17:25 0:02 io.vuplus.0 iobroker 11889 0.0 1.3 641220 55772 ? Sl 17:25 0:02 io.proxmox.0 iobroker 11938 0.0 1.2 696332 52628 ? Sl 17:26 0:01 io.tankerkoenig.0 iobroker 11949 0.0 1.2 910616 52240 ? Sl 17:26 0:01 io.bring.0 iobroker 11981 0.0 1.3 619420 57588 ? Sl 17:26 0:00 io.ping.0 iobroker 11997 0.0 1.3 714936 56084 ? Sl 17:26 0:03 io.info.0 iobroker 12026 0.0 1.3 619416 55776 ? Sl 17:26 0:00 io.simple-api.0 iobroker 12338 0.0 1.5 624116 65508 ? Sl 17:26 0:00 io.scenes.0 iobroker 12369 0.0 1.2 625328 51488 ? Sl 17:26 0:01 io.harmony.0 iobroker 12406 0.0 1.2 618900 54468 ? Sl 17:26 0:00 io.email.0 iobroker 12491 0.0 2.7 666400 114396 ? Sl 17:26 0:13 io.lupusec.0 iobroker 12522 0.0 1.4 646820 60036 ? Sl 17:26 0:02 io.synology.0 iobroker 12609 0.0 1.4 646300 60468 ? Sl 17:26 0:02 io.synology.1 iobroker 12629 0.0 1.8 667940 76724 ? Sl 17:26 0:02 io.nuc.0 iobroker 12728 0.0 1.2 640784 51460 ? Sl 17:27 0:01 io.nuki.0 iobroker 12748 0.0 1.2 625580 53980 ? Sl 17:27 0:00 io.yeelight-2.0 iobroker 12871 0.0 1.9 865048 83844 ? Sl 17:27 0:01 io.mihome-vacuum.0 iobroker 13887 0.0 1.2 707796 53104 ? Sl 17:28 0:01 io.zigbee.0 iobroker 14583 0.0 0.0 34400 2900 pts/2 R+ 17:29 0:00 ps aux iobroker 14584 0.0 0.0 11464 1028 pts/2 S+ 17:29 0:00 grep --color=auto ^io iobroker@iobroker-1804:/opt/iobroker$
-
@Kaiman55 Keine Ahnung dann. Hast du irgendwie einen Autostart aktiv? Normalerweiser startet der ioBroker über systemd, aber keine Ahnung wie das in diesem Proxmox-Zeuch läuft.
-
@Thomas-Braun
Ich kann dir nicht sagen ob ich im Autostart etwas habe.
Wüsste nicht, wo ich da gucken muss.Nutze das System schon 2 Jahre.
Und dieses iobroker stop habe ich schon einige Male durchgeführt.Trotzdem vielen Dank für Deine Mühe.
Vielleicht hat ja noch jemand eine Idee. -
@Thomas-Braun
Eine letzte Frage: Könnte es an der iobroker.sh liegen?
Leider weiss ich nicht, wie ich den Inhalt abrufen kann. Im Verzeichnis ist sie vorhanden.iobroker@iobroker-1804:/etc/init.d$ dir apparmor dbus keyboard-setup.sh plymouth-log rsyslog urandom avahi-daemon hwclock.sh kmod postfix ssh uuidd console-setup.sh iobroker.sh node_modules procps udev x11-common cron irqbalance plymouth rsync ufw
Meinst Du in dem zeitfenster wo iobroker gestoppt/gekillt ist,
kann ich ein
sudo iobroker update
sudo iobroker upgrade self
ausführen? Oder wird das in die Hose gehen?``` -
@Kaiman55
Konsolentext bitte in CodeTags setzen. Dann könnte man das auch lesen.Der hektische Versuch dürfte aber bestenfalls Huddel geben.