Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Kein Webzugriff mehr nach Stromausfall

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Kein Webzugriff mehr nach Stromausfall

    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Katos @da_Woody last edited by

      @da_woody said in Kein Webzugriff mehr nach Stromausfall:

      @katos hm, ohne den cracks vorgreifen zu wollen... 🙂

      iob fix
      

      schon versucht?

          Your installation was fixed successfully
          Run iobroker start to start ioBroker again!
      
      ==========================================================================
      
      pi@iobroker-pi:/ $ iobroker start
      pi@iobroker-pi:/ $ iobroker status
       Cannot read system.config: null (OK when migrating or restoring)
      iobroker is not running on this host.
      
      Objects type: file
      States  type: file
      
      

      @thomas-braun said in Kein Webzugriff mehr nach Stromausfall:

      @katos
      Dann ist da wohl noch mehr kaputt gegangen (Oder der user pi ist nicht richtig eingerichtet).

      groups
      

      liefert?

      pi@iobroker-pi:/ $ groups
      pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c spi
      
      
      da_Woody Thomas Braun 2 Replies Last reply Reply Quote 0
      • da_Woody
        da_Woody @Katos last edited by

        @katos sorry, war halt mal so ne idea...
        anscheinend hats da wirklich mehr zerknallt...

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

          @katos

          sudo usermod -aG iobroker pi
          exit
          
          K 1 Reply Last reply Reply Quote 0
          • K
            Katos @Thomas Braun last edited by

            @thomas-braun said in Kein Webzugriff mehr nach Stromausfall:

            @katos

            sudo usermod -aG iobroker pi
            exit
            
            pi@iobroker-pi:~ $ sudo -aG iobroker pi
            usage: sudo -h | -K | -k | -V
            usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
            usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
                        [command]
            usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
                        prompt] [-T timeout] [-u user] [VAR=value] [-i|-s] [<command>]
            usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
                        prompt] [-T timeout] [-u user] file ...
            
            

            @da_woody said in Kein Webzugriff mehr nach Stromausfall:

            @katos sorry, war halt mal so ne idea...
            anscheinend hats da wirklich mehr zerknallt...

            macht ja nix.... aber vielen Dank für den Tip.
            Habe mir den Befehlt gleich mal notiert,... kann ja nicht schaden und hilft evtl. beim nächsten Problem 🙂

            Thomas Braun Homoran 2 Replies Last reply Reply Quote 1
            • Thomas Braun
              Thomas Braun Most Active @Katos last edited by

              @katos sagte in Kein Webzugriff mehr nach Stromausfall:

              sudo usermod -aG iobroker pi
              exit
              

              Hatte zuerst den eigentlichen Befehl geschlabbert...

              Homoran K 2 Replies Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @Katos last edited by

                @katos sagte in Kein Webzugriff mehr nach Stromausfall:

                sudo -aG iobroker pi

                da fehlt was

                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @Thomas Braun last edited by Homoran

                  @thomas-braun sagte in Kein Webzugriff mehr nach Stromausfall:

                  Hatte zuerst den eigentlichen Befehl geschlabbert...

                  ach du warst der Übeltäter
                  chmettert den Purchen auf den Poden

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

                    @katos sagte in Kein Webzugriff mehr nach Stromausfall:

                    zu Anfang konnte ich mich tatsächlich nicht mittels puTTy verbinden (wobei ich mir sicher war das Login/Passwort richtig waren.
                    Dann habe ich das Passwort neu vergeben und habe jetzt wieder zugriff über die Shell.

                    liegt da nicht eher der Hund bergraben

                    1 Reply Last reply Reply Quote 0
                    • da_Woody
                      da_Woody @Homoran last edited by

                      @homoran schenk dir ein S!

                      Homoran 1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @da_Woody last edited by

                        @da_woody sagte in Kein Webzugriff mehr nach Stromausfall:

                        @homoran schenk dir ein S!

                        enää - gehört da nicht hin

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

                          @thomas-braun said in Kein Webzugriff mehr nach Stromausfall:

                          @katos sagte in Kein Webzugriff mehr nach Stromausfall:

                          sudo usermod -aG iobroker pi
                          exit
                          

                          Hatte zuerst den eigentlichen Befehl geschlabbert...

                          pi@iobroker-pi:/opt/iobroker/iobroker-data/backup-objects $ gunzip -ck 2021-11-15_13-15_objects.json.gz > /opt/iobroker/iobroker-data/objects.json
                          pi@iobroker-pi:/opt/iobroker/iobroker-data/backup-objects $ gunzip -ck 2021-11-15_13-15_states.json.gz > /opt/iobroker/iobroker-data/states.json
                          pi@iobroker-pi:/opt/iobroker/iobroker-data/backup-objects $ iobroker start
                          pi@iobroker-pi:/opt/iobroker/iobroker-data/backup-objects $ iobroker status
                           Cannot read system.config: null (OK when migrating or restoring)
                           Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                           States database error: connect ECONNREFUSED 127.0.0.1:9000
                           Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                           States database error: connect ECONNREFUSED 127.0.0.1:9000
                           Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                           States database error: connect ECONNREFUSED 127.0.0.1:9000
                           Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                           States database error: connect ECONNREFUSED 127.0.0.1:9000
                           Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                           States database error: connect ECONNREFUSED 127.0.0.1:9000
                           Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                           States database error: connect ECONNREFUSED 127.0.0.1:9000
                           Cannot find view "system" for search "host"
                           Cannot read system.config: null (OK when migrating or restoring)
                          iobroker is running on this host.
                          
                          
                          Objects type: file
                          States  type: file
                          
                          

                          hmm,.. oder das Problem sitzt 30cm vor dem PC.

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

                            @katos
                            Waren die Dateien denn auch noch (höchstwahrscheinlich) intakt?

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

                              @thomas-braun
                              bisher lief alles problemlos, bis wir halt einen Stromausfall hatten. Danach ging dann nix mehr.

                              Aber ich habe gerade gesehen, das ich der "BackItUp" Adapter (ich meine der hies so) ein automatisches Backup letzte Woche erstellt hat.
                              Kann ich das über die Shell wieder herstellen, wenn ich es per sftp auf den iobroker kopiere?

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

                                @katos sagte in Kein Webzugriff mehr nach Stromausfall:

                                Kann ich das über die Shell wieder herstellen, wenn ich es per sftp auf den iobroker kopiere?

                                Ich würde den gleichen Weg rein wie raus wählen. Wenn das also z. B. über ein smb-share gespeichert wurde dann würde ich das auch über den gleichen Weg zurückholen.

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

                                  @thomas-braun said in Kein Webzugriff mehr nach Stromausfall:

                                  n gleichen Weg rein wie raus wählen. Wenn das also z. B. über ein smb-share gespeichert

                                  iobroker stop
                                  
                                  cd /opt/iobroker/backups
                                  iobroker restore "Name_des_Backups"
                                  
                                  

                                  okay,...
                                  und dann sollte ich doch mittels folgenden befehlen das Backup wieder einspielen können, oder?

                                  1Topf 1 Reply Last reply Reply Quote 0
                                  • 1Topf
                                    1Topf @Katos last edited by 1Topf

                                    @katos sagte in Kein Webzugriff mehr nach Stromausfall:

                                    @thomas-braun said in Kein Webzugriff mehr nach Stromausfall:

                                    n gleichen Weg rein wie raus wählen. Wenn das also z. B. über ein smb-share gespeichert

                                    iobroker stop
                                    
                                    cd /opt/iobroker/backups
                                    iobroker restore 0
                                    
                                    iobroker start all
                                    iobroker start
                                    K 1 Reply Last reply Reply Quote 0
                                    • K
                                      Katos @1Topf last edited by

                                      @1topf @Thomas-Braun @Homoran @da_Woody

                                      ich werd bekloppt.... es hat funktioniert und läuft wieder 👊

                                      Muchas gracias !!!

                                      Homoran 1 Reply Last reply Reply Quote 1
                                      • Homoran
                                        Homoran Global Moderator Administrators @Katos last edited by

                                        @katos sagte in Kein Webzugriff mehr nach Stromausfall:

                                        es hat funktioniert und läuft wieder

                                        dafür hat man Backups

                                        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

                                        419
                                        Online

                                        32.0k
                                        Users

                                        80.4k
                                        Topics

                                        1.3m
                                        Posts

                                        6
                                        26
                                        1372
                                        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