Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Русский
  3. ioBroker
  4. ioBroker установка и конфигурация
  5. Инсталляция под Linux

NEWS

  • Wartung am 15.11. – Forum ab 22:00 Uhr nicht erreichbar
    BluefoxB
    Bluefox
    12
    2
    271

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.7k

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

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

Scheduled Pinned Locked Moved ioBroker установка и конфигурация
256 Posts 29 Posters 94.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Haus
    wrote on last edited by
    #203

    @Haus:

    @Haus:

    @fotya:

    Теперь вот такое выдает.

    root@pi ~ # sudo /etc/init.d/iobroker.sh start
    sudo will not execute and completion _sudo exists.
    
    

    Может куда принудительно строку добавить?
    Попробуй

    chmod 777 /opt/iobroker

    /etc/init.d/iobroker.sh start

    или

    apt-get install sudo

    sudo /etc/init.d/iobroker.sh start `

    js-controller: 1.5.7 / node.js: v8.15.1/ npm: 6.4.1

    admin: 3.6.0

    javascript: 4.1.10

    web: 2.4.1 vis: 1.1.10

    cloud: 2.6.2

    Server: DELL FX170 / linux: Debian 9.5 Stretch

    Adapter: MegaD-2561, Mega-ES…

    1 Reply Last reply
    0
    • F Offline
      F Offline
      fotya
      wrote on last edited by
      #204

      Тоже нет, ну не хочет .

      root@pi ~ # chmod 777 /opt/iobroker
      root@pi ~ # /etc/init.d/iobroker.sh start
      zsh: Отказано в доступе: /etc/init.d/iobroker.sh
      126 root@pi ~ # sudo /etc/init.d/iobroker.sh start                           :(
      sudo: /etc/init.d/iobroker.sh: command not found
      
      
      1 Reply Last reply
      0
      • BluefoxB Offline
        BluefoxB Offline
        Bluefox
        wrote on last edited by
        #205

        @fotya:

        Тоже нет, ну не хочет .

        root@pi ~ # chmod 777 /opt/iobroker
        root@pi ~ # /etc/init.d/iobroker.sh start
        zsh: Отказано в доступе: /etc/init.d/iobroker.sh
        126 root@pi ~ # sudo /etc/init.d/iobroker.sh start                           :(
        sudo: /etc/init.d/iobroker.sh: command not found
        
        ```` `  
        

        Ты не выполнил apt-get

        1 Reply Last reply
        0
        • F Offline
          F Offline
          fotya
          wrote on last edited by
          #206

          Выполнил и перезагрузил, на всякий случай.

          1 Reply Last reply
          0
          • BluefoxB Offline
            BluefoxB Offline
            Bluefox
            wrote on last edited by
            #207

            @fotya:

            Сделал и перезагрузил, на всякий. `
            Кажется я понял. Ты устанавливал не iobroker, а js-controller?````
            cd /etc/init.d
            sudo wget https://raw.githubusercontent.com/ioBroker/ioBroker/master/install/linux/iobroker.sh
            sudo wget https://raw.githubusercontent.com/ioBroker/ioBroker/master/install/linux/install.sh
            sudo bash ./install.sh
            sudo rm install.sh

            1 Reply Last reply
            0
            • F Offline
              F Offline
              fotya
              wrote on last edited by
              #208

              Снова нет, не хочет.

              root@pi ~ # sudo bash ./install.sh
              Use user root for install.
              Set permissions...
              Start iobroker...
              ./install.sh: line 65: cd: @@PATH@@: Нет такого файла или каталога
              ./install.sh: line 67: ./iobroker: Нет такого файла или каталога
              call http://ip_address:8081/ in browser to get the AdminUI of ioBroker
              root@pi ~ #
              
              
              1 Reply Last reply
              0
              • BluefoxB Offline
                BluefoxB Offline
                Bluefox
                wrote on last edited by
                #209

                @fotya:

                Снова нет, не хочет.

                root@pi ~ # sudo bash ./install.sh
                Use user root for install.
                Set permissions...
                Start iobroker...
                ./install.sh: line 65: cd: @@PATH@@: Нет такого файла или каталога
                ./install.sh: line 67: ./iobroker: Нет такого файла или каталога
                call http://ip_address:8081/ in browser to get the AdminUI of ioBroker
                root@pi ~ #
                
                ```` `  
                

                Можешь просто написать:

                cd /opt/iobroker
                iobroker stop
                npm install iobroker
                iobroker start
                

                После этого у тебя должна появится папка /opt/iobroker/node_modules/iobroker

                1 Reply Last reply
                0
                • F Offline
                  F Offline
                  fotya
                  wrote on last edited by
                  #210

                  Кажется проблема в самом начале ,при установке nodejs и npm.

                  Есть пошаговая инструкция по установке?

                  1 Reply Last reply
                  0
                  • BluefoxB Offline
                    BluefoxB Offline
                    Bluefox
                    wrote on last edited by
                    #211

                    @fotya:

                    Кажется проблема в самом начале ,при установке nodejs и npm.

                    Есть пошаговая инструкция по установке? `
                    http://www.iobroker.net/docu/?page_id=2630&lang=ru

                    1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      rosh_11
                      wrote on last edited by
                      #212

                      Доброго времени суток, коллеги.

                      Есть пара вопросов:

                      • поддерживается ли ARMBIAN на базе Ubuntu Xenial ? (использую OrangePI PC)

                      • если да, то как исправить сбой установки (лог ниже)

                      ! root@orangepipc:~# nodejs -v
                      ! v4.2.6
                      ! root@orangepipc:~# npm -v
                      ! 3.5.2
                      ! root@orangepipc:~# mkdir /opt/iobroker
                      ! root@orangepipc:~# chmod 777 /opt/iobroker
                      ! root@orangepipc:~# cd /opt/iobroker
                      ! root@orangepipc:/opt/iobroker# :/opt/iobroker# npm install iobroker
                      ! -bash: :/opt/iobroker#: No such file or directory
                      ! root@orangepipc:/opt/iobroker# /opt/iobroker# npm install iobroker
                      ! -bash: /opt/iobroker#: No such file or directory
                      ! root@orangepipc:/opt/iobroker# ls
                      ! root@orangepipc:/opt/iobroker# pwd
                      ! /opt/iobroker
                      ! root@orangepipc:/opt/iobroker# npm install iobroker
                      ! npm WARN lifecycle iobroker@0.7.1~install: cannot run in wd %s %s (wd=%s) iobroker@0.7.1 node lib/setup.js /opt/iobroker/node_modules/iobroker
                      ! /opt/iobroker
                      ! └─┬ iobroker@0.7.1
                      ! └─┬ yargs@4.7.1
                      ! ├── camelcase@3.0.0
                      ! ├─┬ cliui@3.2.0
                      ! │ ├─┬ strip-ansi@3.0.1
                      ! │ │ └── ansi-regex@2.0.0
                      ! │ └── wrap-ansi@2.0.0
                      ! ├── decamelize@1.2.0
                      ! ├─┬ lodash.assign@4.0.9
                      ! │ ├── lodash.keys@4.0.7
                      ! │ └── lodash.rest@4.0.3
                      ! ├─┬ os-locale@1.4.0
                      ! │ └─┬ lcid@1.0.0
                      ! │ └── invert-kv@1.0.0
                      ! ├─┬ pkg-conf@1.1.3
                      ! │ ├─┬ find-up@1.1.2
                      ! │ │ ├── path-exists@2.1.0
                      ! │ │ └─┬ pinkie-promise@2.0.1
                      ! │ │ └── pinkie@2.0.4
                      ! │ ├─┬ load-json-file@1.1.0
                      ! │ │ ├── graceful-fs@4.1.4
                      ! │ │ ├─┬ parse-json@2.2.0
                      ! │ │ │ └─┬ error-ex@1.3.0
                      ! │ │ │ └── is-arrayish@0.2.1
                      ! │ │ ├── pify@2.3.0
                      ! │ │ └─┬ strip-bom@2.0.0
                      ! │ │ └── is-utf8@0.2.1
                      ! │ ├── object-assign@4.1.0
                      ! │ └── symbol@0.2.3
                      ! ├─┬ read-pkg-up@1.0.1
                      ! │ └─┬ read-pkg@1.1.0
                      ! │ ├─┬ normalize-package-data@2.3.5
                      ! │ │ ├── hosted-git-info@2.1.5
                      ! │ │ ├─┬ is-builtin-module@1.0.0
                      ! │ │ │ └── builtin-modules@1.1.1
                      ! │ │ ├── semver@5.1.1
                      ! │ │ └─┬ validate-npm-package-license@3.0.1
                      ! │ │ ├─┬ spdx-correct@1.0.2
                      ! │ │ │ └── spdx-license-ids@1.2.1
                      ! │ │ └─┬ spdx-expression-parse@1.0.2
                      ! │ │ └── spdx-exceptions@1.0.4
                      ! │ └── path-type@1.1.0
                      ! ├── require-main-filename@1.0.1
                      ! ├── set-blocking@1.0.0
                      ! ├─┬ string-width@1.0.1
                      ! │ ├─┬ code-point-at@1.0.0
                      ! │ │ └── number-is-nan@1.0.0
                      ! │ └── is-fullwidth-code-point@1.0.0
                      ! ├── window-size@0.2.0
                      ! ├── y18n@3.2.1
                      ! └─┬ yargs-parser@2.4.0
                      ! └── camelcase@2.1.1
                      ! 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.
                      ! root@orangepipc:/opt/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 3.4.112-sun8i
                      ! 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
                      ! root@orangepipc:/opt/iobroker#

                      Дополню: поднял на виртуалке чистую Ubuntu 16.04 LTS х64 - результат такой-же. Ранее при установке на Windows не хотел "заводиться" пока вместо последней версии NODEJS не поставил более древнюю. Может тут такая-же картина ?

                      1 Reply Last reply
                      0
                      • E Offline
                        E Offline
                        electric
                        wrote on last edited by
                        #213

                        @rosh_11:

                        Доброго времени суток, коллеги.

                        Есть пара вопросов:

                        • поддерживается ли ARMBIAN на базе Ubuntu Xenial ? (использую OrangePI PC)

                        • если да, то как исправить сбой установки (лог ниже)

                        ! root@orangepipc:~# nodejs -v
                        ! v4.2.6
                        ! root@orangepipc:~# npm -v
                        ! 3.5.2
                        ! root@orangepipc:~# mkdir /opt/iobroker
                        ! root@orangepipc:~# chmod 777 /opt/iobroker
                        ! root@orangepipc:~# cd /opt/iobroker
                        ! root@orangepipc:/opt/iobroker# :/opt/iobroker# npm install iobroker
                        ! -bash: :/opt/iobroker#: No such file or directory
                        ! root@orangepipc:/opt/iobroker# /opt/iobroker# npm install iobroker
                        ! -bash: /opt/iobroker#: No such file or directory
                        ! root@orangepipc:/opt/iobroker# ls
                        ! root@orangepipc:/opt/iobroker# pwd
                        ! /opt/iobroker
                        ! root@orangepipc:/opt/iobroker# npm install iobroker
                        ! npm WARN lifecycle iobroker@0.7.1~install: cannot run in wd %s %s (wd=%s) iobroker@0.7.1 node lib/setup.js /opt/iobroker/node_modules/iobroker
                        ! /opt/iobroker
                        ! └─┬ iobroker@0.7.1
                        ! └─┬ yargs@4.7.1
                        ! ├── camelcase@3.0.0
                        ! ├─┬ cliui@3.2.0
                        ! │ ├─┬ strip-ansi@3.0.1
                        ! │ │ └── ansi-regex@2.0.0
                        ! │ └── wrap-ansi@2.0.0
                        ! ├── decamelize@1.2.0
                        ! ├─┬ lodash.assign@4.0.9
                        ! │ ├── lodash.keys@4.0.7
                        ! │ └── lodash.rest@4.0.3
                        ! ├─┬ os-locale@1.4.0
                        ! │ └─┬ lcid@1.0.0
                        ! │ └── invert-kv@1.0.0
                        ! ├─┬ pkg-conf@1.1.3
                        ! │ ├─┬ find-up@1.1.2
                        ! │ │ ├── path-exists@2.1.0
                        ! │ │ └─┬ pinkie-promise@2.0.1
                        ! │ │ └── pinkie@2.0.4
                        ! │ ├─┬ load-json-file@1.1.0
                        ! │ │ ├── graceful-fs@4.1.4
                        ! │ │ ├─┬ parse-json@2.2.0
                        ! │ │ │ └─┬ error-ex@1.3.0
                        ! │ │ │ └── is-arrayish@0.2.1
                        ! │ │ ├── pify@2.3.0
                        ! │ │ └─┬ strip-bom@2.0.0
                        ! │ │ └── is-utf8@0.2.1
                        ! │ ├── object-assign@4.1.0
                        ! │ └── symbol@0.2.3
                        ! ├─┬ read-pkg-up@1.0.1
                        ! │ └─┬ read-pkg@1.1.0
                        ! │ ├─┬ normalize-package-data@2.3.5
                        ! │ │ ├── hosted-git-info@2.1.5
                        ! │ │ ├─┬ is-builtin-module@1.0.0
                        ! │ │ │ └── builtin-modules@1.1.1
                        ! │ │ ├── semver@5.1.1
                        ! │ │ └─┬ validate-npm-package-license@3.0.1
                        ! │ │ ├─┬ spdx-correct@1.0.2
                        ! │ │ │ └── spdx-license-ids@1.2.1
                        ! │ │ └─┬ spdx-expression-parse@1.0.2
                        ! │ │ └── spdx-exceptions@1.0.4
                        ! │ └── path-type@1.1.0
                        ! ├── require-main-filename@1.0.1
                        ! ├── set-blocking@1.0.0
                        ! ├─┬ string-width@1.0.1
                        ! │ ├─┬ code-point-at@1.0.0
                        ! │ │ └── number-is-nan@1.0.0
                        ! │ └── is-fullwidth-code-point@1.0.0
                        ! ├── window-size@0.2.0
                        ! ├── y18n@3.2.1
                        ! └─┬ yargs-parser@2.4.0
                        ! └── camelcase@2.1.1
                        ! 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.
                        ! root@orangepipc:/opt/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 3.4.112-sun8i
                        ! 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
                        ! root@orangepipc:/opt/iobroker# `
                        Привет, отлично встает и работает на http://www.iobroker.net/?page_id=4268&lang=ru.

                        Правда я использую без графического окружения (но пробовал и с ним) и старое ядро для лучшей поддержки железа (UART, I2C, SPI)

                        @rosh_11:

                        root@orangepipc:/opt/iobroker# :/opt/iobroker# npm install iobroker `
                        вот тут не понятно, зачем :/opt/iobroker# второй раз?

                        Посмотрите инструкцию что дал ссылку выше.

                        @rosh_11:

                        Дополню: поднял на виртуалке чистую Ubuntu 16.04 LTS х64 - результат такой-же. Ранее при установке на Windows не хотел "заводиться" пока вместо последней версии NODEJS не поставил более древнюю. Может тут такая-же картина ? `
                        Устанавливал на виртуалки - Debian/Ubuntu, все работает.

                        Node.js рекомендую использовать версию LTS что на сайте (сейчас это 4.4.6).

                        1 Reply Last reply
                        0
                        • R Offline
                          R Offline
                          rosh_11
                          wrote on last edited by
                          #214

                          @electric:

                          Node.js рекомендую использовать версию LTS что на сайте (сейчас это 4.4.6). `

                          Возможно будет полезно (кстати, предлагаю включить в инсрукцию):

                          В стандартном пакете Ubuntu 16.04 LTS (кстати это касается и Armbian на базе Ubuntu) идет:

                          nodejs v4.2.6

                          npm v3.5.2

                          На оф.сайте Node.JS есть инструкция https://nodejs.org/en/download/package- … tributions

                          Согласно нее:

                          sudo curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -

                          sudo apt-get install -y nodejs

                          После выполнения имеем:

                          nodejs v4.4.6

                          npm v2.15.5

                          Обратите внимание dверсия NPM стала ниже!

                          После этого действа, все заработало таким образом:

                          cd /opt

                          sudo mkdir iobroker

                          sudo chmod 777 /opt/iobroker

                          cd /opt/iobroker

                          sudo npm install iobroker –unsafe-perm

                          Если я правильно понимаю, лог нормальной инсталяции должен выглядеть примерно так:

                          user@SERV:/opt/iobroker$ sudo npm install iobroker --unsafe-perm

                          iobroker@0.7.1 install /opt/iobroker/node_modules/iobroker

                          node lib/setup.js

                          npm install iobroker.js-controller --production --prefix /opt/iobroker

                          npm install iobroker.admin --production --prefix /opt/iobroker

                          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.7.1 node_modules/iobroker

                          └── yargs@4.7.1 (decamelize@1.2.0, camelcase@3.0.0, y18n@3.2.1, set-blocking@1.0.0, window-size@0.2.0, require-main-filename@1.0.1, yargs-parser@2.4.0, lodash.assign@4.0.9, cliui@3.2.0, string-width@1.0.1, os-locale@1.4.0, pkg-conf@1.1.3, read-pkg-up@1.0.1)

                          user@SERV:/opt/iobroker$

                          СПАСИБО, все работает!!!

                          Предлагаю немного дополнить инструкцию, указанем необходимых версий NodeJS и NPM (как показывает практика на новых версиях заводиться не всегда).

                          1 Reply Last reply
                          0
                          • E Offline
                            E Offline
                            electric
                            wrote on last edited by
                            #215

                            @rosh_11:

                            Предлагаю немного дополнить инструкцию, указанем необходимых версий NodeJS и NPM (как показывает практика на новых версиях заводиться не всегда). `
                            К сожалению, так не получится сделать, потому как версии постоянно меняются и каждый раз при смене LTS обновлять инструкцию нет возможности.

                            Я сделал так - просто на текущий момент указал версии nodejs, сборки armbian, ядра armbian и саму ОС (на базе Debian).

                            А уже каждый решает сам - ставить версии и ОС что в инструкции или свои (искать изменения в установке или спросить на форуме как лучше).

                            1 Reply Last reply
                            0
                            • D Offline
                              D Offline
                              DAndre
                              wrote on last edited by
                              #216

                              У меня вышло наоборот обновил sudo npm install npm -g

                              стало

                              ~$ nodejs -v

                              v4.2.6

                              ~$ node -v

                              v6.2.2

                              ~$ npm -v

                              3.10.5

                              после обновления все ОК

                              <size size="50">Ubuntu 14.04 trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS, Android v4.4.2"

                              Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-31-generic x86_64)</size>

                              1 Reply Last reply
                              0
                              • D Offline
                                D Offline
                                DAndre
                                wrote on last edited by
                                #217

                                Перебрался на "новую" железку, вроде все работает. НО не могу обновить iobroker.js-controller до 0.11.0

                                ! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                                ! npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.
                                ! npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.
                                ! 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 4.4.0-31-generic
                                ! npm ERR! argv "/usr/bin/nodejs" "/usr/local/bin/npm" "install" "iobroker.js-controller"
                                ! npm ERR! node v4.4.7
                                ! npm ERR! npm v3.10.5
                                ! npm ERR! path /opt/iobroker/node_modules/.staging/abbrev-bc1a4de2
                                ! npm ERR! code ENOENT
                                ! npm ERR! errno -2
                                ! npm ERR! syscall rename
                                ! npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/.staging/abbrev-bc1a4de2' -> '/opt/iobroker/node_modules/npm/node_modules/abbrev'
                                ! npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/.staging/abbrev-bc1a4de2' -> '/opt/iobroker/node_modules/npm/node_modules/abbrev'
                                ! npm ERR! enoent This is most likely not a problem with npm itself
                                ! npm ERR! enoent and is related to npm not being able to find a file.
                                ! npm ERR! enoent
                                ! npm ERR! Please include the following file with any support request:
                                ! npm ERR! /opt/iobroker/npm-debug.log

                                <size size="50">Ubuntu 14.04 trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS, Android v4.4.2"

                                Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-31-generic x86_64)</size>

                                1 Reply Last reply
                                0
                                • H Offline
                                  H Offline
                                  Haus
                                  wrote on last edited by
                                  #218

                                  @DAndre:

                                  Перебрался на "новую" железку, вроде все работает. НО не могу обновить iobroker.js-controller до 0.11.0

                                  ! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                                  ! npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.
                                  ! npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.
                                  ! 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 4.4.0-31-generic
                                  ! npm ERR! argv "/usr/bin/nodejs" "/usr/local/bin/npm" "install" "iobroker.js-controller"
                                  ! npm ERR! node v4.4.7
                                  ! npm ERR! npm v3.10.5
                                  ! npm ERR! path /opt/iobroker/node_modules/.staging/abbrev-bc1a4de2
                                  ! npm ERR! code ENOENT
                                  ! npm ERR! errno -2
                                  ! npm ERR! syscall rename
                                  ! npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/.staging/abbrev-bc1a4de2' -> '/opt/iobroker/node_modules/npm/node_modules/abbrev'
                                  ! npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/.staging/abbrev-bc1a4de2' -> '/opt/iobroker/node_modules/npm/node_modules/abbrev'
                                  ! npm ERR! enoent This is most likely not a problem with npm itself
                                  ! npm ERR! enoent and is related to npm not being able to find a file.
                                  ! npm ERR! enoent
                                  ! npm ERR! Please include the following file with any support request:
                                  ! npm ERR! /opt/iobroker/npm-debug.log `

                                  cd /opt/iobroker
                                  iobroker stop
                                  npm install iobroker.js-controller
                                  iobroker start
                                  

                                  js-controller: 1.5.7 / node.js: v8.15.1/ npm: 6.4.1

                                  admin: 3.6.0

                                  javascript: 4.1.10

                                  web: 2.4.1 vis: 1.1.10

                                  cloud: 2.6.2

                                  Server: DELL FX170 / linux: Debian 9.5 Stretch

                                  Adapter: MegaD-2561, Mega-ES…

                                  1 Reply Last reply
                                  0
                                  • D Offline
                                    D Offline
                                    DAndre
                                    wrote on last edited by
                                    #219

                                    😞 Увы не хочет обновляться 😞

                                    ! Xshell 4 (Build 0142)
                                    ! Copyright © 2002-2014 NetSarang Computer, Inc. All rights reserved.
                                    ! Type `help' to learn how to use Xshell prompt.
                                    ! Xshell:>
                                    ! Connecting to 192.168.2.9:22...
                                    ! Connection established.
                                    ! To escape to local shell, press 'Ctrl+Alt+]'.
                                    ! Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-31-generic x86_64)
                                    ! * Documentation: https://help.ubuntu.com
                                    ! * Management: https://landscape.canonical.com
                                    ! * Support: https://ubuntu.com/advantage
                                    ! 0 packages can be updated.
                                    ! 0 updates are security updates.
                                    ! Last login: Thu Jul 28 22:48:20 2016
                                    ! andrey@server:~$ sudo cd /opt/iobroker
                                    ! [sudo] пароль для andrey:
                                    ! sudo: cd: команда не найдена
                                    ! andrey@server:~$ cd /opt/iobroker
                                    ! andrey@server:/opt/iobroker$ sudo iobroker stop
                                    ! Stopping iobroker controller daemon…
                                    ! iobroker controller daemon stopped.
                                    ! Exit code for "killall.sh": 0
                                    ! andrey@server:/opt/iobroker$ sudo npm install iobroker.js-controller
                                    ! /opt/iobroker
                                    ! ├─┬ iobroker.terminal@0.1.2
                                    ! │ └── authenticate-pam@1.0.2
                                    ! └─┬ kodi-ws@2.4.0
                                    ! ├── UNMET PEER DEPENDENCY eslint@<2.3.0
                                    ! └─┬ ws@0.7.2
                                    ! ├─┬ bufferutil@1.1.0
                                    ! │ └── nan@1.8.4
                                    ! └── utf-8-validate@1.1.0
                                    ! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                                    ! npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.
                                    ! npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.
                                    ! 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 4.4.0-31-generic
                                    ! npm ERR! argv "/usr/bin/nodejs" "/usr/local/bin/npm" "install" "iobroker.js-controller"
                                    ! npm ERR! node v4.4.7
                                    ! npm ERR! npm v3.10.5
                                    ! npm ERR! path /opt/iobroker/node_modules/.staging/abbrev-bc1a4de2
                                    ! npm ERR! code ENOENT
                                    ! npm ERR! errno -2
                                    ! npm ERR! syscall rename
                                    ! npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/.staging/abbrev-bc1a4de2' -> '/opt/iobroker/node_modules/npm/node_modules/abbrev'
                                    ! npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/.staging/abbrev-bc1a4de2' -> '/opt/iobroker/node_modules/npm/node_modules/abbrev'
                                    ! npm ERR! enoent This is most likely not a problem with npm itself
                                    ! npm ERR! enoent and is related to npm not being able to find a file.
                                    ! npm ERR! enoent
                                    ! npm ERR! Please include the following file with any support request:
                                    ! npm ERR! /opt/iobroker/npm-debug.log
                                    ! andrey@server:/opt/iobroker$

                                    ps стоит nvm. Почему так?

                                    andrey@server:/opt/iobroker$ npm -v

                                    2.14.2

                                    andrey@server:/opt/iobroker$ sudo npm -v

                                    [sudo] пароль для andrey:

                                    3.10.5

                                    <size size="50">Ubuntu 14.04 trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS, Android v4.4.2"

                                    Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-31-generic x86_64)</size>

                                    1 Reply Last reply
                                    0
                                    • BluefoxB Offline
                                      BluefoxB Offline
                                      Bluefox
                                      wrote on last edited by
                                      #220

                                      @DAndre:

                                      😞 Увы не хочет обновляться 😞

                                      ! Xshell 4 (Build 0142)
                                      ! Copyright © 2002-2014 NetSarang Computer, Inc. All rights reserved.
                                      ! Type `help' to learn how to use Xshell prompt.
                                      ! Xshell:>
                                      ! Connecting to 192.168.2.9:22...
                                      ! Connection established.
                                      ! To escape to local shell, press 'Ctrl+Alt+]'.
                                      ! Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-31-generic x86_64)
                                      ! * Documentation: https://help.ubuntu.com
                                      ! * Management: https://landscape.canonical.com
                                      ! * Support: https://ubuntu.com/advantage
                                      ! 0 packages can be updated.
                                      ! 0 updates are security updates.
                                      ! Last login: Thu Jul 28 22:48:20 2016
                                      ! andrey@server:~$ sudo cd /opt/iobroker
                                      ! [sudo] пароль для andrey:
                                      ! sudo: cd: команда не найдена
                                      ! andrey@server:~$ cd /opt/iobroker
                                      ! andrey@server:/opt/iobroker$ sudo iobroker stop
                                      ! Stopping iobroker controller daemon…
                                      ! iobroker controller daemon stopped.
                                      ! Exit code for "killall.sh": 0
                                      ! andrey@server:/opt/iobroker$ sudo npm install iobroker.js-controller
                                      ! /opt/iobroker
                                      ! ├─┬ iobroker.terminal@0.1.2
                                      ! │ └── authenticate-pam@1.0.2
                                      ! └─┬ kodi-ws@2.4.0
                                      ! ├── UNMET PEER DEPENDENCY eslint@<2.3.0
                                      ! └─┬ ws@0.7.2
                                      ! ├─┬ bufferutil@1.1.0
                                      ! │ └── nan@1.8.4
                                      ! └── utf-8-validate@1.1.0
                                      ! npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
                                      ! npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.
                                      ! npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none was installed.
                                      ! 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 4.4.0-31-generic
                                      ! npm ERR! argv "/usr/bin/nodejs" "/usr/local/bin/npm" "install" "iobroker.js-controller"
                                      ! npm ERR! node v4.4.7
                                      ! npm ERR! npm v3.10.5
                                      ! npm ERR! path /opt/iobroker/node_modules/.staging/abbrev-bc1a4de2
                                      ! npm ERR! code ENOENT
                                      ! npm ERR! errno -2
                                      ! npm ERR! syscall rename
                                      ! npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/.staging/abbrev-bc1a4de2' -> '/opt/iobroker/node_modules/npm/node_modules/abbrev'
                                      ! npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/.staging/abbrev-bc1a4de2' -> '/opt/iobroker/node_modules/npm/node_modules/abbrev'
                                      ! npm ERR! enoent This is most likely not a problem with npm itself
                                      ! npm ERR! enoent and is related to npm not being able to find a file.
                                      ! npm ERR! enoent
                                      ! npm ERR! Please include the following file with any support request:
                                      ! npm ERR! /opt/iobroker/npm-debug.log
                                      ! andrey@server:/opt/iobroker$

                                      ps стоит nvm. Почему так?

                                      andrey@server:/opt/iobroker$ npm -v

                                      2.14.2

                                      andrey@server:/opt/iobroker$ sudo npm -v

                                      [sudo] пароль для andrey:

                                      3.10.5 `

                                      Поставь 2 npm:

                                      cd /opt/iobroker
                                      sudo npm install -g npm@latest-2
                                      sudo npm install iobroker.js-controller --production
                                      
                                      1 Reply Last reply
                                      0
                                      • D Offline
                                        D Offline
                                        DAndre
                                        wrote on last edited by
                                        #221

                                        Не хочет

                                        ` > Поставь 2 npm:

                                        Код:

                                        cd /opt/iobroker

                                        sudo npm install -g npm@latest-2

                                        sudo npm install iobroker.js-controller –production `

                                        ! ````
                                        andrey@server:/opt/iobroker$ sudo npm install iobroker.js-controller --production
                                        ! > iobroker.js-controller@0.11.1 install /opt/iobroker/node_modules/iobroker.js-controller
                                        node lib/setup.js setup first
                                        ! fs.js:549
                                        return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                                        ^
                                        ! Error: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../../../killall.sh'
                                        at Error (native)
                                        at Object.fs.openSync (fs.js:549:18)
                                        at Object.fs.writeFileSync (fs.js:1156:15)
                                        at Setup.setup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:213:24)
                                        at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:536:23
                                        at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:557:11)
                                        at Module._compile (module.js:409:26)
                                        at Object.Module._extensions..js (module.js:416:10)
                                        at Module.load (module.js:343:32)
                                        at Function.Module._load (module.js:300:12)
                                        npm ERR! Linux 4.4.0-31-generic
                                        npm ERR! argv "/usr/bin/nodejs" "/usr/local/bin/npm" "install" "iobroker.js-controller" "--production"
                                        npm ERR! node v4.4.7
                                        npm ERR! npm v2.15.9
                                        npm ERR! code ELIFECYCLE
                                        ! npm ERR! iobroker.js-controller@0.11.1 install: node lib/setup.js setup first
                                        npm ERR! Exit status 1
                                        npm ERR!
                                        npm ERR! Failed at the iobroker.js-controller@0.11.1 install script 'node lib/setup.js setup first'.
                                        npm ERR! This is most likely a problem with the iobroker.js-controller package,
                                        npm ERR! not with npm itself.
                                        npm ERR! Tell the author that this fails on your system:
                                        npm ERR! node lib/setup.js setup first
                                        npm ERR! You can get information on how to open an issue for this project with:
                                        npm ERR! npm bugs iobroker.js-controller
                                        npm ERR! Or if that isn't available, you can get their info via:
                                        npm ERR!
                                        npm ERR! npm owner ls iobroker.js-controller
                                        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
                                        andrey@server:/opt/iobroker$</anonymous>

                                        <size size="50">Ubuntu 14.04 trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.3 LTS, Android v4.4.2"

                                        Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-31-generic x86_64)</size>

                                        1 Reply Last reply
                                        0
                                        • BluefoxB Offline
                                          BluefoxB Offline
                                          Bluefox
                                          wrote on last edited by
                                          #222
                                          cd /opt/iobroker
                                          sudo chmod 777 * -R
                                          sudo npm install iobroker.js-controller --production
                                          
                                          
                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          170

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe