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. Deutsch
  3. Error/Bug
  4. Js-controller drüberinstallieren

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
    883

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.1k

Js-controller drüberinstallieren

Scheduled Pinned Locked Moved Error/Bug
5 Posts 3 Posters 1.6k 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.
  • HomoranH Do not disturb
    HomoranH Do not disturb
    Homoran
    Global Moderator Administrators
    wrote on last edited by
    #1

    Ich bekam heute mal wieder Probleme als normaler User mit sudo den js-controller upzudaten.

    Also als root eingeloggt und npm install iobroker.js-controller eingegeben.

    Lief gut durch bis zu einem fatal Error. So etwas habe ich noch nie gehabt.

    ! ````
    npm WARN deprecated localhost.daplie.com-certificates@1.2.5: Moved to localhost.daplie.me-certificates
    ! > authenticate-pam@1.0.2 install /opt/iobroker/node_modules/authenticate-pam
    node-gyp rebuild
    ! make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird betreten
    CXX(target) Release/obj.target/authenticate_pam/authenticate_pam.o
    ../authenticate_pam.cc:30:31: fatal error: security/pam_appl.h: Datei oder Verzeichnis nicht gefunden
    #include <security pam_appl.h="">^
    compilation terminated.
    authenticate_pam.target.mk:94: die Regel für Ziel „Release/obj.target/authenticate_pam/authenticate_pam.o“ scheiterte
    make: *** [Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
    make: Verzeichnis „/opt/iobroker/node_modules/authenticate-pam/build“ wird verlassen
    gyp ERR! build error
    gyp ERR! stack Error: make failed with exit code: 2
    gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
    gyp ERR! stack at emitTwo (events.js:106:13)
    gyp ERR! stack at ChildProcess.emit (events.js:194:7)
    gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
    gyp ERR! System Linux 4.9.0-2-amd64
    gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam
    gyp ERR! node -v v7.7.3
    gyp ERR! node-gyp -v v3.5.0
    gyp ERR! not ok
    ! > iobroker.js-controller@0.17.2 install /opt/iobroker/node_modules/iobroker.js-controller
    node iobroker.js setup first
    ! iobroker.core@0.1.0 /opt/iobroker
    └── iobroker.js-controller@0.17.2
    ! npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 (node_modules/authenticate-pam):
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: authenticate-pam@1.0.2 install: node-gyp rebuild
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
    root@ioBroker-NUC:/opt/iobroker#</security>

    
    Zur Ehrenrettung:
    
    Debian 9
    
    nodejs 7
    
    :D :D
    
    Gruß
    
    Rainer

    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

    1 Reply Last reply
    0
    • apollon77A Offline
      apollon77A Offline
      apollon77
      wrote on last edited by
      #2

      laut google:

      apt-get install libpam0g-dev

      … gehts dann?

      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
      1 Reply Last reply
      0
      • HomoranH Do not disturb
        HomoranH Do not disturb
        Homoran
        Global Moderator Administrators
        wrote on last edited by
        #3

        @apollon77:

        … gehts dann? `
        Ehrlich???

        Es läuft trotzdem - ich würde im Moment nicht gerne etwas dran ändern, weil meine anderen Installationen auch fast alle gerade zicken :(

        Gruß

        Rainer

        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        1 Reply Last reply
        0
        • apollon77A Offline
          apollon77A Offline
          apollon77
          wrote on last edited by
          #4

          naja der Fehler kommt von einer optionalen Dependency … also ist es "ok" wenn es fehltschlägt.

          Effektiv will er was kompilieren und braucht dazu eine ".h" Datei ... die ist in dem genannten Paket drin ... wenn man Google glaubt :-)

          Sollte also

          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
          1 Reply Last reply
          0
          • F Offline
            F Offline
            Fitti
            wrote on last edited by
            #5

            @apollon77:

            laut google:

            apt-get install libpam0g-dev

            … gehts dann? `

            Ohh man. Wie lange nervt mich dieser Fehler. Ja - selbst andere Geräte kaufte ich mir. Hat mich bestimmt schon 300€ gekostet.

            Dieser Befehl und die Befehle:

            npm config set unsafe-perm true
            npm install authenticate-pam
            
            

            Sorgen nun für Ruhe.

            Nimmt das Bitte unbedingt in alle Unixbasierte Beschreibungen auf.

            So long,

            Fitti

            "Es wird die Zeit kommen, da ihr euch entscheiden müsst zwischen dem, was richtig ist, und dem, was bequem ist."
            Plural von Status ist auch Status!

            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

            732

            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