Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Homebridge Adapter löschen geht nicht ** gelöst **

    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

    Homebridge Adapter löschen geht nicht ** gelöst **

    This topic has been deleted. Only users with topic management privileges can see it.
    • Horst Böttcher
      Horst Böttcher last edited by Horst Böttcher

      Homebridge Adapter löschen geht nicht

      Systemdata
      Hardwaresystem: RPI 4
      Arbeitsspeicher: 4GB
      Festplattenart: SD-Karte
      Betriebssystem: Raspian Ligt
      Node-Version: ? Node.js ?
      Nodejs-Version: v12.22.1
      NPM-Version: 6.14.12
      Installationsart: Neu
      Ort/Name der Imagedatei: Link
      $ ./iobroker del ham
      Delete adapter "ham"
      host.raspberrypi object ham deleted
      host.raspberrypi object ham.admin deleted
      npm uninstall iobroker.ham --loglevel error --prefix "/opt/iobroker" (System call)
      npm ERR! code ENOTSUP
      npm ERR! notsup Unsupported engine for homebridge-ewelink@6.7.1: wanted: {"homebridge":"^1.3.3","node":"^14.17.0"} (current: {"node":"12.22.1","npm":"6.14.12"})
      npm ERR! notsup Not compatible with your version of node/npm: homebridge-ewelink@6.7.1
      npm ERR! notsup Not compatible with your version of node/npm: homebridge-ewelink@6.7.1
      npm ERR! notsup Required: {"homebridge":"^1.3.3","node":"^14.17.0"}npm ERR! notsup Actual:   {"npm":"6.14.12","node":"12.22.1"}
      npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2021-06-02T18_40_46_780Z-debug.log
      ERROR: Error deleting adapter ham from disk: Error: host.raspberrypi: Cannot uninstall iobroker.ham: 1You might have to delete it yourself!
      process exited with code 0
      
      1 Reply Last reply Reply Quote 0
      • haselchen
        haselchen Most Active last edited by

        @horst-böttcher

        Normalerweise befindet sich iobroker im Verzeichnis
        /opt/iobroker

        Wie hast du die Software denn am Anfang installiert?
        Und wie installierst du deine Adapter, auch über die Kommandozeile?

        Horst Böttcher 1 Reply Last reply Reply Quote 0
        • Horst Böttcher
          Horst Böttcher @haselchen last edited by

          @haselchen nein ich hab ihn über Admin installiert

          haselchen 1 Reply Last reply Reply Quote 0
          • haselchen
            haselchen Most Active @Horst Böttcher last edited by

            @horst-böttcher

            Was Frage 1 nicht beantwortet 😉

            Horst Böttcher 1 Reply Last reply Reply Quote 0
            • Horst Böttcher
              Horst Böttcher @haselchen last edited by

              @haselchen sagte in Homebridge Adapter löschen geht nicht:

              @horst-böttcher

              Was Frage 1 nicht beantwortet 😉

              /opt/iobroker/iobroker-data liegt ham_0
              alle andere liegen in
              /opt/iobroker/iobroker-data/files

              kann ich ham_0 einfach löschen

              haselchen 1 Reply Last reply Reply Quote 0
              • haselchen
                haselchen Most Active @Horst Böttcher last edited by haselchen

                @horst-böttcher

                Den Ordner kannste einfach löschen.
                Aber vorher würde ich den Befehl nochmal im iobroker Ordner absetzen.
                /opt/iobroker
                Wenns wieder Fehler hagelt, dann hilft wohl nur die Holzhammer Methode und manuell löschen.

                Horst Böttcher 1 Reply Last reply Reply Quote 0
                • Horst Böttcher
                  Horst Böttcher @haselchen last edited by Horst Böttcher

                  @haselchen so nach dem es über ssh auch nicht
                  hab ich den ganzen ordner gelöscht

                  obwohl ich ihn gelöscht hab muss er noch da sein
                  wenn ich einen anderen Adapter installieren möchte kommt

                  $ ./iobroker add history  --host raspberrypi
                  NPM version: 6.14.12
                  npm install iobroker.history@1.9.12 --loglevel error --prefix "/opt/iobroker" (System call)
                  npm ERR! code ENOTSUP
                  npm ERR! notsup Unsupported engine for homebridge-ewelink@6.7.1: wanted: {"homebridge":"^1.3.3","node":"^14.17.0"} (current: {"node":"12.22.1","npm":"6.14.12"})npm ERR! notsup Not compatible with your version of node/npm: homebridge-ewelink@6.7.1npm ERR! notsup Not compatible with your version of node/npm: homebridge-ewelink@6.7.1npm ERR! notsup Required: {"homebridge":"^1.3.3","node":"^14.17.0"}npm ERR! notsup Actual:   {"npm":"6.14.12","node":"12.22.1"}
                  npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2021-06-02T20_23_45_999Z-debug.log
                  ERROR: host.raspberrypi Cannot install iobroker.history@1.9.12: 1
                  ERROR: process exited with code 25
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Horst Böttcher last edited by Thomas Braun

                    @horst-böttcher

                    Da hängt noch was im npm-cache und/oder gyp fest.
                    Versuch mal

                    cd /opt/iobroker 
                    npm del homebridge-ewelink
                    npm del homebridge
                    

                    Wobei... Das ist so'n homebridge-plugin, oder?
                    Da hab ich keine Ahnung von. Vergiss den Kram oben.

                    haselchen Horst Böttcher 2 Replies Last reply Reply Quote 0
                    • haselchen
                      haselchen Most Active @Thomas Braun last edited by

                      @thomas-braun

                      Ist er nicht schon wieder im falschen Pfad?

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

                        @haselchen
                        Nee,

                        $ ./iobroker add history  --host raspberrypi
                        

                        kommt im Admin-Fenster, wenn man da rumklickert.

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

                          @thomas-braun

                          Ah okay, die Info fehlte.
                          Dachte der TE düdelt auf der Raspi Kommandozeile rum

                          1 Reply Last reply Reply Quote 0
                          • Horst Böttcher
                            Horst Böttcher @Thomas Braun last edited by

                            @thomas-braun

                            habs mal probier aber da kommt nur das leider

                            pi@raspberrypi:~ $ cd /opt/iobroker
                            pi@raspberrypi:/opt/iobroker $ npm del homebridge-ewelink
                            
                            Usage: npm <command>
                            
                            where <command> is one of:
                                access, adduser, audit, bin, bugs, c, cache, ci, cit,
                                clean-install, clean-install-test, completion, config,
                                create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
                                edit, explore, fund, get, help, help-search, hook, i, init,
                                install, install-ci-test, install-test, it, link, list, ln,
                                login, logout, ls, org, outdated, owner, pack, ping, prefix,
                                profile, prune, publish, rb, rebuild, repo, restart, root,
                                run, run-script, s, se, search, set, shrinkwrap, star,
                                stars, start, stop, t, team, test, token, tst, un,
                                uninstall, unpublish, unstar, up, update, v, version, view,
                                whoami
                            
                            npm <command> -h  quick help on <command>
                            npm -l            display full usage info
                            npm help <term>   search for help on <term>
                            npm help npm      involved overview
                            
                            Specify configs in the ini-formatted file:
                                /home/iobroker/.npmrc
                            or on the command line via: npm <command> --key value
                            Config info can be viewed via: npm help config
                            
                            npm@6.14.12 /usr/lib/node_modules/npm
                            
                            pi@raspberrypi:/opt/iobroker $ npm del homebridge
                            
                            Usage: npm <command>
                            
                            where <command> is one of:
                                access, adduser, audit, bin, bugs, c, cache, ci, cit,
                                clean-install, clean-install-test, completion, config,
                                create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
                                edit, explore, fund, get, help, help-search, hook, i, init,
                                install, install-ci-test, install-test, it, link, list, ln,
                                login, logout, ls, org, outdated, owner, pack, ping, prefix,
                                profile, prune, publish, rb, rebuild, repo, restart, root,
                                run, run-script, s, se, search, set, shrinkwrap, star,
                                stars, start, stop, t, team, test, token, tst, un,
                                uninstall, unpublish, unstar, up, update, v, version, view,
                                whoami
                            
                            npm <command> -h  quick help on <command>
                            npm -l            display full usage info
                            npm help <term>   search for help on <term>
                            npm help npm      involved overview
                            
                            Specify configs in the ini-formatted file:
                                /home/iobroker/.npmrc
                            or on the command line via: npm <command> --key value
                            Config info can be viewed via: npm help config
                            
                            npm@6.14.12 /usr/lib/node_modules/npm
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Horst Böttcher last edited by Thomas Braun

                              @horst-böttcher sagte in Homebridge Adapter löschen geht nicht:

                              npm uninstall homebridge-ewelink
                              

                              Kann aber auch sein, dass das 'tiefer' sitzt. Wie gesagt, keine Ahnung von homebridge und dessen plugins.

                              Horst Böttcher 1 Reply Last reply Reply Quote 0
                              • Horst Böttcher
                                Horst Böttcher @Thomas Braun last edited by Horst Böttcher

                                nein bleibt dabei

                                pi@raspberrypi:/opt/iobroker $ npm uninstall homebridge-ewelink
                                npm ERR! code ENOTSUP
                                npm ERR! notsup Unsupported engine for homebridge-ewelink@6.7.1: wanted: {"homebridge":"^1.3.3","node":"^14.17.0"} (current: {"node":"12.22.1","npm":"6.14.12"})
                                npm ERR! notsup Not compatible with your version of node/npm: homebridge-ewelink@6.7.1
                                npm ERR! notsup Not compatible with your version of node/npm: homebridge-ewelink@6.7.1
                                npm ERR! notsup Required: {"homebridge":"^1.3.3","node":"^14.17.0"}
                                npm ERR! notsup Actual:   {"npm":"6.14.12","node":"12.22.1"}
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/iobroker/.npm/_logs/2021-06-02T20_47_27_253Z-debug.log
                                

                                zum log
                                https://pastebin.com/gsgvEjN4

                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Horst Böttcher last edited by

                                  @horst-böttcher
                                  Auf pastebin komme ich von diesem Rechner aus nicht. Ist gesperrt.

                                  Wie hast du denn homebridge-ewelink (versucht?) zu installieren?
                                  Gibt ja wohl drei Methoden bei dem ham-Adapter.

                                  Horst Böttcher haselchen 2 Replies Last reply Reply Quote 0
                                  • Horst Böttcher
                                    Horst Böttcher @Thomas Braun last edited by

                                    @thomas-braun

                                    hier war die Lösung meines Problems
                                    https://www.youtube.com/watch?v=3OV-cDY6tsk

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

                                      @thomas-braun

                                      Heeeeeeeeey, Dein Kumpel Elzershark ......😬
                                      Wer hätte das gedacht 😂

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

                                        @haselchen Hör mir auf.
                                        Den Gedanken von node14 aus den Adapter rauszukicken hatte ich allerdings auch schon.

                                        Und wie gesagt:

                                        Kann aber auch sein, dass das 'tiefer' sitzt.

                                        War ja auch so.

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

                                          @thomas-braun

                                          Naja, du wirst lachen.
                                          Lösung war , den Adapter zu pausieren, damit man das Modul deinstallieren kann.

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

                                            @haselchen Jein. Und halt eine Ebene tiefer in die node_modules vom ham gehen und dort das 'Unter'-Modul rauswerfen.
                                            Wenn der ham dann wieder gestartet wird wird halt gegen node12 neugebaut.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            857
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            20
                                            810
                                            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