Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Русский
  3. ioBroker
  4. ioBroker установка и конфигурация
  5. Инсталляция под Linux

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    5
    1
    137

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    8
    1
    170

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    871

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

Geplant Angeheftet Gesperrt Verschoben ioBroker установка и конфигурация
256 Beiträge 29 Kommentatoren 101.2k Aufrufe
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • E Offline
    E Offline
    evgeny_nd
    schrieb am zuletzt editiert von
    #244

    @lexa:

    Коллеги, что-то не заводится по такой простой инструкции. После запуска порт не слушает, и вебка не открывается соответственно:

    root@iobroker:/# ps xa
      PID TTY      STAT   TIME COMMAND
        1 ?        Ss     0:00 init -z
        2 ?        S      0:00 [kthreadd/108]
        3 ?        S      0:00 [khelper/108]
       80 ?        Ssl    0:04 iobroker.js-controller
       90 ?        Sl     0:05 /usr/bin/nodejs /opt/iobroker/node_modules/iobroker.admin/admin.js 0 info
      419 ?        Zs     0:00 [bash] <defunct>6790 ?        Ss     0:00 vzctl: pts/0
     6791 pts/0    Ss     0:00 -bash
     6803 pts/0    R+     0:00 ps xa</defunct> 
    
    root@iobroker:/# netstat -plant
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      1 192.168.0.108:56188     127.0.0.1:9001          SYN_SENT    90/nodejs
    tcp        0      1 192.168.0.108:56240     127.0.0.1:9001          SYN_SENT    90/nodejs
    tcp6       0      0 :::9000                 :::*                    LISTEN      80/iobroker.js-cont
    tcp6       0      0 :::9001                 :::*                    LISTEN      80/iobroker.js-cont
    
    

    Ubuntu 16.04.1 LTS `

    На Ubuntu можно попробовать NPM через менеджер пакетов установить.

    И еще в идеале, если вы включите возможность зайти под именем root.

    И залогинится в консоль и уже от туда все установить под root.

    У меня через sudo вставало криво на Linux Mint.

    1 Antwort Letzte Antwort
    0
    • L Offline
      L Offline
      lexa
      schrieb am zuletzt editiert von
      #245
      root@iobroker:~# netstat -n -a
      Active Internet connections (servers and established)
      Proto Recv-Q Send-Q Local Address           Foreign Address         State
      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
      tcp        0      1 192.168.0.108:32900     127.0.0.1:9001          SYN_SENT
      tcp        0      1 192.168.0.108:32862     127.0.0.1:9001          SYN_SENT
      tcp        0      0 192.168.0.108:22        192.168.0.1:51673     ESTABLISHED
      tcp        0      1 192.168.0.108:32882     127.0.0.1:9001          SYN_SENT
      tcp6       0      0 :::9000                 :::*                    LISTEN
      tcp6       0      0 :::9001                 :::*                    LISTEN
      tcp6       0      0 :::22                   :::*                    LISTEN
      Active UNIX domain sockets (servers and established)
      Proto RefCnt Flags       Type       State         I-Node   Path
      unix  3      [ ]         STREAM     CONNECTED     1914048268
      unix  3      [ ]         STREAM     CONNECTED     1914048267
      
      
      root@iobroker:~# node -v
      v4.7.0
      
      

      это openvz контейнер с шаблонной Ubuntu Server - ubuntu-16.04-x86_64

      Установка через apt-get вываливает кучу зависимостей у node* и решает их. Сейчас подниму новый контейнер.

      1 Antwort Letzte Antwort
      0
      • L Offline
        L Offline
        lexa
        schrieb am zuletzt editiert von
        #246

        Мда, на новом контейнере еще хуже. node и npm через apt-get поставил.

        iobroker не ставится:

        npm install iobroker --unsafe-perm
        
        > iobroker@0.7.1 install /opt/iobroker/node_modules/iobroker
        > node lib/setup.js
        
        sh: 1: node: not found
        npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
        npm WARN iobroker No description
        npm WARN iobroker No repository field.
        npm WARN iobroker No README data
        npm WARN iobroker No license field.
        npm ERR! Linux 2.6.32-29-pve
        npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker" "--unsafe-perm"
        npm ERR! node v4.2.6
        npm ERR! npm  v3.5.2
        npm ERR! file sh
        npm ERR! code ELIFECYCLE
        npm ERR! errno ENOENT
        npm ERR! syscall spawn
        
        npm ERR! iobroker@0.7.1 install: `node lib/setup.js`
        npm ERR! spawn ENOENT
        npm ERR!
        npm ERR! Failed at the iobroker@0.7.1 install script 'node lib/setup.js'.
        npm ERR! Make sure you have the latest version of node.js and npm installed.
        npm ERR! If you do, this is most likely a problem with the iobroker package,
        npm ERR! not with npm itself.
        npm ERR! Tell the author that this fails on your system:
        npm ERR!     node lib/setup.js
        npm ERR! You can get information on how to open an issue for this project with:
        npm ERR!     npm bugs iobroker
        npm ERR! Or if that isn't available, you can get their info via:
        npm ERR!     npm owner ls iobroker
        npm ERR! There is likely additional logging output above.
        
        npm ERR! Please include the following file with any support request:
        npm ERR!     /opt/iobroker/npm-debug.log
        
        

        npm 3.5.2

        node v4.2.6

        1 Antwort Letzte Antwort
        0
        • L Offline
          L Offline
          lexa
          schrieb am zuletzt editiert von
          #247

          взял еще один контейнер, зашел в него по ssh и поставил по инструкции:

          http://www.iobroker.net/docu/?page_id=5637&lang=ru

          точно такой же эффект, как в первом посте:

          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.7.1 node_modules/iobroker
          └── yargs@4.8.1 (get-caller-file@1.0.2, lodash.assign@4.2.0, decamelize@1.2.0, y18n@3.2.1, which-module@1.0.0, set-blocking@2.0.0, window-size@0.2.0, require-main-filename@1.0.1, require-directory@2.1.1, yargs-parser@2.4.1, os-locale@1.4.0, cliui@3.2.0, string-width@1.0.2, read-pkg-up@1.0.1)
          
          

          только вот порт не открыт:
          ` > root@iobroker3:/# netstat -na

          Active Internet connections (servers and established)

          Proto Recv-Q Send-Q Local Address Foreign Address State

          tcp6 0 0 :::9000 :::* LISTEN

          tcp6 0 0 :::9001 :::* LISTEN

          Active UNIX domain sockets (servers and established)

          Proto RefCnt Flags Type State I-Node Path

          STREAM CONNECTED 1917940775

          STREAM CONNECTED 1917940774 `

          ` > root@iobroker3:/# node -v

          v4.7.0 `

          1 Antwort Letzte Antwort
          0
          • L Offline
            L Offline
            lexa
            schrieb am zuletzt editiert von
            #248

            Короче на дебиане никак не заводится.

            За то установилось на centos6, вроде без проблем, пробую)

            1 Antwort Letzte Antwort
            0
            • R Offline
              R Offline
              radon
              schrieb am zuletzt editiert von
              #249

              @lexa:

              Короче на дебиане никак не заводится.

              За то установилось на centos6, вроде без проблем, пробую) `

              У меня проблема с debianom была в том что скачан был дистрибутив CD 200 с чем-то мегов, там небыло половины нужных пакетов потому ничего не ставилось, после установки с DVD всё стало нормально

              1 Antwort Letzte Antwort
              0
              • L Offline
                L Offline
                lexa
                schrieb am zuletzt editiert von
                #250

                @radon:

                У меня проблема с debianom была в том что скачан был дистрибутив CD 200 с чем-то мегов, там небыло половины нужных пакетов потому ничего не ставилось, после установки с DVD всё стало нормально `

                да, это почти "minimal" дистриб, пакетов там мало (wget, curl, mc не установлены). Почему тогда в зависимостях не вылезает?

                Ну в любом случае, на таком же минимальном дистрибутиве в centos запустилось без проблем.

                1 Antwort Letzte Antwort
                0
                • S Offline
                  S Offline
                  sscorpio
                  schrieb am zuletzt editiert von
                  #251

                  Нужна подсказка коллективного разума.

                  Ставлю на CentOS 7

                  node -v

                  v6.10.3

                  npm -v

                  3.10.10

                  Вот лог установки

                  ! sudo npm install iobroker –unsafe-perm
                  ! > iobroker@1.0.0 install /opt/iobroker/node_modules/iobroker
                  ! > node lib/setup.js
                  ! npm install iobroker.discovery --production --prefix /opt/iobroker
                  ! In file included from ../src/dns_sd.cpp:1:0:
                  ! ../src/mdns.hpp:32:20: фатальная ошибка: dns_sd.h: Нет такого файла или каталога
                  ! #include <dns_sd.h>^
                  ! компиляция прервана.
                  ! make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Ошибка 1
                  ! gyp ERR! build error
                  ! gyp ERR! stack Error: make failed with exit code: 2
                  ! gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/lib/build.js:276:23)
                  ! gyp ERR! stack at emitTwo (events.js:106:13)
                  ! gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                  ! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
                  ! gyp ERR! System Linux 3.10.0-514.26.2.el7.x86_64
                  ! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                  ! gyp ERR! cwd /opt/iobroker/node_modules/mdns
                  ! gyp ERR! node -v v6.10.3
                  ! gyp ERR! node-gyp -v v3.4.0
                  ! gyp ERR! not ok
                  ! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                  ! npm WARN iobroker No description
                  ! npm WARN iobroker No repository field.
                  ! npm WARN iobroker No README data
                  ! npm WARN iobroker No license field.
                  ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.3.3 (node_modules/mdns):
                  ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.3.3 install: node-gyp rebuild
                  ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                  ! npm install iobroker.admin –production --prefix /opt/iobroker
                  ! In file included from ../src/dns_sd.cpp:1:0:
                  ! ../src/mdns.hpp:32:20: фатальная ошибка: dns_sd.h: Нет такого файла или каталога
                  ! #include <dns_sd.h>^
                  ! компиляция прервана.
                  ! make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Ошибка 1
                  ! gyp ERR! build error
                  ! gyp ERR! stack Error: make failed with exit code: 2
                  ! gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/lib/build.js:276:23)
                  ! gyp ERR! stack at emitTwo (events.js:106:13)
                  ! gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                  ! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
                  ! gyp ERR! System Linux 3.10.0-514.26.2.el7.x86_64
                  ! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                  ! gyp ERR! cwd /opt/iobroker/node_modules/mdns
                  ! gyp ERR! node -v v6.10.3
                  ! gyp ERR! node-gyp -v v3.4.0
                  ! gyp ERR! not ok
                  ! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                  ! npm WARN iobroker No description
                  ! npm WARN iobroker No repository field.
                  ! npm WARN iobroker No README data
                  ! npm WARN iobroker No license field.
                  ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.3.3 (node_modules/mdns):
                  ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.3.3 install: node-gyp rebuild
                  ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                  ! npm install iobroker.js-controller –production --prefix /opt/iobroker
                  ! In file included from ../src/dns_sd.cpp:1:0:
                  ! ../src/mdns.hpp:32:20: фатальная ошибка: dns_sd.h: Нет такого файла или каталога
                  ! #include <dns_sd.h>^
                  ! компиляция прервана.
                  ! make: *** [Release/obj.target/dns_sd_bindings/src/dns_sd.o] Ошибка 1
                  ! gyp ERR! build error
                  ! gyp ERR! stack Error: make failed with exit code: 2
                  ! gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/lib/build.js:276:23)
                  ! gyp ERR! stack at emitTwo (events.js:106:13)
                  ! gyp ERR! stack at ChildProcess.emit (events.js:191:7)
                  ! gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
                  ! gyp ERR! System Linux 3.10.0-514.26.2.el7.x86_64
                  ! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                  ! gyp ERR! cwd /opt/iobroker/node_modules/mdns
                  ! gyp ERR! node -v v6.10.3
                  ! gyp ERR! node-gyp -v v3.4.0
                  ! gyp ERR! not ok
                  ! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                  ! npm WARN iobroker No description
                  ! npm WARN iobroker No repository field.
                  ! npm WARN iobroker No README data
                  ! npm WARN iobroker No license field.
                  ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.3.3 (node_modules/mdns):
                  ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: mdns@2.3.3 install: node-gyp rebuild
                  ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                  ! Write "./iobroker start" to start the ioBroker
                  ! /opt/iobroker/node_modules/iobroker/lib/../install/linux/install.sh: line 61: update-rc.d: команда не найдена
                  ! : Нет такого файла или каталога
                  ! 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.
                  ! /opt/iobroker
                  ! └─┬ iobroker@1.0.0
                  ! └─┬ yargs@7.1.0
                  ! ├── camelcase@3.0.0
                  ! ├─┬ cliui@3.2.0
                  ! │ ├─┬ strip-ansi@3.0.1
                  ! │ │ └── ansi-regex@2.1.1
                  ! │ └── wrap-ansi@2.1.0
                  ! ├── decamelize@1.2.0
                  ! ├── get-caller-file@1.0.2
                  ! ├─┬ os-locale@1.4.0
                  ! │ └─┬ lcid@1.0.0
                  ! │ └── invert-kv@1.0.0
                  ! ├─┬ read-pkg-up@1.0.1
                  ! │ ├─┬ find-up@1.1.2
                  ! │ │ ├── path-exists@2.1.0
                  ! │ │ └─┬ pinkie-promise@2.0.1
                  ! │ │ └── pinkie@2.0.4
                  ! │ └─┬ read-pkg@1.1.0
                  ! │ ├─┬ load-json-file@1.1.0
                  ! │ │ ├── graceful-fs@4.1.11
                  ! │ │ ├─┬ parse-json@2.2.0
                  ! │ │ │ └─┬ error-ex@1.3.1
                  ! │ │ │ └── is-arrayish@0.2.1
                  ! │ │ ├── pify@2.3.0
                  ! │ │ └─┬ strip-bom@2.0.0
                  ! │ │ └── is-utf8@0.2.1
                  ! │ ├─┬ normalize-package-data@2.4.0
                  ! │ │ ├── hosted-git-info@2.5.0
                  ! │ │ ├─┬ is-builtin-module@1.0.0
                  ! │ │ │ └── builtin-modules@1.1.1
                  ! │ │ ├── semver@5.3.0
                  ! │ │ └─┬ validate-npm-package-license@3.0.1
                  ! │ │ ├─┬ spdx-correct@1.0.2
                  ! │ │ │ └── spdx-license-ids@1.2.2
                  ! │ │ └── spdx-expression-parse@1.0.4
                  ! │ └── path-type@1.1.0
                  ! ├── require-directory@2.1.1
                  ! ├── require-main-filename@1.0.1
                  ! ├── set-blocking@2.0.0
                  ! ├─┬ string-width@1.0.2
                  ! │ ├── code-point-at@1.1.0
                  ! │ └─┬ is-fullwidth-code-point@1.0.0
                  ! │ └── number-is-nan@1.0.1
                  ! ├── which-module@1.0.0
                  ! ├── y18n@3.2.1
                  ! └── yargs-parser@5.0.0
                  ! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                  ! npm WARN iobroker No description
                  ! npm WARN iobroker No repository field.
                  ! npm WARN iobroker No README data
                  ! npm WARN iobroker No license field.</dns_sd.h></dns_sd.h></dns_sd.h>
                  чего не хватает ?

                  как установить ?

                  1 Antwort Letzte Antwort
                  0
                  • P Offline
                    P Offline
                    Pooh
                    schrieb am zuletzt editiert von
                    #252

                    Не знает чем компилировать?

                    перешли в целевую папку?

                    на дебианообразных:

                    apt-get install build-essential libavahi-compat-libdnssd-dev

                    на центось тоже есть что-то наверное….

                    https://play.google.com/store/apps/details?id=com.roy.royclub - код: UMI201155
                    https://play.google.com/store/apps/details?id=com.blockchainvault - код приглашения: Freepooh
                    https://play.google.com/store/apps/details?id=games.bee.app - код приглашения: freepooh
                    https://www.timestope.com/freepooh - witness code: freepooh

                    1 Antwort Letzte Antwort
                    0
                    • S Offline
                      S Offline
                      sscorpio
                      schrieb am zuletzt editiert von
                      #253

                      @Pooh:

                      Не знает чем компилировать?

                      не дебианообразных:

                      apt-get install build-essential libavahi-compat-libdnssd-dev

                      по центось тоже есть что-то наверное…. `
                      с компиляцией всё в порядке.

                      make отрабатывает нормально

                      g++ так же в системе присутствует.

                      посмотрите лог - там нет ругани на них.

                      1 Antwort Letzte Antwort
                      0
                      • P Offline
                        P Offline
                        Pooh
                        schrieb am zuletzt editiert von
                        #254

                        В целевую папку перешли? ну и создать ее надо предварительно и дать права пока 777 потом переправите…

                        http://forum.iobroker.net/viewtopic.php?f=25&t=6496

                        https://play.google.com/store/apps/details?id=com.roy.royclub - код: UMI201155
                        https://play.google.com/store/apps/details?id=com.blockchainvault - код приглашения: Freepooh
                        https://play.google.com/store/apps/details?id=games.bee.app - код приглашения: freepooh
                        https://www.timestope.com/freepooh - witness code: freepooh

                        1 Antwort Letzte Antwort
                        0
                        • S Offline
                          S Offline
                          sscorpio
                          schrieb am zuletzt editiert von
                          #255

                          @Pooh:

                          В целевую папку перешли? ну и создать ее надо предварительно и дать права пока 777 потом переправите…

                          http://forum.iobroker.net/viewtopic.php?f=25&t=6496 `
                          эт всё делал.

                          порешалось так.

                          удалил всё в директории iobroker

                          sudo npm install iobroker –unsafe-perm

                          npm install iobroker.js-controller

                          ./iobroker start

                          ./iobroker add admin

                          ./iobroker restart

                          поднялось

                          1 Antwort Letzte Antwort
                          0
                          • P Offline
                            P Offline
                            Pooh
                            schrieb am zuletzt editiert von
                            #256

                            у меня с sudo были глюки, зашел под рутом - все ок

                            https://play.google.com/store/apps/details?id=com.roy.royclub - код: UMI201155
                            https://play.google.com/store/apps/details?id=com.blockchainvault - код приглашения: Freepooh
                            https://play.google.com/store/apps/details?id=games.bee.app - код приглашения: freepooh
                            https://www.timestope.com/freepooh - witness code: freepooh

                            1 Antwort Letzte Antwort
                            0

                            Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                            Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                            Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                            Registrieren Anmelden
                            Antworten
                            • In einem neuen Thema antworten
                            Anmelden zum Antworten
                            • Älteste zuerst
                            • Neuste zuerst
                            • Meiste Stimmen


                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            441

                            Online

                            32.8k

                            Benutzer

                            82.7k

                            Themen

                            1.3m

                            Beiträge
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                            ioBroker Community 2014-2025
                            logo
                            • Anmelden

                            • Du hast noch kein Konto? Registrieren

                            • Anmelden oder registrieren, um zu suchen
                            • Erster Beitrag
                              Letzter Beitrag
                            0
                            • Home
                            • Aktuell
                            • Tags
                            • Ungelesen 0
                            • Kategorien
                            • Unreplied
                            • Beliebt
                            • GitHub
                            • Docu
                            • Hilfe