Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

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

Community Forum

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

NEWS

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

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

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.2k

iobroker - problem with the installation

Geplant Angeheftet Gesperrt Verschoben ioBroker general
iobroker installationiobroker updateiobroker nodejs
8 Beiträge 4 Kommentatoren 1.7k Aufrufe 2 Watching
  • Ä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.
  • M Offline
    M Offline
    mguc
    schrieb am zuletzt editiert von
    #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 Antwort Letzte Antwort
    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
      schrieb am zuletzt editiert von
      #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 Antwort Letzte Antwort
      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
        schrieb am zuletzt editiert von
        #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 Antworten Letzte Antwort
        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
          schrieb am zuletzt editiert von
          #4

          @AlCalzone
          where can i find any installer log ?

          1 Antwort Letzte Antwort
          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
            schrieb am zuletzt editiert von
            #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 Antwort Letzte Antwort
            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
              schrieb am zuletzt editiert von
              #6

              @mguc Yes that makes sense

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

              M 1 Antwort Letzte Antwort
              0
              • AlCalzoneA AlCalzone

                @mguc Yes that makes sense

                M Offline
                M Offline
                mguc
                schrieb am zuletzt editiert von
                #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 Antwort Letzte Antwort
                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
                  schrieb am zuletzt editiert von
                  #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 Antwort Letzte Antwort
                  0
                  Antworten
                  • In einem neuen Thema antworten
                  Anmelden zum Antworten
                  • Älteste zuerst
                  • Neuste zuerst
                  • Meiste Stimmen


                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  730

                  Online

                  32.4k

                  Benutzer

                  81.5k

                  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