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.
    • 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
                                  • T
                                    tiego last edited by

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

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

                                    sudo: unable to execute ./reinstall.sh: No such file or directory

                                    leider identisch wie vorhin…

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

                                      mach mal

                                      sudo chmod 777 reinstall.sh
                                      

                                      und danach

                                      sudo reinstall.sh
                                      

                                      ohne "./"

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

                                        gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.15.0"

                                        gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/epoll/.node-gyp"

                                        make: Verzeichnis â/opt/iobroker/node_modules/epoll/buildâ wird betreten

                                        CXX(target) Release/obj.target/epoll/src/epoll.o

                                        SOLINK_MODULE(target) Release/obj.target/epoll.node

                                        COPY Release/epoll.node

                                        make: Verzeichnis â/opt/iobroker/node_modules/epoll/buildâ wird verlassen

                                        unix-dgram@0.2.3 install /opt/iobroker/node_modules/unix-dgram

                                        node-gyp rebuild

                                        gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.15.0"

                                        gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/unix-dgram/.node-gyp"

                                        make: Verzeichnis â/opt/iobroker/node_modules/unix-dgram/buildâ wird betreten

                                        CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o

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

                                          Das sieht gut aus

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

                                            jetzt starten?

                                            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

                                            867
                                            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