Navigation

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

    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

    Linux Betriebsystem geschrottet

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

      soweit läuft Linux,

      ich bin jetzt an IOBROKER dran, Erstinstallation ist fertig, wenn ich aber iobroker restore mache

      host.cubietruck Cannot find /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../../../backups/20_0_.2017_backup.tar.gz_backupiobroker.tar.gz

      muss ich erst alle adapter per hand installieren?

      1 Reply Last reply Reply Quote 0
      • eric2905
        eric2905 last edited by

        Muss das Backup-File nicht in /opt/iobroker/backups liegen?

        Der Pfad oben kommt mir viel zu lang vor …

        Gruß,

        Eric

        Gesendet von iPad mit Tapatalk

        1 Reply Last reply Reply Quote 0
        • C
          chaos99a last edited by

          ! ````
          root@cubietruck:/opt/iobroker# iobroker stop
          Stopping iobroker controller daemon...
          iobroker controller daemon stopped.
          Exit code for "killall.sh": 123
          root@cubietruck:/opt/iobroker# iobroker backup
          Backup created: /opt/iobroker/backups/2017_12_04-23_36_52_backupiobroker.tar.gz
          root@cubietruck:/opt/iobroker# cp /ext/20_0_.2017_backup.tar.gz /opt/iobroker/backups/
          root@cubietruck:/opt/iobroker# cd backups/
          root@cubietruck:/opt/iobroker/backups# ls -l
          total 508
          -rwxr-xr-x 1 root root 336638 Dez 4 23:37 20_0_.2017_backup.tar.gz
          -rw-r--r-- 1 root root 177491 Dez 4 23:36 2017_12_04-23_36_52_backupiobroker.tar.gz
          root@cubietruck:/opt/iobroker/backups# cd ..
          root@cubietruck:/opt/iobroker# iobroker restore
          Please specify one of the backup names:
          20_0_.2017_backup.tar.gz or 20_0_.2017_backup.tar.gz or 0
          2017_12_04-23_36_52_backupiobroker.tar.gz or 2017_12_04-23_36_52 or 1
          root@cubietruck:/opt/iobroker# iobroker restore 0
          host.cubietruck Using backup file 20_0_.2017_backup.tar.gz
          host.cubietruck Cannot find /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../../../backups/20_0_.2017_backup.tar.gz_backupiobroker.tar.gz
          root@cubietruck:/opt/iobroker#

          
          (ich habe ein backup erstellt damit der ordner erscheint) aber was mache ich falsch?
          
          edit:
          
          ok ich hab das erste gefunden, das backup war kaput mit einem älteren hat es funktioniert, aber eine adapter muss ich neu installieren ?
          
          MOD-Edit by eric2905; Code-Tags gesetzt
          1 Reply Last reply Reply Quote 0
          • C
            chaos99a last edited by

            also backup ist durch , ging relativ schnell , wenn ich jetzt bei adapter schaue steht bei jedem adapter

            File index.html not found

            was kann ich machen?

            1 Reply Last reply Reply Quote 0
            • eric2905
              eric2905 last edited by

              Moin,

              kennst Du die Command-Line Infos?

              ==> https://github.com/ioBroker/ioBroker/wi … er-restore

              Da sind zwei Hinweise dabei 🙂

              Gruß,

              Eric

              1 Reply Last reply Reply Quote 0
              • C
                chaos99a last edited by

                das war gestern wohl etwas zu spaet fuer mich, ja danke ich schaue mir das heute nachmittag an, ich habe heute morgen gesehen das er aber die Adapter installiert hat….

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

                  Nach einem restore dauert es (bei mir) etwa 2 Stunden bis alle Adapter neu installiert sind.

                  Im backup stehen nur die verwendeten Instanzen und deren Konfigurationen. Dann versucht iobroker jede einzelne Instanz zu starten, stellt fest, dass die noch gar nicht installiert ist und installiert diese komplett neu.

                  (Steht dann auch so in etwa im log!)

                  Das gute daran ist, dass diese Neuinstallation auch direkt passend für eine evtl. geänderte Hardware kompiliert wird.

                  Gruß Rainer

                  1 Reply Last reply Reply Quote 0
                  • C
                    chaos99a last edited by

                    ich muss noch mal fragen, da mein letztes debian update fehlgeschlagen ist und ich noch mal alles neu aufsetzen musste,

                    bin ich jetzt beim update einspielen,

                    ist das so ok? und er muss jetzt nur die Adapter von alleine installieren?

                    root@cubietruck:~# iobroker restore 0

                    host.cubietruck Using backup file 2018_01_24-20_02_53_backupiobroker.tar.gz

                    /opt/iobroker/node_modules/iobroker.js-controller/node_modules/tar/lib/pack.js:3 2

                    const EOF = Buffer.alloc(1024)

                    ^

                    TypeError: Buffer.alloc is not a function

                    at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/nod e_modules/tar/lib/pack.js:32:20)

                    at Module._compile (module.js:435:26)

                    at Object.Module._extensions..js (module.js:442:10)

                    at Module.load (module.js:356:32)

                    at Function.Module._load (module.js:311:12)

                    at Module.require (module.js:366:17)

                    at require (module.js:385:17)

                    at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/nod e_modules/tar/lib/create.js:6:14)

                    at Module._compile (module.js:435:26)

                    at Object.Module._extensions..js (module.js:442:10)

                    root@cubietruck:~# iorboker start</anonymous></anonymous>

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

                      @chaos99a:

                      ist das so ok? `
                      nein!

                      Wie alt ist deine Installation?

                      Welcher js-controller ist da drauf?

                      Gruß

                      Rainer

                      1 Reply Last reply Reply Quote 0
                      • C
                        chaos99a last edited by

                        Controller "js-controller" : 1.2.3 , installed 1.2.3

                        ich weis das ich vorher noch die andere 'alte' ansicht hatte als weboberfläche

                        ich habe aber erst vor zwei wochen eine update der Adapter gemacht, weiterhin hatte ich aber die alte Ansicht

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

                          Die Oberfläche ist nicht entscheidend.

                          Beim js-controller vor 1.2.1 gab es einen Bug.

                          Das Backup ist im Ordner /opt/iobroker/backups?

                          Der Ordner ist nach der Neuinstallation manuell angelegt und das Backup da hineingeschoben worden?

                          Gruß

                          rainer

                          1 Reply Last reply Reply Quote 0
                          • C
                            chaos99a last edited by

                            ja ist es,

                            root@cubietruck:/opt/iobroker# ls -l

                            total 40

                            drwxr-xr-x 2 root root 4096 Feb 16 16:36 backups

                            drwxr-xr-x 2 root root 4096 Feb 16 16:13 etc

                            -rwxr-xr-x 1 root root 297 Feb 16 16:20 install.sh

                            -rwxrwxrwx 1 root root 67 Feb 16 16:20 iobroker

                            drwxr-xr-x 3 root root 4096 Feb 16 16:25 iobroker-data

                            -rw-r–r-- 1 root root 91 Feb 16 16:20 killall.sh

                            drwxr-xr-x 2 root root 4096 Feb 16 16:24 log

                            drwxr-xr-x 7 root root 4096 Feb 16 16:20 node_modules

                            -rw-r--r-- 1 root root 279 Feb 16 16:20 package.json

                            -rw-r--r-- 1 root root 655 Feb 16 16:20 reinstall.sh

                            root@cubietruck:/opt/iobroker/backups# ls -l

                            -rwxr--r-- 1 root root 591401 Feb 16 16:24 2018_01_24-20_02_53_backupiobroker.tar.gz

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

                              Jetzt hoffen wir mal, dass das (letzte) Backup nicht auch bereits in Mitleidenschaft gezogen wurde.

                              Spaßeshalber mal ein älteres Backup testen.

                              Gruß

                              Rainer

                              1 Reply Last reply Reply Quote 0
                              • C
                                chaos99a last edited by

                                ich habe jetzt einige backups versucht, das älteste von 04/2017

                                der gleiche fehler

                                root@cubietruck:/opt/iobroker/backups# ls -l

                                total 2176

                                -rwxr–r-- 1 root root 426070 Feb 16 17:06 2017_04_09-09_33_49_backupiobroker.tar.gz

                                -rwxr--r-- 1 root root 480276 Feb 16 17:04 2017_08_18-09_56_54_backupiobroker.tar.gz

                                -rwxr--r-- 1 root root 177491 Feb 16 17:02 2017_12_04-23_36_52_backupiobroker.tar.gz

                                -rwxr--r-- 1 root root 540133 Feb 16 16:36 2017_12_09-15_08_11_backupiobroker.tar.gz

                                -rwxr--r-- 1 root root 591401 Feb 16 16:24 2018_01_24-20_02_53_backupiobroker.tar.gz

                                root@cubietruck:/opt/iobroker/backups# iobroker restore 2017_04_09-09_33_49_backupiobroker.tar.gz

                                /opt/iobroker/node_modules/iobroker.js-controller/node_modules/tar/lib/pack.js:32

                                const EOF = Buffer.alloc(1024)

                                ^

                                TypeError: Buffer.alloc is not a function

                                at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/node_modules/tar/lib/pack.js:32:20)

                                at Module._compile (module.js:435:26)

                                at Object.Module._extensions..js (module.js:442:10)

                                at Module.load (module.js:356:32)

                                at Function.Module._load (module.js:311:12)

                                at Module.require (module.js:366:17)

                                at require (module.js:385:17)

                                at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/node_modules/tar/lib/create.js:6:14)

                                at Module._compile (module.js:435:26)

                                at Object.Module._extensions..js (module.js:442:10)</anonymous></anonymous>

                                1 Reply Last reply Reply Quote 0
                                • C
                                  chaos99a last edited by

                                  das heist jetzt? keine chance ?

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

                                    Das heißt jetzt: keine Ahnung!

                                    Sorry.

                                    Vielleicht hat da jemand anders Ahnung.

                                    Gruß

                                    Rainer

                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      chaos99a last edited by

                                      wenn ich versuche ein backup zu erstellen kommt das gleiche

                                      also scheint es nicht an meinem backups zu liegen, debian ist ganz frisch und iobroker hat sich ohne fehler installiert

                                      welche ist die letzte NODE-js version die installiert werden sollte?

                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        chaos99a last edited by

                                        gefunden , es lag an einer zu alten node-js version , jetzt habe ich 8.x

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

                                          @chaos99a:

                                          jetzt habe ich 8.x `
                                          Vorsicht!

                                          Node v8 kommt mit npm 5.x - das macht Probleme

                                          Bitte unbedingt auf 4.x downgraden.

                                          Gruß

                                          Rainer

                                          1 Reply Last reply Reply Quote 0
                                          • C
                                            chaos99a last edited by

                                            ja habe ich gesehen , aber das backup lief (-:

                                            kannst du mir sagen wie ich richtig downgrade?

                                            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

                                            905
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            27
                                            2277
                                            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