Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

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

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

      Сегодня "пал смертью храбрых" хард на неттопе где крутился iobroker, вагон бедов

      Отсель вопрос как быстро натянуть назад iobroker, ставил в первые версии, всё руками и исходников, что изменилось

      Сори ,что спрашиваю не перелопатив ветки и вики.

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

        ioBroker ставится 4мя командами:

        sudo mkdir /opt/iobroker
        cd /opt/iobroker
        sudo chmod 777 .
        sudo npm install iobroker
        
        1 Reply Last reply Reply Quote 0
        • aurodionov
          aurodionov last edited by

          Поменял хард, накатил debian 8.2.0, node, ставлю iobroker и получаю вагон варнингов и ошибок

          Может чего не установилось или забыл поставить, прошлый раз ноду собирал из сырцов, сейчас водрузил с репо

          ! ````
          root@SmartHome:/opt/iobroker# npm install iobroker

          iobroker@0.5.6 install /opt/node_modules/iobroker
          node lib/setup.js
          ! npm install iobroker.js-controller --production --prefix /opt
          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/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/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/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/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
          npm WARN engine hawk@3.1.0: wanted: {"node":">=0.10.32"} (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 hoek@2.16.3: 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/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/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/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/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
          Non-critical error: EISDIR, illegal operation on a directory '/opt/node_modules/iobroker/lib/../../../iobroker'
          iobroker@0.5.6 ../node_modules/iobroker
          └── yargs@1.2.6 (minimist@0.1.0)
          root@SmartHome:/opt/iobroker#

          ! ````

          1 Reply Last reply Reply Quote 0
          • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            511
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            29
                                            256
                                            80026
                                            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