Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Backup lässt sich nicht zurückspielen

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Backup lässt sich nicht zurückspielen

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

      Moin,

      ich habe auf einem neuen PI3b (der alte hat sich verabschiedet) das ioBroker Image vom 14.04.18 installiert.

      Nun wollte ich das Backup zurückspielen und bekomme folgende Fehlermeldung:

      pi@ioBroker-RasPi:~ $ cd /opt/iobroker
      pi@ioBroker-RasPi:/opt/iobroker $ sudo iobroker stop
      Stopping iobroker controller daemon...
      iobroker controller daemon stopped.
      Exit code for "killall.sh": 123
      pi@ioBroker-RasPi:/opt/iobroker $ ./iobroker restore 2018_05_02-15_33_51_backupiobroker.tar.gz
      iobroker controller daemon is not running
      host.ioBroker-RasPi OK.
      host.ioBroker-RasPi Clear all objects and states...
      clean 361 objects...
      /opt/iobroker/node_modules/iobroker.js-controller/lib/objects/objectsInMemServer.js:2546
                          callback('Object is marked as non deletable');
                          ^
      
      TypeError: callback is not a function
          at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/objects/objectsInMemServer.js:2546:21)
          at runCallback (timers.js:794:20)
          at tryOnImmediate (timers.js:752:5)
          at processImmediate [as _immediateCallback] (timers.js:729:5)
      pi@ioBroker-RasPi:/opt/iobroker $ 
      
      

      Kann mir da jemand weiterhelfen?

      EDIT:

      Hier hatte jemand das gleiche Problem: https://www.forum.iobroker.net/viewtopic.php?t=13298, ich kann aber die Lösung nicht nachvollziehen.

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

        Welche Version des js-Controller?

        1 Reply Last reply Reply Quote 0
        • W
          w00dy last edited by w00dy

          Moin appolon77,

          habe vorhin ein iobroker Update gemacht, da wurde das ausgegeben: "Controller "js-controller" : 1.2.3 , installed 1.4.0"

          1 Reply Last reply Reply Quote 0
          • D
            dna909 last edited by

            Downgrade mal den Controller auf 1.3.0, das Problem hatte ich auch.

            cd /opt/iobroker

            iobroker stop

            npm i iobroker.js-controller@1.3.0

            iobroker restore 0

            So sollte es eigentlich klappen.

            MfG

            dna909

            1 Reply Last reply Reply Quote 0
            • W
              w00dy last edited by w00dy

              Moin,

              das klappt nicht, wird mit Warn- und Error-Meldungen abgebrochen:

              pi@ioBroker-RasPi:~ $ cd /opt/iobroker
              pi@ioBroker-RasPi:/opt/iobroker $ 
              pi@ioBroker-RasPi:/opt/iobroker $ iobroker stop
              iobroker controller daemon is not running
              pi@ioBroker-RasPi:/opt/iobroker $ npm i iobroker.js-controller@1.3.0
              npm WARN deprecated localhost.daplie.me-certificates@1.3.5: this package has been deprecated
              npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/cliui
              npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/moment
              npm WARN checkPermissions Missing write access to /opt/iobroker/node_modules/winston-syslog
              npm ERR! path /opt/iobroker/node_modules/cliui
              npm ERR! code EACCES
              npm ERR! errno -13
              npm ERR! syscall access
              npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/cliui'
              npm ERR!  { Error: EACCES: permission denied, access '/opt/iobroker/node_modules/cliui'
              npm ERR!   stack: 'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/cliui\'',
              npm ERR!   errno: -13,
              npm ERR!   code: 'EACCES',
              npm ERR!   syscall: 'access',
              npm ERR!   path: '/opt/iobroker/node_modules/cliui' }
              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 the
              npm ERR! permissions of the file and its containing directories, or try running
              npm ERR! the command again as root/Administrator (though this is not recommended).
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /home/pi/.npm/_logs/2018-05-03T12_57_47_128Z-debug.log
              pi@ioBroker-RasPi:/opt/iobroker $ 
              
              
              1 Reply Last reply Reply Quote 0
              • Bluefox
                Bluefox last edited by

                Ich wurde statt downgrade lieber update empfehlen.

                Und bevor du update auf 1.4.2 machst, setze bitte die permissions:

                cd /opt/iobroker
                chmod 777 * -R
                
                
                1 Reply Last reply Reply Quote 0
                • W
                  w00dy last edited by w00dy

                  Danke @Bluefox, so hat es jetzt funktioniert.

                  Ob Linux und ich jemals Freunde werden….

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  Support us

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

                  784
                  Online

                  32.1k
                  Users

                  80.7k
                  Topics

                  1.3m
                  Posts

                  4
                  7
                  682
                  Loading More Posts
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes
                  Reply
                  • Reply as topic
                  Log in to reply
                  Community
                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                  The ioBroker Community 2014-2023
                  logo