Skip to content
  • Home
  • 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
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. English
  3. ioBroker general
  4. iobroker - problem with the installation

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    16
    1
    1.8k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    893

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

iobroker - problem with the installation

Scheduled Pinned Locked Moved ioBroker general
iobroker installationiobroker updateiobroker nodejs
8 Posts 4 Posters 1.9k Views 2 Watching
  • 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.
  • M Offline
    M Offline
    mguc
    wrote on last edited by
    #1

    Can someone help me with installation ibroker on my cubieboard?
    I try instal based on some information:

    1. Node.js
      [as user by sudo or as root]

    curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
    sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
    reboot

    1. iobroker
      [as user or as root]

    curl -sL https://iobroker.net/install.sh | bash -

    And.. administrator panel i see on http://192.168.10.xx:8081/
    But when i try to add some Instances from Adapters tabs then it's impossible. See on log bellow:
    $ ./iobroker add modbus --host cubietruck
    NPM version: 6.4.1
    npm install iobroker.modbus@2.0.9 --production --save --prefix "/opt/iobroker" (System call)
    Unhandled rejection Error: EACCES: permission denied, mkdir '/home/iobroker'
    npm ERR! cb() never called!
    npm ERR! This is an error with npm itself. Please report this error at:
    npm ERR! https://npm.community

    host.cubietruck install adapter modbus
    NPM version: 6.4.1
    npm install iobroker.modbus@2.0.9 --production --save --prefix "/opt/iobroker" (System call)
    Unhandled rejection Error: EACCES: permission denied, mkdir '/home/iobroker'
    npm ERR! cb() never called!
    npm ERR! This is an error with npm itself. Please report this error at:
    npm ERR! https://npm.community

    host.cubietruck install adapter modbus
    NPM version: 6.4.1npm install iobroker.modbus@2.0.9 --production --save --prefix "/opt/iobroker" (System call)

    Unhandled rejection Error: EACCES: permission denied, mkdir '/home/iobroker'
    npm ERR! cb() never called!
    npm ERR! This is an error with npm itself. Please report this error at:
    npm ERR! https://npm.community

    host.cubietruck install adapter modbus
    ERROR: host.cubietruck Cannot install modbus
    ERROR: process exited with code 13

    =======================================================================
    iobroker 2019-06-20 13:11:07.736 info exit 13
    iobroker 2019-06-20 13:11:07.701 error host.cubietruck Cannot install modbus
    iobroker 2019-06-20 13:11:07.691 info host.cubietruck install adapter modbus
    iobroker 2019-06-20 13:11:07.651 info npm ERR! https://npm.community
    iobroker 2019-06-20 13:11:07.651 info npm ERR! This is an error with npm itself. Please report this error at:
    iobroker 2019-06-20 13:11:07.640 info npm ERR! cb() never called!
    iobroker 2019-06-20 13:11:07.624 info Unhandled rejection Error: EACCES: permission denied, mkdir '/home/iobroker'
    iobroker 2019-06-20 13:10:41.166 info npm install iobroker.modbus@2.0.9 --production --save --prefix "/opt/iobroker" (System call)
    iobroker 2019-06-20 13:10:41.156 info NPM version: 6.4.1
    iobroker 2019-06-20 13:10:37.983 info host.cubietruck install adapter modbus
    iobroker 2019-06-20 13:10:37.946 info npm ERR! https://npm.community
    iobroker 2019-06-20 13:10:37.946 info npm ERR! This is an error with npm itself. Please report this error at:
    iobroker 2019-06-20 13:10:37.932 info npm ERR! cb() never called!
    iobroker 2019-06-20 13:10:37.912 info Unhandled rejection Error: EACCES: permission denied, mkdir '/home/iobroker'
    iobroker 2019-06-20 13:10:11.309 info npm install iobroker.modbus@2.0.9 --production --save --prefix "/opt/iobroker" (System call)
    iobroker 2019-06-20 13:10:11.305 info NPM version: 6.4.1
    iobroker 2019-06-20 13:10:07.994 info host.cubietruck install adapter modbus
    iobroker 2019-06-20 13:10:07.876 info npm ERR! https://npm.community
    iobroker 2019-06-20 13:10:07.876 info npm ERR! This is an error with npm itself. Please report this error at:
    iobroker 2019-06-20 13:10:07.876 info npm ERR! cb() never called!
    iobroker 2019-06-20 13:10:07.858 info Unhandled rejection Error: EACCES: permission denied, mkdir '/home/iobroker'
    iobroker 2019-06-20 13:09:40.412 info npm install iobroker.modbus@2.0.9 --production --save --prefix "/opt/iobroker" (System call)
    iobroker 2019-06-20 13:09:38.369 info NPM version: 6.4.1
    iobroker 2019-06-20 13:09:31.903 info add modbus --host cubietruck

    I try with node6, 8 and 10 with the same effect. Where is my bug ?

    M 1 Reply Last reply
    0
    • M mguc

      Can someone help me with installation ibroker on my cubieboard?
      I try instal based on some information:

      1. Node.js
        [as user by sudo or as root]

      curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
      sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
      reboot

      1. iobroker
        [as user or as root]

      curl -sL https://iobroker.net/install.sh | bash -

      And.. administrator panel i see on http://192.168.10.xx:8081/
      But when i try to add some Instances from Adapters tabs then it's impossible. See on log bellow:
      $ ./iobroker add modbus --host cubietruck
      NPM version: 6.4.1
      npm install iobroker.modbus@2.0.9 --production --save --prefix "/opt/iobroker" (System call)
      Unhandled rejection Error: EACCES: permission denied, mkdir '/home/iobroker'
      npm ERR! cb() never called!
      npm ERR! This is an error with npm itself. Please report this error at:
      npm ERR! https://npm.community

      host.cubietruck install adapter modbus
      NPM version: 6.4.1
      npm install iobroker.modbus@2.0.9 --production --save --prefix "/opt/iobroker" (System call)
      Unhandled rejection Error: EACCES: permission denied, mkdir '/home/iobroker'
      npm ERR! cb() never called!
      npm ERR! This is an error with npm itself. Please report this error at:
      npm ERR! https://npm.community

      host.cubietruck install adapter modbus
      NPM version: 6.4.1npm install iobroker.modbus@2.0.9 --production --save --prefix "/opt/iobroker" (System call)

      Unhandled rejection Error: EACCES: permission denied, mkdir '/home/iobroker'
      npm ERR! cb() never called!
      npm ERR! This is an error with npm itself. Please report this error at:
      npm ERR! https://npm.community

      host.cubietruck install adapter modbus
      ERROR: host.cubietruck Cannot install modbus
      ERROR: process exited with code 13

      =======================================================================
      iobroker 2019-06-20 13:11:07.736 info exit 13
      iobroker 2019-06-20 13:11:07.701 error host.cubietruck Cannot install modbus
      iobroker 2019-06-20 13:11:07.691 info host.cubietruck install adapter modbus
      iobroker 2019-06-20 13:11:07.651 info npm ERR! https://npm.community
      iobroker 2019-06-20 13:11:07.651 info npm ERR! This is an error with npm itself. Please report this error at:
      iobroker 2019-06-20 13:11:07.640 info npm ERR! cb() never called!
      iobroker 2019-06-20 13:11:07.624 info Unhandled rejection Error: EACCES: permission denied, mkdir '/home/iobroker'
      iobroker 2019-06-20 13:10:41.166 info npm install iobroker.modbus@2.0.9 --production --save --prefix "/opt/iobroker" (System call)
      iobroker 2019-06-20 13:10:41.156 info NPM version: 6.4.1
      iobroker 2019-06-20 13:10:37.983 info host.cubietruck install adapter modbus
      iobroker 2019-06-20 13:10:37.946 info npm ERR! https://npm.community
      iobroker 2019-06-20 13:10:37.946 info npm ERR! This is an error with npm itself. Please report this error at:
      iobroker 2019-06-20 13:10:37.932 info npm ERR! cb() never called!
      iobroker 2019-06-20 13:10:37.912 info Unhandled rejection Error: EACCES: permission denied, mkdir '/home/iobroker'
      iobroker 2019-06-20 13:10:11.309 info npm install iobroker.modbus@2.0.9 --production --save --prefix "/opt/iobroker" (System call)
      iobroker 2019-06-20 13:10:11.305 info NPM version: 6.4.1
      iobroker 2019-06-20 13:10:07.994 info host.cubietruck install adapter modbus
      iobroker 2019-06-20 13:10:07.876 info npm ERR! https://npm.community
      iobroker 2019-06-20 13:10:07.876 info npm ERR! This is an error with npm itself. Please report this error at:
      iobroker 2019-06-20 13:10:07.876 info npm ERR! cb() never called!
      iobroker 2019-06-20 13:10:07.858 info Unhandled rejection Error: EACCES: permission denied, mkdir '/home/iobroker'
      iobroker 2019-06-20 13:09:40.412 info npm install iobroker.modbus@2.0.9 --production --save --prefix "/opt/iobroker" (System call)
      iobroker 2019-06-20 13:09:38.369 info NPM version: 6.4.1
      iobroker 2019-06-20 13:09:31.903 info add modbus --host cubietruck

      I try with node6, 8 and 10 with the same effect. Where is my bug ?

      M Offline
      M Offline
      mguc
      wrote on last edited by
      #2

      Finally - I found the cause of my problem :D
      The error is in the installation script (install.sh). He's creates the user "iobroker" but does not assume the home directory: / home / iobroker (at least for me).
      The installation process looks like this:

      1. Node.js installation (as user)

      sudo apt-get --purge remove node
      sudo apt-get --purge remove nodejs
      sudo apt-get autoremove
      sudo reboot
      curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
      sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
      sudo reboot

      2 iobroker installation (as user)

      curl -sL https://iobroker.net/install.sh | bash -
      iobroker stop
      sudo mkdir /home/iobroker
      sudo chown iobroker /home/iobroker
      iobroker start

      .. done.

      AlCalzoneA 1 Reply Last reply
      0
      • M mguc

        Finally - I found the cause of my problem :D
        The error is in the installation script (install.sh). He's creates the user "iobroker" but does not assume the home directory: / home / iobroker (at least for me).
        The installation process looks like this:

        1. Node.js installation (as user)

        sudo apt-get --purge remove node
        sudo apt-get --purge remove nodejs
        sudo apt-get autoremove
        sudo reboot
        curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
        sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
        sudo reboot

        2 iobroker installation (as user)

        curl -sL https://iobroker.net/install.sh | bash -
        iobroker stop
        sudo mkdir /home/iobroker
        sudo chown iobroker /home/iobroker
        iobroker start

        .. done.

        AlCalzoneA Offline
        AlCalzoneA Offline
        AlCalzone
        Developer
        wrote on last edited by
        #3

        @mguc the install script executes a command that creates the user together with the home directory. If it didn't, something must have went wrong. Do you by any chance still have the output of the installer?

        Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

        M 2 Replies Last reply
        0
        • AlCalzoneA AlCalzone

          @mguc the install script executes a command that creates the user together with the home directory. If it didn't, something must have went wrong. Do you by any chance still have the output of the installer?

          M Offline
          M Offline
          mguc
          wrote on last edited by
          #4

          @AlCalzone
          where can i find any installer log ?

          1 Reply Last reply
          0
          • AlCalzoneA AlCalzone

            @mguc the install script executes a command that creates the user together with the home directory. If it didn't, something must have went wrong. Do you by any chance still have the output of the installer?

            M Offline
            M Offline
            mguc
            wrote on last edited by
            #5

            @AlCalzone
            I found my fault. Some days ago i removed this folder (removed folder than remove iobroker user ;) )
            And when i try to install again - in system was iobroker user then (probably) install script not created it again.

            AlCalzoneA 1 Reply Last reply
            0
            • M mguc

              @AlCalzone
              I found my fault. Some days ago i removed this folder (removed folder than remove iobroker user ;) )
              And when i try to install again - in system was iobroker user then (probably) install script not created it again.

              AlCalzoneA Offline
              AlCalzoneA Offline
              AlCalzone
              Developer
              wrote on last edited by
              #6

              @mguc Yes that makes sense

              Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

              M 1 Reply Last reply
              0
              • AlCalzoneA AlCalzone

                @mguc Yes that makes sense

                M Offline
                M Offline
                mguc
                wrote on last edited by
                #7

                @AlCalzone
                I reinstalled yesterday all iobroker system (now with remove user ;) ).
                After that install script works fine - then now i can confirm my mistake.

                AlCalzoneA 1 Reply Last reply
                1
                • M mguc

                  @AlCalzone
                  I reinstalled yesterday all iobroker system (now with remove user ;) ).
                  After that install script works fine - then now i can confirm my mistake.

                  AlCalzoneA Offline
                  AlCalzoneA Offline
                  AlCalzone
                  Developer
                  wrote on last edited by
                  #8

                  @mguc I added an issue to the installer repo so we can catch this problem in the future. Thanks for reporting.

                  Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                  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

                  536

                  Online

                  32.6k

                  Users

                  82.1k

                  Topics

                  1.3m

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

                  • Don't have an account? Register

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