NEWS
Problem bei der installation
-
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?
-
Hi,
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
-
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 ]
-
Alles gut!
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
-
Alles gut!
ioBroker was installed successfully
Open http://localhost:8081 in a browser and start configuring!
Habe schon versucht. Funktioniert nicht.
` > Aber unbedingt beachten
You need to re-login before doing anything else on the console!
Auch schon versucht. Kein Ergebnis
-
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
-
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 ]
-
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
-
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
-
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
-
Versuch mal npm cache clean und neu
-
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!
-
Wenn Du Dein Log durchsiehst, dann erkennst Du, dass da noch was fehlt:
npm cache clean --force
könnte helfen.