Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Alexa2 startet alle 5 Sek. Do not restart adapter alexa2.0

    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

    Alexa2 startet alle 5 Sek. Do not restart adapter alexa2.0

    This topic has been deleted. Only users with topic management privileges can see it.
    • Negalein
      Negalein Global Moderator @fraso last edited by

      @fraso

      Installationsart: Script

      welches Script?

      F 1 Reply Last reply Reply Quote 0
      • F
        fraso @Negalein last edited by

        @negalein
        danke für Deine schnelle Reaktion. ich muss zugeben ich weiß nicht genau was damit gemeint ist. Ich habe verzweifelt Alexa2.0 v3.12.0. über die Katze installiert. Das meinte ich mit script. was genau da abgefragt wurde ist mir noch nicht geläufig. danke.

        haselchen Thomas Braun 2 Replies Last reply Reply Quote 0
        • haselchen
          haselchen Most Active @fraso last edited by haselchen

          @fraso

          Dann bitte ein Log hier posten in Codetags

          F 1 Reply Last reply Reply Quote 0
          • F
            fraso @haselchen last edited by Negalein

            @haselchen

            host.iobroker-pi
            2021-12-19 22:18:22.469	info	instance system.adapter.alexa2.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
            
            alexa2.0
            2021-12-19 22:18:22.216	debug	Alexa-Remote: Sending Request with {"host":"alexa.amazon.de","path":"/api/devices-v2/device?cached=true&_=XXX","method":"GET","timeout":10000,"headers":{}}
            
            alexa2.0
            2021-12-19 22:18:22.216	debug	Alexa-Remote: No authentication check needed (time elapsed 244)
            
            alexa2.0
            2021-12-19 22:18:22.215	debug	Alexa-Remote: Response: [{"commsId":"amzn1.comms.id.person.amzn1~amzn1.account.XXX","directedId":"amzn1.account.XXX","phoneCountryCode":"49","phoneNumber":"XXX","firstName":"XXX","lastName":"XXX","phoneticFirstName":null,"phoneticLastName":null,"commsProvisionStatus":"PROVISIONED","isChild":false,"personIdV2":"amzn1.actor.person.oid.XXX","signedInUser":true,"commsProvisioned":true,"enrolledInAlexa":true,"speakerProvisioned":false}]
            
            alexa2.0
            2021-12-19 22:18:21.974	debug	Alexa-Remote: Sending Request with {"host":"alexa-comms-mobile-service.amazon.com","path":"/accounts","method":"GET","timeout":10000,"headers":{}}
            
            alexa2.0
            2021-12-19 22:18:21.973	debug	Alexa-Remote: No authentication check needed (time elapsed 1)
            
            alexa2.0
            2021-12-19 22:18:21.972	debug	Alexa-Remote: Authentication checked: true
            
            1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @fraso last edited by

              @fraso sagte in Alexa2 startet alle 5 Sek. Do not restart adapter alexa2.0:

              Ich habe verzweifelt Alexa2.0 v3.12.0. über die Katze installiert.

              Warum? Das ist nicht der normale Installationsweg.

              F 1 Reply Last reply Reply Quote 0
              • F
                fraso @Thomas Braun last edited by

                @thomas-braun
                Ich habe den gleichen effekt mit der Version alexa2 v3.11.2 gehabt und hoffte auf eine Lösung mit der "neueren" Version. Beide Adapter bringen das gleiche Ergebnis.

                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @fraso last edited by

                  @fraso
                  So ganz ist mir noch nicht klar womit du da unterwegs bist.
                  Bitte mal

                  which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                  

                  ausführen.

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    fraso @Thomas Braun last edited by

                    @thomas-braun sagte in Alexa2 startet alle 5 Sek. Do not restart adapter alexa2.0:

                    which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs

                    pi@iobroker-pi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                    /usr/bin/node
                    /usr/bin/npm
                    pi@iobroker-pi:~ $ 
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @fraso last edited by

                      @fraso

                      sudo ln -s /usr/bin/node /usr/bin/nodejs
                      

                      Und dann noch mal das von davor.

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        fraso @Thomas Braun last edited by

                        @thomas-braun sagte in Alexa2 startet alle 5 Sek. Do not restart adapter alexa2.0:

                        sudo ln -s /usr/bin/node /usr/bin/nodejs

                        pi@iobroker-pi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
                        pi@iobroker-pi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                        /usr/bin/nodejs
                        /usr/bin/node
                        /usr/bin/npm
                        v12.22.7
                        v12.22.7
                        6.14.15
                        Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
                        Hit:2 http://archive.raspberrypi.org/debian buster InRelease                   
                        Hit:3 https://repos.influxdata.com/debian stretch InRelease                    
                        Hit:4 https://packages.grafana.com/enterprise/deb stable InRelease             
                        Hit:5 https://deb.nodesource.com/node_12.x buster InRelease
                        Fetched 15.0 kB in 2s (7,647 B/s)
                        Reading package lists... Done
                        Building dependency tree       
                        Reading state information... Done
                        1 package can be upgraded. Run 'apt list --upgradable' to see it.
                        Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                        Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease                
                        Hit:3 https://packages.grafana.com/enterprise/deb stable InRelease             
                        Hit:4 https://repos.influxdata.com/debian stretch InRelease                    
                        Hit:5 https://deb.nodesource.com/node_12.x buster InRelease                    
                        Reading package lists... Done                       
                        Building dependency tree       
                        Reading state information... Done
                        1 package can be upgraded. Run 'apt list --upgradable' to see it.
                        nodejs:
                          Installed: 12.22.7-deb-1nodesource1
                          Candidate: 12.22.8-deb-1nodesource1
                          Version table:
                             12.22.8-deb-1nodesource1 500
                                500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                         *** 12.22.7-deb-1nodesource1 100
                                100 /var/lib/dpkg/status
                             10.24.0~dfsg-1~deb10u1 500
                                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                        pi@iobroker-pi:~ $ 
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @fraso last edited by Thomas Braun

                          @fraso

                          Bitte mal das System updaten.
                          Bei influx und grafana sind die auch falschen Repos angelegt.

                          F 1 Reply Last reply Reply Quote 0
                          • F
                            fraso @Thomas Braun last edited by

                            @thomas-braun

                            Darf ich fragen was genau ich machen soll?
                            Das Standard Update Rasperry?

                            sudo apt-get upgrade ?
                            sudo apt-get dist-upgrade ?

                            Danke.

                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @fraso last edited by Thomas Braun

                              @fraso
                              Das zum einen, zum anderen Stretch durch Buster ersetzen bei influx und bei grafana auf die oss-Version gehen.

                              Hat aber mit deinem Problem nicht direkt zu tun, ist aber dennoch falsch.

                              F 1 Reply Last reply Reply Quote 0
                              • F
                                fraso @Thomas Braun last edited by

                                @thomas-braun

                                Habe ich gemacht.

                                Die Info mit Stretch durch Buster ersetzen bei influx und bei grafana auf die oss Version gehen... how to?

                                1 Update nodejs (12.22.8-deb-1nodesource1)
                                0 Upgrade

                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @fraso last edited by

                                  @fraso
                                  Bitte nochmal auf den jeweiligen Projektseiten schauen. Da gibt es jeweils entsprechende Befehlszeilen.

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    fraso last edited by

                                    @thomas-braun mache ich. kannst du mich auf die Projektseiten schubsen?

                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @fraso last edited by Thomas Braun

                                      @fraso

                                      Wie bist du denn an die falschen Links gekommen?

                                      https://grafana.com/docs/grafana/latest/installation/debian/

                                      Influx:
                                      In der
                                      /etc/apt/sources.list.d/influxdb.list
                                      stretch durch buster ersetzen

                                      F 1 Reply Last reply Reply Quote 0
                                      • F
                                        fraso @Thomas Braun last edited by Negalein

                                        @thomas-braun

                                        pi@iobroker-pi:~ $ sudo apt-get remove --auto-remove grafana-enterprise
                                        Reading package lists... Done
                                        Building dependency tree       
                                        Reading state information... Done
                                        The following packages will be REMOVED:
                                          grafana-enterprise
                                        0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
                                        After this operation, 258 MB disk space will be freed.
                                        Do you want to continue? [Y/n] Y
                                        (Reading database ... 67759 files and directories currently installed.)
                                        Removing grafana-enterprise (8.3.3) ...
                                        pi@iobroker-pi:~ $ sudo apt-get install -y apt-transport-https
                                        Reading package lists... Done
                                        Building dependency tree       
                                        Reading state information... Done
                                        apt-transport-https is already the newest version (1.8.2.3).
                                        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                        pi@iobroker-pi:~ $ sudo apt-get install -y software-properties-common wget
                                        Reading package lists... Done
                                        Building dependency tree       
                                        Reading state information... Done
                                        software-properties-common is already the newest version (0.96.20.2-2).
                                        wget is already the newest version (1.20.1-1.1).
                                        0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                                        pi@iobroker-pi:~ $ wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
                                        OK
                                        pi@iobroker-pi:~ $ sudo apt-get update
                                        Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                                        Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease                
                                        Hit:3 https://packages.grafana.com/enterprise/deb stable InRelease             
                                        Hit:4 https://repos.influxdata.com/debian stretch InRelease                    
                                        Hit:5 https://deb.nodesource.com/node_12.x buster InRelease                    
                                        Reading package lists... Done                       
                                        pi@iobroker-pi:~ $ sudo apt-get install grafana
                                        Reading package lists... Done
                                        Building dependency tree       
                                        Reading state information... Done
                                        The following NEW packages will be installed:
                                          grafana
                                        0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
                                        Need to get 41.3 MB of archives.
                                        After this operation, 120 MB of additional disk space will be used.
                                        Get:1 https://packages.grafana.com/enterprise/deb stable/main armhf grafana armhf 7.0.0 [41.3 MB]
                                        Fetched 41.3 MB in 6s (6,691 kB/s)                                             
                                        Selecting previously unselected package grafana.
                                        (Reading database ... 61681 files and directories currently installed.)
                                        Preparing to unpack .../grafana_7.0.0_armhf.deb ...
                                        Unpacking grafana (7.0.0) ...
                                        Setting up grafana (7.0.0) ...
                                        Installing new version of config file /etc/default/grafana-server ...
                                        Installing new version of config file /usr/lib/systemd/system/grafana-server.service ...
                                        ### NOT starting on installation, please execute the following statements to configure grafana to start automatically using systemd
                                         sudo /bin/systemctl daemon-reload
                                         sudo /bin/systemctl enable grafana-server
                                        ### You can start grafana-server by executing
                                         sudo /bin/systemctl start grafana-server
                                        Processing triggers for systemd (241-7~deb10u8+rpi1) ...
                                        pi@iobroker-pi:~ $ 
                                        
                                        F 1 Reply Last reply Reply Quote 0
                                        • F
                                          fraso @fraso last edited by

                                          @fraso so richtig gemacht?

                                          F 1 Reply Last reply Reply Quote 0
                                          • F
                                            fraso @fraso last edited by

                                            @fraso sagte in Alexa2 startet alle 5 Sek. Do not restart adapter alexa2.0:

                                            @fraso so richtig gemacht?

                                            mmm... jetzt hab ich beide drauf 😞
                                            e4299006-7bfc-4d70-8868-d2b00c601fff-image.png

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            952
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            46
                                            1222
                                            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