Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter lassen sich nicht installieren + Problem Backitup

    NEWS

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

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    Adapter lassen sich nicht installieren + Problem Backitup

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @Soukai last edited by

      @soukai dann gehen mir leider die Ideen aus

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

        @soukai
        Stell mal das Repo auf Beta um.
        Und dann

        iobroker update -i
        
        1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @Soukai last edited by

          @soukai probier mal so, ob da mehr angezeigt wird

          iobroker add ble --debug
          
          S 1 Reply Last reply Reply Quote 0
          • S
            Soukai @crunchip last edited by Soukai

            @crunchip

            iobroker@iobroker-pi:~ $ iobroker add ble --debug
            NPM version: 6.14.16
            Installing iobroker.ble@0.12.0... (System call)
            npm ERR! code ENOTSUP
            npm ERR! notsup Unsupported engine for blink@5.0.1: wanted: {"node":">=0.10.28 <                                     0.12"} (current: {"node":"14.19.1","npm":"6.14.16"})
            npm ERR! notsup Not compatible with your version of node/npm: blink@5.0.1
            npm ERR! notsup Not compatible with your version of node/npm: blink@5.0.1
            npm ERR! notsup Required: {"node":">=0.10.28 <0.12"}
            npm ERR! notsup Actual:   {"npm":"6.14.16","node":"14.19.1"}
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/iobroker/.npm/_logs/2022-04-08T22_04_38_078Z-debug.log
            host.iobroker-pi Cannot install iobroker.ble@0.12.0: 1
            
            

            uff... hab grad mal geschaut was blink ist. Vor einem Monaten habe ich rumprobiert per Homebridge adapter auf eine Blink kamera zuzugreifen und musste module hinzufügen. Seitdem hatte ich nichts mehr installiert. Das war wohl das falsche blink modul... Kann das mein Problem sein? Wie lösch das ? Npm uninstall <package> lässt er nicht zu...

            npm uninstall blink@5.0.1
            npm WARN saveError ENOENT: no such file or directory, open '/home/iobroker/package.json'
            npm WARN enoent ENOENT: no such file or directory, open '/home/iobroker/package.json'
            npm WARN iobroker No description
            npm WARN iobroker No repository field.
            npm WARN iobroker No README data
            npm WARN iobroker No license field.
            
            
            Thomas Braun crunchip 2 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Soukai last edited by Thomas Braun

              @soukai

              Du stehst um falschen Verzeichnis.

              cd /opt/iobroker
              npm uninstall blink
              

              Oder hast du das im javaskript-Adapter drin?

              1 Reply Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active @Soukai last edited by

                @soukai sagte in Adapter lassen sich nicht installieren + Problem Backitup:

                Kann das mein Problem sein

                so wie es aussieht, ja

                S 1 Reply Last reply Reply Quote 0
                • S
                  Soukai @crunchip last edited by Soukai

                  @Thomas-Braun @crunchip

                  ohne

                  iobroker@iobroker-pi:~ $ cd /opt/iobroker
                  
                  iobroker@iobroker-pi:~ $ npm uninstall blink
                  npm WARN saveError ENOENT: no such file or directory, open '/home/iobroker/package.json'
                  npm WARN enoent ENOENT: no such file or directory, open '/home/iobroker/package.json'
                  npm WARN iobroker No description
                  npm WARN iobroker No repository field.
                  npm WARN iobroker No README data
                  npm WARN iobroker No license field.
                  
                  audited 57 packages in 2.792s
                  
                  1 package is looking for funding
                    run `npm fund` for details
                  
                  found 0 vulnerabilities
                  
                  

                  mit kommt:

                  iobroker@iobroker-pi:~ $ cd /opt/iobroker
                  iobroker@iobroker-pi:/opt/iobroker $ npm uninstall blink
                  npm ERR! code ENOTSUP
                  npm ERR! notsup Unsupported engine for blink@5.0.1: wanted: {"node":">=0.10.28 <0.12"} (current: {"node":"14.19.1","npm":"6.14.16"})
                  npm ERR! notsup Not compatible with your version of node/npm: blink@5.0.1
                  npm ERR! notsup Not compatible with your version of node/npm: blink@5.0.1
                  npm ERR! notsup Required: {"node":">=0.10.28 <0.12"}
                  npm ERR! notsup Actual:   {"npm":"6.14.16","node":"14.19.1"}
                  
                  npm ERR! A complete log of this run can be found in:
                  npm ERR!     /home/iobroker/.npm/_logs/2022-04-08T22_29_47_488Z-debug.log
                  
                  
                  crunchip Thomas Braun 2 Replies Last reply Reply Quote 0
                  • crunchip
                    crunchip Forum Testing Most Active @Soukai last edited by

                    @soukai den Adapter hast du gelöscht?
                    hast du da noch was davon drin?
                    80927fe5-626e-4955-87fa-93160129e66e-image.png

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

                      @soukai

                      npm ls blink
                      
                      1 Reply Last reply Reply Quote 0
                      • S
                        Soukai @crunchip last edited by Soukai

                        @crunchip

                        den Adapter "Homebridge Zubehör Manager" / HAM hab ich kurz darauf gelöscht, da ichs nich zum laufen bekommen hatte. Dort hatte ich die Module drin. Davor hatte ich die Module aus der Zeile entfernt.

                        @Thomas-Braun

                        iobroker@iobroker-pi:~ $ npm ls blink
                        /home/iobroker
                        └── (empty)
                        
                        
                        S 1 Reply Last reply Reply Quote 0
                        • S
                          Soukai @crunchip last edited by

                          @crunchip
                          Javascript sieht so bei mir aus
                          ba232c4c-33ee-423c-bfda-616bb51e8e85-grafik.png

                          1 Reply Last reply Reply Quote 0
                          • S
                            Soukai @Soukai last edited by Soukai

                            @Thomas-Braun

                            iobroker@iobroker-pi:~ $ cd /opt/iobroker
                            iobroker@iobroker-pi:/opt/iobroker $ npm ls blink
                            iobroker.inst@3.0.0 /opt/iobroker
                            └─┬ iobroker.ham@4.0.2
                              └── UNMET DEPENDENCY blink@^5.0.1
                            
                            npm ERR! missing: blink@^5.0.1, required by iobroker.ham@4.0.2
                            

                            Sorry für den spam

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

                              @soukai

                              iobroker del ham
                              
                              1 Reply Last reply Reply Quote 0
                              • S
                                Soukai last edited by

                                @thomas-braun

                                iobroker@iobroker-pi:~ $ iobroker delete ham
                                Delete adapter "ham"
                                host.iobroker-pi object ham deleted
                                host.iobroker-pi object ham.admin deleted
                                Error deleting adapter ham from disk: host.iobroker-pi: Cannot uninstall iobroker.ham: 1
                                You might have to delete it yourself!
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Soukai last edited by Thomas Braun

                                  @soukai

                                  cd /opt/iobroker
                                  npm uninstall iobroker.ham
                                  
                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    Soukai last edited by Soukai

                                    @thomas-braun @crunchip
                                    durch googlen habe es hiermit versucht:

                                    sudo rm -r /opt/iobroker/node_modules/iobroker.ham
                                    

                                    und alles funzt und es lässt sich wieder was installieren.
                                    ich denke ich werde zusätzlich noch deinen Befehl laufen lassen.

                                    ich dank Euch für die Mühe! Bleibt gesund!

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

                                      @soukai

                                      Das ist die unfeine Art.

                                      cd /opt/iobroker
                                      npm ls
                                      

                                      sagt?

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Soukai last edited by Soukai

                                        @thomas-braun
                                        sigh... mist... zumindest kein ham auffindbar.

                                        schicke es so, da zu lang:

                                        https://pastebin.com/0XwJtqkD

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

                                          @soukai

                                          cd /opt/iobroker
                                          npm ls --depth=0
                                          
                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            Soukai @Thomas Braun last edited by Soukai

                                            @thomas-braun
                                            Ich hab zum Glück ein Backup von der SD karte gemacht bevor ich an die Ganze sache rangegangen bin und habe mich entschieden das Backup zu restoren, um deinen Befehl zu nutzen statt meinem unsauberen. Sobald ich das gemacht habe schicke ich dir nochmal die ausgabe von

                                            cd /opt/iobroker
                                            npm ls --depth=0
                                            

                                            falls man hier nochmal drüber schauen müsste.

                                            Eine andere Frage, wie kritisch ist nun der user "iobroker"? Ist hier eine nachträgliche änderung möglich?

                                            crunchip 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

                                            822
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            48
                                            2317
                                            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