NEWS
Installation auf Ubuntu 15
-
Hallo
Ich schaffe es einfach nicht (mehr), iobroker auf Ubuntu 15 Server zu installieren. Ich habe das schon mal irgendwie hinbekommen, aber nun möchte ich die Kiste neu mache (größere Platte).
Das habe ich gemacht:
sudo su apt-get update apt-get upgrade apt-get install nodejs apt-get install npm mkdir /opt/iobroker cd /opt/iobroker
Bisher alles fehlerfrei…und dann...
npm install iobroker
…geht nix mehr...
- > iobroker@0.5.6 install /opt/iobroker/node_modules/iobroker > node lib/setup.js sh: 1: node: not found 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@0.5.6 install: `node lib/setup.js` npm ERR! Exit status 127 npm ERR! npm ERR! Failed at the iobroker@0.5.6 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/setup.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.2.0-16-generic npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker" npm ERR! cwd /opt/iobroker npm ERR! node -v v0.10.25 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
Kann mir jemand helfen? Meine Linux-Kenntnisse sind leider nicht optimal
Aber ich hatte es schon mal hinbekommen…ich weiß nur nicht mehr wie
Danke und Gruß,
Frank
-
Hallo Frank,
ich hab ioBroker zwar noch nicht selbst unter ubuntu installiert, aber normal reicht für die Installation sudo su auch unter Debian nicht aus.
Hierfür muss man sich richtig als root anmelden.
Gruß
Markus
-
Man muss sich nicht als root anmelden um iobroker zu installieren. Sudo reicht vollkommen aus.
Hast du sudo npm install iobroker probiert?
Außerdem kannst du versuchen eine neuere nodejs version zu nutzen. Die bei dir installierte ist sehr alt und die Fehlermeldung deutet darauf hin das ein problem mit der von ubuntu bereit gestellten version vorliegt.
Gesendet von meinem Jolla mit Tapatalk
-
Wie du meinst…
https://stackoverflow.com/questions/497 … sudo-is-ok
node wird nicht gefunden, weil im Envrionment der Pfad nicht drin steht, wenn mit sudo gearbeitet wird.
Wenn es unbedingt ohne echtem root-User gehen soll, steht da drin, wie's geht.
Wenn mit````
sudo npm -
Hallo,
ich bin da absoluter Anfänger, aber ich hab iobroker auf Intel-Rechner mit Ubuntu 15.10 damit installiert. Das hat auch soweit funktioniert.
Ob das der optimale Weg ist kann ich auch nicht sagen.
https://github.com/ioBroker/ioBroker/bl … TALL_de.md
10529_heizungsscript_max_einbindung.txt