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.
    • 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
                                    • S
                                      Soukai @Thomas Braun last edited by Soukai

                                      @thomas-braun
                                      Habe es nun wieder mit

                                      cd /opt/iobroker
                                      npm uninstall iobroker.ham
                                      

                                      probiert. Jedoch kriege ich diese Ausgabe:

                                      iobroker@iobroker-pi:/opt/iobroker $ npm uninstall iobroker.ham
                                      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-09T01_12_49_723Z-debug.log
                                      
                                      

                                      Der Befehl

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

                                      gibt folgendes aus:

                                      iobroker@iobroker-pi:/opt/iobroker $ npm ls --depth=0
                                      iobroker.inst@3.0.0 /opt/iobroker
                                      ├── iobroker.admin@5.3.4
                                      ├── iobroker.alexa2@3.11.2
                                      ├── iobroker.backitup@2.3.3
                                      ├── iobroker.daswetter@3.0.9
                                      ├── iobroker.discovery@2.8.0
                                      ├── iobroker.fb-checkpresence@1.1.13
                                      ├── iobroker.flot@1.10.7
                                      ├── iobroker.fritzdect@2.2.3
                                      ├── iobroker.habpanel@0.5.0
                                      ├── iobroker.ham@4.0.2
                                      ├── iobroker.history@1.10.5
                                      ├── iobroker.hyperion_ng@0.1.22 (github:felixganzer/ioBroker.hyperion_ng#eb2814e60d4ee5f51b49f6c4f93b00e65bf5a280)
                                      ├── iobroker.info@1.9.8
                                      ├── iobroker.javascript@5.2.21
                                      ├── iobroker.js-controller@4.0.21
                                      ├── iobroker.mihome@1.3.7
                                      ├── iobroker.openweathermap@0.1.0
                                      ├── iobroker.ping@1.5.3
                                      ├── iobroker.rpi2@1.3.2
                                      ├── iobroker.samsung@0.2.9
                                      ├── iobroker.scenes@2.3.9
                                      ├── iobroker.sonoff@2.4.7
                                      ├── iobroker.telegram@1.11.1
                                      ├── iobroker.tuya@3.6.15
                                      ├── iobroker.web@4.2.0
                                      ├── iobroker.wifilight@1.1.0
                                      ├── iobroker.windows-control@0.1.5
                                      ├── iobroker.wled@0.6.3
                                      └── iobroker.yeelight-2@1.1.2
                                      
                                      npm ERR! missing: blink@^5.0.1, required by iobroker.ham@4.0.2
                                      npm ERR! missing: homebridge-blink-for-home@^3.9.0, required by iobroker.ham@4.0.2
                                      
                                      

                                      Gibt es eine andere art, außer der "dreckigen"?

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

                                        @soukai Kommt

                                        npm ERR! missing: blink@^5.0.1, required by iobroker.ham@4.0.2
                                        npm ERR! missing: homebridge-blink-for-home@^3.9.0, required by iobroker.ham@4.0.2
                                        

                                        auch nach der dreckigen Deinstallation?

                                        S 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:

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

                                          Bin da kein Spezialist, das kann dir Thomas besser beabtwortet. Es kann zu Problemen führen, muss aber nicht. Ändern ist schon möglich.

                                          Mal etwas einfach ausgedrückt.
                                          Es ist etwas undurchsichtig, wenn du z.b nach siehst, wem welche Rechte gehören.
                                          Da steht dann iobroker.
                                          Du fragst dich allerdings, ist das mein user iobroker oder welcher der durch die iobroker Installation angelegt wurde.

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

                                            @thomas-braun
                                            Zunächst kam

                                            iobroker@iobroker-pi:/opt/iobroker $ npm ls --depth=0
                                            iobroker.inst@3.0.0 /opt/iobroker
                                            ├── iobroker.admin@5.3.4
                                            ├── iobroker.alexa2@3.11.2
                                            ├── iobroker.backitup@2.3.3
                                            ├── iobroker.daswetter@3.0.9
                                            ├── iobroker.discovery@2.8.0
                                            ├── iobroker.fb-checkpresence@1.1.13
                                            ├── iobroker.flot@1.10.7
                                            ├── iobroker.fritzdect@2.2.3
                                            ├── iobroker.habpanel@0.5.0
                                            ├─┬ UNMET DEPENDENCY iobroker.ham@4.0.2
                                            │ ├── @iobroker/adapter-core@2.6.0 deduped
                                            │ ├── homebridge-plugin-wrapper@2.1.1
                                            │ └── string-argv@0.3.1
                                            ├── iobroker.history@1.10.5
                                            ├── iobroker.hyperion_ng@0.1.22 (github:felixganzer/ioBroker.hyperion_ng#eb2814e60d4ee5f51b49f6c4f93b00e65bf5a280)
                                            ├── iobroker.info@1.9.8
                                            ├── iobroker.javascript@5.2.21
                                            ├── iobroker.js-controller@4.0.21
                                            ├── iobroker.mihome@1.3.7
                                            ├── iobroker.openweathermap@0.1.0
                                            ├── iobroker.ping@1.5.3
                                            ├── iobroker.rpi2@1.3.2
                                            ├── iobroker.samsung@0.2.9
                                            ├── iobroker.scenes@2.3.9
                                            ├── iobroker.sonoff@2.4.7
                                            ├── iobroker.telegram@1.11.1
                                            ├── iobroker.tuya@3.6.15
                                            ├── iobroker.web@4.2.0
                                            ├── iobroker.wifilight@1.1.0
                                            ├── iobroker.windows-control@0.1.5
                                            ├── iobroker.wled@0.6.3
                                            └── iobroker.yeelight-2@1.1.2
                                            
                                            npm ERR! missing: iobroker.ham@4.0.2, required by iobroker.inst@3.0.0
                                            
                                            

                                            Nach einer installation und deinstallation des adapters per iobroker ist der Fehler verschwunden:

                                            
                                            iobroker@iobroker-pi:/opt/iobroker $ npm ls --depth=0
                                            iobroker.inst@3.0.0 /opt/iobroker
                                            ├── iobroker.admin@5.3.4
                                            ├── iobroker.alexa2@3.11.2
                                            ├── iobroker.backitup@2.3.3
                                            ├── iobroker.daswetter@3.0.9
                                            ├── iobroker.discovery@2.8.0
                                            ├── iobroker.fb-checkpresence@1.1.13
                                            ├── iobroker.flot@1.10.7
                                            ├── iobroker.fritzdect@2.2.3
                                            ├── iobroker.habpanel@0.5.0
                                            ├── iobroker.ham@4.0.2
                                            ├── iobroker.history@1.10.5
                                            ├── iobroker.hyperion_ng@0.1.22 (github:felixganzer/ioBroker.hyperion_ng#eb2814e60d4ee5f51b49f6c4f93b00e65bf5a280)
                                            ├── iobroker.info@1.9.8
                                            ├── iobroker.javascript@5.2.21
                                            ├── iobroker.js-controller@4.0.21
                                            ├── iobroker.mihome@1.3.7
                                            ├── iobroker.openweathermap@0.1.0
                                            ├── iobroker.ping@1.5.3
                                            ├── iobroker.rpi2@1.3.2
                                            ├── iobroker.samsung@0.2.9
                                            ├── iobroker.scenes@2.3.9
                                            ├── iobroker.sonoff@2.4.7
                                            ├── iobroker.telegram@1.11.1
                                            ├── iobroker.tuya@3.6.15
                                            ├── iobroker.web@4.2.0
                                            ├── iobroker.wifilight@1.1.0
                                            ├── iobroker.windows-control@0.1.5
                                            ├── iobroker.wled@0.6.3
                                            └── iobroker.yeelight-2@1.1.2
                                            
                                            
                                            Thomas Braun 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