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. Problem bei der installation

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    443

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    5.1k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.4k

Problem bei der installation

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
13 Beiträge 5 Kommentatoren 2.1k Aufrufe
  • Ä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.
  • M Offline
    M Offline
    minim
    schrieb am zuletzt editiert von
    #1

    Hi,

    bei der Installation funktioniert alles bis (Anleitung: http://www.iobroker.net/docu/?page_id=5090&lang=en) –> Benutze den RPI 2B

    sudo npm install iobroker --unsafe-perm
    
    

    Dort bekomme ich eine Fehler Ausgabe:

    root@raspberrypi:/opt/iobroker# sudo npm install iobroker --unsafe-perm
    (node:3417) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
    |
    > iobroker@1.3.1 install /opt/iobroker/node_modules/iobroker
    > node lib/checkVersions.js
    
    (node:3435) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
    NPM version: 1.4.21
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    ioBroker needs at least Node.JS 8.12\. You have installed 8.11.1
    Please update your Node.JS version!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    npm WARN This failure might be due to the use of legacy binary "node"
    npm WARN For further explanations, please read
    /usr/share/doc/nodejs/README.Debian
    
    npm ERR! iobroker@1.3.1 install: `node lib/checkVersions.js`
    npm ERR! Exit status 2
    npm ERR!
    npm ERR! Failed at the iobroker@1.3.1 install script.
    npm ERR! This is most likely a problem with the iobroker package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR!     node lib/checkVersions.js
    npm ERR! You can get their info via:
    npm ERR!     npm owner ls iobroker
    npm ERR! There is likely additional logging output above.
    
    npm ERR! System Linux 4.14.79-v7+
    npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "iobroker" "--unsafe-perm"
    npm ERR! cwd /opt/iobroker
    npm ERR! node -v v8.11.1
    npm ERR! npm -v 1.4.21
    npm ERR! code ELIFECYCLE
    npm ERR!
    npm ERR! Additional logging details can be found in:
    npm ERR!     /opt/iobroker/npm-debug.log
    npm ERR! not ok code 0
    
    

    Was kann ich jetzt machen? Woran liegt das?

    1 Antwort Letzte Antwort
    0
    • eric2905E Offline
      eric2905E Offline
      eric2905
      schrieb am zuletzt editiert von
      #2

      Hi,

      @minim:

      bei der Installation funktioniert alles bis (Anleitung: http://www.iobroker.net/docu/?page_id=5090&lang=en) –> Benutze den RPI 2B

      .....

      Was kann ich jetzt machen? Woran liegt das? `
      warum nimmst Du nicht die neuen deutsche Anleitung von der Webseite (vom Dezember 2018) und stattdessen die englische?

      Gruß,

      Eric

      Roses are red, violets are blue,

      if I listen to metal, my neighbours do too

      1 Antwort Letzte Antwort
      0
      • M Offline
        M Offline
        minim
        schrieb am zuletzt editiert von
        #3

        Habe die Deutsche Anleitung gefunden. Bei "curl -sL https://raw.githubusercontent.com/ioBro … staller.sh | bash -" bekomme ich aber erneut Errors.

        root@raspberrypi:~# curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/stable-installer/installer.sh | bash -
        
        ==========================================================================
        
            Welcome to the ioBroker installer!
            Installer version: 2019-01-02
        
            You might need to enter your password a couple of times.
        
        ==========================================================================
        
        ==========================================================================
            Installing prerequisites (1/5)
        ==========================================================================
        
        ==========================================================================
            Creating ioBroker directory (2/5)
        ==========================================================================
        
        ==========================================================================
            Downloading installation files (3/5)
        ==========================================================================
        
        > iobroker@1.3.1 install /opt/iobroker/node_modules/iobroker
        > node lib/checkVersions.js
        
        NPM version: 6.5.0
        
        > iobroker@1.3.1 postinstall /opt/iobroker/node_modules/iobroker
        > node lib/install.js
        
        + iobroker@1.3.1
        updated 1 package and audited 165 packages in 9.701s
        found 0 vulnerabilities
        
        ==========================================================================
            Installing ioBroker (4/5)
        ==========================================================================
        
        npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
        npm WARN tar zlib: unexpected end of file
        npm ERR! code Z_BUF_ERROR
        npm ERR! errno -5
        npm ERR! zlib: unexpected end of file
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /root/.npm/_logs/2019-01-04T21_49_25_672Z-debug.log
        
        ==========================================================================
            Finalizing installation (5/5)
        ==========================================================================
        
        ==========================================================================
        
            ioBroker was installed successfully
            Open http://localhost:8081 in a browser and start configuring!
        
        ==========================================================================
        
        You need to re-login before doing anything else on the console!
        
        

        Das "npm install iobroker" hat funktioniert.

        Aber dann stand dort

         The iobroker files have been downloaded successfully. │
        │ To complete the installation, you need to run         │
        │                                                       │
        │           npm i --production --unsafe-perm            
        
        

        Ich habe dann "npm i –production --unsafe-perm" eingegeben, dann kamen wieder Errors.

        Im Log steht:

        [.....]
        8146 silly saveTree │   │   │ ├── pify@2.3.0
        8146 silly saveTree │   │   │ └─┬ strip-bom@2.0.0
        8146 silly saveTree │   │   │   └── is-utf8@0.2.1
        8146 silly saveTree │   │   ├─┬ normalize-package-data@2.4.0
        8146 silly saveTree │   │   │ ├── hosted-git-info@2.7.1
        8146 silly saveTree │   │   │ ├─┬ is-builtin-module@1.0.0
        8146 silly saveTree │   │   │ │ └── builtin-modules@1.1.1
        8146 silly saveTree │   │   │ └─┬ validate-npm-package-license@3.0.4
        8146 silly saveTree │   │   │   ├─┬ spdx-correct@3.1.0
        8146 silly saveTree │   │   │   │ ├─┬ spdx-expression-parse@3.0.0
        8146 silly saveTree │   │   │   │ │ ├── spdx-exceptions@2.2.0
        8146 silly saveTree │   │   │   │ │ └── spdx-license-ids@3.0.3
        8146 silly saveTree │   │   │   │ └── spdx-license-ids@3.0.3
        8146 silly saveTree │   │   │   └── spdx-expression-parse@3.0.0
        8146 silly saveTree │   │   └── path-type@1.1.0
        8146 silly saveTree │   ├── which-module@1.0.0
        8146 silly saveTree │   └── yargs-parser@5.0.0
        8146 silly saveTree ├── semver@5.6.0
        8146 silly saveTree └── yargs@7.1.0
        8147 verbose stack ZlibError: zlib: unexpected end of file
        8147 verbose stack     at Zlib.(anonymous function).onerror (/usr/lib/node_modules/npm/node_modules/minizlib/index.js:131:21)
        8147 verbose stack     at Unzip.write (/usr/lib/node_modules/npm/node_modules/minizlib/index.js:255:31)
        8147 verbose stack     at Unzip.flush (/usr/lib/node_modules/npm/node_modules/minizlib/index.js:222:10)
        8147 verbose stack     at Unzip.end (/usr/lib/node_modules/npm/node_modules/minizlib/index.js:229:10)
        8147 verbose stack     at Unpack.end (/usr/lib/node_modules/npm/node_modules/tar/lib/parse.js:416:21)
        8147 verbose stack     at PassThrough.onend (_stream_readable.js:595:10)
        8147 verbose stack     at Object.onceWrapper (events.js:313:30)
        8147 verbose stack     at emitNone (events.js:111:20)
        8147 verbose stack     at PassThrough.emit (events.js:208:7)
        8147 verbose stack     at endReadableNT (_stream_readable.js:1064:12)
        8147 verbose stack     at _combinedTickCallback (internal/process/next_tick.js:139:11)
        8147 verbose stack     at process._tickCallback (internal/process/next_tick.js:181:9)
        8148 verbose cwd /root
        8149 verbose Linux 4.14.79-v7+
        8150 verbose argv "/usr/bin/node" "/usr/bin/npm" "i" "--production"
        8151 verbose node v8.15.0
        8152 verbose npm  v6.5.0
        8153 error code Z_BUF_ERROR
        8154 error errno -5
        8155 error zlib: unexpected end of file
        8156 verbose exit [ -5, true ]
        
        
        1 Antwort Letzte Antwort
        0
        • HomoranH Nicht stören
          HomoranH Nicht stören
          Homoran
          Global Moderator Administrators
          schrieb am zuletzt editiert von
          #4

          Alles gut!

          @minim:

          ioBroker was installed successfully

          Open http://localhost:8081 in a browser and start configuring! `

          Aber unbedingt beachten
          @minim:

          You need to re-login before doing anything else on the console! `

          Gruß

          Rainer

          kein Support per PN! - Fragen im Forum stellen -
          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
          Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

          1 Antwort Letzte Antwort
          0
          • M Offline
            M Offline
            minim
            schrieb am zuletzt editiert von
            #5

            @Homoran:

            Alles gut!

            @minim:

            ioBroker was installed successfully

            Open http://localhost:8081 in a browser and start configuring!

            Habe schon versucht. Funktioniert nicht.

            ` > Aber unbedingt beachten

            @minim:

            You need to re-login before doing anything else on the console!

            Auch schon versucht. Kein Ergebnis

            1 Antwort Letzte Antwort
            0
            • eric2905E Offline
              eric2905E Offline
              eric2905
              schrieb am zuletzt editiert von
              #6

              @minim:

              @minim:

              ioBroker was installed successfully

              Open http://localhost:8081 in a browser and start configuring! Habe schon versucht. Funktioniert nicht.

              Was funktioniert nicht?

              Fehlermeldung?

              Mal localhost durch die IP des Hosts ersetzt?

              Gruß,

              Eric

              Roses are red, violets are blue,

              if I listen to metal, my neighbours do too

              1 Antwort Letzte Antwort
              0
              • M Offline
                M Offline
                minim
                schrieb am zuletzt editiert von
                #7

                @eric2905:

                Was funktioniert nicht?

                Fehlermeldung?

                Mal localhost durch die IP des Hosts ersetzt? `

                Ja habe es mit der IP versucht kein Ergebnis.

                Es gibt Errors:

                ==========================================================================
                    Installing ioBroker (4/5)
                ==========================================================================
                
                npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                npm WARN tar zlib: unexpected end of file
                npm ERR! code Z_BUF_ERROR
                npm ERR! errno -5
                npm ERR! zlib: unexpected end of file
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /root/.npm/_logs/2019-01-04T21_49_25_672Z-debug.log
                
                ==========================================================================
                    Finalizing installation (5/5)
                ==========================================================================
                
                ==========================================================================
                
                    ioBroker was installed successfully
                    Open http://localhost:8081 in a browser and start configuring!
                
                ==========================================================================
                
                

                Dann im Log steht ganz vieles. Ganz unten gibt es paar Errormeldungen:

                [........]
                8163 silly saveTree │   │   │   └── spdx-expression-parse@3.0.0
                8163 silly saveTree │   │   └── path-type@1.1.0
                8163 silly saveTree │   ├── which-module@1.0.0
                8163 silly saveTree │   └── yargs-parser@5.0.0
                8163 silly saveTree ├── semver@5.6.0
                8163 silly saveTree └── yargs@7.1.0
                8164 verbose stack ZlibError: zlib: unexpected end of file
                8164 verbose stack     at Zlib.(anonymous function).onerror (/usr/lib/node_modules/npm/node_modules/minizlib/index.js:131:21)
                8164 verbose stack     at Unzip.write (/usr/lib/node_modules/npm/node_modules/minizlib/index.js:255:31)
                8164 verbose stack     at Unzip.flush (/usr/lib/node_modules/npm/node_modules/minizlib/index.js:222:10)
                8164 verbose stack     at Unzip.end (/usr/lib/node_modules/npm/node_modules/minizlib/index.js:229:10)
                8164 verbose stack     at Unpack.end (/usr/lib/node_modules/npm/node_modules/tar/lib/parse.js:416:21)
                8164 verbose stack     at PassThrough.onend (_stream_readable.js:595:10)
                8164 verbose stack     at Object.onceWrapper (events.js:313:30)
                8164 verbose stack     at emitNone (events.js:111:20)
                8164 verbose stack     at PassThrough.emit (events.js:208:7)
                8164 verbose stack     at endReadableNT (_stream_readable.js:1064:12)
                8164 verbose stack     at _combinedTickCallback (internal/process/next_tick.js:139:11)
                8164 verbose stack     at process._tickCallback (internal/process/next_tick.js:181:9)
                8165 verbose cwd /opt/iobroker
                8166 verbose Linux 4.14.79-v7+
                8167 verbose argv "/usr/bin/node" "/usr/bin/npm" "i" "--production" "--unsafe-perm"
                8168 verbose node v8.15.0
                8169 verbose npm  v6.5.0
                8170 error code Z_BUF_ERROR
                8171 error errno -5
                8172 error zlib: unexpected end of file
                8173 verbose exit [ -5, true ]
                
                
                1 Antwort Letzte Antwort
                0
                • apollon77A Offline
                  apollon77A Offline
                  apollon77
                  schrieb am zuletzt editiert von
                  #8

                  Funktioniert dein Netzwerk vollständig? Es scheint als ob er Probeme hat Files vollständig runterzuladen.

                  Unexpected End of Fule heisst das da irgendwas unvollständig ist

                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                  1 Antwort Letzte Antwort
                  0
                  • M Offline
                    M Offline
                    minim
                    schrieb am zuletzt editiert von
                    #9

                    @apollon77:

                    Funktioniert dein Netzwerk vollständig? Es scheint als ob er Probeme hat Files vollständig runterzuladen.

                    Unexpected End of Fule heisst das da irgendwas unvollständig ist `

                    Ja, mein Netzwerk funktioniert vollständig. Ich pinge auch schon seit beginn den Raspberry Pi es gibt keine aussetzter. Internet ist auch vorhanden.

                    Kann das am Server von ioBroker liegen? –> Guck dir mal den Beitrag an: viewtopic.php?f=8&t=20389

                    1 Antwort Letzte Antwort
                    0
                    • apollon77A Offline
                      apollon77A Offline
                      apollon77
                      schrieb am zuletzt editiert von
                      #10

                      Die ganzen Pakete werden von npmjs.org geladen, hat nichts mit dem iobroker Rechner zu tun. Vllt hatten die Probleme, wäre aber ein blöder Zufall

                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                      1 Antwort Letzte Antwort
                      0
                      • apollon77A Offline
                        apollon77A Offline
                        apollon77
                        schrieb am zuletzt editiert von
                        #11

                        Versuch mal npm cache clean und neu :-)

                        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                        1 Antwort Letzte Antwort
                        0
                        • M Offline
                          M Offline
                          minim
                          schrieb am zuletzt editiert von
                          #12

                          @apollon77:

                          Versuch mal npm cache clean und neu :-) `

                          Habe ich:

                          root@raspberrypi:~# npm cache clean
                          npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead. On the other hand, if you're debugging an issue with the installer, you can use `npm install --cache /tmp/empty-cache` to use a temporary cache instead of nuking the actual one.
                          npm ERR!
                          npm ERR! If you're sure you want to delete the entire cache, rerun this command with --force.
                          
                          npm ERR! A complete log of this run can be found in:
                          npm ERR!     /root/.npm/_logs/2019-01-04T22_53_55_499Z-debug.log
                          
                          

                          Danach erneut:

                          root@raspberrypi:~# curl -sL https://raw.githubusercontent.com/ioBroker/ioBroker/stable-installer/installer.sh | bash -
                          
                          ==========================================================================
                          
                              Welcome to the ioBroker installer!
                              Installer version: 2019-01-02
                          
                              You might need to enter your password a couple of times.
                          
                          ==========================================================================
                          
                          ==========================================================================
                              Installing prerequisites (1/5)
                          ==========================================================================
                          
                          ==========================================================================
                              Creating ioBroker directory (2/5)
                          ==========================================================================
                          
                          ==========================================================================
                              Downloading installation files (3/5)
                          ==========================================================================
                          
                          > iobroker@1.3.1 install /opt/iobroker/node_modules/iobroker
                          > node lib/checkVersions.js
                          
                          NPM version: 6.5.0
                          
                          > iobroker@1.3.1 postinstall /opt/iobroker/node_modules/iobroker
                          > node lib/install.js
                          
                          + iobroker@1.3.1
                          updated 1 package and audited 165 packages in 9.158s
                          found 0 vulnerabilities
                          
                          ==========================================================================
                              Installing ioBroker (4/5)
                          ==========================================================================
                          
                          npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
                          npm WARN tar zlib: unexpected end of file
                          npm ERR! code Z_BUF_ERROR
                          npm ERR! errno -5
                          npm ERR! zlib: unexpected end of file
                          
                          npm ERR! A complete log of this run can be found in:
                          npm ERR!     /root/.npm/_logs/2019-01-04T22_55_44_775Z-debug.log
                          
                          ==========================================================================
                              Finalizing installation (5/5)
                          ==========================================================================
                          
                          ==========================================================================
                          
                              ioBroker was installed successfully
                              Open http://localhost:8081 in a browser and start configuring!
                          
                          ==========================================================================
                          
                          You need to re-login before doing anything else on the console!
                          
                          
                          1 Antwort Letzte Antwort
                          0
                          • StabilostickS Offline
                            StabilostickS Offline
                            Stabilostick
                            schrieb am zuletzt editiert von
                            #13

                            Wenn Du Dein Log durchsiehst, dann erkennst Du, dass da noch was fehlt:

                            npm cache clean --force
                            

                            könnte helfen.

                            1 Antwort Letzte Antwort
                            0
                            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

                            595

                            Online

                            32.7k

                            Benutzer

                            82.5k

                            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