Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Alexa Adapter startet nach Update auf 3.10.4 nicht

    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

    [gelöst] Alexa Adapter startet nach Update auf 3.10.4 nicht

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

      @apollon77 Ok dann kannst du noch folgendes tun. suche mal wo in den node_modules du ein "bufferutil" Verzeichnis findest und benenne es mal um oder "Move" es weg (nicht löschen falls was anderes dadurch kaputt geht)

      1 Reply Last reply Reply Quote 1
      • SKB
        SKB Developer Most Active @apollon77 last edited by

        @apollon77 Was mich aber verwundert ist folgendes:

        pi@ioBroker:/opt/iobroker/node_modules/ws $ npm i bufferutil@4.0.3
        
        > bufferutil@4.0.3 install /opt/iobroker/node_modules/ws/node_modules/bufferutil
        
        > node-gyp-build
        
        npm notice created a lockfile as package-lock.json. You should commit this file.
        + bufferutil@4.0.3
        added 2 packages from 2 contributors and audited 2 packages in 1.423s
        found 0 vulnerabilities
        
        pi@ioBroker:/opt/iobroker/node_modules/ws $
        

        Bringt keine Meldung, das etwas "getan" wurde. Zum Test habe ich mal eingegeben:

        pi@ioBroker:/opt/iobroker/node_modules/ws $ npm i bufferutil@4.0.2
        
        > bufferutil@4.0.2 install /opt/iobroker/node_modules/ws/node_modules/bufferutil
        > node-gyp-build
        
        make: Verzeichnis „/opt/iobroker/node_modules/ws/node_modules/bufferutil/build“ wird betreten
          CC(target) Release/obj.target/bufferutil/src/bufferutil.o
          SOLINK_MODULE(target) Release/obj.target/bufferutil.node
          COPY Release/bufferutil.node
        make: Verzeichnis „/opt/iobroker/node_modules/ws/node_modules/bufferutil/build“ wird verlassen
        + bufferutil@4.0.2
        updated 1 package and audited 2 packages in 4.396s
        found 0 vulnerabilities
        

        Hier steht ja etwas, das was gemacht wurde ...

        1 Reply Last reply Reply Quote 0
        • apollon77
          apollon77 last edited by

          Ja npm ist da manchmal strange ... kannst auch versuchen bufferutil verzeichnisse zu suchen (oh ja mach das mal) und in allen ein "npm rebuild" aufrufen

          SKB 1 Reply Last reply Reply Quote 1
          • SKB
            SKB Developer Most Active @apollon77 last edited by

            @apollon77

            pi@ioBroker:/opt/iobroker/node_modules/ws $ sudo find / -type d -name "bufferutil"
            /opt/iobroker/node_modules/bufferutil
            /opt/iobroker/node_modules/ws/node_modules/bufferutil
            /opt/iobroker/node_modules/ws/node_modules/bufferutil/build/Release/.deps/Release/obj.target/bufferutil
            /opt/iobroker/node_modules/ws/node_modules/bufferutil/build/Release/obj.target/bufferutil
            find: ‘/proc/15830’: Datei oder Verzeichnis nicht gefunden
            /home/pi/node_modules/bufferutil
            
            apollon77 1 Reply Last reply Reply Quote 0
            • apollon77
              apollon77 @SKB last edited by

              @skb dann mach mal in /opt/iobroker/node_modules/bufferutil und auch /opt/iobroker/node_modules/ws/node_modules/bufferutil/ ein "npm rebuild"

              SKB 1 Reply Last reply Reply Quote 1
              • SKB
                SKB Developer Most Active @apollon77 last edited by

                @apollon77

                pi@ioBroker:/opt/iobroker/node_modules/ws $ cd /opt/iobroker/node_modules/bufferutil/
                pi@ioBroker:/opt/iobroker/node_modules/bufferutil $ npm rebuild
                pi@ioBroker:/opt/iobroker/node_modules/bufferutil $ cd /opt/iobroker/node_modules/ws/node_modules/bufferutil/
                pi@ioBroker:/opt/iobroker/node_modules/ws/node_modules/bufferutil $ npm rebuild
                pi@ioBroker:/opt/iobroker/node_modules/ws/node_modules/bufferutil $
                

                Ist das richtig, das da keine Ausgabe kommt?
                Soll ich nun den Adapter noch einmal starten? Via Instanz oder Shell?

                apollon77 1 Reply Last reply Reply Quote 0
                • apollon77
                  apollon77 @SKB last edited by

                  @skb hm ... ne keine ausgabe ist blöd. mach mal in beiden dirs ein "npm install --production"

                  SKB 1 Reply Last reply Reply Quote 1
                  • SKB
                    SKB Developer Most Active @apollon77 last edited by

                    @apollon77 said in Alexa Adapter startet nach Update auf 3.10.4 nicht mehr:

                    npm install --production

                    pi@ioBroker:/opt/iobroker/node_modules/ws/node_modules/bufferutil $ npm install --production
                    
                    > bufferutil@4.0.2 install /opt/iobroker/node_modules/ws/node_modules/bufferutil
                    > node-gyp-build
                    
                    npm notice created a lockfile as package-lock.json. You should commit this file.
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.1 (node_modules/chokidar/node_modules/fsevents):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                    
                    added 1 package from 1 contributor and audited 115 packages in 7.61s
                    found 1 moderate severity vulnerability
                      run `npm audit fix` to fix them, or `npm audit` for details
                    pi@ioBroker:/opt/iobroker/node_modules/ws/node_modules/bufferutil $
                    

                    und

                    pi@ioBroker:/opt/iobroker/node_modules/bufferutil $ npm install --production
                    npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                    npm WARN deprecated har-validator@5.1.5: this library is no longer supported
                    npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
                    npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
                    
                    > bufferutil@4.0.4 install /opt/iobroker/node_modules/bufferutil
                    > node-gyp-build
                    
                    npm notice created a lockfile as package-lock.json. You should commit this file.
                    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
                    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                    
                    added 1 package from 1 contributor and audited 411 packages in 14.738s
                    found 5 vulnerabilities (1 low, 3 moderate, 1 high)
                      run `npm audit fix` to fix them, or `npm audit` for details
                    pi@ioBroker:/opt/iobroker/node_modules/bufferutil $
                    

                    Irgendwie sieht das sehr strubbelig aus ^^

                    Soll ich npm audit fix laufen lassen?

                    mikeal created this issue in request/request

                    open Request’s Past, Present and Future #3142

                    apollon77 1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 @SKB last edited by

                      @skb nneee kein audit fix. versuch mal start

                      SKB 1 Reply Last reply Reply Quote 1
                      • SKB
                        SKB Developer Most Active @apollon77 last edited by

                        @apollon77 npm start? Oder?

                        apollon77 1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 @SKB last edited by

                          @skb einfach adapter restarten ... admin oder "iob restart alexa2" oder so ist egal

                          SKB 1 Reply Last reply Reply Quote 1
                          • SKB
                            SKB Developer Most Active @apollon77 last edited by

                            @apollon77

                            host.ioBroker	2021-10-13 09:52:28.035	info	Restart adapter system.adapter.alexa2.0 because enabled
                            host.ioBroker	2021-10-13 09:52:28.035	info	instance system.adapter.alexa2.0 terminated with code NaN ()
                            host.ioBroker	2021-10-13 09:52:28.034	warn	instance system.adapter.alexa2.0 terminated due to SIGBUS
                            

                            Frage: Wie könnte sich jetzt etwas geändert haben, wenn dort oben soviele Fehlermeldungen auftauchen?

                            apollon77 1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 @SKB last edited by

                              @skb Problem ist das ich oben das was ich sehen wollte nicht gesehen habe ... keine ahnung gerade mehr 😞 @AlCalzone noch ne idee als workaround?

                              1 Reply Last reply Reply Quote 1
                              • apollon77
                                apollon77 last edited by

                                @SKB next try ...

                                Ansonsten: in den entsprechenden Verzeichnissen die Datei node.napi.armv7.node löschen, dann sollten keine nativen Sachen mehr aufgerufen werden können. Siehe auch GitHub Issue.

                                ... schau mal ob so ein File in den bufferutil verzeichnissen ist und wenn ja benenn mal um

                                SKB 1 Reply Last reply Reply Quote 1
                                • SKB
                                  SKB Developer Most Active @apollon77 last edited by

                                  @apollon77

                                  pi@ioBroker:/opt/iobroker/node_modules/bufferutil $ ls
                                  binding.gyp  fallback.js  index.js  LICENSE  node_modules  package.json  package-lock.json  prebuilds  README.md  src
                                  
                                  pi@ioBroker:/opt/iobroker/node_modules/ws/node_modules/bufferutil $ ls
                                  binding.gyp  build  fallback.js  index.js  LICENSE  node_modules  package.json  package-lock.json  prebuilds  README.md  src
                                  

                                  Soweit ich das sehe, ist in keinem der Verzeichnisse diese Datei vorhanden.

                                  Habe mal eine Suche durchgeführt:

                                  pi@ioBroker:/opt/iobroker/node_modules/ws/node_modules/bufferutil $ sudo find / -type f -name "node.napi.armv7.node"
                                  /opt/iobroker/node_modules/utf-8-validate/prebuilds/linux-arm/node.napi.armv7.node
                                  /opt/iobroker/node_modules/bufferutil/prebuilds/linux-arm/node.napi.armv7.node
                                  find: ‘/proc/21028/task/21028/net’: Das Argument ist ungültig
                                  find: ‘/proc/21028/net’: Das Argument ist ungültig
                                  /home/pi/node_modules/utf-8-validate/prebuilds/linux-arm/node.napi.armv7.node
                                  /home/pi/node_modules/bufferutil/prebuilds/linux-arm/node.napi.armv7.node
                                  

                                  Soll ich alle entfernen?

                                  apollon77 1 Reply Last reply Reply Quote 0
                                  • apollon77
                                    apollon77 @SKB last edited by

                                    @skb die von bufferutil ja 🙂 Falls das net tut kann man die utf8-validate auch mal versuchen

                                    SKB 1 Reply Last reply Reply Quote 1
                                    • SKB
                                      SKB Developer Most Active @apollon77 last edited by

                                      @apollon77

                                      pi@ioBroker:/opt/iobroker/node_modules/ws/node_modules/bufferutil $ rm /home/pi/node_modules/utf-8-validate/prebuilds/linux-arm/node.napi.armv7.node
                                      pi@ioBroker:/opt/iobroker/node_modules/ws/node_modules/bufferutil $ rm /home/pi/node_modules/bufferutil/prebuilds/linux-arm/node.napi.armv7.node
                                      pi@ioBroker:/opt/iobroker/node_modules/ws/node_modules/bufferutil $ rm /opt/iobroker/node_modules/utf-8-validate/prebuilds/linux-arm/node.napi.armv7.node
                                      pi@ioBroker:/opt/iobroker/node_modules/ws/node_modules/bufferutil $ rm /opt/iobroker/node_modules/bufferutil/prebuilds/linux-arm/node.napi.armv7.node
                                      pi@ioBroker:/opt/iobroker/node_modules/ws/node_modules/bufferutil $ sudo find / -type f -name "node.napi.armv7.node"
                                      find: ‘/proc/21709/task/21709/net’: Das Argument ist ungültig
                                      find: ‘/proc/21709/net’: Das Argument ist ungültig
                                      find: ‘/proc/21723’: Datei oder Verzeichnis nicht gefunden
                                      find: ‘/proc/21724’: Datei oder Verzeichnis nicht gefunden
                                      find: ‘/proc/21725’: Datei oder Verzeichnis nicht gefunden
                                      
                                      apollon77 1 Reply Last reply Reply Quote 0
                                      • apollon77
                                        apollon77 @SKB last edited by

                                        @skb Ok, hast dich alle weggeworfen :-)) dann versuch mal

                                        SKB 1 Reply Last reply Reply Quote 1
                                        • AlCalzone
                                          AlCalzone Developer last edited by

                                          Ich würde mit npm ls bufferutil herausfinden, welche Module von bufferutil abhängen und in deren Ordnern npm i bufferutil@4.0.3 ausführen.

                                          1 Reply Last reply Reply Quote 1
                                          • SKB
                                            SKB Developer Most Active @apollon77 last edited by

                                            @apollon77 Was soll ich sagen? ES GEHT !!!!

                                            alexa2.0	2021-10-13 10:40:15.772	info	Subscribing to states...
                                            alexa2.0	2021-10-13 10:39:56.739	info	Alexa-Push-Connection (macDms = true) established. Disable Polling
                                            alexa2.0	2021-10-13 10:39:53.252	info	starting. Version 3.11.2 in /opt/iobroker/node_modules/iobroker.alexa2, node: v14.18.0, js-controller: 3.3.18
                                            host.ioBroker	2021-10-13 10:39:51.417	info	instance system.adapter.alexa2.0 started with pid 21873
                                            host.ioBroker	2021-10-13 10:39:50.497	info	"system.adapter.alexa2.0" enabled
                                            

                                            2021-10-13 10_41_16-Window.png

                                            Ist ja herrlich. DANKE !!!

                                            Jetzt musst Du mir vielleicht nur noch erklären, was da los war 😉

                                            apollon77 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

                                            847
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            103
                                            5506
                                            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