NEWS
Installation klappt nicht
-
@david83
Nach welcher Anleitung hast du iobroker installiert?
Welche node Version nutzt du? -
root@iobroker-vm:~# node -v
v13.12.0
root@iobroker-vm:~# npm -v
6.14.4So habe ich installiert:
Installation guide This page contains a short description on how to install ioBroker. See below for more detailed and localized version of the installation steps. Linux based systems and MacOS Preparation Install nodejs: New installations of ioBroker need at least nodejs 8.12. ioBroker basically also supports the other LTS versions (even version number!!) of nodejs. See https://github.com/nodesource/distributions#debinstall for detailed instructions Verify nodejs installation: the commands node -v and nodejs -v should output the same version number verify npm installation: the command npm -v should return a version number > 6.4.1. If not use sudo npm install -g npm@6 to update Install needed build tools: Make sure to also install additional libraries: sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev Installing ioBroker Please open a SSH shell. You do not need to use a root shell to install ioBroker. If a normal unprivilidged user exists you should start the installation with this user. Then execute curl -sL https://iobroker.net/install.sh | bash - This will install ioBroker in 4 steps and show its progress: Creating ioBroker directory (1/4) Downloading installation files (2/4) Installing ioBroker (3/4) Finalizing installation (4/4) At the end you should see ioBroker was installed successfully Open http://localhost:8081 in a browser and start configuring!
-
@david83
Node 13 ist eine ungerade und somit ne Entwickler Version. Ich denke das steht auch so recht deutlich in der offiziellen IOBroker Doku.
Gerade geschaut, steht sogar in rot drin, somit hast schon nicht die richtige Doku zur Installation. -
Hallo,
OK, jetzt habe ich die VM neu aufgesetzt und die offizielle Installationsanleitung von iobroker.net genommen:Images werden nur benötigt, wenn Probleme mit Installationsskripten auftreten. Die Installation kann einfach mit 1 bis 3 Zeilen Code erfolgen. 1. Erst Node.js installieren (wenn noch nicht vorhanden): curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - sudo apt-get install -y nodejs 2. Anschließend ioBroker installieren: curl -sL https://iobroker.net/install.sh | bash -
Nun bekomme ich folgende Warnungen und Fehler:
========================================================================== Welcome to the ioBroker installer! Installer version: 2020-01-25 ========================================================================== ========================================================================== Installing prerequisites (1/4) ========================================================================== OK:1 http://security.debian.org/debian-security buster/updates InRelease OK:2 http://debian.inf.tu-dresden.de/debian buster InRelease Holen:3 http://debian.inf.tu-dresden.de/debian buster-updates InRelease [49,3 kB] Paketlisten werden gelesen... Fertig E: Release file for http://debian.inf.tu-dresden.de/debian/dists/buster-updates/InRelease is not valid yet (invalid for another 14 h 8 min 12 s). Updates for this repository will not be applied. Installed npm npm WARN npm npm does not support Node.js v10.15.2 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.npm WARN npm You can find the latest version at https://nodejs.org/ Changing npm registry to https://registry.npmjs.org npm WARN npm npm does not support Node.js v10.15.2 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.npm WARN npm You can find the latest version at https://nodejs.org/ Installed acl Installed build-essential Installed gcc-c++ Installed libavahi-compat-libdnssd-dev Installed libudev-dev Installed libpam0g-dev Installed git Installed unzip Installed python-dev ========================================================================== Creating ioBroker user and directory (2/4) ========================================================================== User iobroker created Created /etc/sudoers.d/iobroker Directory /opt/iobroker created ========================================================================== Installing ioBroker (3/4) ========================================================================== !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! You are using npm 5.8.0, but ioBroker needs at least using 6.0.0. Please use "npm install -g npm" to install a supported version! You need to make sure to repeat this step after installing an update to NodeJS and/or npm. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! npm ERR! code ELIFECYCLE npm ERR! errno 4 npm ERR! iobroker@2.0.3 install: `node lib/checkVersions.js` npm ERR! Exit status 4 npm ERR! npm ERR! Failed at the iobroker@2.0.3 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2020-04-09T09_06_45_748Z-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://192.168.178.45:8081 in a browser and start configuring! ========================================================================== You need to re-login before doing anything else on the console! root@iobroker-vm:~#
-
@david83
IOBroker scheint ja nun drauf zu sein, bleibt noch die Frage was bringt den nunnode -v nodejs -v npm -v
-
root@iobroker-vm:~# node -v v10.20.0 root@iobroker-vm:~# nodejs -v v10.20.0 root@iobroker-vm:~# npm -v 6.14.4 root@iobroker-vm:~#
-
-
@david83
Das sieht doch ganz gut aus, wobei auch gleich die Node 12 hättest nehmen können.
Kommst auf den IOBroker nun drauf? -
Also ich habe Node,npm und iobroker nochmals als root installiert. Jetzt läuft es ohne Probleme! Danke an alle Mitwirkenden . Danke Danke Dankr
-
@david83 sagte in Installation klappt nicht:
OK, jetzt habe ich die VM neu aufgesetzt und die offizielle Installationsanleitung von iobroker.net genommen:
Kann nicht sein.
Sonst wäre das nicht passiert:
@david83 sagte in Installation klappt nicht:
You are using npm 5.8.0, but ioBroker needs at least using 6.0.0.
Weil das in der Anleitung steht:
Als letzte Überprüfung bitte noch die Version von npm mittels npm -v überprüfen. Ergibt dies eine Version < 6, bitte noch mit sudo -H npm install -g npm@6 ein npm-Update durchführen
-
@david83 sagte in Installation klappt nicht:
Also ich habe Node,npm und iobroker nochmals als root installiert. Jetzt läuft es ohne Probleme! Danke an alle Mitwirkenden . Danke Danke Dankr
-
@david83
Dann passt ja alles und für die Zukunft, oben einfach auf Docu klicken und nach dem was dort steht vorgehen, alles andere ist nix offizielles . -
Keine Ahnung wie das passieren konnte...
-
@david83 sagte in Installation klappt nicht:
und die offizielle Installationsanleitung von iobroker.net genommen:
das ist nur die Ultrakurzfassung.
die korrekte Doku ist hier:
https://www.iobroker.net/#de/documentation/install/linux.md