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. English
  3. ioBroker general
  4. EACCES: permission denied

NEWS

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

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    396

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

EACCES: permission denied

Geplant Angeheftet Gesperrt Verschoben ioBroker general
adapters mqtt permission
9 Beiträge 3 Kommentatoren 4.1k Aufrufe 3 Beobachtet
  • Ä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.
  • Akra BatoA Offline
    Akra BatoA Offline
    Akra Bato
    schrieb am zuletzt editiert von Akra Bato
    #1

    Error EACCES: permission denied happens when I try to install adapters.

    root@wirenboard-AUCPMJ6J:~# iobroker install mqtt
    sudo: unable to resolve host wirenboard-AUCPMJ6J: No such file or directory
    NPM version: 6.11.3
    npm install iobroker.mqtt@2.0.4 --loglevel error --prefix "/opt/iobroker" (System call)
    npm ERR! code EACCES
    npm ERR! syscall mkdir
    npm ERR! path /home/iobroker
    npm ERR! errno -13
    npm ERR! Error: EACCES: permission denied, mkdir '/home/iobroker'
    npm ERR!  { [Error: EACCES: permission denied, mkdir '/home/iobroker']
    npm ERR!   cause:
    npm ERR!    { Error: EACCES: permission denied, mkdir '/home/iobroker'
    npm ERR!      errno: -13,
    npm ERR!      code: 'EACCES',
    npm ERR!      syscall: 'mkdir',
    npm ERR!      path: '/home/iobroker' },
    npm ERR!   isOperational: true,
    npm ERR!   stack: 'Error: EACCES: permission denied, mkdir \'/home/iobroker\'',
    npm ERR!   errno: -13,
    npm ERR!   code: 'EACCES',
    npm ERR!   syscall: 'mkdir',
    npm ERR!   path: '/home/iobroker' }
    npm ERR!
    npm ERR! The operation was rejected by your operating system.
    npm ERR! It is likely you do not have the permissions to access this file as the current user
    npm ERR!
    npm ERR! If you believe this might be a permissions issue, please double-check the
    npm ERR! permissions of the file and its containing directories, or try running
    npm ERR! the command again as root/Administrator.
    

    I've found this topic https://forum.iobroker.net/topic/17206/javascript-adapter-lässt-sich-nicht-mehr-installieren and tried to follow recomendations from it:

    sudo chmod 777 /opt/iobroker
    sudo chown -R $(whoami) ~/.npm
    sudo chown -R $(whoami) ~/.config
    sudo chown -R $(whoami) /opt/iobroker
    

    also, as alternative:

    sudo chown -R iobroker /opt/iobroker
    

    All was useless.

    Could you help to solve the problem?

    1 Antwort Letzte Antwort
    0
    • arteckA Offline
      arteckA Offline
      arteck
      Developer Most Active
      schrieb am zuletzt editiert von
      #2

      check this

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

      zigbee hab ich, zwave auch, nuc's genauso und HA auch

      1 Antwort Letzte Antwort
      0
      • Akra BatoA Offline
        Akra BatoA Offline
        Akra Bato
        schrieb am zuletzt editiert von Akra Bato
        #3

        I made it. Problem still exists.

        1 Antwort Letzte Antwort
        0
        • arteckA Offline
          arteckA Offline
          arteck
          Developer Most Active
          schrieb am zuletzt editiert von
          #4

          @Akra-Bato sagte in EACCES: permission denied:

          root@wirenboard-AUCPMJ6J:~# iobroker install mqtt

          this is wron also

          check from

          cd /opt/iobroker
          iobroker install mqtt
          

          zigbee hab ich, zwave auch, nuc's genauso und HA auch

          AlCalzoneA 1 Antwort Letzte Antwort
          0
          • Akra BatoA Offline
            Akra BatoA Offline
            Akra Bato
            schrieb am zuletzt editiert von Akra Bato
            #5

            I think the problem is that iobroker don't have rights to make any changes in /home/iobroker directory,
            although I work under root.

            arteckA 1 Antwort Letzte Antwort
            0
            • Akra BatoA Akra Bato

              I think the problem is that iobroker don't have rights to make any changes in /home/iobroker directory,
              although I work under root.

              arteckA Offline
              arteckA Offline
              arteck
              Developer Most Active
              schrieb am zuletzt editiert von
              #6

              @Akra-Bato the folder /home/iobroker is the User folder.... here OK
              the install folder is /opt/iobroker .. OK also..

              zigbee hab ich, zwave auch, nuc's genauso und HA auch

              1 Antwort Letzte Antwort
              0
              • Akra BatoA Offline
                Akra BatoA Offline
                Akra Bato
                schrieb am zuletzt editiert von
                #7

                I think the problem is that iobroker don't have rights to make any changes in /home/iobroker directory,
                although I work under root.
                I made some subdirectories manually, but it continues to display error messages with other subdirectories.

                1 Antwort Letzte Antwort
                0
                • arteckA arteck

                  @Akra-Bato sagte in EACCES: permission denied:

                  root@wirenboard-AUCPMJ6J:~# iobroker install mqtt

                  this is wron also

                  check from

                  cd /opt/iobroker
                  iobroker install mqtt
                  
                  AlCalzoneA Offline
                  AlCalzoneA Offline
                  AlCalzone
                  Developer
                  schrieb am zuletzt editiert von AlCalzone
                  #8

                  @arteck sagte in EACCES: permission denied:

                  iobroker install mqtt

                  That command can be executed anywhere. Only for npm install you have to be careful.

                  @Akra-Bato
                  Does this help?

                  sudo chown -R iobroker:iobroker /home/iobroker
                  sudo chmod -R 755 /home/iobroker
                  

                  Did you have any user named iobroker before installing?

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

                  Akra BatoA 1 Antwort Letzte Antwort
                  0
                  • AlCalzoneA AlCalzone

                    @arteck sagte in EACCES: permission denied:

                    iobroker install mqtt

                    That command can be executed anywhere. Only for npm install you have to be careful.

                    @Akra-Bato
                    Does this help?

                    sudo chown -R iobroker:iobroker /home/iobroker
                    sudo chmod -R 755 /home/iobroker
                    

                    Did you have any user named iobroker before installing?

                    Akra BatoA Offline
                    Akra BatoA Offline
                    Akra Bato
                    schrieb am zuletzt editiert von
                    #9

                    @AlCalzone , thank you! I solved the problem.

                    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

                    357

                    Online

                    32.8k

                    Benutzer

                    82.8k

                    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