NEWS
Ich hab beim installieren von Adaptern jedes mal Fehler
-
Nach welcher Anleitung bist du vorgegangen?
Nach dieser Anleitung baue ich die Images
http://www.iobroker.net/docu/?page_id=5106&lang=de
Nahezu egal für welche Hardware.
Gruß
Rainer
-
Nach der Anleitung hab ich das ganze bestimmt 5 mal probiert, damit klappt es garnicht :?
Statt Putty nehme ich Terminal (Mac) ansonsten gehe ich genau danach vor aber es geht nicht, deswegen habe ich das vorgefertigte Image von iobroker genommen
-
Nach genau der von Homoran verlinkten Anleitung baue ich meine iobroker. Das funktionierte bisher immer. Bisher hatte ich pi2 jetzt orange pi.
-
Ich weiß echt nicht was ich da falsch mache ist ja alles wunderbar beschrieben, ich gehe auch genau so vor
-
Läuft ioBroker nach der installation denn richtig? also noch bevor du irgendwas installierst?
Bekommst bei der Installation Fehler?
ioBroker läuft auf vielen Systemen was hast du denn für Hardware?
-
Über die Anleitung bekomme ich es garnicht installiert, mit dem vorgefertigtem Image läuft es, zumindest kann ich auf die ioBroker Oberfläche zugreifen.
Ich benutze eine Raspberry Pi 2B
-
Das ist der ganze Ablauf, genau wie es in der Anleitung steht
! Last login: Wed Jun 28 22:47:27 on ttys001
! FrederisMacBook:~ Frederik$ ssh 192.168.178.42 -l pi
! ssh: connect to host 192.168.178.42 port 22: Connection refused
! FrederisMacBook:~ Frederik$ ssh 192.168.178.42 -l pi
! ssh: connect to host 192.168.178.42 port 22: Connection refused
! FrederisMacBook:~ Frederik$ ssh-keygen -R 192.168.178.42
! # Host 192.168.178.42 found: line 63
! /Users/Frederik/.ssh/known_hosts updated.
! Original contents retained as /Users/Frederik/.ssh/known_hosts.old
! FrederisMacBook:~ Frederik$ ssh 192.168.178.42 -l pi
! ssh: connect to host 192.168.178.42 port 22: Connection refused
! FrederisMacBook:~ Frederik$ ssh 192.168.178.42 -l pi
! The authenticity of host '192.168.178.42 (192.168.178.42)' can't be established.
! ECDSA key fingerprint is SHA256:6NLL43UN7fYhDLDjtxW78wizHIhACkfH/rU+ilQSt4Q.
! Are you sure you want to continue connecting (yes/no)? yes
! Warning: Permanently added '192.168.178.42' (ECDSA) to the list of known hosts.
! pi@192.168.178.42's password:
! The programs included with the Debian GNU/Linux system are free software;
! the exact distribution terms for each program are described in the
! individual files in /usr/share/doc//copyright.
! Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
! permitted by applicable law.
! Last login: Wed Jun 28 20:48:47 2017
! pi@raspberrypi:~ $ sudo raspi-config
! pi@raspberrypi:~ $ sudo nano /etc/ssh/sshd_config
! pi@raspberrypi:~ $ sudo nano /etc/ssh/sshd_config
! pi@raspberrypi:~ $ sudo /etc/init.d/ssh restart
! [ ok ] Restarting ssh (via systemctl): ssh.service.
! pi@raspberrypi:~ $ sudo su
! root@raspberrypi:/home/pi# passwd
! Enter new UNIX password:
! Retype new UNIX password:
! passwd: password updated successfully
! root@raspberrypi:/home/pi# exit
! exit
! pi@raspberrypi:~ $ exit
! logout
! Connection to 192.168.178.42 closed.
! FrederisMacBook:~ Frederik$ ssh 192.168.178.42 -l root
! root@192.168.178.42's password:
! The programs included with the Debian GNU/Linux system are free software;
! the exact distribution terms for each program are described in the
! individual files in /usr/share/doc//copyright.
! Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
! permitted by applicable law.
! root@raspberrypi:~# sudo apt-get update && sudo apt-get upgrade
! Get:1 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
! Get:2 http://mirrordirector.raspbian.org jessie InRelease [14.9 kB]
! Get:3 http://archive.raspberrypi.org jessie/main armhf Packages [168 kB]
! Get:4 http://mirrordirector.raspbian.org jessie/main armhf Packages [9,534 kB]
! Hit http://archive.raspberrypi.org jessie/ui armhf Packages
! Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
! Ign http://archive.raspberrypi.org jessie/main Translation-en
! Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
! Ign http://archive.raspberrypi.org jessie/ui Translation-en
! Get:5 http://mirrordirector.raspbian.org jessie/contrib armhf Packages [43.3 kB]
! Get:6 http://mirrordirector.raspbian.org jessie/non-free armhf Packages [84.2 kB]
! Get:7 http://mirrordirector.raspbian.org jessie/rpi armhf Packages [1,356 B]
! Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
! Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/main Translation-en
! Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
! Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
! Fetched 9,868 kB in 27s (354 kB/s)
! Reading package lists… Done
! Reading package lists... Done
! Building dependency tree
! Reading state information... Done
! Calculating upgrade... Done
! The following packages will be upgraded:
! e2fslibs e2fsprogs libasound2 libasound2-data libcomerr2 libexpat1 libss2
! 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
! Need to get 1,669 kB of archives.
! After this operation, 1,368 kB of additional disk space will be used.
! Do you want to continue? [Y/n] y
! Get:1 http://archive.raspberrypi.org/debian/ jessie/main e2fslibs armhf 1.43.3-1~bpo8+1 [195 kB]
! Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libexpat1 armhf 2.1.0-6+deb8u4 [60.6 kB]
! Get:3 http://archive.raspberrypi.org/debian/ jessie/main e2fsprogs armhf 1.43.3-1~bpo8+1 [899 kB]
! Get:4 http://archive.raspberrypi.org/debian/ jessie/main libcomerr2 armhf 1.43.3-1~bpo8+1 [62.5 kB]
! Get:5 http://archive.raspberrypi.org/debian/ jessie/main libss2 armhf 1.43.3-1~bpo8+1 [65.9 kB]
! Get:6 http://archive.raspberrypi.org/debian/ jessie/main libasound2-data all 1.0.28-1+rpi3 [65.3 kB]
! Get:7 http://archive.raspberrypi.org/debian/ jessie/main libasound2 armhf 1.0.28-1+rpi3 [320 kB]
! Fetched 1,669 kB in 2s (740 kB/s)
! Reading changelogs… Done
! (Reading database ... 31494 files and directories currently installed.)
! Preparing to unpack .../e2fslibs_1.43.3-1~bpo8+1_armhf.deb ...
! Unpacking e2fslibs:armhf (1.43.3-1~bpo8+1) over (1.42.12-2) ...
! Processing triggers for libc-bin (2.19-18+deb8u10) ...
! Setting up e2fslibs:armhf (1.43.3-1~bpo8+1) ...
! Processing triggers for libc-bin (2.19-18+deb8u10) ...
! (Reading database ... 31494 files and directories currently installed.)
! Preparing to unpack .../e2fsprogs_1.43.3-1~bpo8+1_armhf.deb ...
! Unpacking e2fsprogs (1.43.3-1~bpo8+1) over (1.42.12-2) ...
! Processing triggers for man-db (2.7.0.2-5) ...
! /usr/bin/mandb: fork failed: Cannot allocate memory
! Setting up e2fsprogs (1.43.3-1~bpo8+1) ...
! Installing new version of config file /etc/mke2fs.conf ...
! update-initramfs: deferring update (trigger activated)
! Processing triggers for initramfs-tools (0.120+deb8u3) ...
! (Reading database ... 31499 files and directories currently installed.)
! Preparing to unpack .../libexpat1_2.1.0-6+deb8u4_armhf.deb ...
! Unpacking libexpat1:armhf (2.1.0-6+deb8u4) over (2.1.0-6+deb8u3) ...
! Preparing to unpack .../libcomerr2_1.43.3-1~bpo8+1_armhf.deb ...
! Unpacking libcomerr2:armhf (1.43.3-1~bpo8+1) over (1.42.12-2) ...
! Processing triggers for libc-bin (2.19-18+deb8u10) ...
! Setting up libcomerr2:armhf (1.43.3-1~bpo8+1) ...
! Processing triggers for libc-bin (2.19-18+deb8u10) ...
! (Reading database ... 31499 files and directories currently installed.)
! Preparing to unpack .../libss2_1.43.3-1~bpo8+1_armhf.deb ...
! Unpacking libss2:armhf (1.43.3-1~bpo8+1) over (1.42.12-2) ...
! Processing triggers for libc-bin (2.19-18+deb8u10) ...
! Setting up libss2:armhf (1.43.3-1~bpo8+1) ...
! Processing triggers for libc-bin (2.19-18+deb8u10) ...
! (Reading database ... 31499 files and directories currently installed.)
! Preparing to unpack .../libasound2-data_1.0.28-1+rpi3_all.deb ...
! Unpacking libasound2-data (1.0.28-1+rpi3) over (1.0.28-1+rpi2) ...
! Preparing to unpack .../libasound2_1.0.28-1+rpi3_armhf.deb ...
! Unpacking libasound2:armhf (1.0.28-1+rpi3) over (1.0.28-1+rpi2) ...
! Processing triggers for libc-bin (2.19-18+deb8u10) ...
! Setting up libexpat1:armhf (2.1.0-6+deb8u4) ...
! Setting up libasound2-data (1.0.28-1+rpi3) ...
! Setting up libasound2:armhf (1.0.28-1+rpi3) ...
! Processing triggers for libc-bin (2.19-18+deb8u10) ...
! root@raspberrypi:~# curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
! ## Installing the NodeSource Node.js v6.x repo...
! ## Populating apt-get cache...
! + apt-get update
! Hit http://mirrordirector.raspbian.org jessie InRelease
! Hit http://archive.raspberrypi.org jessie InRelease
! Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
! Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
! Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
! Hit http://archive.raspberrypi.org jessie/main armhf Packages
! Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
! Hit http://archive.raspberrypi.org jessie/ui armhf Packages
! Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
! Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/main Translation-en
! Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
! Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
! Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
! Ign http://archive.raspberrypi.org jessie/main Translation-en
! Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
! Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
! Ign http://archive.raspberrypi.org jessie/ui Translation-en
! Reading package lists... Done
! ## Confirming "jessie" is supported...
! + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_6.x/dis ... ie/Release'
! ## Adding the NodeSource signing key to your keyring...
! + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
! OK
! ## Creating apt sources list file for the NodeSource Node.js v6.x repo...
! + echo 'deb https://deb.nodesource.com/node_6.x jessie main' > /etc/apt/sources.list.d/nodesource.list
! + echo 'deb-src https://deb.nodesource.com/node_6.x jessie main' >> /etc/apt/sources.list.d/nodesource.list
! ## Runningapt-get update
for you...
! + apt-get update
! Hit http://mirrordirector.raspbian.org jessie InRelease
! Hit http://archive.raspberrypi.org jessie InRelease
! Get:1 https://deb.nodesource.com jessie InRelease [4,634 B]
! Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
! Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
! Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
! Hit http://archive.raspberrypi.org jessie/main armhf Packages
! Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
! Hit http://archive.raspberrypi.org jessie/ui armhf Packages
! Get:2 https://deb.nodesource.com jessie/main Sources [765 B]
! Get:3 https://deb.nodesource.com jessie/main armhf Packages [965 B]
! Get:4 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
! Get:5 https://deb.nodesource.com jessie/main Translation-en [162 B]
! Get:6 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
! Get:7 https://deb.nodesource.com jessie/main Translation-en [162 B]
! Get:8 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
! Get:9 https://deb.nodesource.com jessie/main Translation-en [162 B]
! Get:10 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
! Get:11 https://deb.nodesource.com jessie/main Translation-en [162 B]
! Get:12 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
! Ign https://deb.nodesource.com jessie/main Translation-en_GB
! Get:13 https://deb.nodesource.com jessie/main Translation-en [162 B]
! Ign https://deb.nodesource.com jessie/main Translation-en
! Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
! Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/main Translation-en
! Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
! Ign http://archive.raspberrypi.org jessie/main Translation-en
! Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
! Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
! Ign http://archive.raspberrypi.org jessie/ui Translation-en
! Fetched 6,364 B in 13s (472 B/s)
! Reading package lists… Done
! ## Runapt-get install nodejs
(as root) to install Node.js v6.x and npm
! root@raspberrypi:~# sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev nodejs
! Reading package lists... Done
! Building dependency tree
! Reading state information... Done
! build-essential is already the newest version.
! The following extra packages will be installed:
! libavahi-client-dev libavahi-client3 libavahi-common-dev
! libavahi-compat-libdnssd1 libdbus-1-dev
! The following NEW packages will be installed:
! libavahi-client-dev libavahi-client3 libavahi-common-dev
! libavahi-compat-libdnssd-dev libavahi-compat-libdnssd1 libdbus-1-dev
! libudev-dev nodejs
! 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
! Need to get 9,349 kB of archives.
! After this operation, 47.1 MB of additional disk space will be used.
! Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libavahi-client3 armhf 0.6.31-5 [50.6 kB]
! Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libavahi-compat-libdnssd1 armhf 0.6.31-5 [42.9 kB]
! Get:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main libavahi-common-dev armhf 0.6.31-5 [61.4 kB]
! Get:4 https://deb.nodesource.com/node_6.x/ jessie/main nodejs armhf 6.11.0-1nodesource1~jessie1 [8,873 kB]
! Get:5 http://mirrordirector.raspbian.org/raspbian/ jessie/main libdbus-1-dev armhf 1.8.22-0+deb8u1 [184 kB]
! Get:6 http://mirrordirector.raspbian.org/raspbian/ jessie/main libavahi-client-dev armhf 0.6.31-5 [55.4 kB]
! Get:7 http://mirrordirector.raspbian.org/raspbian/ jessie/main libavahi-compat-libdnssd-dev armhf 0.6.31-5 [57.7 kB]
! Get:8 http://mirrordirector.raspbian.org/raspbian/ jessie/main libudev-dev armhf 215-17+deb8u7 [23.2 kB]
! Fetched 9,349 kB in 5s (1,652 kB/s)
! Selecting previously unselected package libavahi-client3:armhf.
! (Reading database … 31500 files and directories currently installed.)
! Preparing to unpack .../libavahi-client3_0.6.31-5_armhf.deb ...
! Unpacking libavahi-client3:armhf (0.6.31-5) ...
! Selecting previously unselected package libavahi-compat-libdnssd1:armhf.
! Preparing to unpack .../libavahi-compat-libdnssd1_0.6.31-5_armhf.deb ...
! Unpacking libavahi-compat-libdnssd1:armhf (0.6.31-5) ...
! Selecting previously unselected package libavahi-common-dev.
! Preparing to unpack .../libavahi-common-dev_0.6.31-5_armhf.deb ...
! Unpacking libavahi-common-dev (0.6.31-5) ...
! Selecting previously unselected package libdbus-1-dev:armhf.
! Preparing to unpack .../libdbus-1-dev_1.8.22-0+deb8u1_armhf.deb ...
! Unpacking libdbus-1-dev:armhf (1.8.22-0+deb8u1) ...
! Selecting previously unselected package libavahi-client-dev.
! Preparing to unpack .../libavahi-client-dev_0.6.31-5_armhf.deb ...
! Unpacking libavahi-client-dev (0.6.31-5) ...
! Selecting previously unselected package libavahi-compat-libdnssd-dev.
! Preparing to unpack .../libavahi-compat-libdnssd-dev_0.6.31-5_armhf.deb ...
! Unpacking libavahi-compat-libdnssd-dev (0.6.31-5) ...
! Selecting previously unselected package libudev-dev:armhf.
! Preparing to unpack .../libudev-dev_215-17+deb8u7_armhf.deb ...
! Unpacking libudev-dev:armhf (215-17+deb8u7) ...
! Selecting previously unselected package nodejs.
! Preparing to unpack .../nodejs_6.11.0-1nodesource1~jessie1_armhf.deb ...
! Unpacking nodejs (6.11.0-1nodesource1~jessie1) ...
! Processing triggers for man-db (2.7.0.2-5) ...
! gdbm fatal: couldn't init cache
! Setting up libavahi-client3:armhf (0.6.31-5) ...
! Setting up libavahi-compat-libdnssd1:armhf (0.6.31-5) ...
! Setting up libavahi-common-dev (0.6.31-5) ...
! Setting up libdbus-1-dev:armhf (1.8.22-0+deb8u1) ...
! Setting up libavahi-client-dev (0.6.31-5) ...
! Setting up libavahi-compat-libdnssd-dev (0.6.31-5) ...
! Setting up libudev-dev:armhf (215-17+deb8u7) ...
! Setting up nodejs (6.11.0-1nodesource1~jessie1) ...
! Processing triggers for libc-bin (2.19-18+deb8u10) ...
! root@raspberrypi:~# reboot
! Broadcast message from root@raspberrypi on pts/0 (Wed 2017-06-28 20:58:38 UTC):
! The system is going down for reboot NOW!
! root@raspberrypi:~# Connection to 192.168.178.42 closed by remote host.
! Connection to 192.168.178.42 closed.
! FrederisMacBook:~ Frederik$ ssh 192.168.178.42 -l root
! root@192.168.178.42's password:
! The programs included with the Debian GNU/Linux system are free software;
! the exact distribution terms for each program are described in the
! individual files in /usr/share/doc//copyright.
! Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
! permitted by applicable law.
! Last login: Wed Jun 28 20:51:51 2017 from frederismacbook.fritz.box
! root@raspberrypi:~# node -v
! v6.11.0
! root@raspberrypi:~# sudo mkdir /opt/iobroker
! root@raspberrypi:~# sudo chmod 777 /opt/iobroker
! root@raspberrypi:~# cd /opt/iobroker
! root@raspberrypi:/opt/iobroker# sudo npm install iobroker --unsafe-perm
! > iobroker@1.0.0 install /opt/iobroker/node_modules/iobroker
! > node lib/setup.js
! npm install iobroker.discovery --production --prefix /opt/iobroker
! node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAd ... arm.tar.gz
! node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.11.0 (node-v48 ABI) (falling back to source compile with node-gyp)
! ../src/serialport.cpp: In function ‘int getIntFromObject(v8::Localv8::object, std::string)’:
! ../src/serialport.cpp:90:52: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! return getValueFromObject(options, key)->ToInt32()->Int32Value();
! ^
! ../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Localv8::object, std::string)’:
! ../src/serialport.cpp:102:53: warning: ‘v8::Local v8::numberv8::Value::ToNumber() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8173): Use maybe version [-Wdeprecated-declarations]
! return getValueFromObject(options, key)->ToNumber()->NumberValue();
! ^
! ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t)’:
! ../src/serialport.cpp:174:31: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! int fd = argv[1]->ToInt32()->Int32Value();
! ^
! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
! ../src/serialport.cpp:193:29: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! int fd = info[0]->ToInt32()->Int32Value();
! ^
! ../src/serialport.cpp:217:116: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! baton->baudRate = Nan::Get(options, Nan::Newv8::string("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
! ^
! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Write(Nan::NAN_METHOD_ARGS_TYPE)’:
! ../src/serialport.cpp:252:29: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! int fd = info[0]->ToInt32()->Int32Value();
! ^
! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
! ../src/serialport.cpp:369:32: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! baton->fd = info[0]->ToInt32()->Int32Value();
! ^
! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
! ../src/serialport.cpp:480:29: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! int fd = info[0]->ToInt32()->Int32Value();
! ^
! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
! ../src/serialport.cpp:528:29: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! int fd = info[0]->ToInt32()->Int32Value();
! ^
! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
! ../src/serialport.cpp:585:29: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! int fd = info[0]->ToInt32()->Int32Value();
! ^
! ../src/serialport_unix.cpp: In function ‘OpenBatonPlatformOptions* ParsePlatformOptions(const v8::Localv8::object&)’:
! ../src/serialport_unix.cpp:44:109: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! result->vmin = Nan::Get(options, Nan::Newv8::string("vmin").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
! ^
! ../src/serialport_unix.cpp:45:111: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! result->vtime = Nan::Get(options, Nan::Newv8::string("vtime").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
! ^
! ../src/serialport_poller.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE SerialportPoller::New(Nan::NAN_METHOD_ARGS_TYPE)’:
! ../src/serialport_poller.cpp:86:31: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! obj->fd_ = info[0]->ToInt32()->Int32Value();
! ^
! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
! npm WARN iobroker No description
! npm WARN iobroker No repository field.
! npm WARN iobroker No README data
! npm WARN iobroker No license field.
! npm install iobroker.admin –production --prefix /opt/iobroker</v8::int32></v8::string></v8::int32></v8::string></v8::int32></v8::object></v8::int32></v8::int32></v8::int32></v8::int32></v8::int32></v8::string></v8::int32></v8::int32></v8::int32></v8::number></v8::object></v8::int32></v8::object> -
Ich benutze eine Raspberry Pi 2B `
Bestimmt kein 1B?? Das haben schon einige vor dir verwechselt!Gegenprobe:
@Freaky_1993:mit dem vorgefertigtem Image läuft es `
Welches genau?Über die Anleitung bekomme ich es garnicht installiert `
Was kamen denn für Meldungen?SSH ist neuerdings bei Raspbian standardmäßig abgeschaltet und muss erst aktiviert werden.
Gruß
Rainer
-
Das log zeigt als einzigen Fehler, dass ein fertiges Paket für diese Hardware nicht gefunden werden konnte (404) und anschließend das Paket selbst gebaut wurde.
Anschließend scheint es dann aber durchzulaufen.
…dann endet das log
Gruß
Rainer
-
Hier ist nochmal ein Log, eigentlich das gleiche nur am ende kam etwas dazu:
! Last login: Wed Jun 28 22:47:27 on ttys001
! FrederisMacBook:~ Frederik$ ssh 192.168.178.42 -l pi
! ssh: connect to host 192.168.178.42 port 22: Connection refused
! FrederisMacBook:~ Frederik$ ssh 192.168.178.42 -l pi
! ssh: connect to host 192.168.178.42 port 22: Connection refused
! FrederisMacBook:~ Frederik$ ssh-keygen -R 192.168.178.42
! # Host 192.168.178.42 found: line 63
! /Users/Frederik/.ssh/known_hosts updated.
! Original contents retained as /Users/Frederik/.ssh/known_hosts.old
! FrederisMacBook:~ Frederik$ ssh 192.168.178.42 -l pi
! ssh: connect to host 192.168.178.42 port 22: Connection refused
! FrederisMacBook:~ Frederik$ ssh 192.168.178.42 -l pi
! The authenticity of host '192.168.178.42 (192.168.178.42)' can't be established.
! ECDSA key fingerprint is SHA256:6NLL43UN7fYhDLDjtxW78wizHIhACkfH/rU+ilQSt4Q.
! Are you sure you want to continue connecting (yes/no)? yes
! Warning: Permanently added '192.168.178.42' (ECDSA) to the list of known hosts.
! pi@192.168.178.42's password:
! The programs included with the Debian GNU/Linux system are free software;
! the exact distribution terms for each program are described in the
! individual files in /usr/share/doc//copyright.
! Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
! permitted by applicable law.
! Last login: Wed Jun 28 20:48:47 2017
! pi@raspberrypi:~ $ sudo raspi-config
! pi@raspberrypi:~ $ sudo nano /etc/ssh/sshd_config
! pi@raspberrypi:~ $ sudo nano /etc/ssh/sshd_config
! pi@raspberrypi:~ $ sudo /etc/init.d/ssh restart
! [ ok ] Restarting ssh (via systemctl): ssh.service.
! pi@raspberrypi:~ $ sudo su
! root@raspberrypi:/home/pi# passwd
! Enter new UNIX password:
! Retype new UNIX password:
! passwd: password updated successfully
! root@raspberrypi:/home/pi# exit
! exit
! pi@raspberrypi:~ $ exit
! logout
! Connection to 192.168.178.42 closed.
! FrederisMacBook:~ Frederik$ ssh 192.168.178.42 -l root
! root@192.168.178.42's password:
! The programs included with the Debian GNU/Linux system are free software;
! the exact distribution terms for each program are described in the
! individual files in /usr/share/doc//copyright.
! Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
! permitted by applicable law.
! root@raspberrypi:~# sudo apt-get update && sudo apt-get upgrade
! Get:1 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
! Get:2 http://mirrordirector.raspbian.org jessie InRelease [14.9 kB]
! Get:3 http://archive.raspberrypi.org jessie/main armhf Packages [168 kB]
! Get:4 http://mirrordirector.raspbian.org jessie/main armhf Packages [9,534 kB]
! Hit http://archive.raspberrypi.org jessie/ui armhf Packages
! Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
! Ign http://archive.raspberrypi.org jessie/main Translation-en
! Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
! Ign http://archive.raspberrypi.org jessie/ui Translation-en
! Get:5 http://mirrordirector.raspbian.org jessie/contrib armhf Packages [43.3 kB]
! Get:6 http://mirrordirector.raspbian.org jessie/non-free armhf Packages [84.2 kB]
! Get:7 http://mirrordirector.raspbian.org jessie/rpi armhf Packages [1,356 B]
! Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
! Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/main Translation-en
! Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
! Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
! Fetched 9,868 kB in 27s (354 kB/s)
! Reading package lists… Done
! Reading package lists... Done
! Building dependency tree
! Reading state information... Done
! Calculating upgrade... Done
! The following packages will be upgraded:
! e2fslibs e2fsprogs libasound2 libasound2-data libcomerr2 libexpat1 libss2
! 7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
! Need to get 1,669 kB of archives.
! After this operation, 1,368 kB of additional disk space will be used.
! Do you want to continue? [Y/n] y
! Get:1 http://archive.raspberrypi.org/debian/ jessie/main e2fslibs armhf 1.43.3-1~bpo8+1 [195 kB]
! Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libexpat1 armhf 2.1.0-6+deb8u4 [60.6 kB]
! Get:3 http://archive.raspberrypi.org/debian/ jessie/main e2fsprogs armhf 1.43.3-1~bpo8+1 [899 kB]
! Get:4 http://archive.raspberrypi.org/debian/ jessie/main libcomerr2 armhf 1.43.3-1~bpo8+1 [62.5 kB]
! Get:5 http://archive.raspberrypi.org/debian/ jessie/main libss2 armhf 1.43.3-1~bpo8+1 [65.9 kB]
! Get:6 http://archive.raspberrypi.org/debian/ jessie/main libasound2-data all 1.0.28-1+rpi3 [65.3 kB]
! Get:7 http://archive.raspberrypi.org/debian/ jessie/main libasound2 armhf 1.0.28-1+rpi3 [320 kB]
! Fetched 1,669 kB in 2s (740 kB/s)
! Reading changelogs… Done
! (Reading database ... 31494 files and directories currently installed.)
! Preparing to unpack .../e2fslibs_1.43.3-1~bpo8+1_armhf.deb ...
! Unpacking e2fslibs:armhf (1.43.3-1~bpo8+1) over (1.42.12-2) ...
! Processing triggers for libc-bin (2.19-18+deb8u10) ...
! Setting up e2fslibs:armhf (1.43.3-1~bpo8+1) ...
! Processing triggers for libc-bin (2.19-18+deb8u10) ...
! (Reading database ... 31494 files and directories currently installed.)
! Preparing to unpack .../e2fsprogs_1.43.3-1~bpo8+1_armhf.deb ...
! Unpacking e2fsprogs (1.43.3-1~bpo8+1) over (1.42.12-2) ...
! Processing triggers for man-db (2.7.0.2-5) ...
! /usr/bin/mandb: fork failed: Cannot allocate memory
! Setting up e2fsprogs (1.43.3-1~bpo8+1) ...
! Installing new version of config file /etc/mke2fs.conf ...
! update-initramfs: deferring update (trigger activated)
! Processing triggers for initramfs-tools (0.120+deb8u3) ...
! (Reading database ... 31499 files and directories currently installed.)
! Preparing to unpack .../libexpat1_2.1.0-6+deb8u4_armhf.deb ...
! Unpacking libexpat1:armhf (2.1.0-6+deb8u4) over (2.1.0-6+deb8u3) ...
! Preparing to unpack .../libcomerr2_1.43.3-1~bpo8+1_armhf.deb ...
! Unpacking libcomerr2:armhf (1.43.3-1~bpo8+1) over (1.42.12-2) ...
! Processing triggers for libc-bin (2.19-18+deb8u10) ...
! Setting up libcomerr2:armhf (1.43.3-1~bpo8+1) ...
! Processing triggers for libc-bin (2.19-18+deb8u10) ...
! (Reading database ... 31499 files and directories currently installed.)
! Preparing to unpack .../libss2_1.43.3-1~bpo8+1_armhf.deb ...
! Unpacking libss2:armhf (1.43.3-1~bpo8+1) over (1.42.12-2) ...
! Processing triggers for libc-bin (2.19-18+deb8u10) ...
! Setting up libss2:armhf (1.43.3-1~bpo8+1) ...
! Processing triggers for libc-bin (2.19-18+deb8u10) ...
! (Reading database ... 31499 files and directories currently installed.)
! Preparing to unpack .../libasound2-data_1.0.28-1+rpi3_all.deb ...
! Unpacking libasound2-data (1.0.28-1+rpi3) over (1.0.28-1+rpi2) ...
! Preparing to unpack .../libasound2_1.0.28-1+rpi3_armhf.deb ...
! Unpacking libasound2:armhf (1.0.28-1+rpi3) over (1.0.28-1+rpi2) ...
! Processing triggers for libc-bin (2.19-18+deb8u10) ...
! Setting up libexpat1:armhf (2.1.0-6+deb8u4) ...
! Setting up libasound2-data (1.0.28-1+rpi3) ...
! Setting up libasound2:armhf (1.0.28-1+rpi3) ...
! Processing triggers for libc-bin (2.19-18+deb8u10) ...
! root@raspberrypi:~# curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
! ## Installing the NodeSource Node.js v6.x repo...
! ## Populating apt-get cache...
! + apt-get update
! Hit http://mirrordirector.raspbian.org jessie InRelease
! Hit http://archive.raspberrypi.org jessie InRelease
! Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
! Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
! Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
! Hit http://archive.raspberrypi.org jessie/main armhf Packages
! Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
! Hit http://archive.raspberrypi.org jessie/ui armhf Packages
! Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
! Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/main Translation-en
! Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
! Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
! Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
! Ign http://archive.raspberrypi.org jessie/main Translation-en
! Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
! Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
! Ign http://archive.raspberrypi.org jessie/ui Translation-en
! Reading package lists... Done
! ## Confirming "jessie" is supported...
! + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_6.x/dis ... ie/Release'
! ## Adding the NodeSource signing key to your keyring...
! + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
! OK
! ## Creating apt sources list file for the NodeSource Node.js v6.x repo...
! + echo 'deb https://deb.nodesource.com/node_6.x jessie main' > /etc/apt/sources.list.d/nodesource.list
! + echo 'deb-src https://deb.nodesource.com/node_6.x jessie main' >> /etc/apt/sources.list.d/nodesource.list
! ## Runningapt-get update
for you...
! + apt-get update
! Hit http://mirrordirector.raspbian.org jessie InRelease
! Hit http://archive.raspberrypi.org jessie InRelease
! Get:1 https://deb.nodesource.com jessie InRelease [4,634 B]
! Hit http://mirrordirector.raspbian.org jessie/main armhf Packages
! Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages
! Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages
! Hit http://archive.raspberrypi.org jessie/main armhf Packages
! Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages
! Hit http://archive.raspberrypi.org jessie/ui armhf Packages
! Get:2 https://deb.nodesource.com jessie/main Sources [765 B]
! Get:3 https://deb.nodesource.com jessie/main armhf Packages [965 B]
! Get:4 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
! Get:5 https://deb.nodesource.com jessie/main Translation-en [162 B]
! Get:6 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
! Get:7 https://deb.nodesource.com jessie/main Translation-en [162 B]
! Get:8 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
! Get:9 https://deb.nodesource.com jessie/main Translation-en [162 B]
! Get:10 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
! Get:11 https://deb.nodesource.com jessie/main Translation-en [162 B]
! Get:12 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
! Ign https://deb.nodesource.com jessie/main Translation-en_GB
! Get:13 https://deb.nodesource.com jessie/main Translation-en [162 B]
! Ign https://deb.nodesource.com jessie/main Translation-en
! Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
! Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/main Translation-en
! Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
! Ign http://archive.raspberrypi.org jessie/main Translation-en
! Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
! Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
! Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
! Ign http://archive.raspberrypi.org jessie/ui Translation-en
! Fetched 6,364 B in 13s (472 B/s)
! Reading package lists… Done
! ## Runapt-get install nodejs
(as root) to install Node.js v6.x and npm
! root@raspberrypi:~# sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev nodejs
! Reading package lists... Done
! Building dependency tree
! Reading state information... Done
! build-essential is already the newest version.
! The following extra packages will be installed:
! libavahi-client-dev libavahi-client3 libavahi-common-dev
! libavahi-compat-libdnssd1 libdbus-1-dev
! The following NEW packages will be installed:
! libavahi-client-dev libavahi-client3 libavahi-common-dev
! libavahi-compat-libdnssd-dev libavahi-compat-libdnssd1 libdbus-1-dev
! libudev-dev nodejs
! 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
! Need to get 9,349 kB of archives.
! After this operation, 47.1 MB of additional disk space will be used.
! Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libavahi-client3 armhf 0.6.31-5 [50.6 kB]
! Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libavahi-compat-libdnssd1 armhf 0.6.31-5 [42.9 kB]
! Get:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main libavahi-common-dev armhf 0.6.31-5 [61.4 kB]
! Get:4 https://deb.nodesource.com/node_6.x/ jessie/main nodejs armhf 6.11.0-1nodesource1~jessie1 [8,873 kB]
! Get:5 http://mirrordirector.raspbian.org/raspbian/ jessie/main libdbus-1-dev armhf 1.8.22-0+deb8u1 [184 kB]
! Get:6 http://mirrordirector.raspbian.org/raspbian/ jessie/main libavahi-client-dev armhf 0.6.31-5 [55.4 kB]
! Get:7 http://mirrordirector.raspbian.org/raspbian/ jessie/main libavahi-compat-libdnssd-dev armhf 0.6.31-5 [57.7 kB]
! Get:8 http://mirrordirector.raspbian.org/raspbian/ jessie/main libudev-dev armhf 215-17+deb8u7 [23.2 kB]
! Fetched 9,349 kB in 5s (1,652 kB/s)
! Selecting previously unselected package libavahi-client3:armhf.
! (Reading database … 31500 files and directories currently installed.)
! Preparing to unpack .../libavahi-client3_0.6.31-5_armhf.deb ...
! Unpacking libavahi-client3:armhf (0.6.31-5) ...
! Selecting previously unselected package libavahi-compat-libdnssd1:armhf.
! Preparing to unpack .../libavahi-compat-libdnssd1_0.6.31-5_armhf.deb ...
! Unpacking libavahi-compat-libdnssd1:armhf (0.6.31-5) ...
! Selecting previously unselected package libavahi-common-dev.
! Preparing to unpack .../libavahi-common-dev_0.6.31-5_armhf.deb ...
! Unpacking libavahi-common-dev (0.6.31-5) ...
! Selecting previously unselected package libdbus-1-dev:armhf.
! Preparing to unpack .../libdbus-1-dev_1.8.22-0+deb8u1_armhf.deb ...
! Unpacking libdbus-1-dev:armhf (1.8.22-0+deb8u1) ...
! Selecting previously unselected package libavahi-client-dev.
! Preparing to unpack .../libavahi-client-dev_0.6.31-5_armhf.deb ...
! Unpacking libavahi-client-dev (0.6.31-5) ...
! Selecting previously unselected package libavahi-compat-libdnssd-dev.
! Preparing to unpack .../libavahi-compat-libdnssd-dev_0.6.31-5_armhf.deb ...
! Unpacking libavahi-compat-libdnssd-dev (0.6.31-5) ...
! Selecting previously unselected package libudev-dev:armhf.
! Preparing to unpack .../libudev-dev_215-17+deb8u7_armhf.deb ...
! Unpacking libudev-dev:armhf (215-17+deb8u7) ...
! Selecting previously unselected package nodejs.
! Preparing to unpack .../nodejs_6.11.0-1nodesource1~jessie1_armhf.deb ...
! Unpacking nodejs (6.11.0-1nodesource1~jessie1) ...
! Processing triggers for man-db (2.7.0.2-5) ...
! gdbm fatal: couldn't init cache
! Setting up libavahi-client3:armhf (0.6.31-5) ...
! Setting up libavahi-compat-libdnssd1:armhf (0.6.31-5) ...
! Setting up libavahi-common-dev (0.6.31-5) ...
! Setting up libdbus-1-dev:armhf (1.8.22-0+deb8u1) ...
! Setting up libavahi-client-dev (0.6.31-5) ...
! Setting up libavahi-compat-libdnssd-dev (0.6.31-5) ...
! Setting up libudev-dev:armhf (215-17+deb8u7) ...
! Setting up nodejs (6.11.0-1nodesource1~jessie1) ...
! Processing triggers for libc-bin (2.19-18+deb8u10) ...
! root@raspberrypi:~# reboot
! Broadcast message from root@raspberrypi on pts/0 (Wed 2017-06-28 20:58:38 UTC):
! The system is going down for reboot NOW!
! root@raspberrypi:~# Connection to 192.168.178.42 closed by remote host.
! Connection to 192.168.178.42 closed.
! FrederisMacBook:~ Frederik$ ssh 192.168.178.42 -l root
! root@192.168.178.42's password:
! The programs included with the Debian GNU/Linux system are free software;
! the exact distribution terms for each program are described in the
! individual files in /usr/share/doc//copyright.
! Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
! permitted by applicable law.
! Last login: Wed Jun 28 20:51:51 2017 from frederismacbook.fritz.box
! root@raspberrypi:~# node -v
! v6.11.0
! root@raspberrypi:~# sudo mkdir /opt/iobroker
! root@raspberrypi:~# sudo chmod 777 /opt/iobroker
! root@raspberrypi:~# cd /opt/iobroker
! root@raspberrypi:/opt/iobroker# sudo npm install iobroker --unsafe-perm
! > iobroker@1.0.0 install /opt/iobroker/node_modules/iobroker
! > node lib/setup.js
! npm install iobroker.discovery --production --prefix /opt/iobroker
! node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAd ... arm.tar.gz
! node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@6.11.0 (node-v48 ABI) (falling back to source compile with node-gyp)
! ../src/serialport.cpp: In function ‘int getIntFromObject(v8::Localv8::object, std::string)’:
! ../src/serialport.cpp:90:52: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! return getValueFromObject(options, key)->ToInt32()->Int32Value();
! ^
! ../src/serialport.cpp: In function ‘double getDoubleFromObject(v8::Localv8::object, std::string)’:
! ../src/serialport.cpp:102:53: warning: ‘v8::Local v8::numberv8::Value::ToNumber() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8173): Use maybe version [-Wdeprecated-declarations]
! return getValueFromObject(options, key)->ToNumber()->NumberValue();
! ^
! ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t)’:
! ../src/serialport.cpp:174:31: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! int fd = argv[1]->ToInt32()->Int32Value();
! ^
! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
! ../src/serialport.cpp:193:29: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! int fd = info[0]->ToInt32()->Int32Value();
! ^
! ../src/serialport.cpp:217:116: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! baton->baudRate = Nan::Get(options, Nan::Newv8::string("baudRate").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
! ^
! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Write(Nan::NAN_METHOD_ARGS_TYPE)’:
! ../src/serialport.cpp:252:29: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! int fd = info[0]->ToInt32()->Int32Value();
! ^
! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:
! ../src/serialport.cpp:369:32: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! baton->fd = info[0]->ToInt32()->Int32Value();
! ^
! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
! ../src/serialport.cpp:480:29: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! int fd = info[0]->ToInt32()->Int32Value();
! ^
! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
! ../src/serialport.cpp:528:29: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! int fd = info[0]->ToInt32()->Int32Value();
! ^
! ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
! ../src/serialport.cpp:585:29: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! int fd = info[0]->ToInt32()->Int32Value();
! ^
! ../src/serialport_unix.cpp: In function ‘OpenBatonPlatformOptions* ParsePlatformOptions(const v8::Localv8::object&)’:
! ../src/serialport_unix.cpp:44:109: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! result->vmin = Nan::Get(options, Nan::Newv8::string("vmin").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
! ^
! ../src/serialport_unix.cpp:45:111: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! result->vtime = Nan::Get(options, Nan::Newv8::string("vtime").ToLocalChecked()).ToLocalChecked()->ToInt32()->Int32Value();
! ^
! ../src/serialport_poller.cpp: In static member function ‘static Nan::NAN_METHOD_RETURN_TYPE SerialportPoller::New(Nan::NAN_METHOD_ARGS_TYPE)’:
! ../src/serialport_poller.cpp:86:31: warning: ‘v8::Local v8::int32v8::Value::ToInt32() const’ is deprecated (declared at /root/.node-gyp/6.11.0/include/node/v8.h:8209): Use maybe version [-Wdeprecated-declarations]
! obj->fd_ = info[0]->ToInt32()->Int32Value();
! ^
! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
! npm WARN iobroker No description
! npm WARN iobroker No repository field.
! npm WARN iobroker No README data
! npm WARN iobroker No license field.
! npm install iobroker.admin –production --prefix /opt/iobroker
! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
! npm WARN iobroker No description
! npm WARN iobroker No repository field.
! npm WARN iobroker No README data
! npm WARN iobroker No license field.
! npm install iobroker.js-controller --production --prefix /opt/iobroker
! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
! npm WARN iobroker No description
! npm WARN iobroker No repository field.
! npm WARN iobroker No README data
! npm WARN iobroker No license field.
! Write "./iobroker start" to start the ioBroker
! : No such file or directory
! Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable auto-start
! iobroker is started. Go to "http://ip-addr:8081" to open the admin UI.
! /opt/iobroker
! └─┬ iobroker@1.0.0
! └─┬ yargs@7.1.0
! ├── camelcase@3.0.0
! ├─┬ cliui@3.2.0
! │ ├─┬ strip-ansi@3.0.1
! │ │ └── ansi-regex@2.1.1
! │ └── wrap-ansi@2.1.0
! ├── decamelize@1.2.0
! ├── get-caller-file@1.0.2
! ├─┬ os-locale@1.4.0
! │ └─┬ lcid@1.0.0
! │ └── invert-kv@1.0.0
! ├─┬ read-pkg-up@1.0.1
! │ ├─┬ find-up@1.1.2
! │ │ ├── path-exists@2.1.0
! │ │ └─┬ pinkie-promise@2.0.1
! │ │ └── pinkie@2.0.4
! │ └─┬ read-pkg@1.1.0
! │ ├─┬ load-json-file@1.1.0
! │ │ ├── graceful-fs@4.1.11
! │ │ ├─┬ parse-json@2.2.0
! │ │ │ └─┬ error-ex@1.3.1
! │ │ │ └── is-arrayish@0.2.1
! │ │ ├── pify@2.3.0
! │ │ └─┬ strip-bom@2.0.0
! │ │ └── is-utf8@0.2.1
! │ ├─┬ normalize-package-data@2.4.0
! │ │ ├── hosted-git-info@2.5.0
! │ │ ├─┬ is-builtin-module@1.0.0
! │ │ │ └── builtin-modules@1.1.1
! │ │ ├── semver@5.3.0
! │ │ └─┬ validate-npm-package-license@3.0.1
! │ │ ├─┬ spdx-correct@1.0.2
! │ │ │ └── spdx-license-ids@1.2.2
! │ │ └── spdx-expression-parse@1.0.4
! │ └── path-type@1.1.0
! ├── require-directory@2.1.1
! ├── require-main-filename@1.0.1
! ├── set-blocking@2.0.0
! ├─┬ string-width@1.0.2
! │ ├── code-point-at@1.1.0
! │ └─┬ is-fullwidth-code-point@1.0.0
! │ └── number-is-nan@1.0.1
! ├── which-module@1.0.0
! ├── y18n@3.2.1
! └── yargs-parser@5.0.0
! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
! npm WARN iobroker No description
! npm WARN iobroker No repository field.
! npm WARN iobroker No README data
! npm WARN iobroker No license field.
! root@raspberrypi:/opt/iobroker#</v8::int32></v8::string></v8::int32></v8::string></v8::int32></v8::object></v8::int32></v8::int32></v8::int32></v8::int32></v8::int32></v8::string></v8::int32></v8::int32></v8::int32></v8::number></v8::object></v8::int32></v8::object>Nachdem es durchgelaufen ist kann ich nicht auf die Oberfläche von iobroker zugreifen
Ich hab auf jeden fall eine Pi2 steht ja auch drauf
Ich habe sonst immer das neuste Image von iobroker mit der Grundlage Raspbian Jessie Lite installiert
-
Hast du vor dem ersten Start vom pi2 eine leere Datei "SSH" ohne Endung auf die SD Karte kopiert? Du musst SSH aktiviert haben, sonst geht nix… Ich nutze Jessi lite
Gesendet von meinem HUAWEI RIO-L01 mit Tapatalk
-
Ich habe immer erst die pi gestartet und dann unter der Raspi-config ssh aktiviert
-
Nur mal als Aufklärung, ich habe jetzt das vorgefertigte Image von ioBroker benutzt und es läuft (das große Image mit Raspbian Jessie - NICHT Jessie Lite).
Wieso das jetzt geht und das vorherige nicht, keine Ahnung
-
Ich springe hier mal mit rauf…
Denn bei mir ist es auf <u>jedem System</u> so, dieses nervige gyp macht <u>auf ALLEN Systemen</u> un d bei <u>JEDEM Adapter</u> Probleme.
Auch egal welche Version: 4 oder 6… immer der gleiche Unsinn, auf Verzeichnisse zugreifen zu wollen, die es nicht gibt oder doch da sind und alle Rechte haben.
Kurzum, iobroker läuft gut und stabil. Aber egal welchen Adapter ich aktuell aktualisiere, es kommt immer eine gyp Fehlermeldung:
! $ ./iobroker upgrade telegram
! npm install iobroker.telegram@1.0.6 –production --prefix "/opt/iobroker" (System call)
! ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: Datei oder Verzeichnis nicht gefundencompilation terminated.
! make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
! gyp
! ERR! build error
! gyp
! ERR! stack Error:make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
! gyp ERR! stack at emitTwo (events.js:106:13)
! gyp ERR! stack at ChildProcess.emit (events.js:191:7)
! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
! gyp ERR! System Linux 4.4.0-83-genericgyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
! gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam
! gyp ERR! node -v v6.11.1
! gyp ERR! node-gyp -v v3.4.0
! gyp ERR! not ok
Kopiert aus dem Webfenster iobroker Admin.Egal ob auf Raspi, NUC, Syntology. Das muss man doch mal in den Griff bekommen, oder?
Danach startet der Installer mit anderen Parametern und gut ist (geht so schnell, ich kann das nicht kopieren).
Ich möchte gerne Wissen, bei wie vielen das noch ist und diese es gar nicht bemerken, da es danach ja geht.
Fitti
PS: Das Update des js-controller sieht auch nicht vertrauensweckend aus - wenn es dennoch danach geht…
! root@nubroker:/opt/iobroker# iobroker upgrade self
! npm install iobroker.js-controller@1.1.2 –production --prefix "/opt/iobroker" (System call)
! gyp WARN EACCES user "root" does not have permission to access the dev dir "/home/ich/.node-gyp/6.11.1"
! gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/authenticate-pam/.node-gyp"
! ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: Datei oder Verzeichnis nicht gefunden
! compilation terminated.
! make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
! gyp ERR! build error
! gyp ERR! stack Error:make
failed with exit code: 2
! gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
! gyp ERR! stack at emitTwo (events.js:106:13)
! gyp ERR! stack at ChildProcess.emit (events.js:191:7)
! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
! gyp ERR! System Linux 4.4.0-83-generic
! gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
! gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam
! gyp ERR! node -v v6.11.1
! gyp ERR! node-gyp -v v3.4.0
! gyp ERR! not ok
! Cannot write file. Not critical: Error: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../../../killall.sh'
! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):
! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install:node-gyp rebuild
! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
! Host "nubroker" (linux) updated
! Execute: chmod 777 -R /opt/iobroker
! Chmod finished. Restart controller
! Starting node restart.js -
Hallo auch ich habe selbige Probleme auf Cubie mit Armbian aktuell , ebenso auf Denbian 9 ,
Wobei ich beim Cubie jeden einzelnen Adapter Upgraden muss alle auf einmal geht leider nicht , zur info
Gesendet von iPhone mit Tapatalk