Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. (Frage) ioBroker stop - stoppt ioBroker nicht ?

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    (Frage) ioBroker stop - stoppt ioBroker nicht ?

    This topic has been deleted. Only users with topic management privileges can see it.
    • Humidor
      Humidor @wendy2702 last edited by

      @wendy2702 @UncleSam @Thomas-Braun
      Nein, kein Docker, std. Raspi4

      sudo killall -u iobroker - stoppt es auch nicht.

      auch der direkte kill macht einen restart. Cronjob?

      pi@ioBrokerPV:/ $ ps auxww|grep io
      root        11  0.0  0.0      0     0 ?        S    Feb15   0:00 [migration/0]
      root        14  0.0  0.0      0     0 ?        S    Feb15   0:00 [migration/1]
      root        19  0.0  0.0      0     0 ?        S    Feb15   0:00 [migration/2]
      root        24  0.0  0.0      0     0 ?        S    Feb15   0:00 [migration/3]
      root        55  0.0  0.0      0     0 ?        I<   Feb15   0:00 [blkcg_punt_bio]
      root        57  0.0  0.0      0     0 ?        I<   Feb15   0:00 [rpciod]
      root        59  0.0  0.0      0     0 ?        I<   Feb15   0:00 [xprtiod]
      root        61  0.0  0.0      0     0 ?        I<   Feb15   0:00 [nfsiod]
      root        69  0.0  0.0      0     0 ?        I<   Feb15   0:00 [DWC Notificatio]
      avahi      330  0.0  0.1   6156  2416 ?        Ss   Feb15   2:31 avahi-daemon: running [ioBrokerPV.local]
      message+   336  0.0  0.1   6556  2352 ?        Ss   Feb15   2:56 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
      grafana    552  0.0  1.5 972256 28992 ?        Ssl  Feb15   4:08 /usr/sbin/grafana-server --config=/etc/grafana/grafana.ini --pidfile=/var/run/grafana/grafana-server.pid --packaging=deb cfg:default.paths.logs=/var/log/grafana cfg:default.paths.data=/var/lib/grafana cfg:default.paths.plugins=/var/lib/grafana/plugins cfg:default.paths.provisioning=/etc/grafana/provisioning
      root      1393  0.0  0.0      0     0 ?        I<   Feb15   0:00 [cifsiod]
      iobroker 10169 24.0  4.7 190896 90444 ?        Ssl  09:29   0:23 iobroker.js-controller
      iobroker 10187  6.2  3.1 162348 61096 ?        Sl   09:29   0:05 io.admin.0
      iobroker 10204  1.7  2.5 146972 49920 ?        Sl   09:29   0:01 io.discovery.0
      iobroker 10219  4.5  2.3 149000 45024 ?        Sl   09:29   0:03 io.info.0
      iobroker 10325  7.9  2.2 145484 42332 ?        Sl   09:29   0:06 io.kecontact.0
      iobroker 10743  2.7  2.6 149068 51020 ?        Sl   09:30   0:02 io.mqtt.0
      iobroker 10758 11.9  2.6 152696 51032 ?        Sl   09:30   0:08 io.web.0
      iobroker 10776 12.3  4.7 201520 90592 ?        Sl   09:30   0:08 io.javascript.0
      iobroker 10791  6.6  2.2 146660 43572 ?        Sl   09:30   0:04 io.history.0
      iobroker 10827  3.5  2.9 148616 56436 ?        Sl   09:30   0:02 io.cloud.0
      iobroker 10886  4.7  2.6 154880 50608 ?        Sl   09:30   0:02 io.iot.0
      iobroker 10901  5.4  2.4 152548 46972 ?        Sl   09:30   0:03 io.telegram.0
      iobroker 10960  9.0  3.4 170008 65676 ?        Sl   09:30   0:04 io.backitup.0
      iobroker 11039  8.3  2.4 150824 47296 ?        Sl   09:30   0:03 io.shelly.0
      iobroker 11098  9.6  2.5 153880 48488 ?        Sl   09:30   0:03 io.influxdb.0
      iobroker 11123  4.0  2.4 135576 47492 ?        Sl   09:30   0:01 io.vis-inventwo.0
      iobroker 11179  6.9  2.6 148228 51816 ?        Sl   09:30   0:02 io.modbus.0
      iobroker 11215  7.7  2.7 147260 52200 ?        Sl   09:30   0:02 io.modbus.1
      iobroker 11405  0.0  2.1 100476 41412 ?        Rl   09:31   0:00 /usr/bin/node /opt/iobroker/node_modules/iobroker.history/lib/getHistory.js {"id":"0_userdata.0.AMIS.Power","path":"/opt/iobroker/iobroker-data/history/","start":1613680279818,"end":1613723479818,"step":null,"count":300,"from":false,"ack":false,"q":false,"aggregate":"minmax","limit":2000,"addId":false,"sessionId":48}
      pi       11414  0.0  0.0   7360   476 pts/0    S+   09:31   0:00 grep --color=auto io
      pi@ioBrokerPV:/ $ sudo -u iobroker kill -9 10169
      pi@ioBrokerPV:/ $ ps auxww|grep io
      root        11  0.0  0.0      0     0 ?        S    Feb15   0:00 [migration/0]
      root        14  0.0  0.0      0     0 ?        S    Feb15   0:00 [migration/1]
      root        19  0.0  0.0      0     0 ?        S    Feb15   0:00 [migration/2]
      root        24  0.0  0.0      0     0 ?        S    Feb15   0:00 [migration/3]
      root        55  0.0  0.0      0     0 ?        I<   Feb15   0:00 [blkcg_punt_bio]
      root        57  0.0  0.0      0     0 ?        I<   Feb15   0:00 [rpciod]
      root        59  0.0  0.0      0     0 ?        I<   Feb15   0:00 [xprtiod]
      root        61  0.0  0.0      0     0 ?        I<   Feb15   0:00 [nfsiod]
      root        69  0.0  0.0      0     0 ?        I<   Feb15   0:00 [DWC Notificatio]
      avahi      330  0.0  0.1   6156  2416 ?        Ss   Feb15   2:31 avahi-daemon: running [ioBrokerPV.local]
      message+   336  0.0  0.1   6556  2352 ?        Ss   Feb15   2:56 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
      grafana    552  0.0  1.5 972256 28992 ?        Ssl  Feb15   4:08 /usr/sbin/grafana-server --config=/etc/grafana/grafana.ini --pidfile=/var/run/grafana/grafana-server.pid --packaging=deb cfg:default.paths.logs=/var/log/grafana cfg:default.paths.data=/var/lib/grafana cfg:default.paths.plugins=/var/lib/grafana/plugins cfg:default.paths.provisioning=/etc/grafana/provisioning
      root      1393  0.0  0.0      0     0 ?        I<   Feb15   0:00 [cifsiod]
      iobroker 11502 29.1  7.1 222320 137948 ?       Ssl  09:31   0:16 iobroker.js-controller
      iobroker 11520  8.9  5.3 192728 102004 ?       Sl   09:31   0:05 io.admin.0
      iobroker 11535  2.9  2.5 145960 49744 ?        Sl   09:31   0:01 io.discovery.0
      iobroker 11552  8.0  2.3 148488 45376 ?        Sl   09:31   0:03 io.info.0
      iobroker 11671 12.0  2.1 144616 41300 ?        Sl   09:31   0:05 io.kecontact.0
      iobroker 12079  4.9  3.0 148512 57980 ?        Sl   09:32   0:01 io.mqtt.0
      iobroker 12094 16.2  4.1 167072 79320 ?        Sl   09:32   0:05 io.web.0
      iobroker 12109 18.8  5.1 208616 98716 ?        Sl   09:32   0:06 io.javascript.0
      iobroker 12126 11.2  2.2 148160 42532 ?        Sl   09:32   0:03 io.history.0
      iobroker 12141  8.8  2.9 148616 56032 ?        Sl   09:32   0:02 io.cloud.0
      iobroker 12172 13.1  2.8 152312 54424 ?        Sl   09:32   0:02 io.iot.0
      iobroker 12194 14.3  2.9 152544 56656 ?        Sl   09:32   0:02 io.telegram.0
      iobroker 12209 33.1  4.1 168396 79852 ?        Sl   09:32   0:03 io.backitup.0
      iobroker 12269 56.5  3.0 150316 59316 ?        Sl   09:32   0:02 io.shelly.0
      iobroker 12285  0.0  1.3  83796 25496 ?        Rl   09:32   0:00 /usr/bin/node /opt/iobroker/node_modules/iobroker.influxdb/main.js 0 info
      pi       12293  0.0  0.0   7360   512 pts/0    S+   09:32   0:00 grep --color=auto io
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active last edited by

        da gabs mal ein BUG dass der iobroker immer neu gestartet wurde

        1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Humidor last edited by

          @humidor

          sudo systemctl stop iobroker
          

          Dann muss aber Ruhe sein...

          Humidor 1 Reply Last reply Reply Quote 0
          • Humidor
            Humidor @Thomas Braun last edited by

            @thomas-braun sagte in (Frage) ioBroker stop - stoppt ioBroker nicht ?:

            sudo systemctl stop iobroker

            gerade probiert, auch damit macht er einen Restart.

            Humidor 1 Reply Last reply Reply Quote 0
            • Humidor
              Humidor @Humidor last edited by

              keine Idee mehr?

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Humidor last edited by

                @humidor

                sudo systemctl disable iobroker
                

                Dann einmal durchstarten.

                sudo reboot
                

                Dann schauen ob da noch irgendwelche ioBroker-Prozesse laufen. Eigentlich sollte da dann nichts mehr laufen.

                iobroker update
                iobroker upgrade self
                iobroker upgrade
                iobroker fix
                iobroker start
                
                Humidor 1 Reply Last reply Reply Quote 1
                • Humidor
                  Humidor @Thomas Braun last edited by

                  @thomas-braun tja, ich verstehe es nicht, nein er stoppt auch damit nicht.

                  Bildschirmfoto 2021-02-26 um 11.12.23.png Bildschirmfoto 2021-02-26 um 11.12.25.png

                  UncleSam 1 Reply Last reply Reply Quote 0
                  • UncleSam
                    UncleSam Developer @Humidor last edited by

                    @humidor Kannst du mal pstree verwenden? Ich möchte wissen, wer der Vater von dem Prozess ist. Bitte ohne irgendeingrep.

                    Humidor 1 Reply Last reply Reply Quote 0
                    • Humidor
                      Humidor @UncleSam last edited by Humidor

                      @unclesam sagte in (Frage) ioBroker stop - stoppt ioBroker nicht ?:

                      pstree

                      Morgen!

                      pi@ioBrokerPV:~ $ pstree
                      systemd─┬─agetty
                              ├─alsactl
                              ├─avahi-daemon───avahi-daemon
                              ├─bluetoothd
                              ├─cron
                              ├─dbus-daemon
                              ├─dhcpcd
                              ├─grafana-server───13*[{grafana-server}]
                              ├─hciattach
                              ├─influxd───14*[{influxd}]
                              ├─iobroker.js-con─┬─io.admin.0───10*[{io.admin.0}]
                              │                 ├─io.backitup.0───10*[{io.backitup.0}]
                              │                 ├─io.cloud.0───10*[{io.cloud.0}]
                              │                 ├─io.discovery.0───10*[{io.discovery.0}]
                              │                 ├─io.history.0───10*[{io.history.0}]
                              │                 ├─io.influxdb.0───10*[{io.influxdb.0}]
                              │                 ├─io.info.0───10*[{io.info.0}]
                              │                 ├─io.iot.0───10*[{io.iot.0}]
                              │                 ├─io.javascript.0───10*[{io.javascript.0}]
                              │                 ├─io.kecontact.0───10*[{io.kecontact.0}]
                              │                 ├─io.modbus.0───10*[{io.modbus.0}]
                              │                 ├─io.modbus.1───10*[{io.modbus.1}]
                              │                 ├─io.mqtt.0───10*[{io.mqtt.0}]
                              │                 ├─io.shelly.0───10*[{io.shelly.0}]
                              │                 ├─io.telegram.0───10*[{io.telegram.0}]
                              │                 ├─io.vis-inventwo───10*[{io.vis-inventwo}]
                              │                 ├─io.web.0───10*[{io.web.0}]
                              │                 └─10*[{iobroker.js-con}]
                              ├─rngd───3*[{rngd}]
                              ├─rsyslogd───3*[{rsyslogd}]
                              ├─sleep
                              ├─sshd───sshd───sshd───bash───pstree
                              ├─systemd───(sd-pam)
                              ├─systemd-journal
                              ├─systemd-logind
                              ├─systemd-timesyn───{systemd-timesyn}
                              ├─systemd-udevd
                              ├─thd
                              └─2*[wpa_supplicant]
                      
                      
                      UncleSam 1 Reply Last reply Reply Quote 0
                      • UncleSam
                        UncleSam Developer @Humidor last edited by UncleSam

                        @humidor OK, also es ist definitiv das System selber (systemd), das den Prozess startet. Wie hast du denn ursprünglich ioBroker installiert? Und hast du danach am Aufstartverhalten noch etwas geändert? Und welche Versionen von js-controller und Nodejs hast du?

                        Humidor 1 Reply Last reply Reply Quote 0
                        • Humidor
                          Humidor @UncleSam last edited by

                          @unclesam
                          soweit ich mich erinnere habe ich nach dieser Anleitung installiert:
                          https://technikkram.net/blog/2019/07/21/funktioniert-iobroker-auf-neuem-raspberry-pi-4-installieren/

                          verändert habe ich mW nichts
                          Node.js
                          v10.23.2

                          js 3.1.6

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Humidor last edited by

                            @humidor

                            systemctl status iobroker
                            
                            Humidor 1 Reply Last reply Reply Quote 0
                            • Humidor
                              Humidor @Thomas Braun last edited by Humidor

                              @thomas-braun sagte in (Frage) ioBroker stop - stoppt ioBroker nicht ?:

                              systemctl status iobroker

                              pi@ioBrokerPV:~ $ systemctl status iobroker
                              ● iobroker.service - ioBroker Server
                                 Loaded: loaded (/lib/systemd/system/iobroker.service; disabled; vendor preset: enabled)
                                 Active: active (running) since Fri 2021-02-26 11:10:02 CET; 22h ago
                                   Docs: http://iobroker.net
                               Main PID: 547 (iobroker.js-con)
                                  Tasks: 198 (limit: 3888)
                                 CGroup: /system.slice/iobroker.service
                                         ├─  547 iobroker.js-controller
                                         ├─  645 io.admin.0
                                         ├─  660 io.discovery.0
                                         ├─  749 io.kecontact.0
                                         ├─ 1204 io.mqtt.0
                                         ├─ 1238 io.javascript.0
                                         ├─ 1263 io.history.0
                                         ├─ 1301 io.cloud.0
                                         ├─ 1316 io.iot.0
                                         ├─ 1333 io.telegram.0
                                         ├─ 1348 io.backitup.0
                                         ├─ 1405 io.shelly.0
                                         ├─ 1420 io.influxdb.0
                                         ├─ 1440 io.vis-inventwo.0
                                         ├─ 1459 io.modbus.0
                                         ├─ 1474 io.modbus.1
                                         ├─12854 io.info.0
                                         └─23930 io.web.0
                              
                              Feb 27 09:36:53 ioBrokerPV bash[547]: Send diag info: {"uuid":"767fc1e4-aa98-4c8f-dc46-daccf93cd3a3","language":"de","country":"Austria","hosts":[{"version":"3.1.6","platform":"Javascript/Node.js","type":
                              Feb 27 09:36:53 ioBrokerPV bash[547]: hash unchanged, use cached sources
                              Feb 27 09:36:55 ioBrokerPV bash[547]: Cannot send diag info: ESOCKETTIMEDOUT
                              Feb 27 09:52:28 ioBrokerPV bash[547]: Send diag info: {"uuid":"767fc1e4-aa98-4c8f-dc46-daccf93cd3a3","language":"de","country":"Austria","hosts":[{"version":"3.1.6","platform":"Javascript/Node.js","type":
                              Feb 27 09:52:28 ioBrokerPV bash[547]: hash unchanged, use cached sources
                              Feb 27 09:52:30 ioBrokerPV bash[547]: Cannot send diag info: ESOCKETTIMEDOUT
                              Feb 27 09:53:40 ioBrokerPV bash[547]: Send diag info: {"uuid":"767fc1e4-aa98-4c8f-dc46-daccf93cd3a3","language":"de","country":"Austria","hosts":[{"version":"3.1.6","platform":"Javascript/Node.js","type":
                              Feb 27 09:53:41 ioBrokerPV bash[547]: Send diag info: {"uuid":"767fc1e4-aa98-4c8f-dc46-daccf93cd3a3","language":"de","country":"Austria","hosts":[{"version":"3.1.6","platform":"Javascript/Node.js","type":
                              Feb 27 09:53:42 ioBrokerPV bash[547]: hash unchanged, use cached sources
                              Feb 27 09:53:44 ioBrokerPV bash[547]: Cannot send diag info: ESOCKETTIMEDOUT
                              lines 1-36/36 (END)
                              
                              
                              Humidor 1 Reply Last reply Reply Quote 0
                              • Humidor
                                Humidor @Humidor last edited by Humidor

                                Ich habe zum Test jetzt eine komplett neue und aktuelle Installation von Raspi und ioBroker gemacht, dort kann ich den ioBroker stoppen und starten.

                                kann ich ein iobroker backup auf den neuen kopieren, wie?

                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Humidor last edited by

                                  @humidor

                                  sudo systemctl stop iobroker
                                  sudo systemctl disable iobroker
                                  sudo systemctl status iobroker
                                  sudo reboot
                                  

                                  Wenn das nicht funktioniert evtl. noch maskieren.

                                  Humidor 1 Reply Last reply Reply Quote 0
                                  • Humidor
                                    Humidor @Thomas Braun last edited by Humidor

                                    @thomas-braun nein, hat nicht funktioniert

                                    wie transportiere ich von einem raspi zum anderen die Installation von ioBroker, also nicht die Grundinstallation, nur alles was ich gemacht habe?
                                    iobroker backup - wie geht da ein restore?
                                    bzw. opt/iobroker-data einfach kopieren?

                                    Thomas Braun wendy2702 2 Replies Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Humidor last edited by Thomas Braun

                                      @humidor
                                      Schön...
                                      Und was sagt der Status jetzt? Meine Glaskugel ist kaputt.

                                      Rückmeldung zu jeder Zeile wäre hilfreich.

                                      Humidor 1 Reply Last reply Reply Quote 0
                                      • Humidor
                                        Humidor @Thomas Braun last edited by Humidor

                                        @thomas-braun iobroker läuft... es hat sich nichts geändert.

                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Humidor last edited by

                                          @humidor
                                          Mann...
                                          Konsolenausgaben...

                                          Humidor 1 Reply Last reply Reply Quote 0
                                          • Humidor
                                            Humidor @Thomas Braun last edited by Humidor

                                            @thomas-braun es hat sich nicht geändert...

                                            pi@ioBrokerPV:~ $ sudo systemctl status iobroker
                                            ● iobroker.service - ioBroker Server
                                               Loaded: loaded (/lib/systemd/system/iobroker.service; disabled; vendor preset: enabled)
                                               Active: active (running) since Sat 2021-02-27 10:12:16 CET; 7min ago
                                                 Docs: http://iobroker.net
                                             Main PID: 521 (iobroker.js-con)
                                                Tasks: 198 (limit: 3888)
                                               CGroup: /system.slice/iobroker.service
                                                       ├─ 521 iobroker.js-controller
                                                       ├─ 645 io.admin.0
                                                       ├─ 660 io.discovery.0
                                                       ├─ 676 io.info.0
                                                       ├─ 768 io.kecontact.0
                                                       ├─1204 io.mqtt.0
                                                       ├─1221 io.web.0
                                                       ├─1236 io.javascript.0
                                                       ├─1258 io.history.0
                                                       ├─1279 io.cloud.0
                                                       ├─1294 io.iot.0
                                                       ├─1311 io.telegram.0
                                                       ├─1326 io.backitup.0
                                                       ├─1386 io.shelly.0
                                                       ├─1401 io.influxdb.0
                                                       ├─1421 io.vis-inventwo.0
                                                       ├─1440 io.modbus.0
                                                       └─1455 io.modbus.1
                                            
                                            Feb 27 10:13:29 ioBrokerPV sudo[1352]: pam_unix(sudo:session): session closed for user root
                                            Feb 27 10:13:38 ioBrokerPV sudo[1429]: iobroker : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/umount /opt/iobroker/backups
                                            Feb 27 10:13:38 ioBrokerPV sudo[1429]: pam_unix(sudo:session): session opened for user root by (uid=0)
                                            Feb 27 10:13:38 ioBrokerPV sudo[1429]: pam_unix(sudo:session): session closed for user root
                                            Feb 27 10:17:53 ioBrokerPV bash[521]: ================================== > LOG REDIRECT system.adapter.admin.0 => true [system.adapter.admin.0.logging]
                                            Feb 27 10:17:56 ioBrokerPV bash[521]: Send diag info: {"uuid":"767fc1e4-aa98-4c8f-dc46-daccf93cd3a3","language":"de","country":"Austria","hosts":[{"versio
                                            Feb 27 10:17:57 ioBrokerPV bash[521]: Send diag info: {"uuid":"767fc1e4-aa98-4c8f-dc46-daccf93cd3a3","language":"de","country":"Austria","hosts":[{"versio
                                            Feb 27 10:17:57 ioBrokerPV bash[521]: hash unchanged, use cached sources
                                            Feb 27 10:17:59 ioBrokerPV bash[521]: Cannot send diag info: ESOCKETTIMEDOUT
                                            Feb 27 10:18:03 ioBrokerPV bash[521]: ================================== > LOG REDIRECT system.adapter.admin.0 => false [system.adapter.admin.0.logging]
                                            lines 1-36/36 (END)
                                            
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            440
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            44
                                            2286
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo