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. Restore funktioniert nicht

NEWS

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

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

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

Restore funktioniert nicht

Scheduled Pinned Locked Moved ioBroker Allgemein
89 Posts 17 Posters 15.1k Views 5 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.
  • 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
    wrote on last edited by 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 Replies Last reply
    0
    • R Offline
      R Offline
      r0b1zZle
      wrote on last edited by
      #38

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

      1 Reply Last reply
      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 Offline
        simatecS Offline
        simatec
        Developer Most Active
        wrote on last edited by
        #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 Reply Last reply
        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
          wrote on last edited by
          #40

          @simatec Nein, es lief ohne redis

          simatecS 1 Reply Last reply
          0
          • R r0b1zZle

            @simatec Nein, es lief ohne redis

            simatecS Offline
            simatecS Offline
            simatec
            Developer Most Active
            wrote on last edited by
            #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 Reply Last reply
            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
              wrote on last edited by 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 Reply Last reply
              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
                wrote on last edited by 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 Reply Last reply
                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 Offline
                  simatecS Offline
                  simatec
                  Developer Most Active
                  wrote on last edited by
                  #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 Reply Last reply
                  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
                    wrote on last edited by 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 Replies Last reply
                    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
                      wrote on last edited by
                      #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 Reply Last reply
                      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 Offline
                        simatecS Offline
                        simatec
                        Developer Most Active
                        wrote on last edited by
                        #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 Reply Last reply
                        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
                          wrote on last edited by
                          #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 Replies Last reply
                          0
                          • harrymH Offline
                            harrymH Offline
                            harrym
                            wrote on last edited by
                            #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 Reply Last reply
                            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 Offline
                              simatecS Offline
                              simatec
                              Developer Most Active
                              wrote on last edited by
                              #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 Reply Last reply
                              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 Offline
                                simatecS Offline
                                simatec
                                Developer Most Active
                                wrote on last edited by
                                #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 Reply Last reply
                                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
                                  wrote on last edited by 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 Reply Last reply
                                  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 Offline
                                    simatecS Offline
                                    simatec
                                    Developer Most Active
                                    wrote on last edited by
                                    #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 Reply Last reply
                                    0
                                    • simatecS simatec

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

                                      R Offline
                                      R Offline
                                      r0b1zZle
                                      wrote on last edited by 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 Reply Last reply
                                      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 Offline
                                        simatecS Offline
                                        simatec
                                        Developer Most Active
                                        wrote on last edited by
                                        #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 Reply Last reply
                                        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
                                          wrote on last edited by
                                          #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 Replies 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

                                          668

                                          Online

                                          32.4k

                                          Users

                                          81.5k

                                          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