Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Restore funktioniert nicht

NEWS

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.1k

Restore funktioniert nicht

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
89 Beiträge 17 Kommentatoren 15.1k Aufrufe 5 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • simatecS simatec

    @r0b1zZle
    Dann lasse mal vorm restore bitte den Installer Fix laufen.
    Danach entweder über Konsole oder Backitup den Restore ausführen. Es gibt hier im Forum ein Howto zum Restore.

    R Offline
    R Offline
    r0b1zZle
    schrieb am zuletzt editiert von r0b1zZle
    #37

    @simatec Du meinst das was ich oben als bereits gemacht aufgeführt habe?

    curl -sL https://iobroker.net/fix.sh | bash -
    

    und das howto zum Restore?

    Update:

    pi@raspberrypi4-iob:/opt/iobroker $ sudo apt-get update
    pi@raspberrypi4-iob:/opt/iobroker $ sudo apt-get install redis-server
    pi@raspberrypi4-iob:/opt/iobroker $ sudo usermod -a -G redis iobroker
    pi@raspberrypi4-iob:/opt/iobroker $ sudo reboot now
    pi@raspberrypi4-iob:/opt/iobroker $ iobroker stop
    pi@raspberrypi4-iob:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash -
    library: loaded
    Library version=2020-01-30
    
    ==========================================================================
    
        Welcome to the ioBroker installation fixer!
        Script version: 2020-01-25
    
        You might need to enter your password a couple of times.
    
    ==========================================================================
    
    
    ==========================================================================
        Installing prerequisites (1/3)
    ==========================================================================
    
    OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
    OK:2 http://archive.raspberrypi.org/debian buster InRelease
    OK:3 https://deb.nodesource.com/node_10.x buster InRelease
    Paketlisten werden gelesen... Fertig
    Installed gcc-c++
    
    ==========================================================================
        Checking ioBroker user and directory permissions (2/3)
    ==========================================================================
    
    Created /etc/sudoers.d/iobroker
    Fixing directory permissions...
    
    ==========================================================================
        Checking autostart (3/3)
    ==========================================================================
    
    Enabling autostart...
    Autostart enabled!
    
    ==========================================================================
    
        Your installation was fixed successfully
        Run iobroker start to start ioBroker again!
    
    ==========================================================================
    
    pi@raspberrypi4-iob:/opt/iobroker $ sudo apt-get install htop
    Paketlisten werden gelesen... Fertig
    Abhängigkeitsbaum wird aufgebaut.
    Statusinformationen werden eingelesen.... Fertig
    htop ist schon die neueste Version (2.2.0-1).
    0 aktualisiert, 0 neu installiert, 0 zu entfernen und 4 nicht aktualisiert.
    pi@raspberrypi4-iob:/opt/iobroker $ iobroker stop
    pi@raspberrypi4-iob:/opt/iobroker $ iobroker status
    iobroker is not running on this host.
    
    No iobroker host is running.
    
    Objects type: file
    States  type: file
    pi@raspberrypi4-iob:/opt/iobroker $ iobroker restore 2020_02_27-19_30_02_backupiobroker
    host.raspberrypi4-iob Cannot extract from file "/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../../../backups/2020_02_27-19_30_02_backupiobroker.tar.gz"
    host.raspberrypi4-iob Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"
    iobroker controller daemon is not running
    host.raspberrypi4-iob OK.
    (node:2349) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json'
        at Object.openSync (fs.js:443:3)
        at Object.readFileSync (fs.js:343:35)
        at BackupRestore.restoreAfterStop (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:566:23)
        at Daemon.daemon.on (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:846:22)
        at Daemon.emit (events.js:203:15)
        at Daemon._kill (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:246:14)
        at Daemon.stop (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:185:17)
        at tar.extract.err (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:848:20)
    (node:2349) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
    (node:2349) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    
    
    simatecS J 2 Antworten Letzte Antwort
    0
    • R Offline
      R Offline
      r0b1zZle
      schrieb am zuletzt editiert von
      #38

      Gibt es irgendwie die Möglichkeit, wenigstens an die Scripte und Blocklys zu kommen?

      1 Antwort Letzte Antwort
      0
      • R r0b1zZle

        @simatec Du meinst das was ich oben als bereits gemacht aufgeführt habe?

        curl -sL https://iobroker.net/fix.sh | bash -
        

        und das howto zum Restore?

        Update:

        pi@raspberrypi4-iob:/opt/iobroker $ sudo apt-get update
        pi@raspberrypi4-iob:/opt/iobroker $ sudo apt-get install redis-server
        pi@raspberrypi4-iob:/opt/iobroker $ sudo usermod -a -G redis iobroker
        pi@raspberrypi4-iob:/opt/iobroker $ sudo reboot now
        pi@raspberrypi4-iob:/opt/iobroker $ iobroker stop
        pi@raspberrypi4-iob:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash -
        library: loaded
        Library version=2020-01-30
        
        ==========================================================================
        
            Welcome to the ioBroker installation fixer!
            Script version: 2020-01-25
        
            You might need to enter your password a couple of times.
        
        ==========================================================================
        
        
        ==========================================================================
            Installing prerequisites (1/3)
        ==========================================================================
        
        OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
        OK:2 http://archive.raspberrypi.org/debian buster InRelease
        OK:3 https://deb.nodesource.com/node_10.x buster InRelease
        Paketlisten werden gelesen... Fertig
        Installed gcc-c++
        
        ==========================================================================
            Checking ioBroker user and directory permissions (2/3)
        ==========================================================================
        
        Created /etc/sudoers.d/iobroker
        Fixing directory permissions...
        
        ==========================================================================
            Checking autostart (3/3)
        ==========================================================================
        
        Enabling autostart...
        Autostart enabled!
        
        ==========================================================================
        
            Your installation was fixed successfully
            Run iobroker start to start ioBroker again!
        
        ==========================================================================
        
        pi@raspberrypi4-iob:/opt/iobroker $ sudo apt-get install htop
        Paketlisten werden gelesen... Fertig
        Abhängigkeitsbaum wird aufgebaut.
        Statusinformationen werden eingelesen.... Fertig
        htop ist schon die neueste Version (2.2.0-1).
        0 aktualisiert, 0 neu installiert, 0 zu entfernen und 4 nicht aktualisiert.
        pi@raspberrypi4-iob:/opt/iobroker $ iobroker stop
        pi@raspberrypi4-iob:/opt/iobroker $ iobroker status
        iobroker is not running on this host.
        
        No iobroker host is running.
        
        Objects type: file
        States  type: file
        pi@raspberrypi4-iob:/opt/iobroker $ iobroker restore 2020_02_27-19_30_02_backupiobroker
        host.raspberrypi4-iob Cannot extract from file "/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../../../backups/2020_02_27-19_30_02_backupiobroker.tar.gz"
        host.raspberrypi4-iob Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"
        iobroker controller daemon is not running
        host.raspberrypi4-iob OK.
        (node:2349) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json'
            at Object.openSync (fs.js:443:3)
            at Object.readFileSync (fs.js:343:35)
            at BackupRestore.restoreAfterStop (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:566:23)
            at Daemon.daemon.on (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:846:22)
            at Daemon.emit (events.js:203:15)
            at Daemon._kill (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:246:14)
            at Daemon.stop (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:185:17)
            at tar.extract.err (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:848:20)
        (node:2349) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
        (node:2349) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
        
        
        simatecS Online
        simatecS Online
        simatec
        Developer Most Active
        schrieb am zuletzt editiert von
        #39

        @r0b1zZle
        Lief dein System vorher mit redis? Wenn ja wie genau?
        Object=redis/file=redis?

        Dann muss du zuerst das redis backup wiederherstellen und dann im Anschluss iobroker

        • Besuche meine Github Seite
        • Beitrag hat geholfen oder willst du mich unterstützen
        • HowTo Restore ioBroker
        R 1 Antwort Letzte Antwort
        0
        • simatecS simatec

          @r0b1zZle
          Lief dein System vorher mit redis? Wenn ja wie genau?
          Object=redis/file=redis?

          Dann muss du zuerst das redis backup wiederherstellen und dann im Anschluss iobroker

          R Offline
          R Offline
          r0b1zZle
          schrieb am zuletzt editiert von
          #40

          @simatec Nein, es lief ohne redis

          simatecS 1 Antwort Letzte Antwort
          0
          • R r0b1zZle

            @simatec Nein, es lief ohne redis

            simatecS Online
            simatecS Online
            simatec
            Developer Most Active
            schrieb am zuletzt editiert von
            #41

            @r0b1zZle

            hmmm warum installierst du dann redis?
            Mache mal bitte folgendes ...

            Lege das Backup mal in den Ordner Backups und führe folgendes aus

            sudo chmod 777 /opt/iobroker/backups/*
            iobroker restore 0
            iobroker start
            
            • Besuche meine Github Seite
            • Beitrag hat geholfen oder willst du mich unterstützen
            • HowTo Restore ioBroker
            R 1 Antwort Letzte Antwort
            0
            • simatecS simatec

              @r0b1zZle

              hmmm warum installierst du dann redis?
              Mache mal bitte folgendes ...

              Lege das Backup mal in den Ordner Backups und führe folgendes aus

              sudo chmod 777 /opt/iobroker/backups/*
              iobroker restore 0
              iobroker start
              
              R Offline
              R Offline
              r0b1zZle
              schrieb am zuletzt editiert von r0b1zZle
              #42

              @simatec Weil in der Anleitung folgendes stand:

              *"Steht in Objects type und/oder States type "redis", müsst ihr zwingend auf dem neuen System den Redis Server installieren.
              Steht hingehen bei beiden Typen "file", wird der Redis Server nicht benötigt.

              Solltet ihr keinen Zugriff mehr auf das alte System haben und ihr wisst nicht, was da vorher genau konfiguriert war, dann installiert auf jeden Fall den Redis-Server im Vorfeld."*

              Das hatte ich auch bereits getestet, gleiches Problem:

              pi@raspberrypi4-iob:~ $ iobroker stop
              pi@raspberrypi4-iob:~ $ sudo chmod 777 /opt/iobroker/backups/*
              pi@raspberrypi4-iob:~ $ iobroker restore 0
              host.raspberrypi4-iob Using backup file 2020_03_29-14_00_46_backupiobroker.tar.gz
              host.raspberrypi4-iob Cannot extract from file "/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../../../backups/2020_03_29-14_00_46_backupiobroker.tar.gz"
              host.raspberrypi4-iob Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"
              iobroker controller daemon is not running
              host.raspberrypi4-iob OK.
              (node:7864) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json'
                  at Object.openSync (fs.js:443:3)
                  at Object.readFileSync (fs.js:343:35)
                  at BackupRestore.restoreAfterStop (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:566:23)
                  at Daemon.daemon.on (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:846:22)
                  at Daemon.emit (events.js:203:15)
                  at Daemon._kill (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:246:14)
                  at Daemon.stop (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:185:17)
                  at tar.extract.err (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:848:20)
              (node:7864) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
              (node:7864) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
              
              
              simatecS 1 Antwort Letzte Antwort
              0
              • R r0b1zZle

                @simatec Du meinst das was ich oben als bereits gemacht aufgeführt habe?

                curl -sL https://iobroker.net/fix.sh | bash -
                

                und das howto zum Restore?

                Update:

                pi@raspberrypi4-iob:/opt/iobroker $ sudo apt-get update
                pi@raspberrypi4-iob:/opt/iobroker $ sudo apt-get install redis-server
                pi@raspberrypi4-iob:/opt/iobroker $ sudo usermod -a -G redis iobroker
                pi@raspberrypi4-iob:/opt/iobroker $ sudo reboot now
                pi@raspberrypi4-iob:/opt/iobroker $ iobroker stop
                pi@raspberrypi4-iob:/opt/iobroker $ curl -sL https://iobroker.net/fix.sh | bash -
                library: loaded
                Library version=2020-01-30
                
                ==========================================================================
                
                    Welcome to the ioBroker installation fixer!
                    Script version: 2020-01-25
                
                    You might need to enter your password a couple of times.
                
                ==========================================================================
                
                
                ==========================================================================
                    Installing prerequisites (1/3)
                ==========================================================================
                
                OK:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                OK:2 http://archive.raspberrypi.org/debian buster InRelease
                OK:3 https://deb.nodesource.com/node_10.x buster InRelease
                Paketlisten werden gelesen... Fertig
                Installed gcc-c++
                
                ==========================================================================
                    Checking ioBroker user and directory permissions (2/3)
                ==========================================================================
                
                Created /etc/sudoers.d/iobroker
                Fixing directory permissions...
                
                ==========================================================================
                    Checking autostart (3/3)
                ==========================================================================
                
                Enabling autostart...
                Autostart enabled!
                
                ==========================================================================
                
                    Your installation was fixed successfully
                    Run iobroker start to start ioBroker again!
                
                ==========================================================================
                
                pi@raspberrypi4-iob:/opt/iobroker $ sudo apt-get install htop
                Paketlisten werden gelesen... Fertig
                Abhängigkeitsbaum wird aufgebaut.
                Statusinformationen werden eingelesen.... Fertig
                htop ist schon die neueste Version (2.2.0-1).
                0 aktualisiert, 0 neu installiert, 0 zu entfernen und 4 nicht aktualisiert.
                pi@raspberrypi4-iob:/opt/iobroker $ iobroker stop
                pi@raspberrypi4-iob:/opt/iobroker $ iobroker status
                iobroker is not running on this host.
                
                No iobroker host is running.
                
                Objects type: file
                States  type: file
                pi@raspberrypi4-iob:/opt/iobroker $ iobroker restore 2020_02_27-19_30_02_backupiobroker
                host.raspberrypi4-iob Cannot extract from file "/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../../../backups/2020_02_27-19_30_02_backupiobroker.tar.gz"
                host.raspberrypi4-iob Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"
                iobroker controller daemon is not running
                host.raspberrypi4-iob OK.
                (node:2349) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json'
                    at Object.openSync (fs.js:443:3)
                    at Object.readFileSync (fs.js:343:35)
                    at BackupRestore.restoreAfterStop (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:566:23)
                    at Daemon.daemon.on (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:846:22)
                    at Daemon.emit (events.js:203:15)
                    at Daemon._kill (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:246:14)
                    at Daemon.stop (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:185:17)
                    at tar.extract.err (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:848:20)
                (node:2349) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
                (node:2349) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                
                
                J Offline
                J Offline
                Jan1
                schrieb am zuletzt editiert von Jan1
                #43

                @r0b1zZle sagte in Restore funktioniert nicht:

                Objects type: file
                States type: file

                Ja lesen und auch das machen was da steht und bei DIr im LOg steht eben sehr deutlich 2x file ;-)

                R 1 Antwort Letzte Antwort
                0
                • R r0b1zZle

                  @simatec Weil in der Anleitung folgendes stand:

                  *"Steht in Objects type und/oder States type "redis", müsst ihr zwingend auf dem neuen System den Redis Server installieren.
                  Steht hingehen bei beiden Typen "file", wird der Redis Server nicht benötigt.

                  Solltet ihr keinen Zugriff mehr auf das alte System haben und ihr wisst nicht, was da vorher genau konfiguriert war, dann installiert auf jeden Fall den Redis-Server im Vorfeld."*

                  Das hatte ich auch bereits getestet, gleiches Problem:

                  pi@raspberrypi4-iob:~ $ iobroker stop
                  pi@raspberrypi4-iob:~ $ sudo chmod 777 /opt/iobroker/backups/*
                  pi@raspberrypi4-iob:~ $ iobroker restore 0
                  host.raspberrypi4-iob Using backup file 2020_03_29-14_00_46_backupiobroker.tar.gz
                  host.raspberrypi4-iob Cannot extract from file "/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../../../backups/2020_03_29-14_00_46_backupiobroker.tar.gz"
                  host.raspberrypi4-iob Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"
                  iobroker controller daemon is not running
                  host.raspberrypi4-iob OK.
                  (node:7864) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json'
                      at Object.openSync (fs.js:443:3)
                      at Object.readFileSync (fs.js:343:35)
                      at BackupRestore.restoreAfterStop (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:566:23)
                      at Daemon.daemon.on (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:846:22)
                      at Daemon.emit (events.js:203:15)
                      at Daemon._kill (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:246:14)
                      at Daemon.stop (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:185:17)
                      at tar.extract.err (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupBackup.js:848:20)
                  (node:7864) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
                  (node:7864) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
                  
                  
                  simatecS Online
                  simatecS Online
                  simatec
                  Developer Most Active
                  schrieb am zuletzt editiert von
                  #44

                  @r0b1zZle sagte in Restore funktioniert nicht:

                  @simatec Weil in der Anleitung folgendes stand:
                  "Steht in Objects type und/oder States type "redis", müsst ihr zwingend auf dem neuen System den Redis Server installieren.
                  Steht hingehen bei beiden Typen "file", wird der Redis Server nicht benötigt.
                  Solltet ihr keinen Zugriff mehr auf das alte System haben und ihr wisst nicht, was da vorher genau konfiguriert war, dann installiert auf jeden Fall den Redis-Server im Vorfeld."

                  Du sagtest aber du hast vorher keinen Redis Server gehabt ...
                  Mal ne ganz andere Frage. Wie hast du iobroker installiert?
                  Das sieht nach einem generellen Problem aus, was durch eine falsche Installation auftreten kann.

                  • Besuche meine Github Seite
                  • Beitrag hat geholfen oder willst du mich unterstützen
                  • HowTo Restore ioBroker
                  1 Antwort Letzte Antwort
                  0
                  • J Jan1

                    @r0b1zZle sagte in Restore funktioniert nicht:

                    Objects type: file
                    States type: file

                    Ja lesen und auch das machen was da steht und bei DIr im LOg steht eben sehr deutlich 2x file ;-)

                    R Offline
                    R Offline
                    r0b1zZle
                    schrieb am zuletzt editiert von r0b1zZle
                    #45

                    @Jan1 Ist richtig, das bezieht sich aber auf die aktuelle Installation von Iobroker. Wie gesagt, habe ich den Raspy gestern geplättet und war mir nicht mehr sicher, ob ich redis überhaupt installiert hatte oder nicht (und das habe ich soweit ich weiß, nicht gemacht). In der HowTo stand aber, wenn man sich unsicher ist, auf jeden fall redis trotzdem installieren, was ich gemacht habe.

                    @simatec IoBroker habe ich wie in seinem Video installiert:

                    sudo apt-get update
                    sudo apt-get upgrade
                    sudo raspi-config /* hier den hostname geändert */
                    curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
                    sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
                    curl -sL https://iobroker.net/install.sh | bash -
                    
                    J simatecS 2 Antworten Letzte Antwort
                    0
                    • R r0b1zZle

                      @Jan1 Ist richtig, das bezieht sich aber auf die aktuelle Installation von Iobroker. Wie gesagt, habe ich den Raspy gestern geplättet und war mir nicht mehr sicher, ob ich redis überhaupt installiert hatte oder nicht (und das habe ich soweit ich weiß, nicht gemacht). In der HowTo stand aber, wenn man sich unsicher ist, auf jeden fall redis trotzdem installieren, was ich gemacht habe.

                      @simatec IoBroker habe ich wie in seinem Video installiert:

                      sudo apt-get update
                      sudo apt-get upgrade
                      sudo raspi-config /* hier den hostname geändert */
                      curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
                      sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
                      curl -sL https://iobroker.net/install.sh | bash -
                      
                      J Offline
                      J Offline
                      Jan1
                      schrieb am zuletzt editiert von
                      #46

                      @r0b1zZle
                      Oh je, ne externe Anleitung und hier Support dafür wollen, wenn das Homoran sieht.
                      Oben ist die Doku und die ist aktuell, alles andere kann, muss aber nicht stimmen.

                      1 Antwort Letzte Antwort
                      0
                      • R r0b1zZle

                        @Jan1 Ist richtig, das bezieht sich aber auf die aktuelle Installation von Iobroker. Wie gesagt, habe ich den Raspy gestern geplättet und war mir nicht mehr sicher, ob ich redis überhaupt installiert hatte oder nicht (und das habe ich soweit ich weiß, nicht gemacht). In der HowTo stand aber, wenn man sich unsicher ist, auf jeden fall redis trotzdem installieren, was ich gemacht habe.

                        @simatec IoBroker habe ich wie in seinem Video installiert:

                        sudo apt-get update
                        sudo apt-get upgrade
                        sudo raspi-config /* hier den hostname geändert */
                        curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
                        sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
                        curl -sL https://iobroker.net/install.sh | bash -
                        
                        simatecS Online
                        simatecS Online
                        simatec
                        Developer Most Active
                        schrieb am zuletzt editiert von
                        #47

                        @r0b1zZle sagte in Restore funktioniert nicht:

                        man

                        Dann setze noch mal neu auf und mach folgendes ...
                        Komplett neues Image nehmen .... nicht die jetztige Installation

                        curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
                        sudo apt install -y nodejs
                        sudo reboot now
                        curl -sL https://iobroker.net/install.sh | bash -
                        iobroker stop
                        curl -sL https://iobroker.net/fix.sh | bash -
                        iobroker backup
                        
                        // backup in den Ordner /opt/iobroker/backups legen und die Rechtevergabe kontrollieren
                        iobroker restore Dateiname-Backupdatei
                        iobroker start
                        

                        Alternativ den restore mit backitup ausführen

                        • Besuche meine Github Seite
                        • Beitrag hat geholfen oder willst du mich unterstützen
                        • HowTo Restore ioBroker
                        R 1 Antwort Letzte Antwort
                        0
                        • simatecS simatec

                          @r0b1zZle sagte in Restore funktioniert nicht:

                          man

                          Dann setze noch mal neu auf und mach folgendes ...
                          Komplett neues Image nehmen .... nicht die jetztige Installation

                          curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
                          sudo apt install -y nodejs
                          sudo reboot now
                          curl -sL https://iobroker.net/install.sh | bash -
                          iobroker stop
                          curl -sL https://iobroker.net/fix.sh | bash -
                          iobroker backup
                          
                          // backup in den Ordner /opt/iobroker/backups legen und die Rechtevergabe kontrollieren
                          iobroker restore Dateiname-Backupdatei
                          iobroker start
                          

                          Alternativ den restore mit backitup ausführen

                          R Offline
                          R Offline
                          r0b1zZle
                          schrieb am zuletzt editiert von
                          #48

                          @simatec Raspy komplett neu aufgesetzt, ansonsten nichts weiter außer dem, was du geschrieben hast, gleiches Ergebnis:

                          dietpi@pi:~$ sudo iobroker restore 2020_02_27-19_30_02_backupiobroker.tar.gz
                          host.pi Cannot extract from file "/opt/iobroker/node_modules/iobroker.js-control ler/lib/setup/../../../../backups/2020_02_27-19_30_02_backupiobroker.tar.gz"
                          host.pi Cannot find extracted file from file "/opt/iobroker/node_modules/iobroke r.js-controller/tmp/backup/backup.json"
                          iobroker controller daemon is not running
                          host.pi OK.
                          (node:1349) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or dir ectory, open '/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backu p.json'
                              at Object.openSync (fs.js:443:3)
                              at Object.readFileSync (fs.js:343:35)
                              at BackupRestore.restoreAfterStop (/opt/iobroker/node_modules/iobroker.js-co ntroller/lib/setup/setupBackup.js:566:23)
                              at Daemon.daemon.on (/opt/iobroker/node_modules/iobroker.js-controller/lib/s etup/setupBackup.js:846:22)
                              at Daemon.emit (events.js:203:15)
                              at Daemon._kill (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:246: 14)
                              at Daemon.stop (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:185:1 7)
                              at tar.extract.err (/opt/iobroker/node_modules/iobroker.js-controller/lib/se tup/setupBackup.js:848:20)
                              at process._tickCallback (internal/process/next_tick.js:68:7)
                          (node:1349) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This  error originated either by throwing inside of an async function without a catch  block, or by rejecting a promise which was not handled with .catch(). (rejection  id: 1)
                          (node:1349) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre cated. In the future, promise rejections that are not handled will terminate the  Node.js process with a non-zero exit code.
                          
                          simatecS 2 Antworten Letzte Antwort
                          0
                          • harrymH Offline
                            harrymH Offline
                            harrym
                            schrieb am zuletzt editiert von
                            #49

                            @r0b1zZle sagte in Restore funktioniert nicht:

                            open '/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backu p.json'

                            ist da echt ein leerzeichen drinnen????? (backu p.json)

                            ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

                            R 1 Antwort Letzte Antwort
                            0
                            • R r0b1zZle

                              @simatec Raspy komplett neu aufgesetzt, ansonsten nichts weiter außer dem, was du geschrieben hast, gleiches Ergebnis:

                              dietpi@pi:~$ sudo iobroker restore 2020_02_27-19_30_02_backupiobroker.tar.gz
                              host.pi Cannot extract from file "/opt/iobroker/node_modules/iobroker.js-control ler/lib/setup/../../../../backups/2020_02_27-19_30_02_backupiobroker.tar.gz"
                              host.pi Cannot find extracted file from file "/opt/iobroker/node_modules/iobroke r.js-controller/tmp/backup/backup.json"
                              iobroker controller daemon is not running
                              host.pi OK.
                              (node:1349) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or dir ectory, open '/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backu p.json'
                                  at Object.openSync (fs.js:443:3)
                                  at Object.readFileSync (fs.js:343:35)
                                  at BackupRestore.restoreAfterStop (/opt/iobroker/node_modules/iobroker.js-co ntroller/lib/setup/setupBackup.js:566:23)
                                  at Daemon.daemon.on (/opt/iobroker/node_modules/iobroker.js-controller/lib/s etup/setupBackup.js:846:22)
                                  at Daemon.emit (events.js:203:15)
                                  at Daemon._kill (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:246: 14)
                                  at Daemon.stop (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:185:1 7)
                                  at tar.extract.err (/opt/iobroker/node_modules/iobroker.js-controller/lib/se tup/setupBackup.js:848:20)
                                  at process._tickCallback (internal/process/next_tick.js:68:7)
                              (node:1349) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This  error originated either by throwing inside of an async function without a catch  block, or by rejecting a promise which was not handled with .catch(). (rejection  id: 1)
                              (node:1349) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre cated. In the future, promise rejections that are not handled will terminate the  Node.js process with a non-zero exit code.
                              
                              simatecS Online
                              simatecS Online
                              simatec
                              Developer Most Active
                              schrieb am zuletzt editiert von
                              #50

                              @r0b1zZle Mach mal den Restore ohne sudo

                              • Besuche meine Github Seite
                              • Beitrag hat geholfen oder willst du mich unterstützen
                              • HowTo Restore ioBroker
                              1 Antwort Letzte Antwort
                              0
                              • R r0b1zZle

                                @simatec Raspy komplett neu aufgesetzt, ansonsten nichts weiter außer dem, was du geschrieben hast, gleiches Ergebnis:

                                dietpi@pi:~$ sudo iobroker restore 2020_02_27-19_30_02_backupiobroker.tar.gz
                                host.pi Cannot extract from file "/opt/iobroker/node_modules/iobroker.js-control ler/lib/setup/../../../../backups/2020_02_27-19_30_02_backupiobroker.tar.gz"
                                host.pi Cannot find extracted file from file "/opt/iobroker/node_modules/iobroke r.js-controller/tmp/backup/backup.json"
                                iobroker controller daemon is not running
                                host.pi OK.
                                (node:1349) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or dir ectory, open '/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backu p.json'
                                    at Object.openSync (fs.js:443:3)
                                    at Object.readFileSync (fs.js:343:35)
                                    at BackupRestore.restoreAfterStop (/opt/iobroker/node_modules/iobroker.js-co ntroller/lib/setup/setupBackup.js:566:23)
                                    at Daemon.daemon.on (/opt/iobroker/node_modules/iobroker.js-controller/lib/s etup/setupBackup.js:846:22)
                                    at Daemon.emit (events.js:203:15)
                                    at Daemon._kill (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:246: 14)
                                    at Daemon.stop (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:185:1 7)
                                    at tar.extract.err (/opt/iobroker/node_modules/iobroker.js-controller/lib/se tup/setupBackup.js:848:20)
                                    at process._tickCallback (internal/process/next_tick.js:68:7)
                                (node:1349) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This  error originated either by throwing inside of an async function without a catch  block, or by rejecting a promise which was not handled with .catch(). (rejection  id: 1)
                                (node:1349) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre cated. In the future, promise rejections that are not handled will terminate the  Node.js process with a non-zero exit code.
                                
                                simatecS Online
                                simatecS Online
                                simatec
                                Developer Most Active
                                schrieb am zuletzt editiert von
                                #51

                                @r0b1zZle sagte in Restore funktioniert nicht:

                                @simatec Raspy komplett neu aufgesetzt, ansonsten nichts weiter außer dem, was du geschrieben hast, gleiches Ergebnis:

                                dietpi@pi:~$ sudo iobroker restore 2020_02_27-19_30_02_backupiobroker.tar.gz
                                host.pi Cannot extract from file "/opt/iobroker/node_modules/iobroker.js-control ler/lib/setup/../../../../backups/2020_02_27-19_30_02_backupiobroker.tar.gz"
                                host.pi Cannot find extracted file from file "/opt/iobroker/node_modules/iobroke r.js-controller/tmp/backup/backup.json"
                                iobroker controller daemon is not running
                                host.pi OK.
                                (node:1349) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or dir ectory, open '/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backu p.json'
                                    at Object.openSync (fs.js:443:3)
                                    at Object.readFileSync (fs.js:343:35)
                                    at BackupRestore.restoreAfterStop (/opt/iobroker/node_modules/iobroker.js-co ntroller/lib/setup/setupBackup.js:566:23)
                                    at Daemon.daemon.on (/opt/iobroker/node_modules/iobroker.js-controller/lib/s etup/setupBackup.js:846:22)
                                    at Daemon.emit (events.js:203:15)
                                    at Daemon._kill (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:246: 14)
                                    at Daemon.stop (/opt/iobroker/node_modules/daemonize2/lib/daemonize.js:185:1 7)
                                    at tar.extract.err (/opt/iobroker/node_modules/iobroker.js-controller/lib/se tup/setupBackup.js:848:20)
                                    at process._tickCallback (internal/process/next_tick.js:68:7)
                                (node:1349) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This  error originated either by throwing inside of an async function without a catch  block, or by rejecting a promise which was not handled with .catch(). (rejection  id: 1)
                                (node:1349) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre cated. In the future, promise rejections that are not handled will terminate the  Node.js process with a non-zero exit code.
                                

                                Hast du andere Befehle auch mit sudo ausgeführt? Das hatte ich so nicht geschrieben

                                • Besuche meine Github Seite
                                • Beitrag hat geholfen oder willst du mich unterstützen
                                • HowTo Restore ioBroker
                                1 Antwort Letzte Antwort
                                0
                                • harrymH harrym

                                  @r0b1zZle sagte in Restore funktioniert nicht:

                                  open '/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backu p.json'

                                  ist da echt ein leerzeichen drinnen????? (backu p.json)

                                  R Offline
                                  R Offline
                                  r0b1zZle
                                  schrieb am zuletzt editiert von r0b1zZle
                                  #52

                                  @harrym nein, das kommt weil ich die Console größer gezogen habe und beim Kopieren jetzt die Zeilenumbrüche nochmal als Leerzeichen gesetzt wurden.

                                  @simatec Nein, nur das backup, weil keine Berechtigung.

                                  dietpi@pi:~$ iobroker restore 2020_02_27-19_30_02_backupiobroker.tar.gz
                                  [sudo] Passwort für dietpi:
                                  Leider darf der Benutzer dietpi »/usr/bin/node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restore 2020_02_27-19_30_02_backupiobroker.tar.gz« als iobroker auf pi nicht ausführen.
                                  
                                  

                                  PS: Das neue Backup kann ich ohne Probleme wieder einspielen.

                                  simatecS 1 Antwort Letzte Antwort
                                  0
                                  • R r0b1zZle

                                    @harrym nein, das kommt weil ich die Console größer gezogen habe und beim Kopieren jetzt die Zeilenumbrüche nochmal als Leerzeichen gesetzt wurden.

                                    @simatec Nein, nur das backup, weil keine Berechtigung.

                                    dietpi@pi:~$ iobroker restore 2020_02_27-19_30_02_backupiobroker.tar.gz
                                    [sudo] Passwort für dietpi:
                                    Leider darf der Benutzer dietpi »/usr/bin/node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js restore 2020_02_27-19_30_02_backupiobroker.tar.gz« als iobroker auf pi nicht ausführen.
                                    
                                    

                                    PS: Das neue Backup kann ich ohne Probleme wieder einspielen.

                                    simatecS Online
                                    simatecS Online
                                    simatec
                                    Developer Most Active
                                    schrieb am zuletzt editiert von
                                    #53

                                    @r0b1zZle
                                    Gut dann stimmen deine rechte da definitiv nicht und hast ein ganz anderes Problem ...

                                    • Besuche meine Github Seite
                                    • Beitrag hat geholfen oder willst du mich unterstützen
                                    • HowTo Restore ioBroker
                                    R 1 Antwort Letzte Antwort
                                    0
                                    • simatecS simatec

                                      @r0b1zZle
                                      Gut dann stimmen deine rechte da definitiv nicht und hast ein ganz anderes Problem ...

                                      R Offline
                                      R Offline
                                      r0b1zZle
                                      schrieb am zuletzt editiert von r0b1zZle
                                      #54

                                      @simatec Dann habe ich wohl Pech gehabt, vielen Dank trotzdem für die ausführliche Hilfe! Dann muss ich eben alle Scripte neu schreiben und das nächste Mal noch einmal separat wegspeichern, falls wieder so ein Fall eintritt.

                                      simatecS 1 Antwort Letzte Antwort
                                      0
                                      • R r0b1zZle

                                        @simatec Dann habe ich wohl Pech gehabt, vielen Dank trotzdem für die ausführliche Hilfe! Dann muss ich eben alle Scripte neu schreiben und das nächste Mal noch einmal separat wegspeichern, falls wieder so ein Fall eintritt.

                                        simatecS Online
                                        simatecS Online
                                        simatec
                                        Developer Most Active
                                        schrieb am zuletzt editiert von
                                        #55

                                        @r0b1zZle Nein du hast du nur etwas falsch gemacht.
                                        Laut der Anleitung wie ich sie geschrieben habe, kann dieser fehler nicht auftreten.
                                        Mache es nach Anleitung. Habe gerade heute genau so einen iobroker so aufgesetzt und der läuft tadellos

                                        • Besuche meine Github Seite
                                        • Beitrag hat geholfen oder willst du mich unterstützen
                                        • HowTo Restore ioBroker
                                        R 1 Antwort Letzte Antwort
                                        0
                                        • simatecS simatec

                                          @r0b1zZle Nein du hast du nur etwas falsch gemacht.
                                          Laut der Anleitung wie ich sie geschrieben habe, kann dieser fehler nicht auftreten.
                                          Mache es nach Anleitung. Habe gerade heute genau so einen iobroker so aufgesetzt und der läuft tadellos

                                          R Offline
                                          R Offline
                                          r0b1zZle
                                          schrieb am zuletzt editiert von
                                          #56

                                          @simatec Habe es heute nochmals neu aufgesetzt, mit raspbian lite und diesmal brauchte ich kein "sudo". Konnte alle Befehle exakt genau so eintragen, wie du sie oben gepostest hast, Ergebnis: gleicher Fehler wie vorher. Kann es sein, dass man die Backups durch das Zwischenspeichern auf dem Windows-Rechner irgendwie zerschießt oder die Rechte ändert? Ein Backup, das ich gestern erst erstellt habe, testete ich ebenfalls zu restoren, gleicher Fehler. Was alle Backups gemein hatten, war, dass sie eben auf meinem Windows-PC zwischengespeichert wurden.

                                          HomoranH simatecS 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          382

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe