Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Iobroker Admin startet nicht mehr

    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

    Iobroker Admin startet nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • hg6806
      hg6806 Most Active last edited by

      Da bekomme ich folgende Meldung

      pi@raspberrypi:~ $ sudo iobroker admin start
      Commands:
      iobroker setup [--objects <host>] [--states <host>] [custom]
      iobroker start
      iobroker stop
      iobroker start <adapter>iobroker stop <adapter>iobroker start all
      iobroker restart
      iobroker restart <adapter>iobroker add <adapter>[--enabled] [--host <host>] [--port <port>]
      iobroker install <adapter>iobroker url <url>[<name>]
      iobroker del <adapter>iobroker del <adapter>. <instance>iobroker update [repository url] [--updatable]
      iobroker upgrade [repository url]
      iobroker upgrade self [repository url]
      iobroker upgrade <adapter>[repository url]
      iobroker upload <pathtolocalfile><pathiniobroker>iobroker upload all
      iobroker upload <adapter>iobroker object get <id>iobroker object del <id>iobroker object chmod <object-mode>[state-mode] <id>iobroker object chown <user><group><id>iobroker object list <id>iobroker state get <id>iobroker state getplain <id>iobroker state set <id><value>[ack]
      iobroker state del <id>iobroker message <adapter>[.instanceid] <command></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-read>iobroker adduser <user>[--ingroup group] [--password pass]
      iobroker deluser <user>iobroker passwd <user>[--password pass]
      iobroker set <adapter>. <instance>[--port port] [--ip address] [--ssl
      true|false]
      iobroker clean
      iobroker backup
      iobroker restore <backup name/or/path="">iobroker <command></command> --timeout 5000
      iobroker status
      iobroker repo [name]
      iobroker uuid
      iobroker unsetup
      iobroker version [adapter]
      iobroker [adapter] -v
      
      Optionen:
        --objects                                              [Standard: "127.0.0.1"]
        --states                                               [Standard: "127.0.0.1"]
        --lang                                                        [Standard: "en"]
      
      pi@raspberrypi:~ $</backup></instance></adapter></user></user></user></iobroker-path-to-read></filesystem-path-to-read></filesystem-path-to-write></iobroker-path-to-read></file></file></file></group></user></file></mode></type></message></adapter></id></value></id></id></id></id></id></group></user></id></object-mode></id></id></adapter></pathiniobroker></pathtolocalfile></adapter></instance></adapter></adapter></name></url></adapter></port></host></adapter></adapter></adapter></adapter></host></host> 
      

      Aber VIS und Editor laufen ja auch nicht

      1 Reply Last reply Reply Quote 0
      • eric2905
        eric2905 last edited by

        Sorry, mein Fehler.

        Es muss heißen

        sudo iobroker start admin
        

        Bitte auch mal die Ausgabe von

        sudo ps -ef | grep io
        

        Hier posten (bitte in Code- und ggf. auch in Spoiler-Tags).

        Gruß,

        Eric

        Von unterwegs getippert

        1 Reply Last reply Reply Quote 0
        • hg6806
          hg6806 Most Active last edited by

          Bei sudo iobroker start admin passiert gar nichts

          pi@raspberrypi:~ $ sudo iobroker start admin
          pi@raspberrypi:~ $ sudo iobroker start admin
          pi@raspberrypi:~ $ sudo ps -ef | grep io
          root         9     2  0 Mär25 ?       00:00:00 [migration/0]
          root        10     2  0 Mär25 ?       00:00:00 [migration/1]
          root        14     2  0 Mär25 ?       00:00:00 [migration/2]
          root        18     2  0 Mär25 ?       00:00:00 [migration/3]
          root        28     2  0 Mär25 ?       00:00:00 [bioset]
          root        31     2  0 Mär25 ?       00:00:00 [rpciod]
          root        35     2  0 Mär25 ?       00:00:00 [nfsiod]
          root        45     2  0 Mär25 ?       00:00:00 [bioset]
          root        46     2  0 Mär25 ?       00:00:00 [bioset]
          root        47     2  0 Mär25 ?       00:00:00 [bioset]
          root        48     2  0 Mär25 ?       00:00:00 [bioset]
          root        49     2  0 Mär25 ?       00:00:00 [bioset]
          root        50     2  0 Mär25 ?       00:00:00 [bioset]
          root        51     2  0 Mär25 ?       00:00:00 [bioset]
          root        52     2  0 Mär25 ?       00:00:00 [bioset]
          root        53     2  0 Mär25 ?       00:00:00 [bioset]
          root        54     2  0 Mär25 ?       00:00:00 [bioset]
          root        55     2  0 Mär25 ?       00:00:00 [bioset]
          root        56     2  0 Mär25 ?       00:00:00 [bioset]
          root        57     2  0 Mär25 ?       00:00:00 [bioset]
          root        58     2  0 Mär25 ?       00:00:00 [bioset]
          root        59     2  0 Mär25 ?       00:00:00 [bioset]
          root        60     2  0 Mär25 ?       00:00:00 [bioset]
          root        61     2  0 Mär25 ?       00:00:00 [bioset]
          root        62     2  0 Mär25 ?       00:00:00 [bioset]
          root        63     2  0 Mär25 ?       00:00:00 [bioset]
          root        64     2  0 Mär25 ?       00:00:00 [bioset]
          root        65     2  0 Mär25 ?       00:00:00 [bioset]
          root        66     2  0 Mär25 ?       00:00:00 [bioset]
          root        67     2  0 Mär25 ?       00:00:00 [bioset]
          root        68     2  0 Mär25 ?       00:00:00 [bioset]
          root        75     2  0 Mär25 ?       00:00:00 [DWC Notificatio]
          root        83     2  0 Mär25 ?       00:00:00 [bioset]
          message+   468     1  0 Mär25 ?       00:00:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
          pi        4947  4878  0 18:58 pts/0    00:00:00 grep --color=auto io
          
          
          1 Reply Last reply Reply Quote 0
          • eric2905
            eric2905 last edited by

            Bist Du vor dem "sudo iobroker start admin" in das Verzeichnis /opt/iobroker gewechselt? Ich sehe zwar keine Fehlermeldung, frage aber zur Sicherheit nach.

            Ich sehe keinen einzigen IoBroker-Prozess bei Dir.

            Gib bitte auch mal die Ausgabe von

            sudo ps -ef | grep js
            

            hier mit rein.

            Bitte auch von

            npm -v
            node -v
            

            Hast Du schonmal einen Reboot gemacht?

            Gruß,

            Eric

            Von unterwegs getippert

            1 Reply Last reply Reply Quote 0
            • wendy2702
              wendy2702 last edited by

              Mal zurück auf Anfang.

              Also bei dir lief iobroker schonmal wenn ich das richtig verstanden habe!? Das bedeutet mit Admin und VIS !?

              Was hast du als letzte Aktion gemacht bzw. seit welcher Aktion läuft es nicht mehr?

              Wurde irgendetwas an Verzeichnis Rechten oder so geändert, würde eventuell das hier erklären:

              Cannot create "/opt/iobroker/node_modules/iobroker.js-controller/lib/../killall.sh"
              

              Denke einen PI restart hast du schon probiert?

              Welche Node und NPM Versionen sind installiert?

              Hast du neben dem restart.log auch ein logfile von dem Tag an dem iobroker ausgefallen ist und ein aktuelles? Wenn ja bitte mal posten, vielleicht kann man da etwas erkennen.

              1 Reply Last reply Reply Quote 0
              • eric2905
                eric2905 last edited by

                In der ps-Liste ist kein einziger IoBroker-Prozess zu sehen.

                Seltsam ….

                Gruß,

                Eric

                Von unterwegs getippert

                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators last edited by

                  @eric2905:

                  Ich sehe keinen einzigen IoBroker-Prozess bei Dir. `
                  Sehe ich auch so, da scheint gar nichts zu laufen.

                  @hg6806:

                  ich gehe mal davon aus, dass du iobroker korrekt installiert ha(tte)st.

                  dann müsstest du über putty mit

                  cd /opt/iobroker
                  

                  in dem Instaöllationsverzeichnis sein.

                  Dort -und nur dort- dann

                  sudo iobroker start
                  

                  ausführen.

                  dann müsste kommen (sinngemäß)

                  iobroker daemon started with PID 12345
                  

                  Wenn das nicht kommt müssen wir an anderer stelle weiter machen.

                  Dann auf jeden Fall posten was da kommt!

                  Gruß

                  Rainer

                  1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators last edited by

                    @Eric:
                    @eric2905:

                    Bist Du vor dem "sudo iobroker start admin" in das Verzeichnis /opt/iobroker gewechselt? `
                    ist er IMHO nicht:
                    @hg6806:

                    pi@raspberrypi:~ $ sudo iobroker start admin
                    ```` `  
                    

                    Gruß

                    Rainer

                    1 Reply Last reply Reply Quote 0
                    • hg6806
                      hg6806 Most Active last edited by

                      @Eric: War schon ins Verzeichnis gewechselt

                      sudo ps -ef | grep js:

                      pi@raspberrypi:/opt/iobroker $ sudo ps -ef | grep js
                      pi        5189  4878  0 20:14 pts/0    00:00:00 grep --color=auto js
                      pi@raspberrypi:/opt/iobroker $
                      
                      

                      Java:

                      pi@raspberrypi:/opt/iobroker $ npm -v
                      2.15.11
                      pi@raspberrypi:/opt/iobroker $ node -v
                      v4.7.2
                      pi@raspberrypi:/opt/iobroker $
                      
                      

                      @wendy2702

                      Hatte alles vor ca. 4 Monaten installiert. VIS, Admin und Editor liefen ohne Probleme.

                      War 1 Woche vereist, als ich wiederkam gab es das Problem. Freundin meinte, 2 Tage bevor ich wiedergekommen bin war das Problem da. Sie hatte lediglich VIS bedient.

                      PI Restart schon 2x durchgeführt. Historian hatte auch gestoppt, läuft aber jetzt wieder.

                      Log würde ich ungern posten. Habe mal nach "errpr" durchsucht. Waren nur einige Einträge durch ical.

                      @Rainer:

                      Wie schon mal gepostet kommt nach dem Starten von iobroker folgendes:

                      pi@raspberrypi:/opt/iobroker $ sudo iobroker start
                      iobroker controller daemon already running. PID: 667
                      
                      

                      Grüße

                      1 Reply Last reply Reply Quote 0
                      • eric2905
                        eric2905 last edited by

                        Hi,

                        also es ist kein einziger IoBroker-Prozess zu sehen.

                        Zeige mal bitte den Inhalt des Verzeichnisses /opt/iobroker und einmal des Home-Verzeichnis des Users pi.

                        Hast Du IoBroker letztens mal neu / drüber installiert?

                        Wenn Du iobroker neu starten willst und die "already running" Meldung kommt, ist da eine PID angegeben?

                        Wenn ja, poste mal das Ergebnis von

                        sudo ps -ef | grep PID
                        

                        wobei Du PID durch die Zahl ersetzen musst.

                        Gruß,

                        Eric

                        Von unterwegs getippert

                        1 Reply Last reply Reply Quote 0
                        • wendy2702
                          wendy2702 last edited by

                          Gerade mal an meinem Pi die Prozesse geschaut:

                          ! pi@pi-iobroker:~ $ ps -ef|grep io root 9 2 0 20:26 ? 00:00:00 [migration/0] root 10 2 0 20:26 ? 00:00:00 [migration/1] root 14 2 0 20:26 ? 00:00:00 [migration/2] root 18 2 0 20:26 ? 00:00:00 [migration/3] root 28 2 0 20:26 ? 00:00:00 [bioset] root 31 2 0 20:26 ? 00:00:00 [rpciod] root 35 2 0 20:26 ? 00:00:00 [nfsiod] root 45 2 0 20:26 ? 00:00:00 [bioset] root 46 2 0 20:26 ? 00:00:00 [bioset] root 47 2 0 20:26 ? 00:00:00 [bioset] root 48 2 0 20:26 ? 00:00:00 [bioset] root 49 2 0 20:26 ? 00:00:00 [bioset] root 50 2 0 20:26 ? 00:00:00 [bioset] root 51 2 0 20:26 ? 00:00:00 [bioset] root 52 2 0 20:26 ? 00:00:00 [bioset] root 53 2 0 20:26 ? 00:00:00 [bioset] root 54 2 0 20:26 ? 00:00:00 [bioset] root 55 2 0 20:26 ? 00:00:00 [bioset] root 56 2 0 20:26 ? 00:00:00 [bioset] root 57 2 0 20:26 ? 00:00:00 [bioset] root 58 2 0 20:26 ? 00:00:00 [bioset] root 59 2 0 20:26 ? 00:00:00 [bioset] root 60 2 0 20:26 ? 00:00:00 [bioset] root 61 2 0 20:26 ? 00:00:00 [bioset] root 62 2 0 20:26 ? 00:00:00 [bioset] root 63 2 0 20:26 ? 00:00:00 [bioset] root 64 2 0 20:26 ? 00:00:00 [bioset] root 65 2 0 20:26 ? 00:00:00 [bioset] root 66 2 0 20:26 ? 00:00:00 [bioset] root 67 2 0 20:26 ? 00:00:00 [bioset] root 68 2 0 20:26 ? 00:00:00 [bioset] root 75 2 0 20:26 ? 00:00:00 [DWC Notificatio] root 82 2 0 20:26 ? 00:00:00 [bioset] avahi 442 1 0 20:26 ? 00:00:00 avahi-daemon: running [pi-iobroker.local] message+ 448 1 0 20:26 ? 00:00:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation root 730 1 1 20:26 ? 00:00:05 iobroker.js-controller root 749 730 6 20:26 ? 00:00:24 io.admin.1 root 780 730 2 20:27 ? 00:00:09 io.smartmeter.0 root 792 730 1 20:27 ? 00:00:04 io.rpi2.0 root 847 730 1 20:27 ? 00:00:05 io.modbus.3 pi 1134 772 0 20:33 pts/0 00:00:00 grep --color=auto io pi@pi-iobroker:~ $ !

                          Merkwürdig das man bei dir nichts von den iobroker Prozessen sieht.

                          Läuft auf dem PI noch etwas anderes außer iobroker?

                          Wenn es ganz schlecht läuft hat es vielleicht deine SD Karte, solltest du eine benutzen, zerlegt.

                          Was kommt denn wenn du im iobroker Verzeichnis versuchst den Admin zu starten?

                          Also so:

                          iobroker start admin
                          ````oder````
                          iobroker start admin.0
                          ````–> setzt voraus das du nur eine Admin Instanz installiert hattest.
                          
                          Ist das logfile zu groß oder warum magst du es nicht posten? Steht doch eigentlich nichts geheimes drin... oder?
                          1 Reply Last reply Reply Quote 0
                          • hg6806
                            hg6806 Most Active last edited by

                            pi@raspberrypi:/opt/iobroker $ sudo iobroker start
                            iobroker controller daemon already running. PID: 667
                            pi@raspberrypi:/opt/iobroker $ sudo ps -ef | grep 667
                            pi        5329  4878  0 20:43 pts/0    00:00:00 grep --color=auto 667
                            pi@raspberrypi:/opt/iobroker $
                            [quote] ` 
                            

                            Im Anhang der Verzeichnisinhalt
                            1752_2017-03-26_20_46_32-raspi_-sftp___root_192.168.178.18-_filezilla.jpg

                            1 Reply Last reply Reply Quote 0
                            • eric2905
                              eric2905 last edited by

                              Ok, sehr seltsam …. die PID wird nicht in den Prozessen gefunden ...

                              Hast Du den Pi mal rebootet (hatten "Wendy" und ich schon mal gefragt)?

                              Gruß,

                              Eric

                              Von unterwegs getippert

                              1 Reply Last reply Reply Quote 0
                              • hg6806
                                hg6806 Most Active last edited by

                                Ja, Pi hatte ich 2x neu gestartet.

                                <code>pi@raspberrypi:/opt/iobroker $ iobroker start admin
                                pi@raspberrypi:/opt/iobroker $ iobroker start admin.0
                                Adapter "admin.0 started.
                                Cannot save file /opt/iobroker/node_modules/iobroker.js-controller/lib/objects/../../../../iobroker-data/objects.json: Error: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-controller/lib/objects/../../../../iobroker-data/objects.json'
                                pi@raspberrypi:/opt/iobroker $
                                [code][/code]</code>
                                
                                1 Reply Last reply Reply Quote 0
                                • eric2905
                                  eric2905 last edited by

                                  "sudo" vergessen!

                                  Von unterwegs getippert

                                  1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators last edited by

                                    wenn du als user pi drin bist und nicht als root musst du immer ein sudo voranstellen.

                                    Gruß

                                    Rainer

                                    1 Reply Last reply Reply Quote 0
                                    • hg6806
                                      hg6806 Most Active last edited by

                                      sorry, sudo vergessen und blind paste© gemacht.

                                      <code>pi@raspberrypi:/opt/iobroker $ sudo iobroker start admin
                                      pi@raspberrypi:/opt/iobroker $ sudo iobroker start admin.0
                                      Adapter "admin.0 started.
                                      pi@raspberrypi:/opt/iobroker $
                                      [code][/code]</code>
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • wendy2702
                                        wendy2702 last edited by

                                        Sieht doch erstmal gut aus.

                                        Jetzt nochmal Prozesse abfragen

                                        Gesendet von iPhone mit Tapatalk Pro

                                        1 Reply Last reply Reply Quote 0
                                        • eric2905
                                          eric2905 last edited by

                                          Admin lief nicht, sonst hätte es eine entspr. Meldung gegeben.

                                          Kannst Du jetzt die Webseite (Admin, nicht Vis) aufrufen?

                                          Gruß,

                                          Eric

                                          Von unterwegs getippert

                                          1 Reply Last reply Reply Quote 0
                                          • hg6806
                                            hg6806 Most Active last edited by

                                            Nein, kann ich noch immer nicht

                                            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

                                            957
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            11
                                            81
                                            33285
                                            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