Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Amazon Dash Adapter läuft nicht mehr?

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    Amazon Dash Adapter läuft nicht mehr?

    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      denjo @Ralla66 last edited by

      @Ralla66 ja aber was soll ich denn eingeben für den amazon dash button?

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

        Keine Ahnung,
        eventuell sudo npm install adapter .amazon-dash
        Mach aber vorher ein Backup wenn was schief läuft beim installieren.

        1 Reply Last reply Reply Quote 0
        • D
          denjo last edited by

          das hatte ich schon alles probiert, dann kommt diese Meldung

          login as: pi
          pi@192.168.178.67's password:
          Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l
          
          The programs included with the Debian GNU/Linux system are free software;
          the exact distribution terms for each program are described in the
          individual files in /usr/share/doc/*/copyright.
          
          Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
          permitted by applicable law.
          Last login: Fri May 17 15:16:13 2019 from 192.168.178.84
          pi@raspberrypi:~ $ sudo npm install adapter .amazon-dash
          npm ERR! code ENOLOCAL
          npm ERR! Could not install from ".amazon-dash" as it does not contain a package.json file.
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /root/.npm/_logs/2019-05-17T13_18_56_540Z-debug.log
          pi@raspberrypi:~ $
          
          
          AlCalzone 1 Reply Last reply Reply Quote 0
          • Ralla66
            Ralla66 Most Active last edited by

            https://github.com/PArns/ioBroker.amazon-dash

            das hattest du auch ausgeführt ?
            sudo apt-get install libpcap-dev

            D 2 Replies Last reply Reply Quote 0
            • D
              denjo @Ralla66 last edited by

              @Ralla66 nein hatte ich nicht

              1 Reply Last reply Reply Quote 0
              • D
                denjo @Ralla66 last edited by

                @Ralla66 ist schon auf der neusten version

                1 Reply Last reply Reply Quote 0
                • AlCalzone
                  AlCalzone Developer @denjo last edited by AlCalzone

                  @denjo sagte in Amazon Dash Adapter läuft nicht mehr?:

                  sudo npm install adapter .amazon-dash

                  Vier Fehler sehe ich hier.
                  Erstens: npm-Befehle zur Installation von Adaptern müssen in /opt/iobroker ausgeführt werden.
                  Die nächsten zwei kannst du durch Lektüre von https://forum.iobroker.net/topic/17109/wichtige-hinweise-bei-neueren-npm-versionen-und-sudo sicher beheben.
                  Der vierte ist alles was nach install kommt.

                  Die korrekte Befehlszeile wäre

                  cd /opt/iobroker
                  npm install iobroker.amazon-dash
                  

                  Und da ich davon ausgehe, dass du dir durch vorherige sudo npm install Orgien die Rechte auf deinem System zerschossen hast, empfehle ich dir, den Fixer auszuführen.

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

                  Bei korrekten Rechten sollte es auf neuen Installationen nie nötig sein, npm-Pakete mit sudo zu installieren.

                  D 1 Reply Last reply Reply Quote 1
                  • D
                    denjo @AlCalzone last edited by

                    @AlCalzone das echt nett und warscheinlich gut beschrieben, aber für mich zu hoch.
                    ich habe heut morgen das hier gemacht um mein nodejs zu aktualisieren

                    https://www.synology-forum.de/showthread.html?99192-NodeJs-Update-von-NodeJs-So-funktionierts!

                    also bedeutet das ich habe alles zerschossen und darf es mal wieder neu machen.
                    man ist das zum kotzen

                    Homoran 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @denjo last edited by

                      @denjo sagte in Amazon Dash Adapter läuft nicht mehr?:

                      ich habe heut morgen das hier gemacht um mein nodejs zu aktualisieren

                      Warum nimmst du externe Anleitungen und nicht die offizielle von uns?
                      http://www.iobroker.net/docu/?page_id=8323&lang=de#Upgrade_von_nodejs_und_npm

                      1 Reply Last reply Reply Quote 0
                      • D
                        denjo last edited by

                        ja hast ja recht

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

                          Die Anleitung ist klar besser, deswegen :
                          VORHER BACKUP MACHEN!!

                          D 1 Reply Last reply Reply Quote 0
                          • D
                            denjo @Ralla66 last edited by denjo

                            @Ralla66 ja bin gerade dabei alles neu zu machen mit mein backup, danke für die hilfe

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

                              Das wird schon, immer schön Backups machen wenn es läuft.
                              Geht mir aber manch einmal auch so das der Spieltrieb höher ist 🙂

                              D 1 Reply Last reply Reply Quote 0
                              • D
                                denjo @Ralla66 last edited by

                                @Ralla66 habe jetzt alles neu aufgesetzt und backup aufgespielt trotzdem immer noch gleicher fehler mit amazon dash

                                1 Reply Last reply Reply Quote 0
                                • D
                                  denjo last edited by

                                  und wenn ich es dann übers terminal probiere kommt auch wieder nur misst

                                  login as: pi
                                  pi@192.168.178.67's password:
                                  Linux raspberrypi 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l
                                  
                                  The programs included with the Debian GNU/Linux system are free software;
                                  the exact distribution terms for each program are described in the
                                  individual files in /usr/share/doc/*/copyright.
                                  
                                  Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                  permitted by applicable law.
                                  Last login: Fri May 17 16:24:12 2019 from 192.168.178.84
                                  pi@raspberrypi:~ $ cd /opt/iobroker
                                  pi@raspberrypi:/opt/iobroker $ npm install iobroker.amazon-dash
                                  npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules
                                  npm WARN svg-inline-react@1.0.3 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
                                  
                                  npm ERR! path /opt/iobroker/node_modules
                                  npm ERR! code EACCES
                                  npm ERR! errno -13
                                  npm ERR! syscall access
                                  npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules'
                                  npm ERR!  { Error: EACCES: permission denied, access '/opt/iobroker/node_modules'
                                  npm ERR!   stack: 'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules\'',
                                  npm ERR!   errno: -13,
                                  npm ERR!   code: 'EACCES',
                                  npm ERR!   syscall: 'access',
                                  npm ERR!   path: '/opt/iobroker/node_modules' }
                                  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/pi/.npm/_logs/2019-05-17T14_56_12_770Z-debug.log
                                  pi@raspberrypi:/opt/iobroker $
                                  
                                  
                                  AlCalzone 1 Reply Last reply Reply Quote 0
                                  • Ralla66
                                    Ralla66 Most Active last edited by

                                    Missing write access to /opt/iobroker/node_modules
                                    Da fehlt wohl das Schreibrecht.
                                    Wenn ich das richtig deute muß bei sudo "-H" und "–unsafe-perm" dazu.

                                    D 1 Reply Last reply Reply Quote 0
                                    • D
                                      denjo @Ralla66 last edited by denjo

                                      
                                      pi@raspberrypi:~ $ cd /opt/iobroker
                                      pi@raspberrypi:/opt/iobroker $ sudo -H npm install iobroker.amazon-dash --unsafe-perm
                                      npm ERR! code 128
                                      npm ERR! Command failed: /usr/bin/git submodule update -q --init --recursive
                                      npm ERR! fatal: Could not change back to '/root/.npm/_cacache/tmp/git-clone-75488af3': Keine Berechtigung
                                      npm ERR!
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /root/.npm/_logs/2019-05-17T15_17_14_054Z-debug.log
                                      pi@raspberrypi:/opt/iobroker $
                                      
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        denjo last edited by

                                        habs hinbekommen läuft wieder alles, fragt mich nicht wie aber läuft

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

                                          Prima,
                                          Backup machen und lächelnd durch die Welt laufen. 🙂

                                          1 Reply Last reply Reply Quote 0
                                          • AlCalzone
                                            AlCalzone Developer @denjo last edited by

                                            @denjo was ist die Ausgabe von

                                            ls -la /opt/iobroker/node_modules
                                            

                                            Und

                                            cat /opt/iobroker/INSTALLER_INFO.txt 
                                            

                                            ?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            833
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            dash-button
                                            5
                                            27
                                            925
                                            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