Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Русский
    3. ioBroker
    4. ioBroker установка и конфигурация
    5. Инсталляция под Linux

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Инсталляция под Linux

    This topic has been deleted. Only users with topic management privileges can see it.
    • aurodionov
      aurodionov last edited by

      При помощи буна,гугла и какой-то матери я его поставил.
      8294_zwite_log.txt

      1 Reply Last reply Reply Quote 0
      • Bluefox
        Bluefox last edited by

        А что было то?

        1 Reply Last reply Reply Quote 0
        • aurodionov
          aurodionov last edited by

          Вобщем встал криво, по моему что-то не то с кодировкой

          ! ````
          root@SmartHome:/opt/iobroker# npm install iobroker
          npm ERR! not a package /tmp/npm-1594-psWTuwUR/1446747427997-0.4993789638392627/tmp.tgz

          iobroker@0.5.6 install /opt/iobroker/node_modules/iobroker
          node lib/setup.js
          ! npm install iobroker.js-controller --production --prefix /opt/iobroker
          npm WARN engine hawk@3.1.0: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.29","npm":"1.4.21"})
          npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
          npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
          npm WARN engine boom@2.10.1: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
          In file included from ../src/validation.cc:15:0:
          ../node_modules/nan/nan.h:328:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’
          static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8;
          ^
          make: *** [Release/obj.target/validation/src/validation.o] Ошибка 1
          gyp ERR! build error
          gyp ERR! stack Error: make failed with exit code: 2
          gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
          gyp ERR! stack at ChildProcess.emit (events.js:98:17)
          gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12)
          gyp ERR! System Linux 3.16.0-4-686-pae
          gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate
          gyp ERR! node -v v0.10.29
          gyp ERR! node-gyp -v v0.12.2
          gyp ERR! not ok
          npm WARN This failure might be due to the use of legacy binary "node"
          npm WARN For further explanations, please read
          /usr/share/doc/nodejs/README.Debian

          In file included from ../src/bufferutil.cc:16:0:
          ../node_modules/nan/nan.h:328:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’
          static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8;
          ^
          make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Ошибка 1
          gyp ERR! build error
          gyp ERR! stack Error: make failed with exit code: 2
          gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
          gyp ERR! stack at ChildProcess.emit (events.js:98:17)
          gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12)
          gyp ERR! System Linux 3.16.0-4-686-pae
          gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil
          gyp ERR! node -v v0.10.29
          gyp ERR! node-gyp -v v0.12.2
          gyp ERR! not ok
          npm WARN optional dep failed, continuing utf-8-validate@1.2.1
          npm WARN This failure might be due to the use of legacy binary "node"
          npm WARN For further explanations, please read
          /usr/share/doc/nodejs/README.Debian

          In file included from ../src/validation.cc:15:0:
          ../node_modules/nan/nan.h:328:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’
          static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8;
          ^
          make: *** [Release/obj.target/validation/src/validation.o] Ошибка 1
          gyp ERR! build error
          gyp ERR! stack Error: make failed with exit code: 2
          gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
          gyp ERR! stack at ChildProcess.emit (events.js:98:17)
          gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12)
          gyp ERR! System Linux 3.16.0-4-686-pae
          gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate
          gyp ERR! node -v v0.10.29
          gyp ERR! node-gyp -v v0.12.2
          gyp ERR! not ok
          npm WARN optional dep failed, continuing bufferutil@1.2.1
          npm WARN This failure might be due to the use of legacy binary "node"
          npm WARN For further explanations, please read
          /usr/share/doc/nodejs/README.Debian

          In file included from ../src/bufferutil.cc:16:0:
          ../node_modules/nan/nan.h:328:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’
          static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8;
          ^
          make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Ошибка 1
          gyp ERR! build error
          gyp ERR! stack Error: make failed with exit code: 2
          gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
          gyp ERR! stack at ChildProcess.emit (events.js:98:17)
          gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12)
          gyp ERR! System Linux 3.16.0-4-686-pae
          gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil
          gyp ERR! node -v v0.10.29
          gyp ERR! node-gyp -v v0.12.2
          gyp ERR! not ok
          npm WARN optional dep failed, continuing utf-8-validate@1.2.1
          npm WARN This failure might be due to the use of legacy binary "node"
          npm WARN For further explanations, please read
          /usr/share/doc/nodejs/README.Debian

          npm WARN optional dep failed, continuing bufferutil@1.2.1
          npm install iobroker.admin --production --prefix /opt/iobroker
          npm WARN engine hawk@3.1.0: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.29","npm":"1.4.21"})
          npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
          npm WARN engine boom@2.10.1: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
          npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"})
          In file included from ../src/validation.cc:15:0:
          ../node_modules/nan/nan.h:328:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’
          static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8;
          ^
          make: *** [Release/obj.target/validation/src/validation.o] Ошибка 1
          gyp ERR! build error
          gyp ERR! stack Error: make failed with exit code: 2
          gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
          gyp ERR! stack at ChildProcess.emit (events.js:98:17)
          gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12)
          gyp ERR! System Linux 3.16.0-4-686-pae
          gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.admin/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate
          gyp ERR! node -v v0.10.29
          gyp ERR! node-gyp -v v0.12.2
          gyp ERR! not ok
          npm WARN This failure might be due to the use of legacy binary "node"
          npm WARN For further explanations, please read
          /usr/share/doc/nodejs/README.Debian

          In file included from ../src/bufferutil.cc:16:0:
          ../node_modules/nan/nan.h:328:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’
          static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8;
          ^
          make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Ошибка 1
          gyp ERR! build error
          gyp ERR! stack Error: make failed with exit code: 2
          gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
          gyp ERR! stack at ChildProcess.emit (events.js:98:17)
          gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12)
          gyp ERR! System Linux 3.16.0-4-686-pae
          gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.admin/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil
          gyp ERR! node -v v0.10.29
          gyp ERR! node-gyp -v v0.12.2
          gyp ERR! not ok
          npm WARN optional dep failed, continuing utf-8-validate@1.2.1
          npm WARN This failure might be due to the use of legacy binary "node"
          npm WARN For further explanations, please read
          /usr/share/doc/nodejs/README.Debian

          In file included from ../src/validation.cc:15:0:
          ../node_modules/nan/nan.h:328:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’
          static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8;
          ^
          make: *** [Release/obj.target/validation/src/validation.o] Ошибка 1
          gyp ERR! build error
          gyp ERR! stack Error: make failed with exit code: 2
          gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
          gyp ERR! stack at ChildProcess.emit (events.js:98:17)
          gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12)
          gyp ERR! System Linux 3.16.0-4-686-pae
          gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.admin/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate
          gyp ERR! node -v v0.10.29
          gyp ERR! node-gyp -v v0.12.2
          gyp ERR! not ok
          npm WARN optional dep failed, continuing bufferutil@1.2.1
          npm WARN This failure might be due to the use of legacy binary "node"
          npm WARN For further explanations, please read
          /usr/share/doc/nodejs/README.Debian

          In file included from ../src/bufferutil.cc:16:0:
          ../node_modules/nan/nan.h:328:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’
          static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8;
          ^
          make: *** [Release/obj.target/bufferutil/src/bufferutil.o] Ошибка 1
          gyp ERR! build error
          gyp ERR! stack Error: make failed with exit code: 2
          gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
          gyp ERR! stack at ChildProcess.emit (events.js:98:17)
          gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12)
          gyp ERR! System Linux 3.16.0-4-686-pae
          gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.admin/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/bufferutil
          gyp ERR! node -v v0.10.29
          gyp ERR! node-gyp -v v0.12.2
          gyp ERR! not ok
          npm WARN optional dep failed, continuing utf-8-validate@1.2.1
          npm WARN This failure might be due to the use of legacy binary "node"
          npm WARN For further explanations, please read
          /usr/share/doc/nodejs/README.Debian

          npm WARN optional dep failed, continuing bufferutil@1.2.1
          Write "./iobroker start" to start the ioBroker
          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.
          iobroker@0.5.6 node_modules/iobroker
          └── yargs@1.2.6 (minimist@0.1.0)
          root@SmartHome:/opt/iobroker# node -v
          v0.10.29

          ! ````
          Копаю дальше, натянул виз, не открывается

          1 Reply Last reply Reply Quote 0
          • H
            Haus last edited by

            Привет всем

            Вчера мучался пол дня с установкой Iobroker на Debian, сначала думал может какие проблемы с 8.2 (кстати nodejs есть в репозитариях) накатил 7.9 та же фигня ошибок и варнингов при установке кучи. Перечитал все способы установки и вуаля.

            Debian 8.2 чистый под "root"

            apt-get update
            apt-get upgrade
            apt-get install curl
            apt-get install build-essential
            curl -sL https://deb.nodesource.com/setup | bash -
            apt-get install nodejs
            mkdir /opt/iobroker
            chmod 777 /opt/iobroker
            cd /opt/iobroker
            npm install iobroker
            

            Проблемы с nodejs и npm в репозитах они старые и с кодировкой чего то не то если кому пригодится отпешитесь о результатах

            Вопрос к Bluefox не приходят обновления драйверов всё остальное как часы?

            ! root@Server1:~# cd /opt/iobroker
            ! root@Server1:/opt/iobroker# iobroker update
            ! update done
            ! Adapter "zwave" : 0.2.3
            ! Adapter "yr" : 0.1.9 , installed 0.1.9
            ! Adapter "wolf" : 0.0.9
            ! Adapter "web" : 1.2.1 , installed 1.2.1
            ! Adapter "vis-timeandweather": 0.0.2 , installed 0.0.2
            ! Adapter "vis-rgraph" : 0.0.2 , installed 0.0.2
            ! Adapter "vis-plumb" : 0.1.6
            ! Adapter "vis-metro" : 0.1.9
            ! Adapter "vis-lcars" : 0.1.6
            ! Adapter "vis-keyboard" : 0.0.2
            ! Adapter "vis-jqui-mfd" : 0.1.0
            ! Adapter "vis-hqwidgets" : 0.2.2 , installed 0.2.2
            ! Adapter "vis-google-fonts": 0.1.0
            ! Adapter "vis-fancyswitch": 0.1.0
            ! Adapter "vis-colorpicker": 0.1.1
            ! Adapter "vis-bars" : 0.1.1
            ! Adapter "vis" : 0.7.7 , installed 0.7.7
            ! Adapter "terminal" : 0.1.2
            ! Adapter "sonos" : 0.1.7
            ! Adapter "rickshaw" : 0.2.2 , installed 0.2.2
            ! Adapter "pushover" : 0.1.1
            ! Adapter "pushbullet" : 0.0.11
            ! Adapter "owfs" : 0.0.2 , installed 0.0.2
            ! Adapter "onkyo" : 0.1.9
            ! Adapter "socketio" : 1.0.0
            ! Adapter "simple-api" : 1.0.0
            ! Adapter "scenes" : 0.2.2
            ! Adapter "sayit" : 0.3.15 , installed 0.3.15
            ! Adapter "s7" : 0.2.4
            ! Adapter "ping" : 0.1.4
            ! Adapter "node-red" : 0.3.5
            ! Adapter "mqtt" : 0.2.15
            ! Adapter "modbus" : 0.3.9
            ! Adapter "mobile" : 0.0.5
            ! Adapter "megad" : 1.0.6 , installed 1.0.6
            ! Adapter "knx" : 0.2.10
            ! Controller "js-controller" : 0.7.15 , installed 0.7.15
            ! Adapter "javascript" : 1.0.7 , installed 1.0.7
            ! Adapter "icons-ultimate-png": 0.1.0
            ! Adapter "icons-open-icon-library-png": 0.1.1
            ! Adapter "icons-mfd-svg" : 0.1.2
            ! Adapter "icons-mfd-png" : 0.1.2
            ! Adapter "icons-material-svg": 0.1.0
            ! Adapter "icons-material-png": 0.1.0
            ! Adapter "icons-addictive-flavour-png": 0.1.0
            ! Adapter "ical" : 1.1.1 , installed 1.1.1
            ! Adapter "hmm" : 1.0.0
            ! Adapter "hue" : 0.5.1
            ! Adapter "hm-rpc" : 0.5.2
            ! Adapter "hm-rega" : 0.2.2
            ! Adapter "history" : 0.1.3 , installed 0.1.3
            ! Adapter "harmony" : 0.5.4
            ! Adapter "example" : 0.1.1 , installed 0.1.1
            ! Adapter "fritzbox" : 0.2.1
            ! Adapter "flot" : 0.1.1 , installed 0.1.1
            ! Adapter "email" : 0.1.2
            ! Adapter "dwd" : 1.0.1
            ! Adapter "cul" : 0.0.4
            ! Adapter "b-control-em" : 0.1.1
            ! Adapter "artnet" : 0.0.3
            ! Adapter "admin" : 0.6.6 , installed 0.6.6

            1 Reply Last reply Reply Quote 0
            • H
              Haus last edited by

              @Haus:

              Привет всем

              Вчера мучался пол дня с установкой Iobroker на Debian, сначала думал может какие проблемы с 8.2 (кстати nodejs есть в репозитариях) накатил 7.9 та же фигня ошибок и варнингов при установке кучи. Перечитал все способы установки и вуаля.

              Debian 8.2 чистый под "root"

              apt-get update
              apt-get upgrade
              apt-get install curl
              apt-get install build-essential
              curl -sL https://deb.nodesource.com/setup | bash -
              apt-get install nodejs
              mkdir /opt/iobroker
              chmod 777 /opt/iobroker
              cd /opt/iobroker
              npm install iobroker
              

              Проблемы с nodejs и npm в репозитах они старые и с кодировкой чего то не то если кому пригодится отпешитесь о результатах

              Вопрос к Bluefox не приходят обновления драйверов всё остальное как часы?

              ! root@Server1:~# cd /opt/iobroker
              ! root@Server1:/opt/iobroker# iobroker update
              ! update done
              ! Adapter "zwave" : 0.2.3
              ! Adapter "yr" : 0.1.9 , installed 0.1.9
              ! Adapter "wolf" : 0.0.9
              ! Adapter "web" : 1.2.1 , installed 1.2.1
              ! Adapter "vis-timeandweather": 0.0.2 , installed 0.0.2
              ! Adapter "vis-rgraph" : 0.0.2 , installed 0.0.2
              ! Adapter "vis-plumb" : 0.1.6
              ! Adapter "vis-metro" : 0.1.9
              ! Adapter "vis-lcars" : 0.1.6
              ! Adapter "vis-keyboard" : 0.0.2
              ! Adapter "vis-jqui-mfd" : 0.1.0
              ! Adapter "vis-hqwidgets" : 0.2.2 , installed 0.2.2
              ! Adapter "vis-google-fonts": 0.1.0
              ! Adapter "vis-fancyswitch": 0.1.0
              ! Adapter "vis-colorpicker": 0.1.1
              ! Adapter "vis-bars" : 0.1.1
              ! Adapter "vis" : 0.7.7 , installed 0.7.7
              ! Adapter "terminal" : 0.1.2
              ! Adapter "sonos" : 0.1.7
              ! Adapter "rickshaw" : 0.2.2 , installed 0.2.2
              ! Adapter "pushover" : 0.1.1
              ! Adapter "pushbullet" : 0.0.11
              ! Adapter "owfs" : 0.0.2 , installed 0.0.2
              ! Adapter "onkyo" : 0.1.9
              ! Adapter "socketio" : 1.0.0
              ! Adapter "simple-api" : 1.0.0
              ! Adapter "scenes" : 0.2.2
              ! Adapter "sayit" : 0.3.15 , installed 0.3.15
              ! Adapter "s7" : 0.2.4
              ! Adapter "ping" : 0.1.4
              ! Adapter "node-red" : 0.3.5
              ! Adapter "mqtt" : 0.2.15
              ! Adapter "modbus" : 0.3.9
              ! Adapter "mobile" : 0.0.5
              ! Adapter "megad" : 1.0.6 , installed 1.0.6
              ! Adapter "knx" : 0.2.10
              ! Controller "js-controller" : 0.7.15 , installed 0.7.15
              ! Adapter "javascript" : 1.0.7 , installed 1.0.7
              ! Adapter "icons-ultimate-png": 0.1.0
              ! Adapter "icons-open-icon-library-png": 0.1.1
              ! Adapter "icons-mfd-svg" : 0.1.2
              ! Adapter "icons-mfd-png" : 0.1.2
              ! Adapter "icons-material-svg": 0.1.0
              ! Adapter "icons-material-png": 0.1.0
              ! Adapter "icons-addictive-flavour-png": 0.1.0
              ! Adapter "ical" : 1.1.1 , installed 1.1.1
              ! Adapter "hmm" : 1.0.0
              ! Adapter "hue" : 0.5.1
              ! Adapter "hm-rpc" : 0.5.2
              ! Adapter "hm-rega" : 0.2.2
              ! Adapter "history" : 0.1.3 , installed 0.1.3
              ! Adapter "harmony" : 0.5.4
              ! Adapter "example" : 0.1.1 , installed 0.1.1
              ! Adapter "fritzbox" : 0.2.1
              ! Adapter "flot" : 0.1.1 , installed 0.1.1
              ! Adapter "email" : 0.1.2
              ! Adapter "dwd" : 1.0.1
              ! Adapter "cul" : 0.0.4
              ! Adapter "b-control-em" : 0.1.1
              ! Adapter "artnet" : 0.0.3
              ! Adapter "admin" : 0.6.6 , installed 0.6.6 `

              Сам себе и отвечу

              Нет обновлений.

              На гите рабочие версии, которые ни в коем случае нельзя устанавливать, если не знаешь javascript.

              Процесс разработки следующий. Я сначала заливаю версию на гит (она может быть и не рабочей). Потом прошу пользователей, кто не боится трудностей и способен определить проблемы установить эти версии специальной командой.

              Если у них бежит, то я заливаю версию на npm и вот оттуда она доступна всем.

              Почему у тебя показываются версии с гита надо ещё выяснить.

              Рабочую версию, кстати, можно посмотреть здесь http://iobroker.net:8081 и http://iobroker.net:8082/vis/edit.html

              1 Reply Last reply Reply Quote 0
              • E
                electric69 last edited by

                Пытаюсь установить iobroker на bananapi образ http://www.armbian.com/banana-pi/.

                NodeJS и NPM https://github.com/nodejs/node-v0.x-archive/wiki/Installing-Node.js-via-package-manager#debian-and-ubuntu-based-linux-distributions без проблем:

                root@bananapi:/# nodejs -v
                v5.1.1
                root@bananapi:/# npm -v
                3.3.12
                root@bananapi:/#
                
                

                Затем:

                $ cd /opt
                $ mkdir iobroker
                $ cd iobroker
                $ sudo npm install iobroker
                

                Ошибка:
                50_pic_32.jpg

                1 Reply Last reply Reply Quote 0
                • Bluefox
                  Bluefox last edited by

                  sudo npm install iobroker

                  1 Reply Last reply Reply Quote 0
                  • E
                    electric69 last edited by

                    @Bluefox:

                    sudo npm install iobroker `
                    Тоже самое.

                    Даже пробовал:

                    root@bananapi:/opt/iobroker# ln -s /usr/bin/nodejs /usr/bin/node
                    ln: failed to create symbolic link ‘/usr/bin/node’: File exists
                    root@bananapi:/opt/iobroker#
                    
                    

                    Говорит ссылка уже есть…

                    Я так понимаю, что нет прав на запись?

                    Хотя директорию node_modules и вложенные в нее создает...
                    50_pic_33.jpg
                    50_pic_34.jpg

                    1 Reply Last reply Reply Quote 0
                    • Bluefox
                      Bluefox last edited by

                      А если

                      sudo npm install iobroker --unsafe-perm
                      
                      

                      ?

                      1 Reply Last reply Reply Quote 0
                      • E
                        electric69 last edited by

                        @Bluefox:

                        А если

                        sudo npm install iobroker --unsafe-perm
                        
                        ```` `  
                        

                        Вроде прокатило))

                        Устанавливаю драйвера…
                        50_pic_35.jpg
                        7614_screenshot_2018-10-18_21.29.09.png

                        1 Reply Last reply Reply Quote 0
                        • D
                          DAndre last edited by

                          Здравствуйте.

                          CouchDB и Redis ставить?

                          1 Reply Last reply Reply Quote 0
                          • Bluefox
                            Bluefox last edited by

                            Нет.

                            Но можешь поставить influxdb, если знаешь как.

                            1 Reply Last reply Reply Quote 0
                            • D
                              DAndre last edited by

                              Как пишут умные люди–-

                              для 64-битных систем

                              $ wget http://s3.amazonaws.com/influxdb/influx ... _amd64.deb

                              $ sudo dpkg -i influxdb_latest_amd64.deb

                              для 32-битных систем

                              $ wget http://s3.amazonaws.com/influxdb/influx ... t_i386.deb

                              $ sudo dpkg -i influxdb_latest_i386.deb

                              По завершении установки запустим InfluxDB:

                              $ sudo /etc/init.d/influxdb start

                              1 Reply Last reply Reply Quote 0
                              • D
                                DAndre last edited by

                                Веселье в разгаре 😢

                                Last login: Sun Dec 20 18:44:57 2015 from homexp

                                xbmc@xbmc-desktop:~$ cd /opt/iobroker

                                xbmc@xbmc-desktop:/opt/iobroker$ sudo npm install iobroker

                                [sudo] password for xbmc:

                                npm http GET https://registry.npmjs.org/iobroker

                                npm http 304 https://registry.npmjs.org/iobroker

                                npm http GET https://registry.npmjs.org/yargs

                                npm http 304 https://registry.npmjs.org/yargs

                                npm http GET https://registry.npmjs.org/minimist

                                npm http 304 https://registry.npmjs.org/minimist

                                iobroker@0.5.6 install /opt/iobroker/node_modules/iobroker

                                node lib/setup.js

                                sh: 1: node: not found

                                npm WARN This failure might be due to the use of legacy binary "node"

                                npm WARN For further explanations, please read

                                /usr/share/doc/nodejs/README.Debian

                                npm ERR! weird error 127

                                npm ERR! not ok code 0

                                xbmc@xbmc-desktop:/opt/iobroker$

                                куда податся. sudo npm install iobroker –unsafe-perm тоже не катит 😞

                                1 Reply Last reply Reply Quote 0
                                • Bluefox
                                  Bluefox last edited by

                                  Команду node не находит.

                                  Напиши

                                  root@bananapi:/opt/iobroker# ln -s /usr/bin/nodejs /usr/bin/node
                                  
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    DAndre last edited by

                                    @Bluefox:

                                    Команду node не находит.

                                    Напиши

                                    root@bananapi:/opt/iobroker# ln -s /usr/bin/nodejs /usr/bin/node
                                    
                                    ```` `  
                                    

                                    Есть. пошло. полетело ….......надолго ли

                                    Спасиб. Пропишите для чайников.

                                    ps Везде враги кругом засады 😄 sudo unit 6

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      DAndre last edited by

                                      Системные настройки ==> репозитории

                                      стер случайно.

                                      Что туда вписать?

                                      1 Reply Last reply Reply Quote 0
                                      • Bluefox
                                        Bluefox last edited by

                                        @DAndre:

                                        Системные настройки ==> репозитории

                                        стер случайно.

                                        Что туда вписать? `

                                        default  | conf/sources-dist.json
                                        online   | https://raw.githubusercontent.com/ioBroker/ioBroker.js-controller/master/conf/sources-dist.json
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          kID last edited by

                                          @ford7:

                                          @ford7:

                                          Подскажите, как починить?

                                          вкладка "драйвера" пустая.

                                          upd:

                                          вкладка "сервера" тоже пустая.

                                          А в настройках все штатно: Вот при ****каждой**** попытке обновления js-controller происходит такая штука. Приходится заново руками js-controller устанавливать. Может у меня чего-то не так установилось изначально или строки какой-нить не хватает?
                                          Постигла та же самая печалька что и у ford7

                                          Только кроме описанного им на вкладке драйвера висит серая надпись "обновление", перестает обновляться Log. т.е вначале сообщения идут, а затем исчезают и чистое окно. При ребуте машины в окошко лога высыпается несколько строк.

                                          У меня лечится путем sudo iobroker restart, дальше все загружается и работает без глюков.

                                          sudo chmod 777 /opt/iobroker делал не помогает.

                                          По логу ни каких косяков не заметил.

                                          Удалил все драйвера кроме admina все так же.

                                          ! 2015-12-21 19:21:09.067 - info: host.debian-srv iobroker.js-controller version 0.8.2 js-controller starting
                                          ! 2015-12-21 19:21:09.072 - info: host.debian-srv Copyright © 2014-2015 bluefox, hobbyquaker
                                          ! 2015-12-21 19:21:09.073 - info: host.debian-srv hostname: debian-srv
                                          ! 2015-12-21 19:21:09.073 - info: host.debian-srv ip addresses:
                                          ! 2015-12-21 19:21:09.096 - info: inMem-states listening on port 9000
                                          ! 2015-12-21 19:21:09.122 - info: inMem-objects listening on port 9001
                                          ! 2015-12-21 19:21:09.129 - info: host.debian-srv InMemoryDB connected
                                          ! 2015-12-21 19:21:09.136 - info: host.debian-srv 1 instance found
                                          ! 2015-12-21 19:21:09.137 - info: host.debian-srv starting 1 instance
                                          ! 2015-12-21 19:21:09.156 - info: host.debian-srv instance system.adapter.admin.0 started with pid 935
                                          ! 2015-12-21 19:21:11.834 - info: admin.0 starting. Version 0.7.2 in /opt/iobroker/node_modules/iobroker.admin
                                          ! 2015-12-21 19:21:11.916 - info: admin.0 requesting all states
                                          ! 2015-12-21 19:21:11.919 - info: admin.0 requesting all objects
                                          ! 2015-12-21 19:21:11.920 - info: admin.0 Request actual repository...
                                          ! 2015-12-21 19:21:11.924 - info: admin.0 http server listening on port 8081
                                          ! 2015-12-21 19:21:11.924 - info: admin.0 Use link "http://localhost:8081" to configure.
                                          ! 2015-12-21 19:21:12.146 - info: admin.0 received all states
                                          ! 2015-12-21 19:21:12.229 - info: admin.0 received all objects
                                          ! 2015-12-21 19:21:12.285 - info: host.debian-srv Update repository "default" under "conf/sources-dist.json"
                                          ! 2015-12-21 19:21:19.490 - info: admin.0 Repository received successfully.
                                          ! Все молчок 😞
                                          ! sudo iobroker restart
                                          ! 2015-12-21 19:25:14.578 - info: host.debian-srv received SIGTERM
                                          ! 2015-12-21 19:25:14.579 - info: host.debian-srv stopInstance system.adapter.admin.0
                                          ! 2015-12-21 19:25:14.579 - info: host.debian-srv stopInstance system.adapter.admin.0 killing pid 935
                                          ! 2015-12-21 19:25:14.584 - info: admin.0 terminating http server on port 8081
                                          ! 2015-12-21 19:25:14.618 - info: admin.0 terminating
                                          ! 2015-12-21 19:25:14.646 - info: host.debian-srv instance system.adapter.admin.0 terminated with code 0 (OK)
                                          ! 2015-12-21 19:25:14.788 - info: host.debian-srv terminated
                                          ! 2015-12-21 19:25:15.590 - info: host.debian-srv received SIGTERM
                                          ! 2015-12-21 19:25:15.591 - info: host.debian-srv stopInstance system.adapter.admin.0
                                          ! 2015-12-21 19:25:15.591 - warn: host.debian-srv stopInstance system.adapter.admin.0 not running
                                          ! 2015-12-21 19:25:15.604 - info: host.debian-srv terminated
                                          ! 2015-12-21 19:25:17.376 - info: host.debian-srv iobroker.js-controller version 0.8.2 js-controller starting
                                          ! 2015-12-21 19:25:17.381 - info: host.debian-srv Copyright © 2014-2015 bluefox, hobbyquaker
                                          ! 2015-12-21 19:25:17.381 - info: host.debian-srv hostname: debian-srv
                                          ! 2015-12-21 19:25:17.381 - info: host.debian-srv ip addresses: 192.168.88.33 fe80::d250:99ff:fe76:6bdd
                                          ! 2015-12-21 19:25:17.396 - info: inMem-states listening on port 9000
                                          ! 2015-12-21 19:25:17.415 - info: inMem-objects listening on port 9001
                                          ! 2015-12-21 19:25:17.420 - info: host.debian-srv InMemoryDB connected
                                          ! 2015-12-21 19:25:17.425 - info: host.debian-srv 1 instance found
                                          ! 2015-12-21 19:25:17.426 - info: host.debian-srv starting 1 instance
                                          ! 2015-12-21 19:25:17.449 - info: host.debian-srv instance system.adapter.admin.0 started with pid 1061
                                          ! 2015-12-21 19:25:19.231 - info: admin.0 starting. Version 0.7.2 in /opt/iobroker/node_modules/iobroker.admin
                                          ! 2015-12-21 19:25:19.292 - info: admin.0 requesting all states
                                          ! 2015-12-21 19:25:19.296 - info: admin.0 requesting all objects
                                          ! 2015-12-21 19:25:19.298 - info: admin.0 Request actual repository...
                                          ! 2015-12-21 19:25:19.300 - info: admin.0 http server listening on port 8081
                                          ! 2015-12-21 19:25:19.300 - info: admin.0 Use link "http://localhost:8081" to configure.
                                          ! 2015-12-21 19:25:19.485 - info: admin.0 received all objects
                                          ! 2015-12-21 19:25:19.497 - info: admin.0 received all states
                                          ! 2015-12-21 19:25:19.543 - info: host.debian-srv Update repository "default" under "conf/sources-dist.json"
                                          ! 2015-12-21 19:25:28.392 - info: admin.0 Repository received successfully.
                                          ! А тут все работает
                                          До того как прибил все драйвера в логе некоторые стартовали

                                          ! 2015-12-21 18:52:24.992 - info: host.debian-srv iobroker.js-controller version 0.8.2 js-controller starting
                                          ! 2015-12-21 18:52:24.997 - info: host.debian-srv Copyright © 2014-2015 bluefox, hobbyquaker
                                          ! 2015-12-21 18:52:24.998 - info: host.debian-srv hostname: debian-srv
                                          ! 2015-12-21 18:52:24.998 - info: host.debian-srv ip addresses:
                                          ! 2015-12-21 18:52:25.020 - info: inMem-states listening on port 9000
                                          ! 2015-12-21 18:52:25.045 - info: inMem-objects listening on port 9001
                                          ! 2015-12-21 18:52:25.049 - info: host.debian-srv InMemoryDB connected
                                          ! 2015-12-21 18:52:25.055 - info: host.debian-srv 5 instances found
                                          ! 2015-12-21 18:52:25.056 - info: host.debian-srv starting 4 instances
                                          ! 2015-12-21 18:52:25.072 - info: host.debian-srv instance system.adapter.admin.0 started with pid 931
                                          ! 2015-12-21 18:52:27.954 - info: admin.0 starting. Version 0.7.2 in /opt/iobroker/node_modules/iobroker.admin
                                          ! 2015-12-21 18:52:28.032 - info: admin.0 requesting all states
                                          ! 2015-12-21 18:52:28.035 - info: admin.0 requesting all objects
                                          ! 2015-12-21 18:52:28.037 - info: admin.0 Request actual repository...
                                          ! 2015-12-21 18:52:28.040 - info: admin.0 http server listening on port 8081
                                          ! 2015-12-21 18:52:28.041 - info: admin.0 Use link "http://localhost:8081" to configure.
                                          ! 2015-12-21 18:52:28.331 - info: admin.0 received all states
                                          ! 2015-12-21 18:52:28.455 - info: admin.0 received all objects
                                          ! 2015-12-21 18:52:28.515 - info: host.debian-srv Update repository "default" under "conf/sources-dist.json"
                                          ! 2015-12-21 18:52:29.543 - info: host.debian-srv instance system.adapter.megad.0 started with pid 1017
                                          ! 2015-12-21 18:52:30.595 - info: megad.0 starting. Version 1.1.1 in /opt/iobroker/node_modules/iobroker.megad
                                          ! 2015-12-21 18:52:30.731 - warn: megad.0 port 80 already in use
                                          ! 2015-12-21 18:52:33.618 - info: host.debian-srv instance system.adapter.web.0 started with pid 1023
                                          ! 2015-12-21 18:52:34.939 - info: web.0 starting. Version 1.3.3 in /opt/iobroker/node_modules/iobroker.web
                                          ! 2015-12-21 18:52:35.740 - info: web.0 socket.io server listening on port 8082
                                          ! 2015-12-21 18:52:35.746 - info: web.0 http server listening on port 8082
                                          ! 2015-12-21 18:52:36.435 - info: admin.0 Repository received successfully.
                                          ! 2015-12-21 18:52:38.036 - info: vis.0 starting. Version 0.7.9 in /opt/iobroker/node_modules/iobroker.vis
                                          ! 2015-12-21 18:52:39.321 - info: host.debian-srv instance system.adapter.vis.0 terminated while should be started once
                                          ! 2015-12-21 19:15:42.566 - info: host.debian-srv received SIGTERM
                                          ! 2015-12-21 19:15:42.568 - info: host.debian-srv stopInstance system.adapter.admin.0
                                          ! 2015-12-21 19:15:42.568 - info: host.debian-srv stopInstance system.adapter.admin.0 killing pid 931
                                          ! 2015-12-21 19:15:42.568 - info: host.debian-srv stopInstance system.adapter.megad.0
                                          ! 2015-12-21 19:15:42.568 - info: host.debian-srv stopInstance system.adapter.megad.0 killing pid 1017
                                          ! 2015-12-21 19:15:42.568 - info: host.debian-srv stopInstance system.adapter.web.0
                                          ! 2015-12-21 19:15:42.568 - info: host.debian-srv stopInstance system.adapter.web.0 killing pid 1023
                                          ! 2015-12-21 19:15:42.569 - info: host.debian-srv stopInstance system.adapter.vis.0
                                          ! 2015-12-21 19:15:42.569 - info: host.debian-srv stopInstance system.adapter.javascript.0
                                          ! 2015-12-21 19:15:42.569 - warn: host.debian-srv stopInstance system.adapter.javascript.0 not running
                                          ! 2015-12-21 19:15:42.572 - info: web.0 terminating http server on port 8082
                                          ! 2015-12-21 19:15:42.573 - info: web.0 terminated http server on port 8082
                                          ! 2015-12-21 19:15:42.569 - info: admin.0 terminating http server on port 8081
                                          ! 2015-12-21 19:15:42.600 - info: web.0 terminating
                                          ! 2015-12-21 19:15:42.613 - info: host.debian-srv instance system.adapter.web.0 terminated with code 0 (OK)
                                          ! 2015-12-21 19:15:42.626 - info: admin.0 terminating
                                          ! 2015-12-21 19:15:42.638 - info: host.debian-srv instance system.adapter.admin.0 terminated with code 0 (OK)
                                          ! 2015-12-21 19:15:42.787 - info: host.debian-srv terminated
                                          ! 2015-12-21 19:15:43.570 - info: host.debian-srv received SIGTERM
                                          ! 2015-12-21 19:15:43.571 - info: host.debian-srv stopInstance system.adapter.admin.0
                                          ! 2015-12-21 19:15:43.571 - warn: host.debian-srv stopInstance system.adapter.admin.0 not running
                                          ! 2015-12-21 19:15:43.572 - info: host.debian-srv stopInstance system.adapter.megad.0
                                          ! 2015-12-21 19:15:43.572 - warn: host.debian-srv stopInstance system.adapter.megad.0 not running
                                          ! 2015-12-21 19:15:43.574 - info: host.debian-srv stopInstance system.adapter.web.0
                                          ! 2015-12-21 19:15:43.574 - warn: host.debian-srv stopInstance system.adapter.web.0 not running
                                          ! 2015-12-21 19:15:43.574 - info: host.debian-srv stopInstance system.adapter.vis.0
                                          ! 2015-12-21 19:15:43.575 - info: host.debian-srv stopInstance system.adapter.javascript.0
                                          ! 2015-12-21 19:15:43.576 - warn: host.debian-srv stopInstance system.adapter.javascript.0 not running
                                          ! 2015-12-21 19:15:43.583 - info: host.debian-srv terminated
                                          2995_meross_log.txt

                                          1 Reply Last reply Reply Quote 0
                                          • K
                                            kID last edited by

                                            @kID:

                                            @ford7:

                                            Подскажите, как починить?

                                            вкладка "драйвера" пустая.

                                            upd:

                                            вкладка "сервера" тоже пустая.

                                            А в настройках все штатно: `
                                            Постигла та же самая печалька что и у ford7

                                            Только кроме описанного им на вкладке драйвера висит серая надпись "обновление", перестает обновляться Log. т.е вначале сообщения идут, а затем исчезают и чистое окно. При ребуте машины в окошко лога высыпается несколько строк. `
                                            Получилось немного продвинуться в поисках истины 🙂

                                            Т.е победил этот глюк ? А дальше буду монгословным, потому как результат есть, а его объяснения нет.

                                            ! На чистую машину установил Debian 8.2 (jessie) графика KDE
                                            ! дальше по рецепту из wiki

                                            sudo apt-get update
                                            sudo apt-get install nodejs
                                            sudo apt-get install npm
                                            cd /opt
                                            mkdir iobroker
                                            cd iobroker
                                            sudo npm install iobroker
                                            sudo unit 6
                                            

                                            Получил как и многие вагон ошибок, хотя брокер установился и даже как то ворочался. Судя по логам не устраивала версия node.js

                                            ! удалил брокер
                                            ! sudo npm remove iobroker
                                            ! а дальше как подсказал Haus или написано https://github.com/nodejs/node-v0.x-arc … ge-manager

                                            apt-get update
                                            apt-get upgrade
                                            apt-get install curl
                                            apt-get install build-essential
                                            curl -sL https://deb.nodesource.com/setup | bash -
                                            apt-get install nodejs
                                            mkdir /opt/iobroker
                                            chmod 777 /opt/iobroker
                                            cd /opt/iobroker
                                            npm install iobroker
                                            

                                            дальше обновил npm как он предлагал при старте.

                                            ! Без ошибок установил необходимые мне драйвера и перезагрузился.
                                            ! ВСЕ дальше вкладка "драйвера" пустая. вкладка "сервера" тоже пустая.
                                            ! Естественно подумал что, что-то накосячил при установке, поэтому попробовал различные варианты удаления всех компонентов, постепенно увеличивающийся глубины. Не помогло. Но пришел вопрос - как правильно удалить iobroker ???
                                            ! пробовал sudo rm -rf /opt/iobroker и sudo npm remove iobroker
                                            ! под конец брокер вообще отказался устанавливаться ругаясь на что то js
                                            ! помогло только
                                            ! sudo npm install iobroker –unsafe-perm
                                            ! После опытным путем дошел до iobroker restart после которого до перезагрузки все работает.
                                            ! А теперь по причине праздников решил все таки добить брокера или от безисходности все переустанвить
                                            К чему пришел:

                                            у меня в etc\network\interfaces

                                            source /etc/network/interfaces.d/*
                                            # The loopback network interface
                                            auto lo
                                            iface lo inet loopback
                                            

                                            вроде все правильно, как в книжках написано, дальше network-manager из KDE добавляет все необходимые интерфейсы настроенные

                                            в графической оболочке. И действительно появляется интернет, доступ к компьютеру извне.

                                            Но как только я привел

                                            interfaces к виду

                                            auto lo eth0
                                            allow-hotplug eth0
                                            iface lo inet loopback
                                            iface eth0 inet dhcp
                                            
                                            

                                            на вкладке драйвера и сервера появилось содержимое.

                                            Почему так, объяснить не могу, вероятно брокер стартовал до того как KDE полностью настроит сеть, но по логам подтверждения этого не получил.
                                            9054_lupus-unscharf.jpg
                                            9054_lupus-scharf.jpg

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            435
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            29
                                            256
                                            80838
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo