Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Installationsprobleme Raspberry pi

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    SOLVED Installationsprobleme Raspberry pi

    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dj-cd-schubser last edited by

      Servus,
      ich stoße bei der recherche zu meinem Problem immer wieder auf diesen Foreneintrag desswegen stell ich meine Frage mal direkt hier:

      pi@raspberrypi:~ $ sudo systemctl status iobroker
      ● iobroker.service - ioBroker Server
         Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor 
         Active: failed (Result: exit-code) since Mon 2020-05-25 14:19:42 CEST;
           Docs: http://iobroker.net
        Process: 5576 ExecStart=/bin/bash -c ${NODE} /opt/iobroker/node_modules
       Main PID: 5576 (code=exited, status=1/FAILURE)
      
      Mai 25 14:19:42 raspberrypi systemd[1]: iobroker.service: Service Restart
      Mai 25 14:19:42 raspberrypi systemd[1]: iobroker.service: Scheduled resta
      Mai 25 14:19:42 raspberrypi systemd[1]: Stopped ioBroker Server.
      Mai 25 14:19:42 raspberrypi systemd[1]: iobroker.service: Start request r
      Mai 25 14:19:42 raspberrypi systemd[1]: iobroker.service: Failed with res
      Mai 25 14:19:42 raspberrypi systemd[1]: Failed to start ioBroker Server.
      

      Ich bekomm diese Fehler und mutmaße dass es daran lieg dass unter "/opt/iobroker/node_modules" quasi nix drin liegt. Ich weiß aber nicht wirklich ob der Fehler beim Installieren passiert ist oder wie oder was.

      pi@raspberrypi:~ $ sudo -H npm install -g npm@6
      npm WARN npm npm does not support Node.js v10.19.0
      npm WARN npm You should probably upgrade to a newer version of node as we
      npm WARN npm can't make any promises that npm will work with this version.
      npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
      npm WARN npm You can find the latest version at https://nodejs.org/
      /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
      /usr/local/bin/npx -> /usr/local/lib/node_modules/npm/bin/npx-cli.js
      + npm@6.14.5
      added 435 packages from 873 contributors in 25.283s
      
      

      Dann hab ich noch dieses Problem beim NPM was auch weiter oben schon malbeschrieben, aber nicht weiter behandelt wurde.

      Ich bin für sachdienliche Hinweise dankbar.

      J Homoran 2 Replies Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @gutgut30 last edited by Homoran

        @gutgut30

        Da ich von @deimos noch kein Feedback habe, bitte nur als Workaround sehen, da ich nicht weiß ob hinter dem Problem und seiner "Lösung" noch anderes steckt, was mit der Lösung evtl. nicht mehr klappt.

        Wir denken zwar nicht, aber wenn doch werde ich es hier sofort melden.

        Vorgehen für ioBroker mit piVCCU auf Raspberry Pi mit Buster

        • Das entsprechende Image bei Github herunterladen
        • Image aktualisieren mit sudo apt update && sudo apt upgrade
        • Gemäß der Doku Schritt 2 und 3 vornehmen
          • Überprüfung sollte aber nichts ergeben
        • jetzt den Befehl sudo update-ca-certificates --fresh ausführen
        • ab jetzt mit Schritt 4 der Doku fortfahren

        Viel Glück

        G 1 Reply Last reply Reply Quote 0
        • J
          Jan1 @dj-cd-schubser last edited by

          @dj-cd-schubser
          Da ist ein abgeschnittenes Log, somit schlecht.
          Dann soll das heißen:
          @dj-cd-schubser sagte in Installationsprobleme Raspberry pi:

          Ich bekomm diese Fehler und mutmaße dass es daran lieg dass unter "/opt/iobroker/node_modules" quasi nix drin liegt. Ich weiß aber nicht wirklich ob der Fehler beim Installieren passiert ist oder wie oder was.

          Halte Dich an die Installations- Doku für Linux und Du musst nix mutmaßen, da dort dieser Punkt deutlich beschrieben ist.

          D 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @dj-cd-schubser last edited by

            @dj-cd-schubser sagte in Installationsprobleme Raspberry pi:

            sudo -H npm install -g npm@6

            wieso machst du das?

            D 1 Reply Last reply Reply Quote 0
            • D
              dj-cd-schubser @Jan1 last edited by Homoran

              @Jan1

              ~~pi@raspberrypi:~ $ sudo systemctl status iobroker
              ● iobroker.service - ioBroker Server
                 Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                 Active: failed (Result: exit-code) since Mon 2020-05-25 14:19:42 CEST; 2h 32min ago
                   Docs: http://iobroker.net
                Process: 5576 ExecStart=/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/contro
               Main PID: 5576 (code=exited, status=1/FAILURE)
              
              Mai 25 14:19:42 raspberrypi systemd[1]: iobroker.service: Service RestartSec=100ms expired, scheduling 
              Mai 25 14:19:42 raspberrypi systemd[1]: iobroker.service: Scheduled restart job, restart counter is at 
              Mai 25 14:19:42 raspberrypi systemd[1]: Stopped ioBroker Server.
              Mai 25 14:19:42 raspberrypi systemd[1]: iobroker.service: Start request repeated too quickly.
              Mai 25 14:19:42 raspberrypi systemd[1]: iobroker.service: Failed with result 'exit-code'.
              Mai 25 14:19:42 raspberrypi systemd[1]: Failed to start ioBroker Server.
              ...skipping...
              ● iobroker.service - ioBroker Server
                 Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                 Active: failed (Result: exit-code) since Mon 2020-05-25 14:19:42 CEST; 2h 32min ago
                   Docs: http://iobroker.net
                Process: 5576 ExecStart=/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/contro
               Main PID: 5576 (code=exited, status=1/FAILURE)
              
              Mai 25 14:19:42 raspberrypi systemd[1]: iobroker.service: Service RestartSec=100ms expired, scheduling 
              Mai 25 14:19:42 raspberrypi systemd[1]: iobroker.service: Scheduled restart job, restart counter is at 
              Mai 25 14:19:42 raspberrypi systemd[1]: Stopped ioBroker Server.
              Mai 25 14:19:42 raspberrypi systemd[1]: iobroker.service: Start request repeated too quickly.
              Mai 25 14:19:42 raspberrypi systemd[1]: iobroker.service: Failed with result 'exit-code'.
              Mai 25 14:19:42 raspberrypi systemd[1]: Failed to start ioBroker Server.
              
              ~~
              

              Mod-Edit: Code in code-tags gesetzt!

              Meinst du das hier mit abgeschnitten??

              Ich habe mich an die Anleitung gehalten. Was meinst du mit der Punkt ist deutlich beschrieben? Was habe ich übersehen?

              1 Reply Last reply Reply Quote 0
              • D
                dj-cd-schubser @Homoran last edited by

                @Homoran

                Zitat:
                "Als letzte Überprüfung bitte noch die Version von npm mittels npm -v überprüfen.

                Ergibt dies eine Version < 6, bitte noch mit sudo -H npm install -g npm@6 ein npm-Update durchführen"

                J Homoran 2 Replies Last reply Reply Quote 0
                • J
                  Jan1 @dj-cd-schubser last edited by

                  @dj-cd-schubser
                  Dann üben wirr mal Code auch in Code Tacks zu packen und mal die Ausgaben zu posten, wie sie in der Doku zur Node und NPM drin stehen und nicht nur zu behaupten man hats gemacht 😉

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    dj-cd-schubser @Jan1 last edited by

                    @Jan1
                    Ich kann dir grade null folgen.

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      Jan1 @dj-cd-schubser last edited by Jan1

                      @dj-cd-schubser
                      Ausgaben der Konsole in Code Tacks packen, dann kann man das auch lesen und nicht einfach rein kopieren.
                      Dann mal bisschen was aus der Doku hier auch posten und dazu gehört eigentlich schon Standard die Ausgaben von:

                      node -v
                      nodejs -v
                      npm -v
                      

                      Dann weiß man mal was Du überhaupt hast.

                      Homoran hat ja gefragt warum Du das

                      sudo -H npm install -g npm@6
                      

                      gemacht hast, denn dazu müsste man erst mal wiessen was Die ne NPM Version ist und da bei der Installation nach Doku die Node10 installiert wird, kann das nicht nötig sein , weil Node 10 NPM 6 mitbringt.

                      1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @dj-cd-schubser last edited by

                        @dj-cd-schubser sagte in Installationsprobleme Raspberry pi:

                        @Homoran

                        Zitat:
                        "Als letzte Überprüfung bitte noch die Version von npm mittels npm -v überprüfen.

                        Ergibt dies eine Version < 6, bitte noch mit sudo -H npm install -g npm@6 ein npm-Update durchführen"

                        ok!
                        ich glaube das stammt noch aus node8 - Zeiten. Muss ich mal recherchieren

                        Aber bei node 10.x sollte npm 6.x dabei sein.
                        wenn das nicht geklappt hat ist etwas anderes faul

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          Jan1 @Homoran last edited by

                          @Homoran
                          Das schreib ich ja auch schon oben 😉

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

                            @Jan1 Dann sag dem Forum auch, dass es mit der Veröffentlichung deines Posts nicht 9 Minuten warten soll 😉

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              Jan1 @Homoran last edited by

                              @Homoran
                              böses Forum 😊

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              898
                              Online

                              31.6k
                              Users

                              79.5k
                              Topics

                              1.3m
                              Posts

                              installation raspberrypi installtionsfehler
                              10
                              53
                              7152
                              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