NEWS
Инсталляция под Linux
-
Все действия выполняются из консоли.
Для начала, что бы обновить репозитории:
apt-get update apt-get upgrade- Установка node.js
x86/ARM (не кубик) - офицальная версия
sudo apt-get install python g++ make checkinstall mkdir ~/node_js_src && cd $_ wget -N http://nodejs.org/dist/node-latest.tar.gz tar xzvf node-latest.tar.gz && cd node-v* ./configure checkinstall sudo dpkg -i node_*Raspberry, Cubian
wget http://download.iobroker.org/nodejs_0.10.22-1_armhf.deb ; sudo dpkg -i nodejs_0.10.22-1_armhf.deb ; rm nodejs_0.10.22-1_armhf.deb
- Установка redis
apt-get install redis-server- Установка CouchDB
apt-get install couchdb- Установка ioBroker
wget http://download.iobroker.org/ioBroker-0.4.1.deb sudo dpkg -i ioBroker-0.4.1.debПосле этого можно зайти на http://<ip>:8081 и установить необходимые драйвера.</ip>
-
ставлю на cubieboard2-cubianX1
Так как в линуксе профан то все рекомендации copy-paste
В итоге чего-то не вяжется
При попытке выполнить ./iobroker
-couchdb connection error: ENOTFOUND
Соответственно зайти в admin не возможно
Где я косячу? :roll:
! Selecting previously unselected package erlang-os-mon.
! Unpacking erlang-os-mon (from …/erlang-os-mon_1%3a15.b.1-dfsg-4+deb7u1_armhf.deb) ...
! Selecting previously unselected package erlang-webtool.
! Unpacking erlang-webtool (from .../erlang-webtool_1%3a15.b.1-dfsg-4+deb7u1_armhf.deb) ...
! Selecting previously unselected package erlang-tools.
! Unpacking erlang-tools (from .../erlang-tools_1%3a15.b.1-dfsg-4+deb7u1_armhf.deb) ...
! Selecting previously unselected package libmozjs185-1.0.
! Unpacking libmozjs185-1.0 (from .../libmozjs185-1.0_1.8.5-1.0.0+dfsg-4_armhf.deb) ...
! Selecting previously unselected package couchdb.
! Unpacking couchdb (from .../couchdb_1.2.0-5_armhf.deb) ...
! Selecting previously unselected package wwwconfig-common.
! Unpacking wwwconfig-common (from .../wwwconfig-common_0.2.2_all.deb) ...
! Selecting previously unselected package javascript-common.
! Unpacking javascript-common (from .../javascript-common_7_all.deb) ...
! Selecting previously unselected package libsctp1.
! Unpacking libsctp1 (from .../libsctp1_1.0.11+dfsg-2_armhf.deb) ...
! Selecting previously unselected package lksctp-tools.
! Unpacking lksctp-tools (from .../lksctp-tools_1.0.11+dfsg-2_armhf.deb) ...
! Processing triggers for menu ...
! Processing triggers for man-db ...
! Setting up libcurl3:armhf (7.26.0-1+wheezy11) ...
! Setting up erlang-base (1:15.b.1-dfsg-4+deb7u1) ...
! Searching for services which depend on erlang and should be started...none found.
! Setting up libjs-jquery (1.7.2+dfsg-1) ...
! Setting up libjs-jquery-form (6-1) ...
! Setting up erlang-crypto (1:15.b.1-dfsg-4+deb7u1) ...
! Setting up erlang-mnesia (1:15.b.1-dfsg-4+deb7u1) ...
! Setting up erlang-runtime-tools (1:15.b.1-dfsg-4+deb7u1) ...
! Setting up erlang-syntax-tools (1:15.b.1-dfsg-4+deb7u1) ...
! Setting up erlang-asn1 (1:15.b.1-dfsg-4+deb7u1) ...
! Setting up erlang-public-key (1:15.b.1-dfsg-4+deb7u1) ...
! Setting up erlang-ssl (1:15.b.1-dfsg-4+deb7u1) ...
! Setting up erlang-inets (1:15.b.1-dfsg-4+deb7u1) ...
! Setting up erlang-xmerl (1:15.b.1-dfsg-4+deb7u1) ...
! Setting up erlang-eunit (1:15.b.1-dfsg-4+deb7u1) ...
! Setting up erlang-snmp (1:15.b.1-dfsg-4+deb7u1) ...
! Setting up erlang-os-mon (1:15.b.1-dfsg-4+deb7u1) ...
! Setting up erlang-webtool (1:15.b.1-dfsg-4+deb7u1) ...
! Setting up erlang-tools (1:15.b.1-dfsg-4+deb7u1) ...
! Setting up libmozjs185-1.0 (1.8.5-1.0.0+dfsg-4) ...
! Setting up couchdb (1.2.0-5) ...
! [ ok ] Starting database server: couchdb.
! Setting up wwwconfig-common (0.2.2) …
! Setting up javascript-common (7) ...
! Setting up libsctp1 (1.0.11+dfsg-2) ...
! Setting up lksctp-tools (1.0.11+dfsg-2) ...
! Processing triggers for menu ...
! cubie@Cubian:~$ wget http://download.iobroker.org/ioBroker-0.0.31.deb
! --2014-11-08 04:14:57-- http://download.iobroker.org/ioBroker-0.0.31.deb
! Resolving download.iobroker.org (download.iobroker.org)... 134.0.27.32
! Connecting to download.iobroker.org (download.iobroker.org)|134.0.27.32|:80... connected.
! HTTP request sent, awaiting response... 200 OK
! Length: 51714 (51K) [application/x-debian-package]
! Saving to:ioBroker-0.0.31.deb' ! 100%[======================================>] 51,714 246K/s in 0.2s ! 2014-11-08 04:14:57 (246 KB/s) -ioBroker-0.0.31.deb' saved [51714/51714]
! cubie@Cubian:~$ sudo dpkg -i ioBroker-0.0.31.deb
! Selecting previously unselected package iobroker.
! (Reading database … 83300 files and directories currently installed.)
! Unpacking iobroker (from ioBroker-0.0.31.deb) ...
! Setting up iobroker (0.0.31) ...
! Use current user 'root' for iobroker? If not, the 'iobroker' user will be created.! [Y/n]
! Use user root for iobroker.
! Apache CouchDB has started, time to relax.
! Set permissions…
! Start iobroker...
! npm http GET https://registry.npmjs.org/yargs
! npm http GET https://registry.npmjs.org/mime
! npm http GET https://registry.npmjs.org/hiredis
! npm http GET https://registry.npmjs.org/adm-zip
! npm http GET https://registry.npmjs.org/daemonize2
! npm http GET https://registry.npmjs.org/nano
! npm http GET https://registry.npmjs.org/ncp
! npm http GET https://registry.npmjs.org/node.extend
! npm http GET https://registry.npmjs.org/redis
! npm http GET https://registry.npmjs.org/request
! npm http GET https://registry.npmjs.org/winston
! npm http GET https://github.com/hobbyquaker/node-sch ... all/master
! npm http 200 https://registry.npmjs.org/mime
! npm http 200 https://registry.npmjs.org/adm-zip
! npm http GET https://registry.npmjs.org/mime/-/mime-1.2.11.tgz
! npm http GET https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.4.tgz
! npm http 200 https://registry.npmjs.org/ncp
! npm http 200 https://registry.npmjs.org/hiredis
! npm http GET https://registry.npmjs.org/ncp/-/ncp-0.6.0.tgz
! npm http 200 https://registry.npmjs.org/adm-zip/-/adm-zip-0.4.4.tgz
! npm http 200 https://registry.npmjs.org/mime/-/mime-1.2.11.tgz
! npm http 200 https://registry.npmjs.org/yargs
! npm http GET https://registry.npmjs.org/hiredis/-/hiredis-0.1.17.tgz
! npm http GET https://registry.npmjs.org/yargs/-/yargs-1.2.6.tgz
! npm http 200 https://registry.npmjs.org/redis
! npm http 200 https://registry.npmjs.org/ncp/-/ncp-0.6.0.tgz
! npm http 200 https://registry.npmjs.org/node.extend
! npm http 200 https://registry.npmjs.org/hiredis/-/hiredis-0.1.17.tgz
! npm http 200 https://registry.npmjs.org/daemonize2
! npm http 200 https://github.com/hobbyquaker/node-sch ... all/master
! npm http 200 https://registry.npmjs.org/yargs/-/yargs-1.2.6.tgz
! npm http GET https://registry.npmjs.org/redis/-/redis-0.10.3.tgz
! npm http GET https://registry.npmjs.org/node.extend/ ... 1.0.10.tgz
! npm http 200 https://registry.npmjs.org/request
! npm http GET https://registry.npmjs.org/daemonize2/- ... -0.4.2.tgz
! npm http 200 https://registry.npmjs.org/winston
! npm http 200 https://registry.npmjs.org/redis/-/redis-0.10.3.tgz
! npm http GET https://registry.npmjs.org/request/-/request-2.38.0.tgz
! npm http 200 https://registry.npmjs.org/node.extend/ ... 1.0.10.tgz
! npm http 200 https://registry.npmjs.org/daemonize2/- ... -0.4.2.tgz
! npm http GET https://registry.npmjs.org/winston/-/winston-0.7.3.tgz
! npm http 200 https://registry.npmjs.org/nano
! npm http GET https://registry.npmjs.org/nano/-/nano-5.10.0.tgz
! npm http 200 https://registry.npmjs.org/winston/-/winston-0.7.3.tgz
! npm http 200 https://registry.npmjs.org/request/-/request-2.38.0.tgz
! npm http 200 https://registry.npmjs.org/nano/-/nano-5.10.0.tgz
! npm http GET https://registry.npmjs.org/is
! npm http 200 https://registry.npmjs.org/is
! npm http GET https://registry.npmjs.org/is/-/is-0.3.0.tgz
! npm http 200 https://registry.npmjs.org/is/-/is-0.3.0.tgz
! npm http GET https://registry.npmjs.org/http-signature
! npm http GET https://registry.npmjs.org/oauth-sign
! npm http GET https://registry.npmjs.org/hawk/1.1.1
! npm http GET https://registry.npmjs.org/aws-sign2
! npm http GET https://registry.npmjs.org/stringstream
! npm http GET https://registry.npmjs.org/qs
! npm http GET https://registry.npmjs.org/json-stringify-safe
! npm http GET https://registry.npmjs.org/mime-types
! npm http GET https://registry.npmjs.org/forever-agent
! npm http GET https://registry.npmjs.org/node-uuid
! npm http GET https://registry.npmjs.org/tough-cookie
! npm http GET https://registry.npmjs.org/form-data
! npm http GET https://registry.npmjs.org/tunnel-agent
! npm http GET https://registry.npmjs.org/minimist
! npm http 200 https://registry.npmjs.org/oauth-sign
! npm http 200 https://registry.npmjs.org/hawk/1.1.1
! npm http 200 https://registry.npmjs.org/aws-sign2
! npm http 200 https://registry.npmjs.org/json-stringify-safe
! npm http 200 https://registry.npmjs.org/http-signature
! npm http 200 https://registry.npmjs.org/stringstream
! npm http 200 https://registry.npmjs.org/forever-agent
! npm http 200 https://registry.npmjs.org/mime-types
! npm http GET https://registry.npmjs.org/oauth-sign/- ... -0.3.0.tgz
! npm http GET https://registry.npmjs.org/aws-sign2/-/ ... -0.5.0.tgz
! npm http 200 https://registry.npmjs.org/tunnel-agent
! npm http GET https://registry.npmjs.org/hawk/-/hawk-1.1.1.tgz
! npm http 200 https://registry.npmjs.org/qs
! npm http 200 https://registry.npmjs.org/form-data
! npm http 200 https://registry.npmjs.org/node-uuid
! npm http GET https://registry.npmjs.org/json-stringi ... -5.0.0.tgz
! npm http 200 https://registry.npmjs.org/minimist
! npm http GET https://registry.npmjs.org/http-signatu ... 0.10.0.tgz
! npm http GET https://registry.npmjs.org/stringstream ... -0.0.4.tgz
! npm http GET https://registry.npmjs.org/forever-agen ... -0.5.2.tgz
! npm http GET https://registry.npmjs.org/mime-types/- ... -1.0.2.tgz
! npm http GET https://registry.npmjs.org/tunnel-agent ... -0.4.0.tgz
! npm http GET https://registry.npmjs.org/qs/-/qs-0.6.6.tgz
! npm http GET https://registry.npmjs.org/form-data/-/ ... -0.1.4.tgz
! npm http 200 https://registry.npmjs.org/aws-sign2/-/ ... -0.5.0.tgz
! npm http 200 https://registry.npmjs.org/oauth-sign/- ... -0.3.0.tgz
! npm http GET https://registry.npmjs.org/node-uuid/-/ ... -1.4.1.tgz
! npm http 200 https://registry.npmjs.org/hawk/-/hawk-1.1.1.tgz
! npm http 200 https://registry.npmjs.org/json-stringi ... -5.0.0.tgz
! npm http GET https://registry.npmjs.org/minimist/-/m ... -0.1.0.tgz
! npm http 200 https://registry.npmjs.org/stringstream ... -0.0.4.tgz
! npm http 200 https://registry.npmjs.org/forever-agen ... -0.5.2.tgz
! npm http 200 https://registry.npmjs.org/http-signatu ... 0.10.0.tgz
! npm http 200 https://registry.npmjs.org/mime-types/- ... -1.0.2.tgz
! npm http 200 https://registry.npmjs.org/tunnel-agent ... -0.4.0.tgz
! npm http 200 https://registry.npmjs.org/qs/-/qs-0.6.6.tgz
! npm http 200 https://registry.npmjs.org/form-data/-/ ... -0.1.4.tgz
! npm http 200 https://registry.npmjs.org/node-uuid/-/ ... -1.4.1.tgz
! npm http 200 https://registry.npmjs.org/minimist/-/m ... -0.1.0.tgz
! npm http 200 https://registry.npmjs.org/tough-cookie
! npm http GET https://registry.npmjs.org/tough-cookie ... 0.12.1.tgz
! npm http 200 https://registry.npmjs.org/tough-cookie ... 0.12.1.tgz
! npm http GET https://registry.npmjs.org/nan
! npm http GET https://registry.npmjs.org/bindings
! npm http 200 https://registry.npmjs.org/bindings
! npm http GET https://registry.npmjs.org/bindings/-/b ... -1.2.1.tgz
! npm http 200 https://registry.npmjs.org/nan
! npm http GET https://registry.npmjs.org/nan/-/nan-1.1.2.tgz
! npm http 200 https://registry.npmjs.org/bindings/-/b ... -1.2.1.tgz
! npm http 200 https://registry.npmjs.org/nan/-/nan-1.1.2.tgz
! npm http GET https://registry.npmjs.org/async
! npm http GET https://registry.npmjs.org/colors
! npm http GET https://registry.npmjs.org/cycle
! npm http GET https://registry.npmjs.org/eyes
! npm http GET https://registry.npmjs.org/pkginfo
! npm http GET https://registry.npmjs.org/stack-trace
! npm http 200 https://registry.npmjs.org/colors
! npm http 200 https://registry.npmjs.org/pkginfo
! npm http 200 https://registry.npmjs.org/stack-trace
! npm http 200 https://registry.npmjs.org/async
! npm http 200 https://registry.npmjs.org/cycle
! npm http 200 https://registry.npmjs.org/eyes
! npm http GET https://registry.npmjs.org/request
! npm http GET https://registry.npmjs.org/colors/-/colors-0.6.2.tgz
! npm http GET https://registry.npmjs.org/pkginfo/-/pkginfo-0.3.0.tgz
! npm http GET https://registry.npmjs.org/stack-trace/ ... -0.0.9.tgz
! npm http GET https://registry.npmjs.org/async/-/async-0.2.10.tgz
! npm http GET https://registry.npmjs.org/cycle/-/cycle-1.0.3.tgz
! npm http GET https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz
! npm http 304 https://registry.npmjs.org/request
! npm http 200 https://registry.npmjs.org/pkginfo/-/pkginfo-0.3.0.tgz
! npm http 200 https://registry.npmjs.org/colors/-/colors-0.6.2.tgz
! npm http 200 https://registry.npmjs.org/stack-trace/ ... -0.0.9.tgz
! npm http 200 https://registry.npmjs.org/async/-/async-0.2.10.tgz
! npm http 200 https://registry.npmjs.org/cycle/-/cycle-1.0.3.tgz
! npm http 200 https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz
! npm http GET https://registry.npmjs.org/request/-/request-2.16.6.tgz
! npm http 200 https://registry.npmjs.org/request/-/request-2.16.6.tgz
! npm http GET https://registry.npmjs.org/follow
! npm http GET https://registry.npmjs.org/errs
! npm http GET https://registry.npmjs.org/underscore
! npm http GET https://registry.npmjs.org/request
! npm http 304 https://registry.npmjs.org/request
! npm http 200 https://registry.npmjs.org/underscore
! npm http GET https://registry.npmjs.org/request/-/request-2.33.0.tgz
! npm http GET https://registry.npmjs.org/underscore/- ... -1.5.2.tgz
! npm http 200 https://registry.npmjs.org/follow
! npm http 200 https://registry.npmjs.org/errs
! npm http GET https://registry.npmjs.org/follow/-/follow-0.11.3.tgz
! npm http GET https://registry.npmjs.org/errs/-/errs-0.2.4.tgz
! npm http 200 https://registry.npmjs.org/underscore/- ... -1.5.2.tgz
! npm http 200 https://registry.npmjs.org/request/-/request-2.33.0.tgz
! npm http 200 https://registry.npmjs.org/follow/-/follow-0.11.3.tgz
! npm http 200 https://registry.npmjs.org/errs/-/errs-0.2.4.tgz
! > hiredis@0.1.17 install /opt/iobroker/node_modules/hiredis
! > node-gyp rebuild
! gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.22"
! gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/hiredis/.node-gyp"
! gyp http GET http://nodejs.org/dist/v0.10.22/node-v0.10.22.tar.gz
! gyp http 200 http://nodejs.org/dist/v0.10.22/node-v0.10.22.tar.gz
! gyp ERR! build error
! gyp ERR! stack Error: not found: make
! gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:43:28)
! gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:46:29)
! gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:57:16
! gyp ERR! stack at Object.oncomplete (fs.js:107:15)
! gyp ERR! System Linux 3.4.79-sun7i
! gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
! gyp ERR! cwd /opt/iobroker/node_modules/hiredis
! gyp ERR! node -v v0.10.22
! gyp ERR! node-gyp -v v0.11.0
! gyp ERR! not ok
! npm http GET https://registry.npmjs.org/combined-stream
! npm http GET https://registry.npmjs.org/async
! npm http 200 https://registry.npmjs.org/combined-stream
! npm http 304 https://registry.npmjs.org/async
! npm http GET https://registry.npmjs.org/combined-str ... -0.0.7.tgz
! npm http GET https://registry.npmjs.org/async/-/async-0.9.0.tgz
! npm http GET https://registry.npmjs.org/assert-plus/0.1.2
! npm http GET https://registry.npmjs.org/asn1/0.1.11
! npm http GET https://registry.npmjs.org/ctype/0.5.2
! npm http 200 https://registry.npmjs.org/combined-str ... -0.0.7.tgz
! npm http 200 https://registry.npmjs.org/async/-/async-0.9.0.tgz
! npm http 200 https://registry.npmjs.org/assert-plus/0.1.2
! npm http 200 https://registry.npmjs.org/asn1/0.1.11
! npm http 200 https://registry.npmjs.org/ctype/0.5.2
! npm http GET https://registry.npmjs.org/assert-plus/ ... -0.1.2.tgz
! npm http GET https://registry.npmjs.org/asn1/-/asn1-0.1.11.tgz
! npm http GET https://registry.npmjs.org/ctype/-/ctype-0.5.2.tgz
! npm http 200 https://registry.npmjs.org/assert-plus/ ... -0.1.2.tgz
! npm http 200 https://registry.npmjs.org/asn1/-/asn1-0.1.11.tgz
! npm http 200 https://registry.npmjs.org/ctype/-/ctype-0.5.2.tgz
! npm http GET https://registry.npmjs.org/hawk
! npm http GET https://registry.npmjs.org/aws-sign2
! npm http GET https://registry.npmjs.org/qs
! npm http GET https://registry.npmjs.org/json-stringify-safe
! npm http GET https://registry.npmjs.org/forever-agent
! npm http GET https://registry.npmjs.org/node-uuid
! npm http GET https://registry.npmjs.org/tough-cookie
! npm http GET https://registry.npmjs.org/form-data
! npm http GET https://registry.npmjs.org/tunnel-agent
! npm http GET https://registry.npmjs.org/http-signature
! npm http GET https://registry.npmjs.org/oauth-sign
! npm http 304 https://registry.npmjs.org/aws-sign2
! npm http 304 https://registry.npmjs.org/qs
! npm http 304 https://registry.npmjs.org/json-stringify-safe
! npm http 304 https://registry.npmjs.org/forever-agent
! npm http 304 https://registry.npmjs.org/node-uuid
! npm http 304 https://registry.npmjs.org/tough-cookie
! npm http 304 https://registry.npmjs.org/form-data
! npm http 304 https://registry.npmjs.org/tunnel-agent
! npm http 304 https://registry.npmjs.org/http-signature
! npm http 304 https://registry.npmjs.org/oauth-sign
! npm http 200 https://registry.npmjs.org/hawk
! npm http GET https://registry.npmjs.org/tunnel-agent ... -0.3.0.tgz
! npm http GET https://registry.npmjs.org/hawk/-/hawk-1.0.0.tgz
! npm http GET https://registry.npmjs.org/punycode
! npm http 200 https://registry.npmjs.org/hawk/-/hawk-1.0.0.tgz
! npm http 200 https://registry.npmjs.org/tunnel-agent ... -0.3.0.tgz
! npm http 200 https://registry.npmjs.org/punycode
! npm http GET https://registry.npmjs.org/punycode/-/p ... -1.3.2.tgz
! npm http 200 https://registry.npmjs.org/punycode/-/p ... -1.3.2.tgz
! npm http GET https://registry.npmjs.org/hoek
! npm http GET https://registry.npmjs.org/boom
! npm http GET https://registry.npmjs.org/cryptiles
! npm http GET https://registry.npmjs.org/sntp
! npm http 200 https://registry.npmjs.org/boom
! npm http 200 https://registry.npmjs.org/cryptiles
! npm http GET https://registry.npmjs.org/boom/-/boom-0.4.2.tgz
! npm http 200 https://registry.npmjs.org/sntp
! npm http GET https://registry.npmjs.org/cryptiles/-/ ... -0.2.2.tgz
! npm http 200 https://registry.npmjs.org/hoek
! npm http GET https://registry.npmjs.org/sntp/-/sntp-0.2.4.tgz
! npm http GET https://registry.npmjs.org/hoek/-/hoek-0.9.1.tgz
! npm http 200 https://registry.npmjs.org/boom/-/boom-0.4.2.tgz
! npm http 200 https://registry.npmjs.org/cryptiles/-/ ... -0.2.2.tgz
! npm http 200 https://registry.npmjs.org/sntp/-/sntp-0.2.4.tgz
! npm http GET https://registry.npmjs.org/cookie-jar
! npm http GET https://registry.npmjs.org/aws-sign
! npm http 200 https://registry.npmjs.org/hoek/-/hoek-0.9.1.tgz
! npm http GET https://registry.npmjs.org/form-data/-/ ... 0.0.10.tgz
! npm http GET https://registry.npmjs.org/hawk/-/hawk-0.10.2.tgz
! npm http GET https://registry.npmjs.org/oauth-sign/- ... -0.2.0.tgz
! npm http GET https://registry.npmjs.org/forever-agen ... -0.2.0.tgz
! npm http GET https://registry.npmjs.org/tunnel-agent ... -0.2.0.tgz
! npm http GET https://registry.npmjs.org/json-stringi ... -3.0.0.tgz
! npm http GET https://registry.npmjs.org/qs/-/qs-0.5.6.tgz
! npm http 200 https://registry.npmjs.org/aws-sign
! npm http 200 https://registry.npmjs.org/cookie-jar
! npm http 200 https://registry.npmjs.org/hawk/-/hawk-0.10.2.tgz
! npm http 200 https://registry.npmjs.org/oauth-sign/- ... -0.2.0.tgz
! npm http 200 https://registry.npmjs.org/forever-agen ... -0.2.0.tgz
! npm http 200 https://registry.npmjs.org/form-data/-/ ... 0.0.10.tgz
! npm http 200 https://registry.npmjs.org/tunnel-agent ... -0.2.0.tgz
! npm http 200 https://registry.npmjs.org/json-stringi ... -3.0.0.tgz
! npm http 200 https://registry.npmjs.org/qs/-/qs-0.5.6.tgz
! npm http GET https://registry.npmjs.org/aws-sign/-/a ... -0.2.0.tgz
! npm http GET https://registry.npmjs.org/cookie-jar/- ... -0.2.0.tgz
! npm http 200 https://registry.npmjs.org/aws-sign/-/a ... -0.2.0.tgz
! npm http 200 https://registry.npmjs.org/cookie-jar/- ... -0.2.0.tgz
! npm http GET https://registry.npmjs.org/browser-request
! npm http GET https://registry.npmjs.org/debug
! npm http GET https://registry.npmjs.org/request
! npm http 200 https://registry.npmjs.org/debug
! npm http 200 https://registry.npmjs.org/browser-request
! npm http 304 https://registry.npmjs.org/request
! npm http GET https://registry.npmjs.org/debug/-/debug-0.7.4.tgz
! npm http GET https://registry.npmjs.org/browser-requ ... -0.3.2.tgz
! npm http GET https://registry.npmjs.org/request/-/request-2.34.0.tgz
! npm http 200 https://registry.npmjs.org/debug/-/debug-0.7.4.tgz
! npm http GET https://registry.npmjs.org/delayed-stream/0.0.5
! npm http 200 https://registry.npmjs.org/browser-requ ... -0.3.2.tgz
! npm http 200 https://registry.npmjs.org/request/-/request-2.34.0.tgz
! npm http 200 https://registry.npmjs.org/delayed-stream/0.0.5
! npm http GET https://registry.npmjs.org/delayed-stre ... -0.0.5.tgz
! npm http 200 https://registry.npmjs.org/delayed-stre ... -0.0.5.tgz
! npm http GET https://registry.npmjs.org/tunnel-agent
! npm http GET https://registry.npmjs.org/aws-sign2
! npm http GET https://registry.npmjs.org/http-signature
! npm http GET https://registry.npmjs.org/oauth-sign
! npm http GET https://registry.npmjs.org/qs
! npm http GET https://registry.npmjs.org/json-stringify-safe
! npm http GET https://registry.npmjs.org/forever-agent
! npm http GET https://registry.npmjs.org/node-uuid
! npm http GET https://registry.npmjs.org/tough-cookie
! npm http GET https://registry.npmjs.org/form-data
! npm http 304 https://registry.npmjs.org/tunnel-agent
! npm http 304 https://registry.npmjs.org/aws-sign2
! npm http 304 https://registry.npmjs.org/http-signature
! npm http 304 https://registry.npmjs.org/qs
! npm http 304 https://registry.npmjs.org/oauth-sign
! npm http 304 https://registry.npmjs.org/json-stringify-safe
! npm http 304 https://registry.npmjs.org/forever-agent
! npm http 304 https://registry.npmjs.org/node-uuid
! npm http 304 https://registry.npmjs.org/tough-cookie
! npm http 304 https://registry.npmjs.org/form-data
! npm http GET https://registry.npmjs.org/combined-stream
! npm http GET https://registry.npmjs.org/async
! npm http 304 https://registry.npmjs.org/async
! npm http 304 https://registry.npmjs.org/combined-stream
! npm http GET https://registry.npmjs.org/assert-plus/0.1.2
! npm http GET https://registry.npmjs.org/asn1/0.1.11
! npm http GET https://registry.npmjs.org/ctype/0.5.2
! npm http 304 https://registry.npmjs.org/assert-plus/0.1.2
! npm http 304 https://registry.npmjs.org/ctype/0.5.2
! npm http 304 https://registry.npmjs.org/asn1/0.1.11
! npm http GET https://registry.npmjs.org/delayed-stream/0.0.5
! npm http 304 https://registry.npmjs.org/delayed-stream/0.0.5
! npm WARN optional dep failed, continuing hiredis@0.1.17
! npm http GET https://registry.npmjs.org/punycode
! npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.22","npm":"1.3.14"})
! npm http 304 https://registry.npmjs.org/punycode
! npm http GET https://registry.npmjs.org/hoek
! npm http GET https://registry.npmjs.org/boom
! npm http GET https://registry.npmjs.org/cryptiles
! npm http GET https://registry.npmjs.org/sntp
! npm http GET https://registry.npmjs.org/combined-stream
! npm http 304 https://registry.npmjs.org/hoek
! npm http 304 https://registry.npmjs.org/cryptiles
! npm http 304 https://registry.npmjs.org/sntp
! npm http 304 https://registry.npmjs.org/boom
! npm http 304 https://registry.npmjs.org/combined-stream
! npm http GET https://registry.npmjs.org/delayed-stream/0.0.5
! npm http 304 https://registry.npmjs.org/delayed-stream/0.0.5
! npm http GET https://registry.npmjs.org/punycode
! npm http GET https://registry.npmjs.org/hoek
! npm http GET https://registry.npmjs.org/boom
! npm http GET https://registry.npmjs.org/cryptiles
! npm http GET https://registry.npmjs.org/sntp
! npm http 304 https://registry.npmjs.org/punycode
! npm http 304 https://registry.npmjs.org/hoek
! npm http 304 https://registry.npmjs.org/boom
! npm http 304 https://registry.npmjs.org/sntp
! npm http 304 https://registry.npmjs.org/cryptiles
! npm http GET https://registry.npmjs.org/hoek/-/hoek-0.7.6.tgz
! npm http GET https://registry.npmjs.org/boom/-/boom-0.3.8.tgz
! npm http GET https://registry.npmjs.org/sntp/-/sntp-0.1.4.tgz
! npm http GET https://registry.npmjs.org/cryptiles/-/ ... -0.1.3.tgz
! npm http 200 https://registry.npmjs.org/hoek/-/hoek-0.7.6.tgz
! npm http 200 https://registry.npmjs.org/boom/-/boom-0.3.8.tgz
! npm http 200 https://registry.npmjs.org/sntp/-/sntp-0.1.4.tgz
! npm http 200 https://registry.npmjs.org/cryptiles/-/ ... -0.1.3.tgz
! npm WARN engine cryptiles@0.1.3: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.22","npm":"1.3.14"})
! npm WARN engine sntp@0.1.4: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.22","npm":"1.3.14"})
! npm WARN engine boom@0.3.8: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.22","npm":"1.3.14"})
! npm WARN engine hoek@0.7.6: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.22","npm":"1.3.14"})
! daemonize2@0.4.2 node_modules/daemonize2
! node-schedule@0.1.13 node_modules/node-schedule
! mime@1.2.11 node_modules/mime
! ncp@0.6.0 node_modules/ncp
! adm-zip@0.4.4 node_modules/adm-zip
! redis@0.10.3 node_modules/redis
! node.extend@1.0.10 node_modules/node.extend
! └── is@0.3.0
! yargs@1.2.6 node_modules/yargs
! └── minimist@0.1.0
! request@2.38.0 node_modules/request
! ├── json-stringify-safe@5.0.0
! ├── aws-sign2@0.5.0
! ├── qs@0.6.6
! ├── forever-agent@0.5.2
! ├── oauth-sign@0.3.0
! ├── stringstream@0.0.4
! ├── tunnel-agent@0.4.0
! ├── node-uuid@1.4.1
! ├── mime-types@1.0.2
! ├── tough-cookie@0.12.1 (punycode@1.3.2)
! ├── form-data@0.1.4 (async@0.9.0, combined-stream@0.0.7)
! ├── hawk@1.1.1 (cryptiles@0.2.2, sntp@0.2.4, boom@0.4.2, hoek@0.9.1)
! └── http-signature@0.10.0 (assert-plus@0.1.2, asn1@0.1.11, ctype@0.5.2)
! nano@5.10.0 node_modules/nano
! ├── underscore@1.5.2
! ├── errs@0.2.4
! ├── request@2.33.0 (json-stringify-safe@5.0.0, forever-agent@0.5.2, aws-sign2@0.5.0, qs@0.6.6, tunnel-agent@0.3.0, oauth-sign@0.3.0, node-uuid@1.4.1, form-data@0.1.4, tough-cookie@0.12.1, hawk@1.0.0, http-signature@0.10.0)
! └── follow@0.11.3 (debug@0.7.4, browser-request@0.3.2, request@2.34.0)
! winston@0.7.3 node_modules/winston
! ├── cycle@1.0.3
! ├── stack-trace@0.0.9
! ├── eyes@0.1.8
! ├── colors@0.6.2
! ├── async@0.2.10
! ├── pkginfo@0.3.0
! └── request@2.16.6 (forever-agent@0.2.0, aws-sign@0.2.0, tunnel-agent@0.2.0, oauth-sign@0.2.0, json-stringify-safe@3.0.0, cookie-jar@0.2.0, node-uuid@1.4.1, form-data@0.0.10, qs@0.5.6, hawk@0.10.2)
! creating conf/iobroker.json
! couchdb connection error: ENOTFOUND
! couchdb connection error: ENOTFOUND
! Starting ioBroker controller daemon...
! ioBroker controller daemon started. PID: 14949
! call http://ip_address:8081/ in browser to get the AdminUI of ioBroker -
@kID:ставлю на cubieboard2-cubianX1
Так как в линуксе профан то все рекомендации copy-paste
В итоге чего-то не вяжется
При попытке выполнить ./iobroker
-couchdb connection error: ENOTFOUND
Соответственно зайти в admin не возможно
Где я косячу? :roll: `
Не установлен couchdb или не запущен срвис couchdb. -
@kID:Где я косячу? :roll:
Не установлен couchdb или не запущен срвис couchdb.
Да вроде все установлено, вот еще ручками запустил, ответ тот же.cubie@Cubian:/etc/couchdb$ sudo /etc/init.d/couchdb start [sudo] password for cubie: [ ok ] Starting database server: couchdb. cubie@Cubian:/etc/couchdb$ cubie@Cubian:/opt/iobroker$ ./iobroker upgrade couchdb connection error: ENOTFOUND -
@kID:ставлю на cubieboard2-cubianX1
Так как в линуксе профан то все рекомендации copy-paste
В итоге чего-то не вяжется
При попытке выполнить ./iobroker
-couchdb connection error: ENOTFOUND
Соответственно зайти в admin не возможно
Где я косячу? :roll: `
Похоже на некоторых системах couchDB не встает нормально. А что говорит?
-
@kID:ставлю на cubieboard2-cubianX1
Похоже на некоторых системах couchDB не встает нормально. А что говорит
-
обновил админку через веб морду ,слетела
в логи пишет :
! 2014-11-10 14:21:44.713 - info: admin.0 starting. Version 0.1.7
! 2014-11-10 14:21:44.890 - error: uncaught exception: Object # <adapter>has no method 'requireLog'
! 2014-11-10 14:21:44.897 - error: TypeError: Object # <adapter>has no method 'requireLog'
! at socketEvents (/opt/iobroker/adapter/admin/admin.js:460:13)
! at Namespace.initSocket (/opt/iobroker/adapter/admin/admin.js:451:9)
! at Namespace.emit (events.js:95:17)
! at Namespace.emit (/opt/iobroker/adapter/admin/node_modules/socket.io/lib/namespace.js:205:10)
! at /opt/iobroker/adapter/admin/node_modules/socket.io/lib/namespace.js:172:14
! at process._tickCallback (node.js:419:13)
! 2014-11-10 14:21:44.932 - info: admin.0 received all objects
! 2014-11-10 14:21:44.936 - info: admin.0 received all states
! 2014-11-10 14:21:45.205 - error: controller instance system.adapter.admin.0 terminated with code 1</adapter></adapter>
пробовал перезапустить брокер, комп полностью ,не помагает -
обновил админку через веб морду ,слетела
в логи пишет :
! 2014-11-10 14:21:44.713 - info: admin.0 starting. Version 0.1.7
! 2014-11-10 14:21:44.890 - error: uncaught exception: Object # <adapter>has no method 'requireLog'
! 2014-11-10 14:21:44.897 - error: TypeError: Object # <adapter>has no method 'requireLog'
! at socketEvents (/opt/iobroker/adapter/admin/admin.js:460:13)
! at Namespace.initSocket (/opt/iobroker/adapter/admin/admin.js:451:9)
! at Namespace.emit (events.js:95:17)
! at Namespace.emit (/opt/iobroker/adapter/admin/node_modules/socket.io/lib/namespace.js:205:10)
! at /opt/iobroker/adapter/admin/node_modules/socket.io/lib/namespace.js:172:14
! at process._tickCallback (node.js:419:13)
! 2014-11-10 14:21:44.932 - info: admin.0 received all objects
! 2014-11-10 14:21:44.936 - info: admin.0 received all states
! 2014-11-10 14:21:45.205 - error: controller instance system.adapter.admin.0 terminated with code 1</adapter></adapter>
пробовал перезапустить брокер, комп полностью ,не помагает `
нужно обновить "js-controller" -
нужно обновить "js-controller"
Есть такое дело,в консоли: ./iobroker update
в ответ: Controller "js-controller" : 0.0.35 , installed 0.0.32 [Updateable]
да ,я под дебианом
так вот вопрос, как с консоли обновить?
-
так вот вопрос, как с консоли обновить? `
можно попробовать так "./iobroker upgrade" но не уверен. -
можно попробовать так "./iobroker upgrade" но не уверен.
Занятно , но сам не догадался . Обновился. Из странного , слетели права на файло внутри папки.
KondorSoft, Спасибо.
После обновления вылезла странность, два админа 0 и 1.
Кусочек лога прилагаю:
! 2014-11-10 17:42:31.035 - info: admin.0 received all objects
! 2014-11-10 17:42:31.085 - info: admin.0 received all states
! 2014-11-10 17:42:32.404 - info: controller instance system.adapter.admin.1 started with pid 3384
! 2014-11-10 17:42:34.760 - info: admin.1 starting. Version 0.1.7
! 2014-11-10 17:42:34.823 - info: admin.1 requesting all states
! 2014-11-10 17:42:34.854 - error: controller instance system.adapter.admin.1 terminated with code 1
! 2014-11-10 17:42:36.403 - info: controller instance system.adapter.history.0 started with pid 3390 -
После обновления вылезла странность, два админа 0 и 1. `
Надо посмортреть. Второй админ можно просто удалить из драйверов. -
Есть новая версия для Linux:
-
В логах постоянно сыпятся ошибки драйвера ping.
! 2014-11-27 14:19:50.543 - info: ping.0 starting. Version 0.1.0
! 2014-11-27 14:19:50.664 - error: uncaught exception: obj is not defined
! 2014-11-27 14:19:50.673 - error: ReferenceError: obj is not defined
! at /opt/iobroker/lib/adapter.js:1036:29
! at /opt/iobroker/lib/couch.js:91:13
! at Request._callback (/opt/iobroker/node_modules/nano/nano.js:303:11)
! at Request.self.callback (/opt/iobroker/node_modules/nano/node_modules/request/request.js:122:22)
! at Request.emit (events.js:98:17)
! at Request. <anonymous>(/opt/iobroker/node_modules/nano/node_modules/request/request.js:888:14)
! at Request.emit (events.js:117:20)
! at IncomingMessage. <anonymous>(/opt/iobroker/node_modules/nano/node_modules/request/request.js:839:12)
! at IncomingMessage.emit (events.js:117:20)
! at _stream_readable.js:929:16
! 2014-11-27 14:19:50.980 - error: controller instance system.adapter.ping.0 terminated with code 6
! 2014-11-27 14:19:50.980 - info: Restart adapter system.adapter.ping.0 because enabled</anonymous></anonymous>Драйвер при этом работает, как побороть ?
Заведите пожалуйста ветку по драйверам , чтобы не засорять топик.
-
В логах постоянно сыпятся ошибки драйвера ping.
! 2014-11-27 14:19:50.543 - info: ping.0 starting. Version 0.1.0
! 2014-11-27 14:19:50.664 - error: uncaught exception: obj is not defined
! 2014-11-27 14:19:50.673 - error: ReferenceError: obj is not defined
! at /opt/iobroker/lib/adapter.js:1036:29
! at /opt/iobroker/lib/couch.js:91:13
! at Request._callback (/opt/iobroker/node_modules/nano/nano.js:303:11)
! at Request.self.callback (/opt/iobroker/node_modules/nano/node_modules/request/request.js:122:22)
! at Request.emit (events.js:98:17)
! at Request. <anonymous>(/opt/iobroker/node_modules/nano/node_modules/request/request.js:888:14)
! at Request.emit (events.js:117:20)
! at IncomingMessage. <anonymous>(/opt/iobroker/node_modules/nano/node_modules/request/request.js:839:12)
! at IncomingMessage.emit (events.js:117:20)
! at _stream_readable.js:929:16
! 2014-11-27 14:19:50.980 - error: controller instance system.adapter.ping.0 terminated with code 6
! 2014-11-27 14:19:50.980 - info: Restart adapter system.adapter.ping.0 because enabled</anonymous></anonymous>Драйвер при этом работает, как побороть ?
Заведите пожалуйста ветку по драйверам , чтобы не засорять топик. `
Заменить в adapter.js строку 1036 на:if (!err && res) {В следующей версии исправлю. Скорей всего вечером.
-
Незнаю почему,но у меня в веб можно зайти только до перегрузки cubieboard ,потом всё,только с переустановкой не только брокера,но и дебиан приходитсья ставить заного,с ccui всё работает как надо,интерестно что после рестарта запускаю брокер и в консоле показывает пыд и что веб доступен ,но реально в веб не войти.
291_history.png -
jonyz, а что с правами на директории и папки.
Было так пока права не выставил, посмотрите htop стартует ли брокер.
Попробовать по новой раздать права и запустить в консоли
"Start ioBroker controller
run ./iobroker start to start the ioBroker controller in the background
watch the logfile tail -f log/iobroker.log
or
run node controller.js to start the ioBroker controller in foreground and watch the log on console"
взято тут :https://github.com/ioBroker/ioBroker.js … /README.md
Ну и логи /opt/iobroker/tail -f log/iobroker.log ,в нём есть весь "мат" от системы ,можно понять почему не стартует
-
Незнаю почему,но у меня в веб можно зайти только до перегрузки cubieboard ,потом всё,только с переустановкой не только брокера,но и дебиан приходитсья ставить заного,с ccui всё работает как надо,интерестно что после рестарта запускаю брокер и в консоле показывает пыд и что веб доступен ,но реально в веб не войти. `
Скорей всего просто сервис не бежал.Что говорит после старта:
ps -A | grep io?
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden