Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] Probleme mit dem Broadlink2 Adapter

    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] Probleme mit dem Broadlink2 Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @Cinimod last edited by Thomas Braun

      @dom-sch
      Zwischen welchen Versionen?
      Grundsätzlich gilt: Je ähnlicher sich die Systeme sind, desto unproblematischer sind systemübergreifende Backups.

      Ja, nodeJS auf der Spur.

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

        @thomas-braun ich meinte zwischen stretch und buster, das sollte ja keine auswirkung auf das einspielen einer backitup datei haben oder ?

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

          @dom-sch Nein, das ist egal. Der ioBroker läuft ja in nodeJS als Laufzeitumgebung, da spielt das darunter liegende System (kaum) eine Rolle. Da wären dann u. U. große Versionsunterschiede bei den jeweiligen node-Versionen eher entscheidend.

          1 Reply Last reply Reply Quote 0
          • Cinimod
            Cinimod Most Active last edited by

            Mist, aus Backup wiederherstellen hat auch nicht funktioniert, rödelt sich zu tode .... jetzt hab ich ne frische installation aufm NAS, aber bekomme das backup nicht mehr rein 🙁 hab es ne stunde machen lassen, passiert ist aber nichts ...

            wendy2702 1 Reply Last reply Reply Quote 0
            • wendy2702
              wendy2702 @Cinimod last edited by

              @dom-sch Wo passiert eine Stunde nicht?

              schaue mal per Console ins log

              tail -f /opt/iobroker/log/iobroker.current.log
              

              Das kann nach Menge der Adapter die zu installieren sind und Systemleistung gerne mal länger dauern.

              Cinimod 1 Reply Last reply Reply Quote 0
              • Cinimod
                Cinimod Most Active @wendy2702 last edited by wendy2702

                @wendy2702 said in Probleme mit dem Broadlink2 Adapter:

                tail -f /opt/iobroker/log/iobroker.current.log

                2021-03-06 19:58:32.172  - info: host.ioBrokerCustom stopInstance system.adapter.backitup.0 send kill signal                                                                                                
                2021-03-06 19:58:32.680  - info: host.ioBrokerCustom instance system.adapter.backitup.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)                                                             
                2021-03-06 19:58:35.194  - info: host.ioBrokerCustom instance system.adapter.backitup.0 started with pid 857                                                                                                
                2021-03-06 19:58:37.832  - info: backitup.0 (857) starting. Version 1.7.0 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.21.0, js-controller: 3.2.16                                            
                2021-03-06 19:58:37.888  - info: backitup.0 (857) [iobroker] backup was activated at 02:00 every 1 day(s)                                                                                                   
                2021-03-06 19:58:38.430  - error: backitup.0 (857) Error: Command failed: sudo mount -t cifs -o username=backup_user,password=****,rw,file_mode=0777,dir_mode=0777 //                                       
                192.168.178.99/backups/ioBroker/backitupAutoBackup /opt/iobroker/backups                                                                                                                                    
                sudo: Hostname ioBrokerCustom kann nicht aufgelöst werden: Der Name oder der Dienst ist nicht bekannt                                                                                                      
                mount error(2): No such file or directory                                                                                                                                                                   
                Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
                
                wendy2702 1 Reply Last reply Reply Quote 0
                • wendy2702
                  wendy2702 @Cinimod last edited by wendy2702

                  @dom-sch sagte in Probleme mit dem Broadlink2 Adapter:

                  ioBrokerCustom

                  Wie hast du neu installiert?

                  Neue HW?

                  Hat der Rechner einen neuen Hostnamen bekommen?

                  Wohin hast du vorher das Backup gepeichert und von wo soll es wieder hergestellt werden?

                  Cinimod 1 Reply Last reply Reply Quote 0
                  • Cinimod
                    Cinimod Most Active @wendy2702 last edited by Cinimod

                    @wendy2702 habe mit dem abbild buanet/iobroker:lastest einen neuen Docker container erstellt

                    das backup wurde vorher auch dort gespeichert, und sollte auch von dort wiederhergestellt werden

                    hatte sogar testweise von dem neuen eins erstellt, was auch dort angekommen ist

                    verstehe das ganze mit dem hostname noch nicht richtig

                    wendy2702 2 Replies Last reply Reply Quote 0
                    • wendy2702
                      wendy2702 @Cinimod last edited by

                      @dom-sch Oh Docker....

                      da kann ich nur eingeschrÄnkt helfen weil keine Ahnung.

                      Versuche erstmal, um es wieder ans laufen zu bekommen, das Backup manuell in den neuen Container zu kopieren und dann ein restore Über die Konsole anzustossen.

                      Cinimod 1 Reply Last reply Reply Quote 0
                      • Cinimod
                        Cinimod Most Active @wendy2702 last edited by

                        @wendy2702 ah ja super idee . mounte das sowieso auf den speicher der nas, kann das backup einfach drag drop dort hin schieben. mit welchem befehl kann das restore anstoßen ?

                        wendy2702 1 Reply Last reply Reply Quote 0
                        • wendy2702
                          wendy2702 @Cinimod last edited by

                          @dom-sch sagte in Probleme mit dem Broadlink2 Adapter:

                          verstehe das ganze mit dem hostname noch nicht richtig

                          der Name der z.B. erscheint wenn du dich in der Konsole anmeldest hinter dem @ oder der im Router erscheint.

                          Wenn der neue Container einen neuen Hostnamen hat kann es sein das der angepasst werden muss.

                          1 Reply Last reply Reply Quote 0
                          • wendy2702
                            wendy2702 @Cinimod last edited by

                            @dom-sch sagte in Probleme mit dem Broadlink2 Adapter:

                            mit welchem befehl kann das restore anstoßen ?

                            iobroker restore <vollständiger Pfad inklusive Dateinamen>
                            
                            1 Reply Last reply Reply Quote 0
                            • Cinimod
                              Cinimod Most Active last edited by

                              @wendy2702 ja der neue container hat auch einen neuen hostname, aber in was ich den jetzt änder soll ist mir nicht ganz klar

                              1 Reply Last reply Reply Quote 0
                              • Cinimod
                                Cinimod Most Active last edited by Cinimod

                                @wendy2702 oh mann hier klappt aber auch garnichts ...

                                root@ioBrokerCustom:/opt/iobroker/backups# iobroker stop                                                                                                             
                                iobroker controller daemon is not running                                                                                                                            
                                root@ioBrokerCustom:/opt/iobroker/backups# iobroker restore /opt/iobroker/backups/iobroker_2021_03_06-02_00_21_backupiobroker.tar.gz                                 
                                Stop iobroker first!                                                                                                                                                 
                                root@ioBrokerCustom:/opt/iobroker/backups# iobroker start                                                                                                            
                                Starting iobroker controller daemon...                                                                                                                               
                                iobroker controller daemon started. PID: 1160                                                                                                                        
                                root@ioBrokerCustom:/opt/iobroker/backups# iobroker restore /opt/iobroker/backups/iobroker_2021_03_06-02_00_21_backupiobroker.tar.gz                                 
                                Stop iobroker first!                                                                                                                                                 
                                root@ioBrokerCustom:/opt/iobroker/backups# iobroker stop                                                                                                             
                                Stopping iobroker controller daemon...                                                                                                                               
                                iobroker controller daemon stopped.                                                                                                                                  
                                No "killall.sh" script found. Just stop.                                                                                                                             
                                root@ioBrokerCustom:/opt/iobroker/backups# iobroker restore /opt/iobroker/backups/iobroker_2021_03_06-02_00_21_backupiobroker.tar.gz                                 
                                Stop iobroker first!                                                                                                                                                 
                                root@ioBrokerCustom:/opt/iobroker/backups# 
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Cinimod last edited by

                                  @dom-sch
                                  Im Wohn-Container unterwegs?
                                  Da funktioniert das übliche Verfahren nicht.

                                  Ich glaube mit

                                  pkill -u iobroker
                                  

                                  kann man alle Prozesse killen.

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

                                    @thomas-braun stimmt.

                                    Docker ist da anders

                                    1 Reply Last reply Reply Quote 0
                                    • Cinimod
                                      Cinimod Most Active last edited by

                                      @wendy2702 so nun endlich ein restore erfolgreich im gang, erstmal danke für eure hilfe bis hier hin 😊

                                      vielleicht erbarmt sich noch jemand mir mit dem hostname auf die sprünge zu helfen...
                                      jedesmal wenn ich einen neuen container erstelle, MUSS ich natürlicheinen neuen Containernamen vergeben, kann ja nicht mehrere gleich benennen,
                                      und offenbar macht er den Containernamen automatisch zum hostname wenn ich das richtig gedeutet habe.

                                      trotzdem verstehe ich das Problem nicht richtig, wenn ich iobroker auf einem anderen gerät installiere habe ich ja auch einen anderen hostname oder ?

                                      wieso er dann immer meckert verstehe ich nun nicht so richtig... neues gerät (container) neuer hostname ...

                                      root@ioBrokerCustom:/opt/iobroker/backups# which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs                            
                                      /usr/bin/nodejs                                                                                                                                                      
                                      v12.21.0                                                                                                                                                             
                                      /usr/bin/node                                                                                                                                                        
                                      v12.21.0                                                                                                                                                             
                                      /usr/bin/npm                                                                                                                                                         
                                      sudo: Hostname ioBrokerCustom kann nicht aufgelöst werden: Der Name oder der Dienst ist nicht bekannt                                                               
                                      6.14.11                                                                                                                                                              
                                      nodejs:                                                                                                                                                              
                                        Installiert:           12.21.0-1nodesource1                                                                                                                        
                                        Installationskandidat: 12.21.0-1nodesource1                                                                                                                        
                                        Versionstabelle:                                                                                                                                                   
                                       *** 12.21.0-1nodesource1 500                                                                                                                                        
                                              500 https://deb.nodesource.com/node_12.x buster/main amd64 Packages                                                                                          
                                              100 /var/lib/dpkg/status                                                                                                                                     
                                           10.24.0~dfsg-1~deb10u1 500                                                                                                                                      
                                              500 http://security.debian.org/debian-security buster/updates/main amd64 Packages                                                                            
                                           10.21.0~dfsg-1~deb10u1 500                                                                                                                                      
                                              500 http://deb.debian.org/debian buster/main amd64 Packages
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Cinimod last edited by

                                        @dom-sch sagte in Probleme mit dem Broadlink2 Adapter:

                                        cat /etc/hosts
                                        
                                        Cinimod 1 Reply Last reply Reply Quote 0
                                        • Cinimod
                                          Cinimod Most Active @Thomas Braun last edited by

                                          @thomas-braun said in Probleme mit dem Broadlink2 Adapter:

                                          cat /etc/hosts

                                          # Any manual change will be lost if the host name is changed or system upgrades.                                                                                     
                                          127.0.0.1       localhost                                                                                                                                            
                                          ::1             localhost                                                                                                                                            
                                          127.0.0.1       NAS-DS918                                                                                                                                            
                                          ::1             NAS-DS918   
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Cinimod last edited by

                                            @dom-sch
                                            Statt
                                            NAS-DS918
                                            gehört da wohl der jetzige hostname rein.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            538
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            64
                                            1650
                                            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