Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Amazon Dash button Adapter - Problem

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    SOLVED Amazon Dash button Adapter - Problem

    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cherberg last edited by Negalein

      Liebe iobroker Gemeinde,

      ich habe seit einigen Tagen eine iobroker instanz laufen und konnte schon einige nette Dinge realisieren. Leider scheitert bei mir die Installation des Amazon Dash button Adapters, ich hatte den schonmal am laufen, leider hat die SD Karte des RPI schnell den Geist aufgegeben, so dass ich alles neu aufsetzen musste. Dabei habe ich andere Anleitungen für die installation vom iobroker verwendet, da ich die erste nicht mehr gefunden habe, unter anderem habe ich npm audit fix laufen lassen.. vielleicht war das ein fehler.. Ich hoffe ihr könnt mir helfen.

      Hier das installationslog:


      $ ./iobroker add amazon-dash  --host raspberrypi
      host.raspberrypi install adapter amazon-dash
      npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.amazon-dash"
      WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
      
      
      E
      : Sperrdatei /var/lib/dpkg/lock-frontend konnte nicht geöffnet werden. - open (13: Keine Berechtigung)E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
      
      npm
       WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
      npm
       WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
      npm
       WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
      npm
       WARN
       deprecated natives@1.1.6: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x.
      npm
       WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
      npm
       WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
      npm
       WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.amazon-dash
      npm ERR! path /opt/iobroker/node_modules/iobroker.amazon-dashnpm ERR! code EACCES
      
      npm ERR! errno -13npm ERR! syscall access
      
      npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.amazon-dash'npm ERR!  { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.amazon-dash']
      npm ERR!   stack:
      npm ERR!    'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/iobroker.amazon-dash\'',
      npm ERR!   errno: -13,
      npm ERR!   code: 'EACCES',
      npm ERR!   syscall: 'access',
      npm ERR!   path: '/opt/iobroker/node_modules/iobroker.amazon-dash' }
      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 (though this is not recommended).
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2019-08-04T23_45_15_265Z-debug.log
      
      Cannot install iobroker.amazon-dash: 243
      ERROR: process exited with code 25
      

      Leider sind meine Linux Kenntnisse sehr ... sehr begrenzt, daher benötige ich wenn möglich genaue Anleitung samt Befehlen, die ich per Copy und Paste im Terminal ausführen kann 😊

      1 Reply Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active last edited by

        @cherberg sagte in Amazon Dash button Adapter - Problem:

        permission denied

        du hast ein rechte Problem... probier mal mit dem fixer ...

        1 Reply Last reply Reply Quote 0
        • arteck
          arteck Developer Most Active last edited by

          @cherberg sagte in Amazon Dash button Adapter - Problem:

          permission denied

          du hast ein rechte Problem... probier mal mit dem fixer ...

          1 Reply Last reply Reply Quote 0
          • C
            cherberg last edited by Negalein

            Ich habe den Fixer ausgeführt mit:

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

            und den Adapter neu installiert.

            Zu Beginn kommt immer noch die Meldung:

            : Sperrdatei /var/lib/dpkg/lock-frontend konnte nicht geöffnet werden. - open (13: Keine Berechtigung)E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
            

            Aber am Ende ist die Installation dann doch erfolgreich, vielen Dank für die Hilfe.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Support us

            ioBroker
            Community Adapters
            Donate

            650
            Online

            31.8k
            Users

            80.0k
            Topics

            1.3m
            Posts

            amazon-dashbutton
            2
            3
            275
            Loading More Posts
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes
            Reply
            • Reply as topic
            Log in to reply
            Community
            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
            The ioBroker Community 2014-2023
            logo