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.
    • Bluefox
      Bluefox last edited by

      А где undefined?

      1 Reply Last reply Reply Quote 0
      • A
        Andrei34 last edited by

        Теперь почему-то вылетает Node-Red

        `node-red-0	2015-08-24 04:14:18	info	node-red exited with 1
        node-red-0	2015-08-24 04:14:18	debug	at Error (native)
        node-red-0	2015-08-24 04:14:18	debug	24 Aug 04:14:18 - Error: ENOENT, open '/opt/iobroker/opt/iobroker/log/iobroker.log.2015-08-24'
        node-red-0	2015-08-24 04:14:18	debug	24 Aug 04:14:18 - [red] Uncaught Exception:
        node-red-0	2015-08-24 04:14:18	debug	24 Aug 04:14:18 - [info] /opt/iobroker/iobroker-data/node-red/
        node-red-0	2015-08-24 04:14:18	debug	24 Aug 04:14:18 - [info] in the directory:
        node-red-0	2015-08-24 04:14:18	debug	24 Aug 04:14:18 - [info] npm install
        node-red-0	2015-08-24 04:14:18	debug	24 Aug 04:14:18 - [info] To install any of these missing modules, run:
        node-red-0	2015-08-24 04:14:18	debug	24 Aug 04:14:18 - [info] - serial-port (provided by npm module node-red-node-serialport)
        node-red-0	2015-08-24 04:14:18	debug	24 Aug 04:14:18 - [info] Waiting for missing types to be registered:
        node-red-0	2015-08-24 04:14:18	debug	24 Aug 04:14:18 - [info] Starting flows
        node-red-0	2015-08-24 04:14:18	debug	24 Aug 04:14:18 - [info] Server now running at http://127.0.0.1:1880/
        node-red-0	2015-08-24 04:14:18	debug	24 Aug 04:14:18 - [info] Flows file : /opt/iobroker/iobroker-data/node-red/flows.json
        node-red-0	2015-08-24 04:14:18	debug	24 Aug 04:14:18 - [info] User directory : /opt/iobroker/iobroker-data/node-red/
        node-red-0	2015-08-24 04:14:18	debug	24 Aug 04:14:18 - [info] Settings file : /opt/iobroker/iobroker-data/node-red/settings.js`[/red]
        
        1 Reply Last reply Reply Quote 0
        • A
          Andrei34 last edited by

          Спасибо с ioBroker.js-controller 0.7.11 всё опять заработало.

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

            BlueFox, подскажи пожалуйста, почему сервер не может получить сведения об обновлениях?

            Скрин лога прилагаю.

            Хотя интернет есть, все сайты пингуются, в том числе гитхаб…
            50_pic_45.jpg

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

              @electric69:

              BlueFox, подскажи пожалуйста, почему сервер не может получить сведения об обновлениях?

              Скрин лога прилагаю.

              Хотя интернет есть, все сайты пингуются, в том числе гитхаб… `
              Что пишет, если ты в консоли вызываешь

              iobroker update
              

              ?

              1 Reply Last reply Reply Quote 0
              • M
                MSapogov last edited by

                Спасибо за обновление драйвера Mega-D!

                А сейчас процесс установки на Debian Ubuntu (amd64) чемто отличается от приведенный на первой странице?

                Дохожу до

                /opt/iobroker# npm install iobroker

                А в ответ сразу:

                npm WARN cannot run in wd iobroker@0.5.6 node lib/setup.js (wd=/opt/iobroker/node_modules/iobroker)

                iobroker@0.5.6 node_modules/iobroker

                └── yargs@1.2.6 (minimist@0.1.0)

                И дальше тишина …

                Одинаково и в Debian 0.8.2 и Ubuntu 14.04

                Можно как-то обновить инструкцию...

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

                  Попробуй: sudo npm install iobroker
                  4867_skript.jpg

                  1 Reply Last reply Reply Quote 0
                  • M
                    MSapogov last edited by

                    @Bluefox:

                    Попробуй: sudo npm install iobroker `
                    Я все запускал от root-а.

                    Все оказалось очень просто…

                    Установка node из репозитория.

                    chmod 777 /opt/iobroker

                    и ссылка на "node" с помощью команды "sudo ln -s /usr/bin/nodejs /usr/bin/node"

                    После этого

                    npm install iobroker

                    Прошла как по маслу...

                    Спасибо.

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

                      Надо внести в инструкцию:
                      ` > Firts check if node.js is installed. You can do it with command node -v.

                      If you got an answer, you can continue with the installation.

                      If not. Try to install node.js with apt-get install nodejs.

                      Sometimes node.js has not installed the soft link. If you see outputs with /usr/bin/nodejs -v, following can help:

                      ln -s /usr/bin/nodejs /usr/bin/node `

                      1 Reply Last reply Reply Quote 0
                      • F
                        ford7 last edited by

                        @ford7:

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

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

                        upd:

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

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

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

                          @ford7:

                          @ford7:

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

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

                          upd:

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

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

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            548
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

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