NEWS
ioBroker/Proxmox LXC Container: Kein Restore möglich
-
@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.
-
@Kaiman55
In meiner nativen Installation auf dem Raspi gibt es in /etc/init.d kein iobroker.sh
Eigentlich nicht auf dem ganzen System:pi@raspberrypi:/etc $ sudo updatedb pi@raspberrypi:/etc $ locate iobroker.sh pi@raspberrypi:/etc $
-
Habe es jetzt nochmal als root versucht.
Erst abgeschossen und gleich danach PS aux gemacht.Hier das Ergebnis:
root@iobroker-1804:~# sudo pkill iobroker root@iobroker-1804:~# ps aux | grep ^io iobroker 5507 0.0 6.7 836920 283180 ? Ssl 18:27 0:06 iobroker.js-controller iobroker 5526 0.0 3.6 847576 154832 ? Sl 18:27 0:01 io.admin.0 iobroker 5541 0.0 1.2 619440 53440 ? Sl 18:27 0:00 io.discovery.0 iobroker 5556 0.0 1.9 611144 80448 ? Rl 18:28 0:00 /usr/bin/node /opt/iobroker/node_modules/iobroker.javascript/main.js 0 info root@iobroker-1804:~#
Nochmal ne Minute später läuft dann wieder alles.
root@iobroker-1804:~# ps aux | grep ^io iobroker 5507 56.1 9.2 941028 387800 ? Rsl 18:27 1:24 iobroker.js-controller iobroker 5526 2.5 2.3 887304 100604 ? Sl 18:27 0:03 io.admin.0 iobroker 5541 0.3 1.3 619440 54872 ? Sl 18:27 0:00 io.discovery.0 iobroker 5556 95.5 13.0 1302380 547632 ? Rl 18:28 2:13 io.javascript.0 iobroker 5584 0.9 1.2 640344 52388 ? Sl 18:28 0:01 io.web.0 iobroker 5603 1.5 1.1 637320 49416 ? Sl 18:28 0:01 io.history.0 iobroker 5618 2.0 1.3 641524 54908 ? Sl 18:28 0:02 io.hue.0 iobroker 5633 0.6 1.3 619924 57480 ? Sl 18:28 0:00 io.mihome.0 iobroker 5644 1.3 1.3 911420 55192 ? Sl 18:28 0:01 io.netatmo.0 iobroker 5663 0.6 1.3 621216 57424 ? Sl 18:28 0:00 io.socketio.0 iobroker 5678 2.5 1.4 645864 60112 ? Sl 18:28 0:02 io.tr-064.0 iobroker 5708 1.6 1.3 644592 55852 ? Sl 18:28 0:01 io.shelly.0 iobroker 5723 0.9 1.2 639956 50692 ? Sl 18:28 0:00 io.hs100.0 iobroker 5738 1.2 1.2 638264 50424 ? Sl 18:28 0:01 io.lametric.0 iobroker 5749 3.3 1.4 917552 60968 ? Sl 18:28 0:02 io.alexa2.0 iobroker 5768 1.9 1.1 637072 49452 ? Sl 18:28 0:01 io.hm-rpc.0 iobroker 5783 1.8 1.2 642508 53888 ? Sl 18:29 0:01 io.hm-rpc.1 iobroker 5798 0.9 1.3 620492 56236 ? Sl 18:29 0:00 io.hm-rpc.2 iobroker 5813 3.5 1.4 645260 59024 ? Sl 18:29 0:02 io.hm-rega.0 iobroker 5828 0.9 1.2 620436 54024 ? Sl 18:29 0:00 io.pushover.0 iobroker 5843 2.3 1.2 639900 50816 ? Sl 18:29 0:01 io.vuplus.0 iobroker 5907 2.7 1.3 645144 57472 ? Sl 18:29 0:01 io.proxmox.0 iobroker 5922 3.1 1.7 780316 74412 ? Sl 18:29 0:01 io.zigbee.0 iobroker 5938 3.4 1.7 701460 72272 ? Sl 18:29 0:01 io.tankerkoenig.0 iobroker 5951 3.8 1.2 901424 50516 ? Sl 18:29 0:01 io.bring.0 iobroker 5985 2.8 1.2 619420 53976 ? Sl 18:29 0:00 io.ping.0 iobroker 6011 7.5 1.5 713032 63768 ? Sl 18:30 0:01 io.info.0 iobroker 6038 18.4 2.0 842524 84864 ? Sl 18:30 0:03 io.daswetter.0 iobroker 6053 4.0 1.2 619408 53748 ? Sl 18:30 0:00 io.simple-api.0 iobroker 6073 6.4 1.4 625644 61976 ? Sl 18:30 0:00 io.scenes.0 iobroker 6091 14.0 1.4 628396 59656 ? Sl 18:30 0:00 io.harmony.0 iobroker 6112 20.3 1.2 618900 53284 ? Sl 18:30 0:00 io.email.0 iobroker 6440 0.0 2.2 647988 92468 ? Sl 18:30 0:01 io.lupusec.0 iobroker 6460 0.0 2.5 659488 105104 ? Sl 18:30 0:02 io.synology.0 iobroker 6510 0.0 1.5 623752 65356 ? Sl 18:30 0:00 /usr/bin/node /opt/iobroker/node_modules/iobroker.synology/main.js 1 info iobroker 6576 0.0 0.9 570712 39300 ? Rl 18:30 0:00 /usr/bin/node /opt/iobroker/node_modules/iobroker.nuc/main.js 0 info root@iobroker-1804:~#
Meinst Du ich soll einen neuen Thread "iobroker startet nach "pkill iobroker" wieder neu" anlegen?
Dir auf jeden Fall einen schönen Restsonntag
-
Ich habe es geschafft
oot@iobroker-1804:/opt/iobroker# iobroker stop iobroker controller daemon is not running root@iobroker-1804:/opt/iobroker# sudo systemctl stop iobroker root@iobroker-1804:/opt/iobroker# ps aux | grep ^io root@iobroker-1804:/opt/iobroker# iobroker status iobroker is not running on this host. No iobroker host is running. Objects type: file States type: file root@iobroker-1804:/opt/iobroker# iobroker start Starting iobroker controller daemon... iobroker controller daemon started. PID: 28252 root@iobroker-1804:/opt/iobroker# iobroker stop Stopping iobroker controller daemon... iobroker controller daemon stopped. No "killall.sh" script found. Just stop. root@iobroker-1804:/opt/iobroker#
Der Befehl
sudo systemctl stop iobroker
Hat ihn gestoppt.
Jetzt kann ich wieder starten und stoppen.Verstehe ich zwar nicht, aber es läuft hoffentlich jetzt mit dem Hosts Update.
Die WegGui ist auf jeden Fall nicht mehr erreichbar.Nachtrag:
Hosts Update hat geklappt.Danke nochmal für Deine Mühe!
-
@Kaiman55 sagte in ioBroker/Proxmox LXC Container: Kein Restore möglich:
Der Befehl
sudo systemctl stop iobrokerHat ihn gestoppt.
dann ist das aber eine ältere Installation, die noch keinen Fixer gesehen hat, oder?
-
@Homoran
Ich benutze ioBroker seit 2 Jahren.
Die letzten Adapter Updates habe ich im März 2020 gemacht. Da war Hosts und Admin aktuell.Keine Ahnung was Du mit Fixer meinst. Muss ich noch etwas vorher starten (fixen)
wäre toll, wenn Du mir das erklären kannst.
Bitte nicht so kompliert -
@Kaiman55 sagte in ioBroker/Proxmox LXC Container: Kein Restore möglich:
Muss ich noch etwas vorher starten (fixen)
steht bei mir in der Signatur
@Kaiman55 sagte in ioBroker/Proxmox LXC Container: Kein Restore möglich:
Bitte nicht so kompliert
dann machst du
iobroker fix
-
@Homoran
vorher stoppen? -
@Kaiman55 sorry - ja!
-
Hat dieses "fix" jetzt etwas ausgeführt?
Die Ausgabe sieht so nach Papametern aus, die ich machen kann.root@iobroker-1804:/opt/iobroker# iobroker fix Commands: iobroker setup [--objects <host>] [--states <host>] [custom] iobroker start - starts the js-controller iobroker stop - stops the js-controller iobroker start <adapter>[.instance] - starts a specified adapter instance iobroker stop <adapter>.[instance] - stops a specified adapter instance iobroker start all - starts js-controller and all adapters iobroker restart - restarts the js-controller iobroker restart <adapter>[.instance] - restarts a specified adapter iobroker debug <adapter> [--ip=<ip>] [--port=<port>] [--wait] - Starts a Node.js debugging session for the adapter --wait stops the execution until the debugger is attached. --ip and --port can be used to change the listen IP and port. Use IP 0.0.0.0 for remote debugging. iobroker info - shows the host info iobroker logs [adapter] [--watch] [--lines=1000] iobroker add <adapter> [desiredNumber] [--enabled] [--host <host>] [--port <port>] iobroker install <adapter> - installs a specified adapter iobroker rebuild <adapter>|self [--install] iobroker url <url> [<name>] - install adapter from specified url, e.g. GitHub iobroker del <adapter> - remove adapter from system iobroker del <adapter>.<instance> - remove adapter instance iobroker update [repository url] [--updatable/--u] [--installed/--i] [--force/--f] - update repository and optionally filter installed/updateable adapters, use --force to bypass hash check iobroker upgrade [repository url] iobroker upgrade self [repository url] - upgrade js-controller and all adapters, optionally you can specify the repository url iobroker upgrade <adapter> [repository url] - upgrade specified adapter, optionally you can specify the repository url iobroker upload <pathToLocalFile> <pathIniobroker> iobroker upload all - upload all adapter files to make them available for instances iobroker upload <adapter> - upload specified adapter files to make them available for instances iobroker object get <id> - get object specified by id iobroker object set <id> <json-value> - set object with the given id by providing a new json object iobroker object set <id> propertyname=<value or json-value> - update part of the object by providing a new value or partial object iobroker object extend <id> <json-value> - extend object with the given id by providing a new json object iobroker object del <id|pattern> [--yes] iobroker object chmod <object-mode> [state-mode] <id> iobroker object chown <user> <group> <id> iobroker object list <id> iobroker state get <id> - get state, specified by id iobroker state getplain <id> [--pretty] iobroker state getvalue <id> iobroker state set <id> <value> [ack] iobroker state del <id> iobroker message <adapter>[.instance] <command> [<message>] iobroker list <type> [filter] iobroker chmod <mode> <file> iobroker chown <user> <group> <file> iobroker touch <file> iobroker rm <file> iobroker file read <iobroker-path-to-read> [<filesystem-path-to-write>] iobroker file write <filesystem-path-to-read> <iobroker-path-to-write> iobroker file rm <iobroker-path-to-delete> iobroker file sync iobroker user add <user> [--ingroup group] [--password pass] iobroker user del <user> iobroker user passwd <user> [--password pass] iobroker user enable <user> iobroker user disable <user> iobroker user get <user> iobroker user check <user> [--password pass] iobroker group add <group> iobroker group del <group> iobroker group list <group> iobroker group enable <group> iobroker group disable <group> iobroker group get <group> iobroker group adduser <group> <user> iobroker group deluser <group> <user> iobroker host this iobroker host <hostname> iobroker host set <hostname> iobroker host remove <hostname> iobroker set <adapter>.<instance> [--port port] [--ip address] [--ssl true|false] iobroker license <license.file or license.text> iobroker cert create iobroker cert view [<certificate name>] iobroker clean iobroker backup iobroker restore <backup name or path> - restore a specified backup iobroker validate <backup name or path> - validate a specified backup iobroker <command> --timeout 5000 iobroker status [all|<adapter>.<instance>] iobroker repo [name] iobroker repo add <name> <path or url> iobroker repo set <name> iobroker repo del <name> iobroker uuid iobroker unsetup iobroker fix - execute the installation fixer script, this updates your ioBroker installation iobroker multihost <enable|disable> [--secure true|false] iobroker multihost browse iobroker multihost connect iobroker compact status - show if compact mode is enabled in general iobroker compact <enable|on|disable|off> - enable or disable compact mode in general iobroker compact <adapter>.<instance> status - show if compact mode is enabled for a specific instance iobroker compact <adapter>.<instance> group <group-id> - define compact group of a specific adapter iobroker compact <adapter>.<instance> <disable|off> - enable or disable compact mode for specified adapter instance iobroker compact <adapter>.<instance> <enable|on> [group-id] - enable or disable compact mode for specified adapter instance and set comapct group optionally iobroker plugin enable <pluginname> [--host <hostname>] - enables a plugin for the specified host. If no host is specified, the current one is used iobroker plugin disable <pluginname> [--host <hostname>] - disables a plugin for the specified host. If no host is specified, the current one is used iobroker plugin status <pluginname> [--host <hostname>] - checks if a plugin is enabled for the specified host. If no host is specified, the current one is used iobroker plugin enable <pluginname> --instance <adapter>[.<nr>] - enables a plugin for the specified adapter instance (defaults to instance 0) iobroker plugin disable <pluginname> --instance <adapter>[.<nr>] - disables a plugin for the specified adapter instance (defaults to instance 0) iobroker plugin status <pluginname> --instance <adapter>[.<nr>] - checks if a plugin is enabled for the specified adapter instance (defaults to instance 0) iobroker version [adapter] - show version of js-controller or specified adapter iobroker [adapter] -v - show version of js-controller or specified adapter Options: --help Show help [boolean] --version Show version number [boolean] root@iobroker-1804:/opt/iobroker#
-
@Kaiman55 er sollte die rechte fixen.
ich sehe aber jetzt erst, dass du einen Container nutzst. Da ist vielleicht alles anders - keine Ahnung -
Habe jetzt nochmal die Zeile auf deiner Signatur ausgeführt:
curl -fsL https://iobroker.net/fix.sh | bash -Jetzt wurde etwas gemacht:
root@iobroker-1804:/opt/iobroker# curl -fsL https://iobroker.net/fix.sh | bash - library: loaded Library version=2020-06-12 ========================================================================== Welcome to the ioBroker installation fixer! Script version: 2020-06-15 ========================================================================== ========================================================================== Installing prerequisites (1/3) ========================================================================== Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease Get:2 https://deb.nodesource.com/node_10.x bionic InRelease [4584 B] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1038 kB] Get:6 https://deb.nodesource.com/node_10.x bionic/main amd64 Packages [766 B] Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [348 kB] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [85.5 kB] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [18.8 kB] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1101 kB] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [342 kB] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [19.4 kB] Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [6740 B] Get:14 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages [814 kB] Get:15 http://archive.ubuntu.com/ubuntu bionic-security/main Translation-en [256 kB] Get:16 http://archive.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [76.4 kB] Get:17 http://archive.ubuntu.com/ubuntu bionic-security/restricted Translation-en [16.7 kB] Get:18 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [695 kB] Get:19 http://archive.ubuntu.com/ubuntu bionic-security/universe Translation-en [230 kB] Get:20 http://archive.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [8312 B] Get:21 http://archive.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2880 B] Fetched 5241 kB in 4s (1407 kB/s) Reading package lists... Done Installed gcc-c++ ========================================================================== Checking ioBroker user and directory permissions (2/3) ========================================================================== Created /etc/sudoers.d/iobroker Fixing directory permissions... ========================================================================== Checking autostart (3/3) ========================================================================== Enabling autostart... Autostart enabled! ========================================================================== Your installation was fixed successfully Run iobroker start to start ioBroker again! ==========================================================================
-
@Kaiman55 sagte in ioBroker/Proxmox LXC Container: Kein Restore möglich:
Your installation was fixed successfully
sieht doch schon mal gut aus
jetzt müsste
iobroker stop
auch wieder funktionieren -
@Kaiman55 sagte in ioBroker/Proxmox LXC Container: Kein Restore möglich:
root@iobroker
Auf Ubuntu wird sich nicht mit root eingeloggt.