Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Probleme beim Restore

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    12
    1
    331

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.9k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.3k

Probleme beim Restore

Scheduled Pinned Locked Moved ioBroker Allgemein
backitup
27 Posts 5 Posters 1.9k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Schwammal

    Nachdem man das zu wiederherstellende Backup ausgewählt hat und Restore klick fängt der Prozess an und eine neues Fenster öffnet sich.

    [DEBUG] [iobroker] Start ioBroker Restore ...
    [DEBUG] [iobroker] iobroker controller daemon is not running
    [DEBUG] [iobroker] host.heimautomation OK.
    [DEBUG] [iobroker] host.heimautomation Clear all objects and states...
    [DEBUG] [iobroker] clean 391 objects...
    [ERROR] [iobroker] [Not critical] Cannot delete object 0_userdata.0: "Object is marked as non deletable"
    [ERROR] [iobroker] [Not critical] Cannot delete object alias.0: "Object is marked as non deletable"
    [ERROR] [iobroker] [Not critical] Cannot delete object system.repositories: "Object is marked as non deletable"
    [ERROR] [iobroker] [Not critical] Cannot delete object system.config: "Object is marked as non deletable"
    [ERROR] [iobroker] [Not critical] Cannot delete object enum.functions: "Object is marked as non deletable"
    [ERROR] [iobroker] [Not critical] Cannot delete object enum.rooms: "Object is marked as non deletable"
    [DEBUG] [iobroker] clean 305 states...
    [DEBUG] [iobroker] host.heimautomation done.
    [DEBUG] [iobroker] host.heimautomation Processed 0/15398 states
    [DEBUG] [iobroker] host.heimautomation Processed 200/15398 states
    [DEBUG] [iobroker] host.heimautomation Processed 400/15398 states
    .
    .
    .
    [DEBUG] [iobroker] host.heimautomation Processed 7200/17466 objects
    [DEBUG] [iobroker] host.heimautomation Processed 7400/17466 objects
    [ERROR] [iobroker] /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:385
    [ERROR] [iobroker] && _objects[_index].id.match(/^system\.adapter\./)
    [ERROR] [iobroker] ^
    [ERROR] [iobroker] TypeError: Cannot read property 'match' of null
    [ERROR] [iobroker] at BackupRestore._setObjHelper (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:385:36)
    [ERROR] [iobroker] at runCallback (timers.js:706:11)
    [ERROR] [iobroker] at tryOnImmediate (timers.js:676:5)
    [ERROR] [iobroker] at processImmediate (timers.js:658:5)
    [DEBUG] [iobroker] ioBroker Restore completed successfully
    [EXIT] 1 **** Restore completed successfully!! ****
    

    Mod-Edit: Code in Code-Tags gesetzt!

    HomoranH Do not disturb
    HomoranH Do not disturb
    Homoran
    Global Moderator Administrators
    wrote on last edited by
    #6

    @Schwammal sagte in Probleme beim Restore:

    das zu wiederherstellende Backup

    Minimal oder Full?

    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Schwammal
      wrote on last edited by
      #7

      Kann es sein dass diese Auswahl rausgefallen ist? Ich habe gerade die Version 1.3.6 drauf und kann es nicht mehr auswählen, daher gehe ich davon aus dass es Full ist. Auf dem NAS sind aber noch alte Minimal Backups zu finden (und zusätzlich noch Zigbee + Homematic)

      HomoranH 1 Reply Last reply
      0
      • S Schwammal

        Kann es sein dass diese Auswahl rausgefallen ist? Ich habe gerade die Version 1.3.6 drauf und kann es nicht mehr auswählen, daher gehe ich davon aus dass es Full ist. Auf dem NAS sind aber noch alte Minimal Backups zu finden (und zusätzlich noch Zigbee + Homematic)

        HomoranH Do not disturb
        HomoranH Do not disturb
        Homoran
        Global Moderator Administrators
        wrote on last edited by
        #8

        @Schwammal Und genau deswegen ist das FULL rausgefallen - es gab immer wieder Probleme wegen nicht korrekter Nutzung!

        Das Full durfte nur auf dem ursprünglichen System wieder hergestllt werden (incl, node und npm-Version)!!!

        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Schwammal
          wrote on last edited by
          #9

          Aber wenn ich bei auf beiden Systemen die gleiche Backitup Version nutze, sollte es doch egal sein, oder?

          HomoranH 1 Reply Last reply
          0
          • S Schwammal

            Aber wenn ich bei auf beiden Systemen die gleiche Backitup Version nutze, sollte es doch egal sein, oder?

            HomoranH Do not disturb
            HomoranH Do not disturb
            Homoran
            Global Moderator Administrators
            wrote on last edited by
            #10

            @Schwammal sagte in Probleme beim Restore:

            Aber wenn ich bei auf beiden Systemen die gleiche Backitup Version nutze, sollte es doch egal sein, oder?

            Nein!

            Das Full ist für die Hardware und die node/npm Version kompiliert.
            Sobald auch nur ein Faktor anders ist klappt es nicht!

            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            1 Reply Last reply
            0
            • S Offline
              S Offline
              Schwammal
              wrote on last edited by
              #11

              OK, dann wäre ja das Minimal Backup das Richtige, welches es nicht mehr gibt. Ich würde mal versuchen die alte Installation auf die neuere NPM Version hoch zu bekommen, was vorhin leider nicht funktioniert hat. Ist die 6.1 Version schon zu gebrauchen?

              HomoranH 1 Reply Last reply
              0
              • S Schwammal

                OK, dann wäre ja das Minimal Backup das Richtige, welches es nicht mehr gibt. Ich würde mal versuchen die alte Installation auf die neuere NPM Version hoch zu bekommen, was vorhin leider nicht funktioniert hat. Ist die 6.1 Version schon zu gebrauchen?

                HomoranH Do not disturb
                HomoranH Do not disturb
                Homoran
                Global Moderator Administrators
                wrote on last edited by
                #12

                @Schwammal sagte in Probleme beim Restore:

                dann wäre ja das Minimal Backup das Richtige,

                Richtig, da wird alles neu kompiliert

                @Schwammal sagte in Probleme beim Restore:

                welches es nicht mehr gibt

                Doch! es gibt nur noch das minimal - heisst jetzt nur anders.

                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  Schwammal
                  wrote on last edited by
                  #13

                  aber wenn es nur noch das Minimal gibt, sollte es ja auch unabhängig von anderen NPM Versionen funktioniert oder sehe ich das falsch.

                  HomoranH 1 Reply Last reply
                  0
                  • S Schwammal

                    aber wenn es nur noch das Minimal gibt, sollte es ja auch unabhängig von anderen NPM Versionen funktioniert oder sehe ich das falsch.

                    HomoranH Do not disturb
                    HomoranH Do not disturb
                    Homoran
                    Global Moderator Administrators
                    wrote on last edited by
                    #14

                    @Schwammal sagte in Probleme beim Restore:

                    aber wenn es nur noch das Minimal gibt, sollte es ja auch unabhängig von anderen NPM Versionen funktioniert oder sehe ich das falsch.

                    Genau - das ist ja SInn des Minimal
                    gesichert werden die Konfigurationen.
                    Alles wird neu installiert bzw. kompiliert

                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      Schwammal
                      wrote on last edited by
                      #15

                      Hi

                      Ich muss leider noch einmal nachfragen da das Update leider nicht so will wie ich. Ich habe das Gefühl die aktuelle 6.13 schon installiert zu haben aber Iobroker sieht das Anders:
                      npm install -g npm@latest
                      /opt/iobroker$ npm ls npm
                      iobroker@1.0.0 /opt/iobroker
                      ├─┬ iobroker.vis-weather@2.5.2
                      │ └── npm@6.13.4
                      └── npm@6.13.4

                      Trotzdem zeigt die Webgui 6.5 an und das auch noch dem ausführen des reinstall Skripts

                      HomoranH 2 Replies Last reply
                      0
                      • S Schwammal

                        Hi

                        Ich muss leider noch einmal nachfragen da das Update leider nicht so will wie ich. Ich habe das Gefühl die aktuelle 6.13 schon installiert zu haben aber Iobroker sieht das Anders:
                        npm install -g npm@latest
                        /opt/iobroker$ npm ls npm
                        iobroker@1.0.0 /opt/iobroker
                        ├─┬ iobroker.vis-weather@2.5.2
                        │ └── npm@6.13.4
                        └── npm@6.13.4

                        Trotzdem zeigt die Webgui 6.5 an und das auch noch dem ausführen des reinstall Skripts

                        HomoranH Do not disturb
                        HomoranH Do not disturb
                        Homoran
                        Global Moderator Administrators
                        wrote on last edited by Homoran
                        #16

                        @Schwammal sagte in Probleme beim Restore:

                        iobroker@1.0.0

                        stimmt denn das?
                        Wir sind inzwischen bei 2.1.1

                        und was sagt:

                        node -v
                        npm -v
                        nodejs -v
                        

                        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                        1 Reply Last reply
                        0
                        • S Offline
                          S Offline
                          Schwammal
                          wrote on last edited by
                          #17

                          Ich habe keine Ahnung wo die 1.0 herkommt. Das Webinterface sagt mit Controllerversion 2.1.1. Kann es sein dass ich mehrere Versionen installiert habe. Die Installation ist schon ein paar Jahre alt.

                          /opt/iobroker$ node -v
                          v10.18.0

                          /opt/iobroker$ npm -v
                          6.5.0

                          /opt/iobroker$ nodejs -v
                          v10.18.0

                          HomoranH 1 Reply Last reply
                          0
                          • S Schwammal

                            Ich habe keine Ahnung wo die 1.0 herkommt. Das Webinterface sagt mit Controllerversion 2.1.1. Kann es sein dass ich mehrere Versionen installiert habe. Die Installation ist schon ein paar Jahre alt.

                            /opt/iobroker$ node -v
                            v10.18.0

                            /opt/iobroker$ npm -v
                            6.5.0

                            /opt/iobroker$ nodejs -v
                            v10.18.0

                            HomoranH Do not disturb
                            HomoranH Do not disturb
                            Homoran
                            Global Moderator Administrators
                            wrote on last edited by
                            #18

                            @Schwammal sagte in Probleme beim Restore:

                            Kann es sein dass ich mehrere Versionen installiert habe.

                            das hatte ich befürchtet.
                            Die Daten über node und npm zeigen es aber zumindest nicht auf Anhieb

                            Wie sieht das denn bei deiner neuen Installation aus?

                            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              Schwammal
                              wrote on last edited by
                              #19

                              /opt/iobroker$ node -v
                              v10.18.0

                              /opt/iobroker$ npm -v (kann ich nur mit sudo abfragen)
                              6.13.4

                              /opt/iobroker$ nodejs -v
                              v10.18.0

                              Ich hab kein Problem damit die alte Installation platt zu machen aber die Daten würde ich schon gerne mitnehmen

                              HomoranH 1 Reply Last reply
                              0
                              • S Schwammal

                                /opt/iobroker$ node -v
                                v10.18.0

                                /opt/iobroker$ npm -v (kann ich nur mit sudo abfragen)
                                6.13.4

                                /opt/iobroker$ nodejs -v
                                v10.18.0

                                Ich hab kein Problem damit die alte Installation platt zu machen aber die Daten würde ich schon gerne mitnehmen

                                HomoranH Do not disturb
                                HomoranH Do not disturb
                                Homoran
                                Global Moderator Administrators
                                wrote on last edited by
                                #20

                                @Schwammal sagte in Probleme beim Restore:

                                aber die Daten würde ich schon gerne mitnehmen

                                Wenn die Backups aber schon korrupte Daten enthalten geht das nicht so einfach.

                                Hast du auf der neuen Installation schon ioBroker neu installiert ohne weiteres zu machen?

                                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                1 Reply Last reply
                                0
                                • S Offline
                                  S Offline
                                  Schwammal
                                  wrote on last edited by
                                  #21

                                  Dachte ich mir fast. Die neue Installation ist quasi nackt und hat nur den Backitup Adapter geladen

                                  1 Reply Last reply
                                  0
                                  • S Schwammal

                                    Hi

                                    Ich muss leider noch einmal nachfragen da das Update leider nicht so will wie ich. Ich habe das Gefühl die aktuelle 6.13 schon installiert zu haben aber Iobroker sieht das Anders:
                                    npm install -g npm@latest
                                    /opt/iobroker$ npm ls npm
                                    iobroker@1.0.0 /opt/iobroker
                                    ├─┬ iobroker.vis-weather@2.5.2
                                    │ └── npm@6.13.4
                                    └── npm@6.13.4

                                    Trotzdem zeigt die Webgui 6.5 an und das auch noch dem ausführen des reinstall Skripts

                                    HomoranH Do not disturb
                                    HomoranH Do not disturb
                                    Homoran
                                    Global Moderator Administrators
                                    wrote on last edited by Homoran
                                    #22

                                    @Schwammal sagte in Probleme beim Restore:

                                    Hi

                                    Ich muss leider noch einmal nachfragen da das Update leider nicht so will wie ich. Ich habe das Gefühl die aktuelle 6.13 schon installiert zu haben aber Iobroker sieht das Anders:
                                    npm install -g npm@latest
                                    /opt/iobroker$ npm ls npm
                                    iobroker@1.0.0 /opt/iobroker
                                    ├─┬ iobroker.vis-weather@2.5.2
                                    │ └── npm@6.13.4
                                    └── npm@6.13.4

                                    Trotzdem zeigt die Webgui 6.5 an und das auch noch dem ausführen des reinstall Skripts

                                    Was sagt die neue denn dazu?

                                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                    1 Reply Last reply
                                    0
                                    • S Offline
                                      S Offline
                                      Schwammal
                                      wrote on last edited by
                                      #23

                                      Interessant. Auch hier wird nicht die 2.1.1 angezeigt

                                      /opt/iobroker$ npm ls npm
                                      iobroker.inst@2.0.3 /opt/iobroker
                                      └── (empty)

                                      J 1 Reply Last reply
                                      0
                                      • S Schwammal

                                        Interessant. Auch hier wird nicht die 2.1.1 angezeigt

                                        /opt/iobroker$ npm ls npm
                                        iobroker.inst@2.0.3 /opt/iobroker
                                        └── (empty)

                                        J Offline
                                        J Offline
                                        janschmidt76
                                        wrote on last edited by janschmidt76
                                        #24

                                        Hi,
                                        ich bin gerade beim Umzug meiner "alten" ioBroker-Installation von einem RPi3 auf einen RPi4 und bin an dem selben Fehler gescheitert. Ich habe mich ein bisschen durch den Code gelesen und debugged und habe einen "quick'n'dirty"-Fix eingebaut: in der Datei /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js in Zeile 385 die Bedingung "&& _objects[_index].id != null" ergänzt (s.u., Zeile 4). Ist sicherlich nicht schön und müsste u.U. genauer geprüft werden, insbesondere woher dieser null-Value um Backup kommt.
                                        Mit dieser Änderung lief der Restore bei mir dann aber fehlerfrei durch. Alles ohne Garantie, aber vielleicht hilft es Dir ja. :blush:

                                            _setObjHelper(_index, _objects, callback) {                                                                                                                                                 
                                                // Disable all adapters.                                                                                                                                                                                                                                                                                          
                                                if (!this.dbMigration                                                                                                                                                                   
                                                    && _objects[_index].id != null                                                                                                                                                      
                                                    && _objects[_index].id.match(/^system\.adapter\./)                                                                                                                                  
                                                    && !_objects[_index].id.match(/^system\.adapter\.admin\./)                                                                                                                          
                                                    && !_objects[_index].id.match(/^system\.adapter\.backitup\./)) {                                                                                                                    
                                                    if (_objects[_index].doc.common && _objects[_index].doc.common.enabled) {                                                                                                           
                                                        _objects[_index].doc.common.enabled = false;                                                                                                                                    
                                                    }                                                                                                                                                                                   
                                                }                                                                                                                                                                                       
                                        
                                        
                                        S apollon77A 2 Replies Last reply
                                        1
                                        • J janschmidt76

                                          Hi,
                                          ich bin gerade beim Umzug meiner "alten" ioBroker-Installation von einem RPi3 auf einen RPi4 und bin an dem selben Fehler gescheitert. Ich habe mich ein bisschen durch den Code gelesen und debugged und habe einen "quick'n'dirty"-Fix eingebaut: in der Datei /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js in Zeile 385 die Bedingung "&& _objects[_index].id != null" ergänzt (s.u., Zeile 4). Ist sicherlich nicht schön und müsste u.U. genauer geprüft werden, insbesondere woher dieser null-Value um Backup kommt.
                                          Mit dieser Änderung lief der Restore bei mir dann aber fehlerfrei durch. Alles ohne Garantie, aber vielleicht hilft es Dir ja. :blush:

                                              _setObjHelper(_index, _objects, callback) {                                                                                                                                                 
                                                  // Disable all adapters.                                                                                                                                                                                                                                                                                          
                                                  if (!this.dbMigration                                                                                                                                                                   
                                                      && _objects[_index].id != null                                                                                                                                                      
                                                      && _objects[_index].id.match(/^system\.adapter\./)                                                                                                                                  
                                                      && !_objects[_index].id.match(/^system\.adapter\.admin\./)                                                                                                                          
                                                      && !_objects[_index].id.match(/^system\.adapter\.backitup\./)) {                                                                                                                    
                                                      if (_objects[_index].doc.common && _objects[_index].doc.common.enabled) {                                                                                                           
                                                          _objects[_index].doc.common.enabled = false;                                                                                                                                    
                                                      }                                                                                                                                                                                   
                                                  }                                                                                                                                                                                       
                                          
                                          
                                          S Offline
                                          S Offline
                                          Spawn2609
                                          wrote on last edited by
                                          #25

                                          @janschmidt76

                                          MEGA! Super Hinweis.

                                          Bei mir folgende Ausgangslage. IoBroker ist bei mir in einer VM im HyperV unter Windows Server 2012R2. Ich wollte versuchen von dort nach Raspberry 3 B umzuziehen. Bei mir werden die Backups mit Backitup täglich nach GoogleDrive geschrieben. Nach erfolgreicher IoBroker installation unter Raspberry 3 B dann den Restore mit Backitup von GoogleDrive probiert. Ich bin immer mit dem genau gleichen Fehler gescheitet. -> Es wurde nichts wiederhergestellt.

                                          [ERROR] [iobroker] /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:385
                                          [ERROR] [iobroker] && _objects[_index].id.match(/^system.adapter./)
                                          [ERROR] [iobroker] ^
                                          [ERROR] [iobroker] TypeError: Cannot read property 'match' of null

                                          Dein Hinweis brachte die Erkenntnis. Das Script im Verzeichnis mit sudo nano geöffnet und mit deiner Zeile gespeichert. Anschließend lief das Backup wunderbar durch. Ich vermute, dass liegt daran, dass bei mir in der VM IoBroker temporär NPM mit "-" angezeigt hat, statt mit NPM: 6.13.4. Reine Spekulation.
                                          Gleichwohl hat aber die Codezeile für das nach und nach Installieren der Adapter gesorgt. Super, und alle Einstellungen waren auch da klasse.

                                          S 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          411

                                          Online

                                          32.5k

                                          Users

                                          81.6k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe