Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Adapter vollständig deinstallieren...

    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

    Adapter vollständig deinstallieren...

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

      Hallo zusammen,

      Ich habe ein Problem mit dem eusec Adapter (siehe hier).
      Bei einigen anderen läuft der Adapter nach dem Update; ich kann es zwar installieren, aber es kommen jede Menge Fehlermeldungen beim Start und der Adapter bleibt auf Rot. Deinstallation des Adapters und neue Installation mit der neuen Version ändert nichts.

      Eine Idee war, dass bei meinen vielen fehlgeschlagenen Updateversuchen vielleicht irgendwo was hängen geblieben ist und jetzt Probleme bereitet.

      Daher die Frage - wie kann man gesichert einen Adapter einschließlich aller zu ihm gehörenden Teile entsorgen? Es handelt sich wie gesagt um den Adapter eusec und weitere Infos zum Problem im obigen Link. Kann jemand helfen und sich das alles mal genauer anschauen? Das wäre super. Vielen Dank schon mal im Voraus!

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

        @guitardoc

        Und wo stehst du da?

        cd /opt/iobroker/ 
        npm ls
        

        sagt?

        G 1 Reply Last reply Reply Quote 1
        • G
          guitardoc @Thomas Braun last edited by

          @thomas-braun

          iobroker.inst@3.0.0 /opt/iobroker
          +-- eufy-security-client@3.0.0 (git+ssh://git@github.com/bropat/eufy-security-client.git#2c376bc8889b1f92961289b96a7bc667deda8609)
          +-- iobroker.admin@6.13.16
          +-- iobroker.alias-manager@1.2.6
          +-- iobroker.backitup@2.11.0
          +-- iobroker.cloud@5.0.1
          +-- iobroker.discovery@4.4.0
          +-- iobroker.echarts@1.7.2
          +-- iobroker.eusec@1.2.1
          +-- iobroker.feiertage@1.2.0
          +-- iobroker.followthesun@0.5.0
          +-- iobroker.homeconnect@1.3.0
          +-- iobroker.hydrawise@1.0.0
          +-- iobroker.javascript@8.0.3 (git+ssh://git@github.com/ioBroker/ioBroker.javascript.git#34769285d99d2b547c039b27e7522d02fac6434e)
          +-- iobroker.js-controller@5.0.19
          +-- iobroker.logparser@2.2.2
          +-- iobroker.modbus@6.1.0
          +-- iobroker.mqtt@5.2.0
          +-- iobroker.pvforecast@2.9.1
          +-- iobroker.shelly@6.9.0
          +-- iobroker.shuttercontrol@1.7.0
          +-- iobroker.socketio@6.7.0
          +-- iobroker.solaredge@1.3.0
          +-- iobroker.sonoff@3.0.3
          +-- iobroker.sql@2.2.0
          +-- iobroker.telegram@3.2.1
          +-- iobroker.tuya@3.15.0
          +-- iobroker.viessmannapi@2.3.0
          +-- iobroker.vis-map@1.0.5
          +-- iobroker.vis-materialdesign@0.5.9
          +-- iobroker.vis@1.5.4
          +-- iobroker.vw-connect@0.6.0 (git+ssh://git@github.com/ta2k/ioBroker.vw-connect.git#1bea7002b834d672f998717c2232223d4d1d13af)
          +-- iobroker.weatherunderground@3.7.0
          +-- iobroker.web@6.2.5
          +-- iobroker.ws@2.6.1
          +-- iobroker.yahka@1.0.3
          `-- iobroker.zigbee@1.10.3
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @guitardoc last edited by

            @guitardoc

            Der hat auf der Ebene nix verloren.

            npm uninstall eufy-security-client
            
            G 1 Reply Last reply Reply Quote 1
            • G
              guitardoc @Thomas Braun last edited by

              @thomas-braun said in Adapter vollständig deinstallieren...:

              npm uninstall eufy-security-client

              OK, da war er weg. Dann noch mal neu die Installation versuchen?

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

                @guitardoc
                Starte den eigentlichen Adapter mal neu. Meldungen aus dem log dann hier rein.

                iob logs --watch
                
                G 1 Reply Last reply Reply Quote 1
                • G
                  guitardoc @Thomas Braun last edited by guitardoc

                  @thomas-braun

                  2024-05-12 08:47:25.761  - info: eusec.0 (25157) starting. Version 1.2.1 in /opt/iobroker/node_modules/iobroker.eusec, node: v18.20.2, js-controller: 5.0.19
                  2024-05-12 08:47:27.894  - info: eusec.0 (25157) Connected to station T8010P2320100018 on host 192.168.188.100 and port 21399
                  2024-05-12 08:47:27.910  - info: eusec.0 (25157) Connected to station T8010N2320201304 on host 192.168.188.103 and port 21025
                  2024-05-12 08:47:28.410  - error: eusec.0 (25157) Station: T8010N2320201304 command CMD_SDINFO_EX failed with error: undefined (-148)
                  2024-05-12 08:47:28.417  - error: eusec.0 (25157) Station: T8010P2320100018 command CMD_SDINFO_EX failed with error: undefined (-148)
                  2024-05-12 08:47:28.885  - error: eusec.0 (25157) onStationDatabaseQueryLatest Error [{"error":{"message":"DeviceNotFoundError: Device doesn't exists","context":{"device":"T8114P02195250D1"},"stacktrace":"DeviceNotFoundError: Device doesn't exists\n    at EufySecurity.getDevice (/opt/iobroker/node_modules/iobroker.eusec/node_modules/eufy-security-client/build/eufysecurity.js:372:15)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"},"stationSN":"T8010P2320100018","returnCode":0}]
                  2024-05-12 08:47:28.961  - info: eusec.0 (25157) go2rtc started: 08:47:28.961 INF go2rtc version 1.8.5 linux/amd64
                  2024-05-12 08:47:28.961  - info: eusec.0 (25157) go2rtc started: 08:47:28.961 INF [api] listen addr=:1984
                  2024-05-12 08:47:28.962  - info: eusec.0 (25157) go2rtc started: 08:47:28.962 INF [rtsp] listen addr=:8554
                  2024-05-12 08:47:28.962  - info: eusec.0 (25157) go2rtc started: 08:47:28.962 INF [webrtc] listen addr=:8555
                  2024-05-12 08:47:29.701  - warn: eusec.0 (25157) State value to set for "eusec.0.T8010P2320100018.cameras.T8114P0219521BCE.recording_clip_length" has value "0" less than min "5"
                  2024-05-12 08:47:29.702  - warn: eusec.0 (25157) State value to set for "eusec.0.T8010P2320100018.cameras.T8114P0219521D94.recording_clip_length" has value "0" less than min "5"
                  2024-05-12 08:47:29.703  - warn: eusec.0 (25157) State value to set for "eusec.0.T8010P2320100018.cameras.T8114P0220032A09.recording_clip_length" has value "0" less than min "5"
                  2024-05-12 08:47:29.703  - warn: eusec.0 (25157) State value to set for "eusec.0.T8010N2320201304.cameras.T8114P0219522104.recording_clip_length" has value "0" less than min "5"
                  2024-05-12 08:47:29.704  - warn: eusec.0 (25157) State value to set for "eusec.0.T8010N2320201304.cameras.T8114P0219524FBF.recording_clip_length" has value "0" less than min "5"
                  2024-05-12 08:47:45.315  - info: eusec.0 (25157) Push notification connection successfully established
                  
                  

                  Das ist das Protokoll nach dem Neustart des Adapters in der offiziellen Version 1.2.1. Der Fehler

                  2024-05-12 08:47:28.410  - error: eusec.0 (25157) Station: T8010N2320201304 command CMD_SDINFO_EX failed with error: undefined (-148)
                  2024-05-12 08:47:28.417  - error: eusec.0 (25157) Station: T8010P2320100018 command CMD_SDINFO_EX failed with error: undefined (-148)
                  

                  kommt dann in unregelmäßigen Abständen immer wieder, deswegen war die Empfehlung, die Version 1.3.0 aus dem Developer Branch zu installieren. Das hab ich jetzt mal getan, und dann kommen die folgenden Fehler:

                  2024-05-12 09:30:26.409  - info: eusec.0 (25536) starting. Version 1.3.0 (non-npm: bropat/ioBroker.eusec#develop) in /opt/iobroker/node_modules/iobroker.eusec, node: v18.20.2, js-controller: 5.0.19
                  2024-05-12 09:30:26.822  - info: eusec.0 (25536) Got terminate signal TERMINATE_YOURSELF
                  2024-05-12 09:30:26.827  - warn: web.0 (25521) Terminated (-100): Without reason
                  2024-05-12 09:30:26.827  - warn: eusec.0 (25536) Required fix to use livestreaming with this version of Node.js (CVE-2023-46809) applied. Restart of the adapter initiated to activate the fix.
                  2024-05-12 09:30:26.827  - warn: eusec.0 (25536) Restart initiated
                  2024-05-12 09:30:26.887  - info: eusec.0 (25536) terminating
                  2024-05-12 09:30:26.887  - info: eusec.0 (25536) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                  2024-05-12 09:30:27.323  - info: eusec.0 (25536) terminating
                  2024-05-12 09:30:27.331  - warn: web.0 (25521) setTimeout called, but adapter is shutting down
                  2024-05-12 09:30:29.126  - error: web.0 (25551) Cannot start extension "eusec.0": Error: Cannot find module 'iobroker.eusec/build/lib/web.js'
                  Require stack:
                  - /opt/iobroker/node_modules/iobroker.web/main.js
                  2024-05-12 09:30:30.642  - info: eusec.0 (25566) starting. Version 1.3.0 (non-npm: bropat/ioBroker.eusec#develop) in /opt/iobroker/node_modules/iobroker.eusec, node: v18.20.2, js-controller: 5.0.19
                  2024-05-12 09:30:31.056  - warn: eusec.0 (25566) Migrated configuration files to new location (needs restart). Restart of the adapter initiated.
                  2024-05-12 09:30:31.056  - warn: eusec.0 (25566) Restart initiated
                  2024-05-12 09:30:31.063  - info: eusec.0 (25566) terminating
                  2024-05-12 09:30:31.064  - info: eusec.0 (25566) Terminated (NO_ERROR): Without reason
                  2024-05-12 09:30:31.559  - info: eusec.0 (25566) terminating
                  

                  Ich bekomme die Version nicht zum Laufen...

                  Edit: Ich werd verrückt. Hab den Adapter in Version 1.3.0 noch mal neu gestartet und jetzt läuft er. Hurra!!!!

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

                    @guitardoc

                    Insgesamt scheinst du aber falsch zu installieren.
                    GitHub/'die Katze' ist keine reguläre Installationsweise. Pick den vw-connect und den javascript-Adapter aus dem Beta-Repository, wenn du testen willst. Ansonsten ist das stable-Repo dein erster Anlaufpunkt.

                    G 1 Reply Last reply Reply Quote 1
                    • G
                      guitardoc @Thomas Braun last edited by

                      @thomas-braun said in Adapter vollständig deinstallieren...:

                      Pick den vw-connect und den javascript-Adapter aus dem Beta-Repository, wenn du testen willst.

                      Was ist da genau der Unterschied? Hab mir da nie groß Gedanken drüber gemacht... Von der Katze ging es immer schneller, beim Beta-Repo muss man immer erst aufwändig die Repos umstellen, oder gibt es da eine Abkürzung?

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

                        @guitardoc sagte in Adapter vollständig deinstallieren...:

                        Was ist da genau der Unterschied?

                        Der Unterschied ist, dass die räudige Katze immer 'irgendeinen' Code anschleppt. Was halt so gerade im GitHub herumliegt. Über das Beta-Repo sind zumindest rudimentäre Tests gelaufen und es sind dann definierte Versionsstände.

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

                          @guitardoc

                          'Abkürzung':

                          Den Reiter 'npm' benutzen:

                          94ceb4b1-9474-4322-bce0-e0c379500ec2-image.png

                          1 Reply Last reply Reply Quote 1
                          • G
                            guitardoc @Thomas Braun last edited by guitardoc

                            @thomas-braun Wenn ich Beta als Repo auswähle
                            58cfce96-f777-4f7f-ab15-c21d2a99262e-image.png
                            dann erhalte ich sogar noch geringere Versionsstände als bei Stable? Oder hab ich nicht das richtige Verzeichnis?
                            170a7faa-eb07-426a-8f39-0ea20c278fd4-image.png
                            ce43a44e-70d0-4a7a-a452-ab41e0a8d664-image.png

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

                              @guitardoc

                              iob update
                              iob repo list
                              
                              G 1 Reply Last reply Reply Quote 1
                              • G
                                guitardoc @Thomas Braun last edited by

                                @thomas-braun said in Adapter vollständig deinstallieren...:

                                iob repo list

                                mn@iobroker:~$ iob update
                                Used repository: stable
                                Adapter    "admin"        : 6.13.16  , installed 6.13.16
                                Adapter    "alias-manager": 1.2.6    , installed 1.2.6
                                Adapter    "backitup"     : 2.11.0   , installed 2.11.0
                                Adapter    "cloud"        : 5.0.1    , installed 5.0.1
                                Adapter    "discovery"    : 4.4.0    , installed 4.4.0
                                Adapter    "echarts"      : 1.7.2    , installed 1.7.2
                                Adapter    "eusec"        : 1.2.1    , installed 1.3.0
                                Adapter    "feiertage"    : 1.2.0    , installed 1.2.0
                                Adapter    "followthesun" : 0.5.0    , installed 0.5.0
                                Adapter    "homeconnect"  : 1.3.0    , installed 1.3.0
                                Adapter    "hydrawise"    : 1.0.0    , installed 1.0.0
                                Adapter    "javascript"   : 7.8.0    , installed 8.0.3
                                Controller "js-controller": 5.0.19   , installed 5.0.19
                                Adapter    "logparser"    : 2.2.2    , installed 2.2.2
                                Adapter    "modbus"       : 6.1.0    , installed 6.1.0
                                Adapter    "mqtt"         : 5.2.0    , installed 5.2.0
                                Adapter    "pvforecast"   : 2.9.1    , installed 2.9.1
                                Adapter    "shelly"       : 6.9.0    , installed 6.9.0
                                Adapter    "shuttercontrol": 1.7.0   , installed 1.7.0
                                Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                                Adapter    "socketio"     : 6.7.0    , installed 6.7.0
                                Adapter    "solaredge"    : 1.3.0    , installed 1.3.0
                                Adapter    "sonoff"       : 3.0.3    , installed 3.0.3
                                Adapter    "sql"          : 2.2.0    , installed 2.2.0
                                Adapter    "telegram"     : 3.2.1    , installed 3.2.1
                                Adapter    "tuya"         : 3.15.0   , installed 3.15.0
                                Adapter    "viessmannapi" : 2.3.0    , installed 2.3.0
                                Adapter    "vis"          : 1.5.4    , installed 1.5.4
                                Adapter    "vis-map"      : 1.0.5    , installed 1.0.5
                                Adapter    "vis-materialdesign": 0.5.9, installed 0.5.9
                                Adapter    "weatherunderground": 3.7.0, installed 3.7.0
                                Adapter    "web"          : 6.2.5    , installed 6.2.5
                                Adapter    "ws"           : 2.6.1    , installed 2.6.1
                                Adapter    "yahka"        : 1.0.3    , installed 1.0.3
                                Adapter    "zigbee"       : 1.10.3   , installed 1.10.3
                                mn@iobroker:~$ iob repo list
                                stable        : https://download.iobroker.net/sources-dist.json
                                beta          : https://download.iobroker.net/sources-dist-latest.json
                                live-stable   : http://iobroker.live/repo/sources-dist.json
                                live-beta     : http://iobroker.live/repo/sources-dist-latest.json
                                
                                Active repo(s): stable
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @guitardoc last edited by

                                  @guitardoc sagte in Adapter vollständig deinstallieren...:

                                  Active repo(s): stable

                                  G 1 Reply Last reply Reply Quote 1
                                  • G
                                    guitardoc @Thomas Braun last edited by

                                    @thomas-braun Ja, ich hatte wieder umgestellt. Nach dem ioB Update unter Beta zeigt er die richtigen Versionsstände:

                                    mn@iobroker:~$ iob update
                                    Used repository: beta
                                    Adapter    "admin"        : 6.17.6   , installed 6.13.16 [Updatable]
                                    Adapter    "alias-manager": 1.2.6    , installed 1.2.6
                                    Adapter    "backitup"     : 2.11.0   , installed 2.11.0
                                    Adapter    "cloud"        : 5.0.1    , installed 5.0.1
                                    Adapter    "discovery"    : 4.5.0    , installed 4.4.0  [Updatable]
                                    Adapter    "echarts"      : 1.7.2    , installed 1.7.2
                                    Adapter    "eusec"        : 1.2.1    , installed 1.3.0
                                    Adapter    "feiertage"    : 1.2.0    , installed 1.2.0
                                    Adapter    "followthesun" : 0.5.0    , installed 0.5.0
                                    Adapter    "homeconnect"  : 1.4.0    , installed 1.3.0  [Updatable]
                                    Adapter    "hydrawise"    : 1.0.0    , installed 1.0.0
                                    Adapter    "javascript"   : 8.3.0    , installed 8.0.3  [Updatable]
                                    Controller "js-controller": 5.0.19   , installed 5.0.19
                                    Adapter    "logparser"    : 2.2.2    , installed 2.2.2
                                    Adapter    "modbus"       : 6.2.2    , installed 6.1.0  [Updatable]
                                    Adapter    "mqtt"         : 5.2.0    , installed 5.2.0
                                    Adapter    "pvforecast"   : 2.9.1    , installed 2.9.1
                                    Adapter    "shelly"       : 7.0.0    , installed 6.9.0  [Updatable]
                                    Adapter    "shuttercontrol": 1.7.0   , installed 1.7.0
                                    Adapter    "simple-api"   : 2.7.2    , installed 2.7.2
                                    Adapter    "socketio"     : 6.7.0    , installed 6.7.0
                                    Adapter    "solaredge"    : 1.4.1    , installed 1.3.0  [Updatable]
                                    Adapter    "sonoff"       : 3.0.3    , installed 3.0.3
                                    Adapter    "sql"          : 2.2.0    , installed 2.2.0
                                    Adapter    "telegram"     : 3.2.1    , installed 3.2.1
                                    Adapter    "tuya"         : 3.15.0   , installed 3.15.0
                                    Adapter    "viessmannapi" : 2.4.0    , installed 2.3.0  [Updatable]
                                    Adapter    "vis"          : 1.5.6    , installed 1.5.4  [Updatable]
                                    Adapter    "vis-map"      : 1.1.0    , installed 1.0.5  [Updatable]
                                    Adapter    "vis-materialdesign": 0.5.9, installed 0.5.9
                                    Adapter    "vw-connect"   : 0.6.0    , installed 0.6.0
                                    Adapter    "weatherunderground": 3.7.0, installed 3.7.0
                                    Adapter    "web"          : 6.2.5    , installed 6.2.5
                                    Adapter    "ws"           : 2.6.1    , installed 2.6.1
                                    Adapter    "yahka"        : 1.0.3    , installed 1.0.3
                                    Adapter    "zigbee"       : 1.10.3   , installed 1.10.3
                                    mn@iobroker:~$ iob repo list
                                    stable        : https://download.iobroker.net/sources-dist.json
                                    beta          : https://download.iobroker.net/sources-dist-latest.json
                                    live-stable   : http://iobroker.live/repo/sources-dist.json
                                    live-beta     : http://iobroker.live/repo/sources-dist-latest.json
                                    
                                    Active repo(s): beta
                                    mn@iobroker:~$ 
                                    
                                    

                                    Das ist aber verwirrend, dass man da erst ein ioB update ausführen muss nach der Umstellung der Repos...

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

                                      @guitardoc sagte in Adapter vollständig deinstallieren...:

                                      Das ist aber verwirrend, dass man da erst ein ioB update ausführen muss nach der Umstellung der Repos...

                                      Nee, das ist normal, weil ein 'iob update' halt den Inhalt der Repos aktualisiert und synchronisert und nicht die Adapter, falls du das meinen solltest.

                                      G 1 Reply Last reply Reply Quote 1
                                      • G
                                        guitardoc @Thomas Braun last edited by

                                        @thomas-braun Aber müssten nach der Umstellung des Repos von Stable auf Beta nicht gleich die Beta-Versionsnummern der Adapter angezeigt werden? Ohne ioB update waren die bei mir in Beta ja viel niedriger als in Stable (siehe Screenshots oben).

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

                                          @guitardoc sagte in Adapter vollständig deinstallieren...:

                                          Aber müssten nach der Umstellung des Repos von Stable auf Beta nicht gleich die Beta-Versionsnummern der Adapter angezeigt werden?

                                          Nein, nach der Umstellung muss zwingend das Repo aktualisiert werden. Halt per iob update

                                          G 1 Reply Last reply Reply Quote 1
                                          • G
                                            guitardoc @Thomas Braun last edited by

                                            @thomas-braun OK, vielleicht könnte man das als Hinweis mit in die repository-Seite aufnehmen? Viele Anwender werden das nicht wissen und ich hab das in drei Monaten bestimmt auch wieder vergessen... 🙂

                                            Thomas Braun Homoran 3 Replies 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

                                            670
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            27
                                            1105
                                            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