Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Gelöst] Restore von defekter SD Sicherung des IoBroker Ordner

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    [Gelöst] Restore von defekter SD Sicherung des IoBroker Ordner

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

      Hallo,

      die alte basierte auf das Image "ioBroker_Image_RPi_2-3_20180401_stretch" der rest rein über das Webinterface und vor c.a. 1 Woche

      sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove && sudo apt-get autoclean

      danach habe ich die SD mit einem Linux rechner geöffnet und den Iobroker ordner kopiert.

      1 Reply Last reply Reply Quote 0
      • T
        tiego last edited by

        wie soll ich jetzt weiter vorgehen?

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

          @tiego:

          sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove && sudo apt-get autoclean `
          Also doch ein Kernel-Update!

          @tiego:

          der rest rein über das Webinterface `
          Die neue Installation??? oder was ist der Rest?

          1 Reply Last reply Reply Quote 0
          • T
            tiego last edited by

            Die reine configuration habe ich über die Webinterface des IO Brokers vorgenommen.

            ich war nie im Terminal sonst.

            1 Reply Last reply Reply Quote 0
            • T
              tiego last edited by

              Könntest du mir bitte kurz beschreiben was ich jetzt am besten machen sollte?

              das aktuelle Image "ioBroker_Image_RPi_2-3_20190104_stretch" runterladen und auf die SD Spielen?

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

                Lass dir doch bitte nicht alles aus der Nase ziehen:

                @tiego:

                ie alte basierte auf das Image "ioBroker_Image_RPi_2-3_20180401_stretch" `

                UNd die neue?

                1 Reply Last reply Reply Quote 0
                • T
                  tiego last edited by

                  Hallo, Sorry,

                  ich habe aktuell das selbe Image auf der neuen SD welche sich im RPI befindet.

                  Meine aktuelle vorgehensweise ist:

                  Image von IOBroker Seite "ioBroker_Image_RPi_2-3_20180401_stretch" mit win32disk auf eine neue SD

                  Raspi-config expand file System und die GPu ram auf 16 mb

                  sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get autoremove && sudo apt-get autoclean

                  ich bin nun auf diesen Punkt:

                  IObroker ist aktuell erreichbar, meine frage ist wie ich das alte jetzt rücksichere

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

                    Danke!

                    jetzt sind wir beide gleich!

                    @tiego:

                    wie soll ich jetzt weiter vorgehen? `

                    ioBroker stoppen:

                    iobroker stop
                    

                    nach dem kopieren des Ordners /opt/iobroker (besser alten Ordner leeren und neuen Inhalt darein) und````
                    vor dem iobroker start

                    
                    ein:
                    

                    sudo ./reinstall.sh

                    ausführen.
                    
                    Bei einem Fehler bitte sofort melden.
                    
                    Gruß
                    
                    Rainer
                    1 Reply Last reply Reply Quote 0
                    • T
                      tiego last edited by

                      pi@ioBroker-RasPi:/opt/iobroker $ sudo ./reinstall

                      sudo: ./reinstall: Befehl nicht gefunden

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

                        Dann versuch mal bitte

                        sudo -H npm rebuild
                        
                        1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators last edited by

                          Zusatz!!

                          Den befehl bitte in /opt/iobroker ausführen!

                          1 Reply Last reply Reply Quote 0
                          • T
                            tiego last edited by

                            pi@ioBroker-RasPi:/opt/iobroker $ sudo -H npm rebuild

                            pi@ioBroker-RasPi:/opt/iobroker $ sudo ./reinstall

                            sudo: ./reinstall: Befehl nicht gefunden

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

                              nur den rebuild, keinen reinstall!

                              1 Reply Last reply Reply Quote 0
                              • T
                                tiego last edited by

                                das gibt keine ausgabe in Terminal

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

                                  das kann sein

                                  ich probier es mal bei mir

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    tiego last edited by

                                    wenn ich iobroker starten will gibt es folgendes:

                                    pi@ioBroker-RasPi:/opt/iobroker $ iobroker start

                                    module.js:550

                                    throw err;

                                    ^

                                    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'

                                    at Function.Module._resolveFilename (module.js:548:15)

                                    at Function.Module._load (module.js:475:25)

                                    at Function.Module.runMain (module.js:694:10)

                                    at startup (bootstrap_node.js:204:16)

                                    at bootstrap_node.js:625:3

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

                                      bei mir gibt es eine Ausgabe - dauert aber ein wenig

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

                                        Habe ich was von Starten gesagt?

                                        Jetzt bitte nochmal ganz von vorne!

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          tiego last edited by

                                          so,

                                          alles im Ordner iobroker gelöscht und aus dem backup hineinkopiert.

                                          sudo -H npm rebuild

                                          gibt keine ausgabe und ist in 1 sec fertig

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

                                            @tiego:

                                            so,

                                            alles im Ordner iobroker gelöscht und aus dem backup hineinkopiert.

                                            sudo -H npm rebuild

                                            gibt keine ausgabe und ist in 1 sec fertig `

                                            seltsam - müsste aussehen wie ein neues install.

                                            in /opt/iobroker ausgeführt?

                                            Kann natürlich sein, dass dein Backup schon kaputt ist.

                                            glaube ich nicht.

                                            Führe bitte nocheinmal

                                            cd /opt/iobroker
                                            sudo ./reinstall.sh
                                            

                                            aus

                                            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

                                            639
                                            Online

                                            32.1k
                                            Users

                                            80.7k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            62
                                            2542
                                            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