Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ioBroker manuelles Backup

    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

    ioBroker manuelles Backup

    This topic has been deleted. Only users with topic management privileges can see it.
    • 1
      1704eu @Glasfaser last edited by

      @glasfaser said in ioBroker manuelles Backup:

      iob list instances
      iob list adapters

      unsere Posts haben sich da fast überschnitten.

      Was meinst du? Mit altem Container oder mit neuem weiter machen?

      Glasfaser 1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @1704eu last edited by

        @1704eu sagte in ioBroker manuelles Backup:

        Was meinst du?

        siehe oben !

        1 Reply Last reply Reply Quote 0
        • 1
          1704eu @Glasfaser last edited by

          @glasfaser said in ioBroker manuelles Backup:

          neuen Image runterziehen , dein Bac

          ok dann probier ich das nachher gleich mal noch aus. DANKE

          Glasfaser 1 Reply Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @1704eu last edited by

            @1704eu sagte in ioBroker manuelles Backup:

            ok dann probier ich das nachher gleich mal noch aus. DANKE

            OK... weißt du auch wie !?

            1 Reply Last reply Reply Quote 0
            • 1
              1704eu last edited by

              @glasfaser

              So?
              npm i iobroker.js-controller@3.3.15 --production

              Glasfaser 1 Reply Last reply Reply Quote 0
              • Marc Berg
                Marc Berg Most Active last edited by

                @glasfaser sagte in ioBroker manuelles Backup:

                Besser den Contoller im neuen Image runterziehen , dein Backup rein , dann alles wieder hochziehen !

                Meinst du, dass der js-controller 3.3 mit Node.js 18 läuft? Kann ich mir nicht vorstellen, lasse mich aber gern eines Besseren belehren.

                Glasfaser 1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @1704eu last edited by

                  @1704eu sagte in ioBroker manuelles Backup:

                  @glasfaser

                  So?
                  npm i iobroker.js-controller@3.3.15 --production

                  Nee ..

                  cd /opt/iobroker
                  pkill -u iobroker
                  
                  sudo -H -u iobroker npm install iobroker.js-controller@3.3.15
                  
                  Container danach neu starten
                  

                  dann später auf

                  cd /opt/iobroker
                  sudo -H -u iobroker npm install iobroker.js-controller@4.0.24
                  
                  Container danach neu starten
                  

                  Dann auf 5

                  pkill -u iobroker
                  iobroker update
                  iobroker upgrade self
                  
                  Container danach neu starten
                  
                  1 1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @Marc Berg last edited by

                    @marc-berg sagte in ioBroker manuelles Backup:

                    js-controller 3.3 mit Node.js 18 läuft?

                    Theoretisch .. würde ich sagen , ja !

                    1 Reply Last reply Reply Quote 0
                    • 1
                      1704eu @Glasfaser last edited by

                      @glasfaser

                      und nach

                      cd /opt/iobroker
                      pkill -u iobroker
                      
                      sudo -H -u iobroker npm install iobroker.js-controller@3.3.15
                      

                      spiele ich das Backup wieder ein? Und dann den Rest?

                      Glasfaser 1 Reply Last reply Reply Quote 0
                      • Glasfaser
                        Glasfaser @1704eu last edited by

                        @1704eu sagte in ioBroker manuelles Backup:

                        spiele ich das Backup wieder ein? Und dann den Rest?

                        richtig !

                        1 1 Reply Last reply Reply Quote 0
                        • 1
                          1704eu @Glasfaser last edited by

                          @glasfaser

                          also js-controller downgrade auf 3.3.15 hat geklappt, nach dem Neustart konnte ich aber das Webinterface nicht aufrufen. Dann hab ich dennoch iobroker restore 0 gemacht, was tatsächlich erfolgreich abgeschlossen werden konnte. Container restart, und nun hänge ich wieder 😕

                          -----             Step 2 of 5: Detecting ioBroker Installation             -----
                          --------------------------------------------------------------------------------
                           
                          Existing installation of ioBroker detected in "/opt/iobroker".
                           
                          --------------------------------------------------------------------------------
                          -----             Step 3 of 5: Checking ioBroker Installation              -----
                          --------------------------------------------------------------------------------
                           
                          (Re)setting permissions (This might take a while! Please be patient!)... Done.
                           
                          Checking database connection... Failed.
                          Please check your configuration and try again.
                          For more information see ioBroker Docker image docs (https://docs.buanet.de/iobroker-docker-image/docs).
                           
                          This Script will exit now.
                          

                          so komme ich nicht mal ins Terminal zum ein iobroker fix oder ähnliches zu starten, weil er ja den Container stoppt 😞

                          Glasfaser 1 Reply Last reply Reply Quote 0
                          • Glasfaser
                            Glasfaser @1704eu last edited by Glasfaser

                            @1704eu sagte in ioBroker manuelles Backup:

                            was tatsächlich erfolgreich abgeschlossen werden konnte. Container restart, und nun hänge ich wieder

                            dann trage bei der ENV ( Environment Variables )

                            DEBUG = true
                            

                            ein .
                            Im Debuglog sieht man mehr

                            EDIT :

                            hier ein Screenshot :
                            .

                            .
                            b9e43157-85a5-4714-9f62-bff5376f6e35-grafik.png

                            1 1 Reply Last reply Reply Quote 0
                            • 1
                              1704eu @Glasfaser last edited by

                              @glasfaser

                              [DEBUG] Error message: 
                              [DEBUG] error: exec: "iob": executable file not found in $PATH 
                              

                              und wenn ich im Terminal nun iob fix mache, dann kommt die Meldung permission denied

                              1 Glasfaser 2 Replies Last reply Reply Quote 0
                              • 1
                                1704eu @1704eu last edited by

                                @1704eu
                                ok ich hab mal chmod 755 iobroker gemacht, das bringt mich wieder einen Schritt weiter

                                Checking database connection... Failed.
                                [DEBUG] Error message: 
                                [DEBUG] Server Cannot load /opt/iobroker/iobroker-data/objects.json: Database file /opt/iobroker/iobroker-data/objects.json does not exists.. We try last Backup!
                                [DEBUG] Server Cannot load /opt/iobroker/iobroker-data/objects.json.bak: Database file /opt/iobroker/iobroker-data/objects.json.bak does not exists.. Continue with empty dataset!
                                [DEBUG] Server If this is no Migration or initial start please restore the last backup from /opt/iobroker/iobroker-data/backup-objects
                                [DEBUG]  Cannot read system.config: null (OK when migrating or restoring)
                                [DEBUG] Error: no UUID found
                                Please check your configuration and try again.
                                For more information see ioBroker Docker image docs (https://docs.buanet.de/iobroker-docker-image/docs).
                                 
                                [DEBUG] Debug mode prevents the container from exiting on errors.
                                [DEBUG] This enables you to investigate or fix your issue on the command line.
                                [DEBUG] If you want to stop or restart your container you have to do it manually.
                                [DEBUG] IoBroker is not running!
                                
                                Homoran 1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @1704eu last edited by

                                  @1704eu sagte in ioBroker manuelles Backup:

                                  ich hab mal chmod 755 iobroker gemacht

                                  wo lernt man sowas?
                                  derselbe von dem ncars kommt?

                                  iobroker hat seine Rechtestruktur nicht ohne Grund

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

                                    @homoran said in ioBroker manuelles Backup:

                                    wo lernt man sowas?

                                    ich hab im alten Broker geschaut und dort war es 755 😕

                                    Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @1704eu last edited by

                                      @1704eu sagte in ioBroker manuelles Backup:

                                      im alten Broker

                                      möglich. 2014-15(16??) wurde noch als root installiert

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

                                        @1704eu sagte in ioBroker manuelles Backup:

                                        ich hab im alten Broker geschaut und dort war es 755

                                        Und aktuell werden ACLs gesetzt. Nix 755.

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

                                          der alte Broker könnte schon so alt sein, aber mein Problem ist ja, dass ich nach meinem restore nun

                                          [DEBUG] Error message: 
                                          [DEBUG] error: exec: "iob": executable file not found in $PATH 
                                          

                                          und wenn ich im Terminal nun iob fix oder irgendwas iob xxx mache, dann kommt die Meldung permission denied

                                          und ich frage mich wie ich davon wieder weg komme 😕

                                          1 Reply Last reply Reply Quote 0
                                          • Glasfaser
                                            Glasfaser @1704eu last edited by Glasfaser

                                            @1704eu sagte in ioBroker manuelles Backup:

                                            und wenn ich im Terminal nun iob fix mache, dann kommt die Meldung permission denied

                                            wie soll das gehen , denn :

                                            weil er ja den Container stoppt

                                            bitte die komplette Synology Ausgabe vom Log ( mit der Debug Env Einstellung ) ... kein Schnipsel hier posten !

                                            Also ... alles nochmal von Neu ... so bringt das nichts .. wenn du hier rummspielst !

                                            Neuen Container mit dem Image ... dann JS-Controller auf 3 , dann Backup einspielen ... auch bitte warten bis alles fertig ist
                                            und wenn der Fehler kommt dann das LOG hier posten !

                                            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

                                            832
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            40
                                            3198
                                            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