NEWS
(Gelöst) Amazon Dash Adapter bricht installation mit Fehler ab.
-
Hallo zusammen,
heute brauche ich eure Schwarmintelligenz
Ich wollte auf meinem Raspberry PI3 den Amazon Dash Adapter installieren. Habe NPM 6.2 drauf und Node JS 8.11.3. Updates mit apt-get update & apt-get upgrade hatte ich Anfang der Woche gemacht. Sollte also alles aktuell sein.
Beim Installieren von der Version 0.29 bricht er immer mit folgender Fehlermeldung ab:
$ ./iobroker add amazon-dash NPM version: 6.2.0 npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call) npm ERR! code 128 npm ERR! Command failed: /usr/bin/git submodule update -q --init --recursivenpm ERR! fatal: Could not change back to '/root/.npm/_cacache/tmp/git-clone-bc2a81a8': Keine Berechtigung npm ERR! npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-07-17T18_13_53_110Z-debug.log host.All-In-One_RasPi install adapter amazon-dash NPM version: 6.2.0 npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call) npm ERR! code 128 npm ERR! Command failed: /usr/bin/git submodule update -q --init --recursive npm ERR! fatal: Could not change back to '/root/.npm/_cacache/tmp/git-clone-115e3d90': Keine Berechtigung npm ERR! npm ERR! A complete log of this run can be found in:npm ERR! /root/.npm/_logs/2018-07-17T18_14_31_148Z-debug.log host.All-In-One_RasPi install adapter amazon-dash NPM version: 6.2.0npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call) npm ERR! code 128 npm ERR! Command failed: /usr/bin/git submodule update -q --init --recursivenpm ERR! fatal: Could not change back to '/root/.npm/_cacache/tmp/git-clone-ef028110': Keine Berechtigung npm ERR! npm ERR! A complete log of this run can be found in:npm ERR! /root/.npm/_logs/2018-07-17T18_15_09_349Z-debug.log host.All-In-One_RasPi install adapter amazon-dash ERROR: host.All-In-One_RasPi Cannot install amazon-dash ERROR: process exited with code 13
Da steht etwas von fehlender Berechtigung, ich möchte nun aber nicht einfach rumpfuschen und mein funktionierendes System in die Knie zwingen. Daher hier die Frage nach eurer Hilfe
Danke!
Viele Grüße Walkinlarge
-
Versuch mal mit sudo
Gesendet vom Handy …
-
Danke, aber es kommt leider der selbe Fehler
Gesendet von iPad mit Tapatalk
-
Danke, aber es kommt leider der selbe Fehler [emoji20]
Gesendet von iPad mit Tapatalk `
Hatten wir heute bereits 2 Mal [emoji3]
sudo su cd /opt/iobroker/ iobroker add amazon-dash
Sent from my iPhone using Tapatalk
-
Leider hat das auch nicht geholfen[emoji31]
pi@All-In-One_RasPi:~ $ sudo su root@All-In-One_RasPi:/home/pi# cd /opt/iobroker/ root@All-In-One_RasPi:/opt/iobroker# iobroker add amazon-dash NPM version: 6.2.0 npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call) npm ERR! code 128 npm ERR! Command failed: /usr/bin/git submodule update -q --init --recursive npm ERR! fatal: Could not change back to '/root/.npm/_cacache/tmp/git-clone-dc997a3f': Keine Berechtigung npm ERR! npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-07-18T04_21_01_493Z-debug.log host.All-In-One_RasPi install adapter amazon-dash NPM version: 6.2.0 npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call) npm ERR! code 128 npm ERR! Command failed: /usr/bin/git submodule update -q --init --recursive npm ERR! fatal: Could not change back to '/root/.npm/_cacache/tmp/git-clone-dce24bff': Keine Berechtigung npm ERR! npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-07-18T04_21_40_595Z-debug.log host.All-In-One_RasPi install adapter amazon-dash NPM version: 6.2.0 npm install iobroker.amazon-dash --production --save --prefix "/opt/iobroker" (System call) npm ERR! code 128 npm ERR! Command failed: /usr/bin/git submodule update -q --init --recursive npm ERR! fatal: Could not change back to '/root/.npm/_cacache/tmp/git-clone-e1a56ee7': Keine Berechtigung npm ERR! npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-07-18T04_22_20_674Z-debug.log host.All-In-One_RasPi install adapter amazon-dash host.All-In-One_RasPi Cannot install amazon-dash root@All-In-One_RasPi:/opt/iobroker#
Wenn ich mir das log ansehen will auf das verwiesen wird, bekomme ich nur den Hinweis, dass ich keine Berechtigung habe. Sonst hätte ich mich da weiter auf Spurensuche gemacht.
Hatte im Forum schon gesucht, aber keinen mit dem selben Fehler gefunden. Vielleicht muss ich meinen Suchalgorithmus anpassen [emoji16]
Gesendet von iPhone mit Tapatalk
-
Das kapiere ich nicht, du bist root aber hatte keine Berechtigung…
Wie hast du git installiert ?
Sent from my iPhone using Tapatalk
-
nicht dass die SD gerade hops geht..
-
nicht dass die SD gerade hops geht.. `
Danke, guter Hinweis mit der SD Karte. Werde mal eine andere testen wenn ich von der Arbeit zurück bin.
Kann mir das mit den Rechten auch nicht erklären [emoji17]
Gesendet von iPad mit Tapatalk
-
Also es liegt definitiv an den Rechten. Aus irgend einem Grund habe ich selbst als sudo keinen Zugriff auf das Verzeichnis root sowie auf das usr Verzeichnis. Habe die Rechte dort nun verändert und konnte somit den Adapter installieren. Leider habe ich dadurch sudo jegliche rechte genommen. Anfänger Fehler, denn sie wissen nicht was sie tun
Ergebnis, alles läuft erst mal, trotzdem muss neu installiert und alles sauber aufgesetzt werden damit die Rechte wieder passen.
An der SD Karte lag es zumindest nicht.
Danke, viele Grüße und einen schönen Abend noch!
Gesendet von iPad mit Tapatalk
-
Also es liegt definitiv an den Rechten. Aus irgend einem Grund habe ich selbst als sudo keinen Zugriff auf das Verzeichnis root sowie auf das usr Verzeichnis. Habe die Rechte dort nun verändert und konnte somit den Adapter installieren. Leider habe ich dadurch sudo jegliche rechte genommen. Anfänger Fehler, denn sie wissen nicht was sie tun `
Hallo,
Wie hast du die Rechte geändert? Ich habe scheinbar exakt das gleiche Problem…
Gruß,
Georg
EDIT: Habe es gelöst, aber ohne ändern der Rechte. Ich habe git installiert: viewtopic.php?f=20&t=15590