Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [HowTo] IOBroker Installation Raspi 3

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [HowTo] IOBroker Installation Raspi 3

    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      andre-h last edited by

      Hallo zusammen,
      nach unzähligen gescheiterten Versuchen, IOBroker sauber aufzusetzen, wende ich mich nun doch mal an Euch...
      Ich hatte bereits eine funktionierende IOBroker Installation. Durch eine defekte SD Karte muss ich das System jetzt wieder neu aufsetzen (Backup vorhanden), aber es gelingt mir einfach nicht.

      Hier mal mein Vorgehen:

      • Installation von 2019-09-26-raspbian-buster-lite auf Raspi 3
      • update & upgrade & raspi-config erledigt --> jeweils mit reboot
      • Installation IOBroker nach dieser Anleitung: https://github.com/ioBroker/ioBroker/wiki/Installation
      • npm: 6.13.4
      • node + nodejs: 10.18.1
      ==========================================================================
          Installing ioBroker (3/4)
      ==========================================================================
      
      npm ERR! code EAI_AGAIN
      npm ERR! errno EAI_AGAIN
      npm ERR! request to https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.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-22T15_34_24_729Z-debug.log
      

      Schon die Installation mit dem Script klappt nicht...und das angegebene LogFile existiert auch nicht.
      Könnt Ihr mir weiterhelfen? Wie bekomme ich eine saubere Installation hin?

      Besten Dank schonmal und Grüße,
      Andre

      simatec 1 Reply Last reply Reply Quote 0
      • simatec
        simatec Developer Most Active @andre-h last edited by

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

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

        lobomau 1 Reply Last reply Reply Quote 0
        • A
          andre-h last edited by

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

          Viele Grüße,
          Andre

          1 Reply Last reply Reply Quote 0
          • A
            andre-h last edited by

            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

            AlCalzone 1 Reply Last reply Reply Quote 0
            • AlCalzone
              AlCalzone Developer @andre-h last edited by

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

              EAI_AGAIN

              Du hast Internetverbindungsprobleme.

              1 Reply Last reply Reply Quote 0
              • A
                andre-h last edited by

                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 Reply Last reply Reply Quote 0
                • A
                  andre-h last edited by

                  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

                  AlCalzone 1 Reply Last reply Reply Quote 0
                  • AlCalzone
                    AlCalzone Developer @andre-h last edited by

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • lobomau
                      lobomau @simatec last edited by

                      @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 Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @lobomau last edited by 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.

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

                          @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 Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @lobomau last edited by Thomas Braun

                            @lobomau

                            Dann link das noch flugs:

                            sudo ln -s /usr/bin/node /usr/bin/nodejs
                            
                            1 Reply Last reply Reply Quote 1
                            • First post
                              Last post

                            Support us

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

                            215
                            Online

                            31.7k
                            Users

                            79.8k
                            Topics

                            1.3m
                            Posts

                            iobroker installation iobroker neuinstallation
                            5
                            12
                            15052
                            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