Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • 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. Kann kein Backup einspielen

NEWS

  • Neues YouTube-Video: Visualisierung im Devices-Adapter
    BluefoxB
    Bluefox
    6
    1
    101

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    1.8k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    11
    1
    758

Kann kein Backup einspielen

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
11 Beiträge 2 Kommentatoren 360 Aufrufe 1 Beobachtet
  • Ä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.
  • hg6806H hg6806

    Hallo zusammen,

    leider kann ich kein Backup nach einer ioBroker Neuinstallation gerade einspielen.
    Da ist wohl was wegen js-controller version daneben:

    pi@raspberrypi:~ $ iob restore 0
    host.raspberrypi Using backup file 2022_05_25-11_04_11_backupiobroker.tar.gz
    iobroker controller daemon is not running
    host.raspberrypi OK.
    The current version of js-controller differs from the version in the backup.
    The js-controller version of the backup can not be restored automatically.
    To restore the js-controller version of the backup, execute "npm i iobroker.js-controller@3.3.21 --production" inside your ioBroker directory
    If you really want to restore the backup with the current installed js-controller, execute the restore command with the --force flag
    
    

    habe ich auch getan, geht aber noch immer nicht:

    pi@raspberrypi:~ $ npm i iobroker.js-controller@3.3.21 --production
    npm WARN config production Use `--omit=dev` instead.
    
    added 1 package, removed 27 packages, changed 18 packages, and audited 284 packages in 22s
    
    14 packages are looking for funding
      run `npm fund` for details
    
    4 vulnerabilities (3 moderate, 1 high)
    
    To address all issues (including breaking changes), run:
      npm audit fix --force
    
    Run `npm audit` for details.
    pi@raspberrypi:~ $ iob restore 0
    host.raspberrypi Using backup file 2022_05_25-11_04_11_backupiobroker.tar.gz
    iobroker controller daemon is not running
    host.raspberrypi OK.
    The current version of js-controller differs from the version in the backup.
    The js-controller version of the backup can not be restored automatically.
    To restore the js-controller version of the backup, execute "npm i iobroker.js-controller@3.3.21 --production" inside your ioBroker directory
    If you really want to restore the backup with the current installed js-controller, execute the restore command with the --force flag
    pi@raspberrypi:~ $
    
    

    wenn ich

    npm audit fix --force
    
    

    ausführe macht er wieder ein Update auf js-controller 4

    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    schrieb am zuletzt editiert von Thomas Braun
    #2

    @hg6806 sagte in Kann kein Backup einspielen:

    npm audit fix --force

    Nie machen! Schon gerade gar nicht per force!

    pi@raspberrypi:~ $ npm i iobroker.js-controller@3.3.21

    Da stehst du im falschen Verzeichnis.
    Du musst nach /opt/iobroker wechseln.

    cd /opt/iobroker
    sudo -H -u iobroker npm install iobroker.js-controller@3.3.21
    

    Linux-Werkzeugkasten:
    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
    NodeJS Fixer Skript:
    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

    hg6806H 1 Antwort Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @hg6806 sagte in Kann kein Backup einspielen:

      npm audit fix --force

      Nie machen! Schon gerade gar nicht per force!

      pi@raspberrypi:~ $ npm i iobroker.js-controller@3.3.21

      Da stehst du im falschen Verzeichnis.
      Du musst nach /opt/iobroker wechseln.

      cd /opt/iobroker
      sudo -H -u iobroker npm install iobroker.js-controller@3.3.21
      
      hg6806H Offline
      hg6806H Offline
      hg6806
      Most Active
      schrieb am zuletzt editiert von
      #3

      @thomas-braun sagte in Kann kein Backup einspielen:

      Du musst nach /opt/iobroker wechseln.

      Hatte ich zwar auf dem Schirm, jedoch wurde ja trotzdem was ausgeführt, deshalb dachte ich das mit dem Verzeichnis ist ok.

      @thomas-braun sagte in Kann kein Backup einspielen:

      npm audit fix --force

      Das stand ja auch in der Meldung, deshalb hatte ich das ausgeführt.

      Läuft jetzt! Danke!

      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • hg6806H Offline
        hg6806H Offline
        hg6806
        Most Active
        schrieb am zuletzt editiert von hg6806
        #4

        iobroker lief nicht, also habe ich nochmal alles neu installiert, also den Pi neu aufgesetzt.

        Jetzt kommt folgende Meldung:

        pi@raspberrypi:/opt/iobroker $ npm i iobroker.js-controller@3.3.21 --production
        npm WARN config production Use `--omit=dev` instead.
        npm ERR! code EACCES
        npm ERR! syscall rename
        npm ERR! path /opt/iobroker/node_modules/alcalzone-shared
        npm ERR! dest /opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF
        npm ERR! errno -13
        npm ERR! Error: EACCES: permission denied, rename '/opt/iobroker/node_modules/al                                                                                                             calzone-shared' -> '/opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF'
        npm ERR!  [Error: EACCES: permission denied, rename '/opt/iobroker/node_modules/                                                                                                             alcalzone-shared' -> '/opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF'] {
        npm ERR!   errno: -13,
        npm ERR!   code: 'EACCES',
        npm ERR!   syscall: 'rename',
        npm ERR!   path: '/opt/iobroker/node_modules/alcalzone-shared',
        npm ERR!   dest: '/opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF'
        npm ERR! }
        npm ERR!
        npm ERR! The operation was rejected by your operating system.
        npm ERR! It is likely you do not have the permissions to access this file as the                                                                                                              current user
        npm ERR!
        npm ERR! If you believe this might be a permissions issue, please double-check t                                                                                                             he
        npm ERR! permissions of the file and its containing directories, or try running
        npm ERR! the command again as root/Administrator.
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/pi/.npm/_logs/2022-06-30T09_48_50_758Z-debug-0.log
        
        
        Thomas BraunT 2 Antworten Letzte Antwort
        0
        • hg6806H hg6806

          @thomas-braun sagte in Kann kein Backup einspielen:

          Du musst nach /opt/iobroker wechseln.

          Hatte ich zwar auf dem Schirm, jedoch wurde ja trotzdem was ausgeführt, deshalb dachte ich das mit dem Verzeichnis ist ok.

          @thomas-braun sagte in Kann kein Backup einspielen:

          npm audit fix --force

          Das stand ja auch in der Meldung, deshalb hatte ich das ausgeführt.

          Läuft jetzt! Danke!

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #5

          @hg6806 sagte in Kann kein Backup einspielen:

          jedoch wurde ja trotzdem was ausgeführt

          Natürlich. Aber es liegt jetzt im home vom pi herum.

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          1 Antwort Letzte Antwort
          0
          • hg6806H hg6806

            iobroker lief nicht, also habe ich nochmal alles neu installiert, also den Pi neu aufgesetzt.

            Jetzt kommt folgende Meldung:

            pi@raspberrypi:/opt/iobroker $ npm i iobroker.js-controller@3.3.21 --production
            npm WARN config production Use `--omit=dev` instead.
            npm ERR! code EACCES
            npm ERR! syscall rename
            npm ERR! path /opt/iobroker/node_modules/alcalzone-shared
            npm ERR! dest /opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF
            npm ERR! errno -13
            npm ERR! Error: EACCES: permission denied, rename '/opt/iobroker/node_modules/al                                                                                                             calzone-shared' -> '/opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF'
            npm ERR!  [Error: EACCES: permission denied, rename '/opt/iobroker/node_modules/                                                                                                             alcalzone-shared' -> '/opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF'] {
            npm ERR!   errno: -13,
            npm ERR!   code: 'EACCES',
            npm ERR!   syscall: 'rename',
            npm ERR!   path: '/opt/iobroker/node_modules/alcalzone-shared',
            npm ERR!   dest: '/opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF'
            npm ERR! }
            npm ERR!
            npm ERR! The operation was rejected by your operating system.
            npm ERR! It is likely you do not have the permissions to access this file as the                                                                                                              current user
            npm ERR!
            npm ERR! If you believe this might be a permissions issue, please double-check t                                                                                                             he
            npm ERR! permissions of the file and its containing directories, or try running
            npm ERR! the command again as root/Administrator.
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/pi/.npm/_logs/2022-06-30T09_48_50_758Z-debug-0.log
            
            
            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #6

            @hg6806 sagte in Kann kein Backup einspielen:

            /opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF

            Lösch das:

            sudo -u iobroker rm /opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF
            

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            hg6806H 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @hg6806 sagte in Kann kein Backup einspielen:

              /opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF

              Lösch das:

              sudo -u iobroker rm /opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF
              
              hg6806H Offline
              hg6806H Offline
              hg6806
              Most Active
              schrieb am zuletzt editiert von
              #7

              @thomas-braun sagte in Kann kein Backup einspielen:

              sudo -u iobroker rm /opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF

              pi@raspberrypi:/opt/iobroker $ sudo -u iobroker rm /opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF
              rm: cannot remove '/opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF': No such file or directory
              pi@raspberrypi:/opt/iobroker $
              
              
              
              1 Antwort Letzte Antwort
              0
              • hg6806H hg6806

                iobroker lief nicht, also habe ich nochmal alles neu installiert, also den Pi neu aufgesetzt.

                Jetzt kommt folgende Meldung:

                pi@raspberrypi:/opt/iobroker $ npm i iobroker.js-controller@3.3.21 --production
                npm WARN config production Use `--omit=dev` instead.
                npm ERR! code EACCES
                npm ERR! syscall rename
                npm ERR! path /opt/iobroker/node_modules/alcalzone-shared
                npm ERR! dest /opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF
                npm ERR! errno -13
                npm ERR! Error: EACCES: permission denied, rename '/opt/iobroker/node_modules/al                                                                                                             calzone-shared' -> '/opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF'
                npm ERR!  [Error: EACCES: permission denied, rename '/opt/iobroker/node_modules/                                                                                                             alcalzone-shared' -> '/opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF'] {
                npm ERR!   errno: -13,
                npm ERR!   code: 'EACCES',
                npm ERR!   syscall: 'rename',
                npm ERR!   path: '/opt/iobroker/node_modules/alcalzone-shared',
                npm ERR!   dest: '/opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF'
                npm ERR! }
                npm ERR!
                npm ERR! The operation was rejected by your operating system.
                npm ERR! It is likely you do not have the permissions to access this file as the                                                                                                              current user
                npm ERR!
                npm ERR! If you believe this might be a permissions issue, please double-check t                                                                                                             he
                npm ERR! permissions of the file and its containing directories, or try running
                npm ERR! the command again as root/Administrator.
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/pi/.npm/_logs/2022-06-30T09_48_50_758Z-debug-0.log
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #8

                @hg6806

                In /opt/iobroker agiert man besser auch als user iobroker. So

                sudo -H -u iobroker npm install iobroker.js-controller@3.3.21
                

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                hg6806H 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @hg6806

                  In /opt/iobroker agiert man besser auch als user iobroker. So

                  sudo -H -u iobroker npm install iobroker.js-controller@3.3.21
                  
                  hg6806H Offline
                  hg6806H Offline
                  hg6806
                  Most Active
                  schrieb am zuletzt editiert von
                  #9

                  @thomas-braun sagte in Kann kein Backup einspielen:

                  sudo -H -u iobroker npm install iobroker.js-controller@3.3.21

                  Das hat zwar funktioniert, das Backup geht noch immer nicht:

                  pi@raspberrypi:~ $ iob status
                   Cannot read system.config: null (OK when migrating or restoring)
                  iobroker is not running on this host.
                  
                  
                  
                  1 Antwort Letzte Antwort
                  0
                  • hg6806H Offline
                    hg6806H Offline
                    hg6806
                    Most Active
                    schrieb am zuletzt editiert von
                    #10

                    @thomas-braun sagte in Kann kein Backup einspielen:

                    sudo -H -u iobroker npm install iobroker.js-controller@3.3.21

                    Nach einem erneuten Restore geht es jetzt.

                    Ich frage mich nur welchen Fehler ich gemacht habe? Backup von zu alter js-controller-version?

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • hg6806H hg6806

                      @thomas-braun sagte in Kann kein Backup einspielen:

                      sudo -H -u iobroker npm install iobroker.js-controller@3.3.21

                      Nach einem erneuten Restore geht es jetzt.

                      Ich frage mich nur welchen Fehler ich gemacht habe? Backup von zu alter js-controller-version?

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #11

                      @hg6806

                      Keine Ahnung. Da waren aber halt ein paar 'Ungereimtheiten' bei dir drin.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      1 Antwort Letzte Antwort
                      0

                      Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                      Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                      Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                      Registrieren Anmelden
                      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

                      576

                      Online

                      32.9k

                      Benutzer

                      83.0k

                      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