Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [HowTo] IOBroker Installation Raspi 3

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    475

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.6k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.5k

[HowTo] IOBroker Installation Raspi 3

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
iobroker installationiobroker neuinstallation
12 Beiträge 5 Kommentatoren 15.3k Aufrufe 5 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • A Offline
    A Offline
    andre-h
    schrieb am zuletzt editiert von
    #3

    Danke für die schnelle Rückmeldung!
    Ich beginne nochmal von vorne und melde mich später wieder...

    Viele Grüße,
    Andre

    1 Antwort Letzte Antwort
    0
    • A Offline
      A Offline
      andre-h
      schrieb am zuletzt editiert von
      #4

      Leider genau das gleich Dilemma...

      
      pi@raspberrypi:~ $ node -v
      -bash: node: command not found
      pi@raspberrypi:~ $ npm -v
      -bash: npm: command not found
      pi@raspberrypi:~ $ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
      
      ## Installing the NodeSource Node.js 10.x repo...
      
      
      ## Populating apt-get cache...
      
      + apt-get update
      Hit:1 http://archive.raspberrypi.org/debian buster InRelease
      Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
      Reading package lists... Done
      
      ## Confirming "buster" is supported...
      
      + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_10.x/dists/buster/Release'
      
      ## Adding the NodeSource signing key to your keyring...
      
      + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
      OK
      
      ## Creating apt sources list file for the NodeSource Node.js 10.x repo...
      
      + echo 'deb https://deb.nodesource.com/node_10.x buster main' > /etc/apt/sources.list.d/nodesource.list
      + echo 'deb-src https://deb.nodesource.com/node_10.x buster main' >> /etc/apt/sources.list.d/nodesource.list
      
      ## Running `apt-get update` for you...
      
      + apt-get update
      Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
      Hit:2 http://archive.raspberrypi.org/debian buster InRelease
      Get:3 https://deb.nodesource.com/node_10.x buster InRelease [4,584 B]
      Get:4 https://deb.nodesource.com/node_10.x buster/main armhf Packages [764 B]
      Fetched 5,348 B in 11s (478 B/s)
      Reading package lists... Done
      
      ## Run `sudo apt-get install -y nodejs` to install Node.js 10.x and npm
      ## You may also need development tools to build native addons:
           sudo apt-get install gcc g++ make
      ## To install the Yarn package manager, run:
           curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
           echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
           sudo apt-get update && sudo apt-get install yarn
      
      
      pi@raspberrypi:~ $ sudo apt install -y nodejs
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following NEW packages will be installed:
        nodejs
      0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
      Need to get 14.6 MB of archives.
      After this operation, 77.3 MB of additional disk space will be used.
      Get:1 https://deb.nodesource.com/node_10.x buster/main armhf nodejs armhf 10.18.1-1nodesource1 [14.6 MB]
      Fetched 14.6 MB in 4s (3,368 kB/s)
      Selecting previously unselected package nodejs.
      (Reading database ... 39860 files and directories currently installed.)
      Preparing to unpack .../nodejs_10.18.1-1nodesource1_armhf.deb ...
      Unpacking nodejs (10.18.1-1nodesource1) ...
      Setting up nodejs (10.18.1-1nodesource1) ...
      Processing triggers for man-db (2.8.5-2) ...
      pi@raspberrypi:~ $ sudo reboot
      login as: pi
      pi@192.168.1.5's password:
      Linux raspberrypi 4.19.93-v7+ #1290 SMP Fri Jan 10 16:39:50 GMT 2020 armv7l
      
      The programs included with the Debian GNU/Linux system are free software;
      the exact distribution terms for each program are described in the
      individual files in /usr/share/doc/*/copyright.
      
      Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
      permitted by applicable law.
      Last login: Thu Jan 23 17:19:52 2020 from 192.168.1.3
      
      SSH is enabled and the default password for the 'pi' user has not been changed.
      This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
      
      pi@raspberrypi:~ $ node -v
      v10.18.1
      pi@raspberrypi:~ $ nodejs -v
      v10.18.1
      pi@raspberrypi:~ $ npm -v
      6.13.4
      pi@raspberrypi:~ $ curl -sL https://iobroker.net/install.sh | bash -
      library: loaded
      Library version=2020-01-13
      
      ==========================================================================
      
          Welcome to the ioBroker installer!
          Installer version: 2019-11-29
      
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/4)
      ==========================================================================
      
      Hit:1 http://archive.raspberrypi.org/debian buster InRelease
      Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
      Hit:3 https://deb.nodesource.com/node_10.x buster InRelease
      Reading package lists... Done
      Changing npm registry to https://registry.npmjs.org
      Installed acl
      Installed gcc-c++
      Installed libavahi-compat-libdnssd-dev
      Installed libudev-dev
      Installed libpam0g-dev
      Installed git
      Installed python-dev
      Installed video
      
      ==========================================================================
          Creating ioBroker user and directory (2/4)
      ==========================================================================
      
      User iobroker created
      Created /etc/sudoers.d/iobroker
      Directory /opt/iobroker created
      
      ==========================================================================
          Installing ioBroker (3/4)
      ==========================================================================
      
      npm ERR! code EAI_AGAIN
      npm ERR! errno EAI_AGAIN
      npm ERR! request to https://registry.npmjs.org/arraybuffer.slice/-/arraybuffer.slice-0.0.6.tgz failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org registry.npmjs.org:443
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2020-01-23T16_34_50_306Z-debug.log
      
      ==========================================================================
          Finalizing installation (4/4)
      ==========================================================================
      
      Enabling autostart...
      Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
      Autostart enabled!
      Fixing directory permissions...
      
      ==========================================================================
      
          ioBroker was installed successfully
          Open http://:8081 in a browser and start configuring!
      
      ==========================================================================
      
      
      You need to re-login before doing anything else on the console!
      
      

      Fehlt dem Buster Lite Image noch irgendetwas Essentielles? Mit den Fehlermeldungen komme ich nicht weiter.

      Ich bitte um weitere Vorschläge, wie ich den IOBroker sauber auf meinen Raspi bekomme :-)

      Vielen Dank und Grüße,
      Andre

      AlCalzoneA 1 Antwort Letzte Antwort
      0
      • A andre-h

        Leider genau das gleich Dilemma...

        
        pi@raspberrypi:~ $ node -v
        -bash: node: command not found
        pi@raspberrypi:~ $ npm -v
        -bash: npm: command not found
        pi@raspberrypi:~ $ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
        
        ## Installing the NodeSource Node.js 10.x repo...
        
        
        ## Populating apt-get cache...
        
        + apt-get update
        Hit:1 http://archive.raspberrypi.org/debian buster InRelease
        Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
        Reading package lists... Done
        
        ## Confirming "buster" is supported...
        
        + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_10.x/dists/buster/Release'
        
        ## Adding the NodeSource signing key to your keyring...
        
        + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
        OK
        
        ## Creating apt sources list file for the NodeSource Node.js 10.x repo...
        
        + echo 'deb https://deb.nodesource.com/node_10.x buster main' > /etc/apt/sources.list.d/nodesource.list
        + echo 'deb-src https://deb.nodesource.com/node_10.x buster main' >> /etc/apt/sources.list.d/nodesource.list
        
        ## Running `apt-get update` for you...
        
        + apt-get update
        Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
        Hit:2 http://archive.raspberrypi.org/debian buster InRelease
        Get:3 https://deb.nodesource.com/node_10.x buster InRelease [4,584 B]
        Get:4 https://deb.nodesource.com/node_10.x buster/main armhf Packages [764 B]
        Fetched 5,348 B in 11s (478 B/s)
        Reading package lists... Done
        
        ## Run `sudo apt-get install -y nodejs` to install Node.js 10.x and npm
        ## You may also need development tools to build native addons:
             sudo apt-get install gcc g++ make
        ## To install the Yarn package manager, run:
             curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
             echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
             sudo apt-get update && sudo apt-get install yarn
        
        
        pi@raspberrypi:~ $ sudo apt install -y nodejs
        Reading package lists... Done
        Building dependency tree
        Reading state information... Done
        The following NEW packages will be installed:
          nodejs
        0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
        Need to get 14.6 MB of archives.
        After this operation, 77.3 MB of additional disk space will be used.
        Get:1 https://deb.nodesource.com/node_10.x buster/main armhf nodejs armhf 10.18.1-1nodesource1 [14.6 MB]
        Fetched 14.6 MB in 4s (3,368 kB/s)
        Selecting previously unselected package nodejs.
        (Reading database ... 39860 files and directories currently installed.)
        Preparing to unpack .../nodejs_10.18.1-1nodesource1_armhf.deb ...
        Unpacking nodejs (10.18.1-1nodesource1) ...
        Setting up nodejs (10.18.1-1nodesource1) ...
        Processing triggers for man-db (2.8.5-2) ...
        pi@raspberrypi:~ $ sudo reboot
        login as: pi
        pi@192.168.1.5's password:
        Linux raspberrypi 4.19.93-v7+ #1290 SMP Fri Jan 10 16:39:50 GMT 2020 armv7l
        
        The programs included with the Debian GNU/Linux system are free software;
        the exact distribution terms for each program are described in the
        individual files in /usr/share/doc/*/copyright.
        
        Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
        permitted by applicable law.
        Last login: Thu Jan 23 17:19:52 2020 from 192.168.1.3
        
        SSH is enabled and the default password for the 'pi' user has not been changed.
        This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
        
        pi@raspberrypi:~ $ node -v
        v10.18.1
        pi@raspberrypi:~ $ nodejs -v
        v10.18.1
        pi@raspberrypi:~ $ npm -v
        6.13.4
        pi@raspberrypi:~ $ curl -sL https://iobroker.net/install.sh | bash -
        library: loaded
        Library version=2020-01-13
        
        ==========================================================================
        
            Welcome to the ioBroker installer!
            Installer version: 2019-11-29
        
            You might need to enter your password a couple of times.
        
        ==========================================================================
        
        
        ==========================================================================
            Installing prerequisites (1/4)
        ==========================================================================
        
        Hit:1 http://archive.raspberrypi.org/debian buster InRelease
        Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
        Hit:3 https://deb.nodesource.com/node_10.x buster InRelease
        Reading package lists... Done
        Changing npm registry to https://registry.npmjs.org
        Installed acl
        Installed gcc-c++
        Installed libavahi-compat-libdnssd-dev
        Installed libudev-dev
        Installed libpam0g-dev
        Installed git
        Installed python-dev
        Installed video
        
        ==========================================================================
            Creating ioBroker user and directory (2/4)
        ==========================================================================
        
        User iobroker created
        Created /etc/sudoers.d/iobroker
        Directory /opt/iobroker created
        
        ==========================================================================
            Installing ioBroker (3/4)
        ==========================================================================
        
        npm ERR! code EAI_AGAIN
        npm ERR! errno EAI_AGAIN
        npm ERR! request to https://registry.npmjs.org/arraybuffer.slice/-/arraybuffer.slice-0.0.6.tgz failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org registry.npmjs.org:443
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/pi/.npm/_logs/2020-01-23T16_34_50_306Z-debug.log
        
        ==========================================================================
            Finalizing installation (4/4)
        ==========================================================================
        
        Enabling autostart...
        Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
        Autostart enabled!
        Fixing directory permissions...
        
        ==========================================================================
        
            ioBroker was installed successfully
            Open http://:8081 in a browser and start configuring!
        
        ==========================================================================
        
        
        You need to re-login before doing anything else on the console!
        
        

        Fehlt dem Buster Lite Image noch irgendetwas Essentielles? Mit den Fehlermeldungen komme ich nicht weiter.

        Ich bitte um weitere Vorschläge, wie ich den IOBroker sauber auf meinen Raspi bekomme :-)

        Vielen Dank und Grüße,
        Andre

        AlCalzoneA Offline
        AlCalzoneA Offline
        AlCalzone
        Developer
        schrieb am zuletzt editiert von
        #5

        @andre-h sagte in [HowTo] IOBroker Installation Raspi 3:

        EAI_AGAIN

        Du hast Internetverbindungsprobleme.

        Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

        1 Antwort Letzte Antwort
        0
        • A Offline
          A Offline
          andre-h
          schrieb am zuletzt editiert von
          #6

          Oha, das ist interessant...Update, Upgrade, npm usw. klappen, und IOBroker nicht...an welcher Stelle muss ich denn da suchen? Werden irgendwelche speziellen Portfreigaben benötigt? Die FritzBox weist dem Raspi lediglich eine feste IP Adresse zu. Mehr ist nicht konfiguriert
          Mit anderen Geräten gibt es auch keinerlei Internetschwierigkeiten...
          Habe mal den Raspi aus der FritzBox Config entfernt und beide neu gestartet. Bei der IOBroker Installation taucht wieder das selbe Problem auf.

          1 Antwort Letzte Antwort
          0
          • A Offline
            A Offline
            andre-h
            schrieb am zuletzt editiert von
            #7

            Ich habe jetzt nochmal alles neu aufgesetzt, nochmals den Raspi aus der FritzBox entfernt und schwupps...schon gehts....
            Leider weiß ich nicht, woran es am Ende wirklich lag - jedes Mal alles komplett neu aufsetzen kann ja auch nicht die Lösung sein...falls jemand von Euch eine Idee hat, an welcher Schraube gedreht werden muss, wäre ich für eine kurze Erklärung sehr dankbar.

            @AlCalzone & @simatec: Vielen Dank für Eure Hinweise!

            Viele Grüße,
            Andre

            AlCalzoneA 1 Antwort Letzte Antwort
            0
            • A andre-h

              Ich habe jetzt nochmal alles neu aufgesetzt, nochmals den Raspi aus der FritzBox entfernt und schwupps...schon gehts....
              Leider weiß ich nicht, woran es am Ende wirklich lag - jedes Mal alles komplett neu aufsetzen kann ja auch nicht die Lösung sein...falls jemand von Euch eine Idee hat, an welcher Schraube gedreht werden muss, wäre ich für eine kurze Erklärung sehr dankbar.

              @AlCalzone & @simatec: Vielen Dank für Eure Hinweise!

              Viele Grüße,
              Andre

              AlCalzoneA Offline
              AlCalzoneA Offline
              AlCalzone
              Developer
              schrieb am zuletzt editiert von
              #8

              @andre-h Da registry.npmjs.org nicht aufgelöst wurden konnte, könnte es ein temporärer Fehler bei der DNS-Auflösung gewesen sein. Das kann im Zweifelsfall aber bis zum ISP hoch gehen, also außerhalb deiner Gewalt. Oder die Registry war tatsächlich kurz down.

              Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

              1 Antwort Letzte Antwort
              0
              • simatecS simatec

                @andre-h
                Installiere es nach dieser Anleitung ...

                https://www.iobroker.net/#de/documentation/install/linux.md

                lobomauL Offline
                lobomauL Offline
                lobomau
                schrieb am zuletzt editiert von
                #9

                @simatec der Link der Installation sollte doch noch passen?
                Ich habe zum ersten Mal während einer ioBroker Installation kein nodejs, aber node!? Liegt es evtl. an bullseye und ist es vielleicht normal?

                pi@Pi3:~ $ node -v
                v14.18.1
                pi@Pi3:~ $ nodejs -v
                -bash: nodejs: command not found
                pi@Pi3:~ $ npm -v
                6.14.15
                

                Host: NUC8i3 mit Proxmox:

                • ioBroker CT Debian 13, npm 10.9.4, nodejs 22.21.0
                • Slave: Pi4
                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • lobomauL lobomau

                  @simatec der Link der Installation sollte doch noch passen?
                  Ich habe zum ersten Mal während einer ioBroker Installation kein nodejs, aber node!? Liegt es evtl. an bullseye und ist es vielleicht normal?

                  pi@Pi3:~ $ node -v
                  v14.18.1
                  pi@Pi3:~ $ nodejs -v
                  -bash: nodejs: command not found
                  pi@Pi3:~ $ npm -v
                  6.14.15
                  
                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von Thomas Braun
                  #10

                  @lobomau
                  Ist richtig.
                  Das Paket wird jetzt ohne den symlink gebaut.
                  Hat aber nix mit bullseye zu tun, nodesource baut es halt jetzt anders.

                  Ich würde den aber noch nachträglich setzen.

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  lobomauL 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @lobomau
                    Ist richtig.
                    Das Paket wird jetzt ohne den symlink gebaut.
                    Hat aber nix mit bullseye zu tun, nodesource baut es halt jetzt anders.

                    Ich würde den aber noch nachträglich setzen.

                    lobomauL Offline
                    lobomauL Offline
                    lobomau
                    schrieb am zuletzt editiert von
                    #11

                    @thomas-braun ja, scheint auch alles zu laufen, sogar deconz (als beta). Bin durch für heute mit Neuistallation Slave Pi3 (bullseye, node 14, js-controller 3.3.19) :-)

                    Host: NUC8i3 mit Proxmox:

                    • ioBroker CT Debian 13, npm 10.9.4, nodejs 22.21.0
                    • Slave: Pi4
                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • lobomauL lobomau

                      @thomas-braun ja, scheint auch alles zu laufen, sogar deconz (als beta). Bin durch für heute mit Neuistallation Slave Pi3 (bullseye, node 14, js-controller 3.3.19) :-)

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von Thomas Braun
                      #12

                      @lobomau

                      Dann link das noch flugs:

                      sudo ln -s /usr/bin/node /usr/bin/nodejs
                      

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      1 Antwort Letzte Antwort
                      1
                      Antworten
                      • In einem neuen Thema antworten
                      Anmelden zum Antworten
                      • Älteste zuerst
                      • Neuste zuerst
                      • Meiste Stimmen


                      Support us

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

                      700

                      Online

                      32.5k

                      Benutzer

                      81.8k

                      Themen

                      1.3m

                      Beiträge
                      Community
                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                      ioBroker Community 2014-2025
                      logo
                      • Anmelden

                      • Du hast noch kein Konto? Registrieren

                      • Anmelden oder registrieren, um zu suchen
                      • Erster Beitrag
                        Letzter Beitrag
                      0
                      • Home
                      • Aktuell
                      • Tags
                      • Ungelesen 0
                      • Kategorien
                      • Unreplied
                      • Beliebt
                      • GitHub
                      • Docu
                      • Hilfe