Navigation

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

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

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

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

      А на

      cd /opt/iobroker
      iobroker update
      

      ?

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

        @Bluefox:

        А на

        cd /opt/iobroker
        iobroker update
        

        ? `

        root@zvmubn:/opt/iobroker# iobroker update
        update done
        Adapter    "zwave"         : 0.1.0    
        Adapter    "yr"            : 0.1.7    
        Adapter    "web"           : 0.4.3    , installed 0.4.3
        Adapter    "vis-plumb"     : 0.1.5    , installed 0.1.5
        Adapter    "vis-metro"     : 0.1.7    , installed 0.1.7
        Adapter    "vis-lcars"     : 0.1.6    , installed 0.1.6
        Adapter    "vis-hqwidgets" : 0.1.0    , installed 0.1.0
        Adapter    "vis-colorpicker": 0.1.0    , installed 0.1.0
        Adapter    "vis-bars"      : 0.0.3    , installed 0.0.3
        Adapter    "vis"           : 0.6.13   , installed 0.6.12 [Updateable]
        Adapter    "sonos"         : 0.1.6    
        Adapter    "rickshaw"      : 0.2.2    , installed 0.2.2
        Adapter    "pushover"      : 0.1.1    
        Adapter    "pushbullet"    : 0.0.6    
        Adapter    "owfs"          : 0.0.2    
        Adapter    "onkyo"         : 0.1.9    
        Adapter    "socketio"      : 0.4.5    
        Adapter    "simple-api"    : 0.1.1    
        Adapter    "scenes"        : 0.1.2    
        Adapter    "sayit"         : 0.3.11   
        Adapter    "s7"            : 0.1.8    , installed 0.1.8
        Adapter    "ping"          : 0.1.4    
        Adapter    "node-red"      : 0.3.5    
        Adapter    "mqtt"          : 0.2.9    
        Adapter    "megad"         : 0.1.1    
        Adapter    "knx"           : 0.0.1    
        Controller "js-controller" : 0.7.10   , installed 0.7.7 [Updateable]
        Adapter    "javascript"    : 0.5.5    , installed 0.5.4 [Updateable]
        Adapter    "icons-ultimate-png": 0.1.0    
        Adapter    "icons-open-icon-library-png": 0.1.1    
        Adapter    "icons-mfd-svg" : 0.1.0    
        Adapter    "icons-mfd-png" : 0.1.0    
        Adapter    "icons-material-svg": 0.1.0    
        Adapter    "icons-material-png": 0.1.0    
        Adapter    "icons-addictive-flavour-png": 0.1.0    , installed 0.1.0
        Adapter    "ical"          : 1.1.1    
        Adapter    "hmm"           : 0.1.1    
        Adapter    "hue"           : 0.4.3    
        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.2    
        Adapter    "example"       : 0.1.1    , installed 0.1.1
        Adapter    "fritzbox"      : 0.2.1    
        Adapter    "flot"          : 0.1.1    
        Adapter    "email"         : 0.1.2    
        Adapter    "dwd"           : 0.1.10   
        Adapter    "cul"           : 0.0.4    
        Adapter    "b-control-em"  : 0.1.1    
        Adapter    "artnet"        : 0.0.3    
        Adapter    "admin"         : 0.5.8    , installed 0.5.8
        root@zvmubn:/opt/iobroker# 
        

        327_datenpunkte_anlegen.js.txt

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

          @Bluefox:

          Была ошибка. Починил в 0.7.10 `
          Почему то некоторые (точнее почти все) адаптеры имеет статус "undefined".

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

          Лог работы iobroker:

          ! host-bananapi 2015-08-23 15:56:01 info Update repository "default" under "conf/sources-dist.json" host-bananapi 2015-08-23 15:42:22 warn warning: Looks like there is no internet. host-bananapi 2015-08-23 15:42:17 info Update repository "default" under "conf/sources-dist.json" host-bananapi 2015-08-23 14:43:43 warn warning: Looks like there is no internet. host-bananapi 2015-08-23 14:43:37 info Update repository "default" under "conf/sources-dist.json" host-bananapi 2015-08-23 14:28:56 warn warning: Looks like there is no internet. host-bananapi 2015-08-23 14:28:50 info Update repository "default" under "conf/sources-dist.json" host-bananapi 2015-08-23 14:27:33 warn warning: Looks like there is no internet. host-bananapi 2015-08-23 14:27:27 info Update repository "default" under "conf/sources-dist.json" host-bananapi 2015-08-23 14:21:49 warn warning: Looks like there is no internet. host-bananapi 2015-08-23 14:21:43 info Update repository "default" under "conf/sources-dist.json" host-bananapi 2015-08-23 14:19:11 warn warning: Looks like there is no internet. host-bananapi 2015-08-23 14:19:06 info Update repository "default" under "conf/sources-dist.json" admin-0 2015-08-23 14:14:48 info received all objects admin-0 2015-08-23 14:14:48 info received all states admin-0 2015-08-23 14:14:48 info Use link "http://localhost:8081" to configure. admin-0 2015-08-23 14:14:48 info http server listening on port 8081 admin-0 2015-08-23 14:14:48 info requesting all objects admin-0 2015-08-23 14:14:48 info requesting all states admin-0 2015-08-23 14:14:48 info starting. Version 0.5.8 in /opt/iobroker/node_modules/iobroker.admin host-bananapi 2015-08-23 14:14:38 info instance system.adapter.admin.0 started with pid 2384 host-bananapi 2015-08-23 14:14:38 info starting 1 instance host-bananapi 2015-08-23 14:14:38 info 1 instance found host-bananapi 2015-08-23 14:14:38 info InMemoryDB connected inMem-objects 2015-08-23 14:14:38 info listening on port 9001 inMem-states 2015-08-23 14:14:38 info listening on port 9000 host-bananapi 2015-08-23 14:14:38 info ip addresses: 192.168.69.20 fe80::17:5ff:fe01:d974 host-bananapi 2015-08-23 14:14:38 info hostname: bananapi host-bananapi 2015-08-23 14:14:38 info Copyright (c) 2014-2015 bluefox, hobbyquaker host-bananapi 2015-08-23 14:14:38 info ioBroker.js-controller version 0.7.10 js-controller starting host-bananapi 2015-08-23 14:13:29 info received SIGTERM host-bananapi 2015-08-23 14:13:29 info terminated host-bananapi 2015-08-23 14:13:27 info instance system.adapter.admin.0 terminated with code 0 (OK) admin-0 2015-08-23 14:13:26 info terminating admin-0 2015-08-23 14:13:26 info terminating http server on port 8081 host-bananapi 2015-08-23 14:13:26 info stopInstance system.adapter.admin.0 killing pid 3053 host-bananapi 2015-08-23 14:13:26 info stopInstance system.adapter.admin.0 host-bananapi 2015-08-23 14:13:26 info received SIGTERM host-bananapi 2015-08-23 14:11:38 warn warning: Looks like there is no internet. host-bananapi 2015-08-23 14:11:31 info Update repository "default" under "conf/sources-dist.json" admin-0 2015-08-23 14:09:44 info received all states admin-0 2015-08-23 14:09:44 info received all objects admin-0 2015-08-23 14:09:44 info Use link "http://localhost:8081" to configure. admin-0 2015-08-23 14:09:44 info http server listening on port 8081 admin-0 2015-08-23 14:09:44 info requesting all objects admin-0 2015-08-23 14:09:44 info requesting all states admin-0 2015-08-23 14:09:43 info starting. Version 0.5.8 in /opt/iobroker/node_modules/iobroker.admin host-bananapi 2015-08-23 14:09:33 info instance system.adapter.admin.0 started with pid 3053 host-bananapi 2015-08-23 14:09:33 info starting 1 instance host-bananapi 2015-08-23 14:09:33 info 1 instance found host-bananapi 2015-08-23 14:09:33 info InMemoryDB connected inMem-objects 2015-08-23 14:09:33 info listening on port 9001 inMem-states 2015-08-23 14:09:33 info listening on port 9000 host-bananapi 2015-08-23 14:09:33 info ip addresses: 192.168.69.20 fe80::17:5ff:fe01:d974 host-bananapi 2015-08-23 14:09:33 info hostname: bananapi host-bananapi 2015-08-23 14:09:32 info Copyright (c) 2014-2015 bluefox, hobbyquaker !
          50_pic_44.jpg
          50_pic_43.jpg

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.0k
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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