Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. Installtion von ioBroker auf RaspberryPi 4

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Installtion von ioBroker auf RaspberryPi 4

    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Hoffmakl1961 last edited by

      Hallo zusammen,
      auf meinen RaspberryPi 4 läuft bereits Mosquitto, Node-RED v2.1.0, Influxdb und Grafana v9.3.1.
      Zusätzlich habe ich auf dem RaspberryPi ein ioBroker versucht zu installieren, mit

      curl -sLf https://iobroker.net/install.sh | bash -
      

      Ich habe gelesen und gesucht, leider bekomme ich es nicht zum Laufen.
      js-controller neu installiert, da bekomme ich einen error.

      npm install iobroker.js-controller
      npm WARN ancient lockfile
      npm WARN ancient lockfile The package-lock.json file was created with an old version of npm,
      npm WARN ancient lockfile so supplemental metadata must be fetched from the registry.
      npm WARN ancient lockfile
      npm WARN ancient lockfile This is a one-time fix-up, please be patient...
      npm WARN ancient lockfile
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      npm ERR! code 22
      npm ERR! path /home/pi/node_modules/iobroker.js-controller
      npm ERR! command failed
      npm ERR! command sh -c -- node iobroker.js setup first
      npm ERR! Could not connect to objects database at 127.0.0.1:9001 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
      

      Was läuft auf welchem Port?

      sudo ss -tulpn | grep LISTEN
      tcp    LISTEN  0       511                 0.0.0.0:80             0.0.0.0:*      users:(("nginx",pid=628,fd=6),("nginx",pid=627,fd=6),("nginx",pid=626,fd=6),("nginx",pid=625,fd=6),("nginx",pid=624,fd=6))
      tcp    LISTEN  0       9                   0.0.0.0:21             0.0.0.0:*      users:(("pure-ftpd",pid=597,fd=4))
      tcp    LISTEN  0       128                 0.0.0.0:22             0.0.0.0:*      users:(("sshd",pid=581,fd=3))
      tcp    LISTEN  0       5                 127.0.0.1:631            0.0.0.0:*      users:(("cupsd",pid=31684,fd=7))
      tcp    LISTEN  0       511                 0.0.0.0:1880           0.0.0.0:*      users:(("node-red",pid=10519,fd=19))
      tcp    LISTEN  0       4096              127.0.0.1:8088           0.0.0.0:*      users:(("influxd",pid=882,fd=3))
      tcp    LISTEN  0       100                 0.0.0.0:1883           0.0.0.0:*      users:(("mosquitto",pid=875,fd=9))
      tcp    LISTEN  0       128                 0.0.0.0:9001           0.0.0.0:*      users:(("mosquitto",pid=875,fd=8))
      tcp    LISTEN  0       511                    [::]:80                [::]:*      users:(("nginx",pid=628,fd=7),("nginx",pid=627,fd=7),("nginx",pid=626,fd=7),("nginx",pid=625,fd=7),("nginx",pid=624,fd=7))
      tcp    LISTEN  0       9                      [::]:21                [::]:*      users:(("pure-ftpd",pid=597,fd=5))
      tcp    LISTEN  0       4096                      *:8086                 *:*      users:(("influxd",pid=882,fd=59))
      tcp    LISTEN  0       128                    [::]:22                [::]:*      users:(("sshd",pid=581,fd=4))
      tcp    LISTEN  0       2        [::ffff:127.0.0.1]:3350                 *:*      users:(("xrdp-sesman",pid=570,fd=7))
      tcp    LISTEN  0       4096                      *:8888                 *:*      users:(("chronograf",pid=871,fd=8))
      tcp    LISTEN  0       4096                      *:3000                 *:*      users:(("grafana-server",pid=868,fd=14))
      tcp    LISTEN  0       100                    [::]:1883              [::]:*      users:(("mosquitto",pid=875,fd=10))
      tcp    LISTEN  0       2                         *:3389                 *:*      users:(("xrdp",pid=602,fd=11))
      tcp    LISTEN  0       128                       *:9090                 *:*      users:(("systemd",pid=1,fd=90))
      

      Mosquitto scheint das Problem zu sein (Port 9001), oder?
      Wie kann ich weiter vorgehen?

      (Meine Linux Erfahrungen sind minimal.)

      PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
      NAME="Raspbian GNU/Linux"
      VERSION_ID="10"
      VERSION="10 (buster)"
      VERSION_CODENAME=buster
      ID=raspbian
      ID_LIKE=debian
      
      pi@rasp-Pi-4:~ $ node -v
      v16.18.1
      pi@rasp-Pi-4:~ $ npm -v
      8.19.2
      
      mikeal created this issue in request/request

      open Request’s Past, Present and Future #3142

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

        @hoffmakl1961

        Bieg den Port auf was anderes und schalte den Desktop inkl. Remote Desktop aus.
        Und beerdige Buster und installier 'Bullseye'.

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

          @thomas-braun
          Thomas, Danke für die schneller Antwort.
          Ich werde demnächst das System neu aufsetzen und Bullseye ohne remote Desktop installieren.

          "Bieg den Port auf was anderes"
          Ich habe die Datei /opt/iobroker/iobroker-data/iobroker.json angepasst:

          Port: 9001 auf 8001

           "objects": {
              "type": "jsonl",
              "// type": "Possible values: 'file' - [port 8001], 'jsonl' - [port 8001], 'redis' - [port 6379 or 26379 for sentinel].",
              "host": "127.0.0.1",
              "port": 8001,
          
          

          danach ein reboot durchgeführt.

          Wo muss ich noch Anpassen?

          Bekomme immer noch die gleiche Fehlermeldung

          npm ERR! Could not connect to objects database at 127.0.0.1:9001 (invalid protocol). Please make sure the configured IP and port points to a host running JS-Controller >= 2.0. and that the port is not occupied by other software!
          
          

          wenn ich

          npm install iobroker.js-controller
          

          ausführe.

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

            @hoffmakl1961 sagte in Installtion von ioBroker auf RaspberryPi 4:

            Ich werde demnächst das System neu aufsetzen und Bullseye ohne remote Desktop installieren.

            Ja, dann mach das. Solange bin ich raus.

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

              @thomas-braun
              Ich verstehe, dass du nichts mit veralteten Systemen zu tun haben willst, dazu noch mit Leuten ohne Linuxerfahrung.
              Trotzdem, Danke.

              Im Moment benötige ich noch meine Node-Red, InluxDB und Grafana Umgebung.
              Mein Ziel war, zusätzlich den ioBroker aufzusetzen, um zu spielen.

              Homoran Thomas Braun H 3 Replies Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @Hoffmakl1961 last edited by Homoran

                @hoffmakl1961 was soll denn das jetzt?

                @hoffmakl1961 sagte in Installtion von ioBroker auf RaspberryPi 4:

                dazu noch mit Leuten ohne Linuxerfahrung.

                genau für diese sind wir da!

                @hoffmakl1961 sagte in Installtion von ioBroker auf RaspberryPi 4:

                Ich verstehe, dass du nichts mit veralteten Systemen zu tun haben willst

                dann verstehst du es wohl doch nicht so ganz.

                Die Fehlersuche ist sehr aufwändig. Eine Reparatur bei einem abgekündigten System nicht mehr hilfreich, ggf. auch nicht mehr möglich.

                Sobald du das OS upgradest wird eh alles neu gebaut (wenn nötig)

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

                  @hoffmakl1961 sagte in Installtion von ioBroker auf RaspberryPi 4:

                  Ich verstehe, dass du nichts mit veralteten Systemen zu tun haben willst

                  Es gibt bei neuen Debian-Releases einen Zeitraum von ungefähr einem Jahr, wo stable und oldstable parallel gepflegt werden, eben damit man genug Zeit hat seinen Kram umzuziehen. Das Jahr 'Übergangszeit' war für Buster im September 2022 vorbei.

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    Hoffmakl1961 @Hoffmakl1961 last edited by

                    Sorry, genau das habe ich auch gesagt.
                    Wenn ein System abgekündigt ist, gibts kein Support! Was denn sonst.
                    ... dazu noch mit Leuten ohne Linuxerfahrung, ...
                    soll bedeuten, noch mehr Aufwand als einer mit Erafhrung.

                    DJMarc75 1 Reply Last reply Reply Quote 0
                    • DJMarc75
                      DJMarc75 @Hoffmakl1961 last edited by

                      @hoffmakl1961 sagte in Installtion von ioBroker auf RaspberryPi 4:

                      Sorry, genau das habe ich auch gesagt.
                      Wenn ein System abgekündigt ist, gibts kein Support! Was denn sonst.
                      ... dazu noch mit Leuten ohne Linuxerfahrung, ...
                      soll bedeuten, noch mehr Aufwand als einer mit Erafhrung.

                      Brauchst Du jetzt noch Hilfe oder zitierst Du nur Beiträge?

                      Mach halt erstmal was @Thomas-Braun schon geschrieben hat...
                      https://forum.iobroker.net/post/907218

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        Hoffmakl1961 @DJMarc75 last edited by

                        @djmarc75 said in Installtion von ioBroker auf RaspberryPi 4:

                        oder zitierst Du nur Beiträge?

                        Ich kann's nicht nachvollziehen, was mir heute alles unterstellt wird.

                        Können wir uns wieder auf's Technische beschränken.

                        DJMarc75 1 Reply Last reply Reply Quote 0
                        • DJMarc75
                          DJMarc75 @Hoffmakl1961 last edited by

                          @hoffmakl1961 sagte in Installtion von ioBroker auf RaspberryPi 4:

                          Können wir uns wieder auf's Technische beschränken.

                          gerne: was ist nun Dein neues Problem ?

                          oder:

                          Ich habe gelesen und gesucht, leider bekomme ich es nicht zum Laufen.
                          js-controller neu installiert, da bekomme ich einen error.
                          

                          noch das Problem?

                          Wenn ja dann:

                          https://forum.iobroker.net/topic/60887/installtion-von-iobroker-auf-raspberrypi-4/2?_=1670676084359

                          wenn nein dann bin ich da auch raus - aus Gründen 😶

                          H 1 Reply Last reply Reply Quote 0
                          • H
                            Hoffmakl1961 @DJMarc75 last edited by

                            @djmarc75
                            Ja, das Problem existiert noch.
                            Ich habe den port:9001 auf 8001 geändert
                            in der /opt/iobroker/iobroker-data/iobroker.json

                            wie von mir oben beschrieben,
                            https://forum.iobroker.net/topic/60887/installtion-von-iobroker-auf-raspberrypi-4/3?_=1670681895489
                            bekomme aber immer noch die gleiche Fehlermeldung.

                            Was muss ich noch anpassen? Oder was habe ich falsch gemacht?

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

                              @hoffmakl1961 sagte in Installtion von ioBroker auf RaspberryPi 4:

                              Ich habe den port:9001 auf 8001 geändert

                              wessen Port?

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

                                @thomas-braun
                                wenn man ein neues System mit ioBroker installiert, ist deine Empfehlung im Forum:
                                "Wichtig ist LITE, ohne Desktop!" - oder reicht es auch, den Desktop einfach auszuschalten, wie oben von dir vorgeschlagen?

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

                                  @hoffmakl1961

                                  Da du eh neu installieren musst:
                                  Nimm direkt die Lite 64bit Version.

                                  H 1 Reply Last reply Reply Quote 0
                                  • H
                                    Hoffmakl1961 @Homoran last edited by

                                    @homoran
                                    Das ist der Port im
                                    "objects": {
                                    "type": "jsonl", ....

                                    siehe meine Beschreibung:
                                    https://forum.iobroker.net/topic/60887/installtion-von-iobroker-auf-raspberrypi-4/3?_=1670681895489

                                    Homoran 1 Reply Last reply Reply Quote 0
                                    • H
                                      Hoffmakl1961 @Thomas Braun last edited by

                                      @thomas-braun
                                      ok, schönes Wochenende.

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

                                        @hoffmakl1961 sagte in Installtion von ioBroker auf RaspberryPi 4:

                                        Das ist der Port im

                                        ist das der mosquitto?

                                        oder versuchst du gerade in ioBroker alles zu verstellen?

                                        H 1 Reply Last reply Reply Quote 0
                                        • H
                                          Hoffmakl1961 @Homoran last edited by

                                          @homoran
                                          schau dir bitte meine Beschreibung an, was ich gemacht habe.
                                          https://forum.iobroker.net/topic/60887/installtion-von-iobroker-auf-raspberrypi-4/3?_=1670681895489

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          995
                                          Online

                                          31.7k
                                          Users

                                          79.8k
                                          Topics

                                          1.3m
                                          Posts

                                          4
                                          19
                                          775
                                          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