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. Error/Bug
  4. Fehler bei der Installation

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    2.0k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    925

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.2k

Fehler bei der Installation

Geplant Angeheftet Gesperrt Verschoben Gelöst Error/Bug
iobroker installation
12 Beiträge 2 Kommentatoren 1.1k Aufrufe 1 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.
  • M Offline
    M Offline
    martin
    schrieb am zuletzt editiert von
    #1

    Habe Debian 10.3.0 neu installiert und dann laut Anleitung iobroker.
    Leider kommen während der Installation unter Schritt 3 einige Meldungen mit denen ich nichts anfangen kann.
    Ist das alles korrekt so?

    root@iobroker:/# node -v
    v10.19.0
    root@iobroker:/# nodejs -v
    v10.19.0
    root@iobroker:/# npm -v
    6.13.4
    root@iobroker:/# curl -sL https://iobroker.net/install.sh | bash -
    library: loaded
    Library version=2020-01-30
    
    ==========================================================================
    
        Welcome to the ioBroker installer!
        Installer version: 2020-01-25
    
    ==========================================================================
    
    
    ==========================================================================
        Installing prerequisites (1/4)
    ==========================================================================
    
    OK:1 http://deb.debian.org/debian buster InRelease
    OK:2 http://security.debian.org/debian-security buster/updates InRelease
    OK:3 http://deb.debian.org/debian buster-updates InRelease
    OK:4 https://deb.nodesource.com/node_10.x buster InRelease
    Paketlisten werden gelesen... Fertig
    Changing npm registry to https://registry.npmjs.org
    Installed gcc-c++
    
    ==========================================================================
        Creating ioBroker user and directory (2/4)
    ==========================================================================
    
    Created /etc/sudoers.d/iobroker
    Directory /opt/iobroker created
    
    ==========================================================================
        Installing ioBroker (3/4)
    ==========================================================================
    
    In file included from ../src/main.cpp:3:
    ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
    ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
         , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                  ^
    In file included from ../../nan/nan.h:54,
                     from ../src/main.cpp:3:
    ../src/main.cpp: At global scope:
    /root/.cache/node-gyp/10.19.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
           (node::addon_register_func) (regfunc),                          \
                                               ^
    /root/.cache/node-gyp/10.19.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
       NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
       ^~~~~~~~~~~~~
    ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
     NODE_MODULE(diskusage, Init)
     ^~~~~~~~~~~
    In file included from /root/.cache/node-gyp/10.19.0/include/node/node.h:63,
                     from ../../nan/nan.h:54,
                     from ../src/main.cpp:3:
    /root/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
    /root/.cache/node-gyp/10.19.0/include/node/node_object_wrap.h:84:78:   required from here
    /root/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                    reinterpret_cast<Callback>(callback), type);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /root/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
    ../../nan/nan_object_wrap.h:65:61:   required from here
    /root/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
    In file included from ../src/unix_dgram.cc:5:
    ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
    ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
         , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                  ^
    In file included from ../../nan/nan.h:54,
                     from ../src/unix_dgram.cc:5:
    ../src/unix_dgram.cc: At global scope:
    /root/.cache/node-gyp/10.19.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
           (node::addon_register_func) (regfunc),                          \
                                               ^
    /root/.cache/node-gyp/10.19.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
       NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
       ^~~~~~~~~~~~~
    ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
     NODE_MODULE(unix_dgram, Initialize)
     ^~~~~~~~~~~
    In file included from /root/.cache/node-gyp/10.19.0/include/node/node.h:63,
                     from ../../nan/nan.h:54,
                     from ../src/unix_dgram.cc:5:
    /root/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
    /root/.cache/node-gyp/10.19.0/include/node/node_object_wrap.h:84:78:   required from here
    /root/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                    reinterpret_cast<Callback>(callback), type);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /root/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
    ../../nan/nan_object_wrap.h:65:61:   required from here
    /root/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
    Some packets could not be installed. Please install them manually
    Some packets could not be installed. Please install them manually
    Some packets could not be installed. Please install them manually
    
    ==========================================================================
        Finalizing installation (4/4)
    ==========================================================================
    
    Enabling autostart...
    Autostart enabled!
    Fixing directory permissions...
    
    ==========================================================================
    
        ioBroker was installed successfully
        Open http://192.168.177.44:8081 in a browser and start configuring!
    
    ==========================================================================
    
    
    You need to re-login before doing anything else on the console!
    
    root@iobroker:/#
    
    
    FredFF 1 Antwort Letzte Antwort
    0
    • M martin

      Habe Debian 10.3.0 neu installiert und dann laut Anleitung iobroker.
      Leider kommen während der Installation unter Schritt 3 einige Meldungen mit denen ich nichts anfangen kann.
      Ist das alles korrekt so?

      root@iobroker:/# node -v
      v10.19.0
      root@iobroker:/# nodejs -v
      v10.19.0
      root@iobroker:/# npm -v
      6.13.4
      root@iobroker:/# curl -sL https://iobroker.net/install.sh | bash -
      library: loaded
      Library version=2020-01-30
      
      ==========================================================================
      
          Welcome to the ioBroker installer!
          Installer version: 2020-01-25
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/4)
      ==========================================================================
      
      OK:1 http://deb.debian.org/debian buster InRelease
      OK:2 http://security.debian.org/debian-security buster/updates InRelease
      OK:3 http://deb.debian.org/debian buster-updates InRelease
      OK:4 https://deb.nodesource.com/node_10.x buster InRelease
      Paketlisten werden gelesen... Fertig
      Changing npm registry to https://registry.npmjs.org
      Installed gcc-c++
      
      ==========================================================================
          Creating ioBroker user and directory (2/4)
      ==========================================================================
      
      Created /etc/sudoers.d/iobroker
      Directory /opt/iobroker created
      
      ==========================================================================
          Installing ioBroker (3/4)
      ==========================================================================
      
      In file included from ../src/main.cpp:3:
      ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
      ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
           , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                    ^
      In file included from ../../nan/nan.h:54,
                       from ../src/main.cpp:3:
      ../src/main.cpp: At global scope:
      /root/.cache/node-gyp/10.19.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
             (node::addon_register_func) (regfunc),                          \
                                                 ^
      /root/.cache/node-gyp/10.19.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
         NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
         ^~~~~~~~~~~~~
      ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
       NODE_MODULE(diskusage, Init)
       ^~~~~~~~~~~
      In file included from /root/.cache/node-gyp/10.19.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/main.cpp:3:
      /root/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
      /root/.cache/node-gyp/10.19.0/include/node/node_object_wrap.h:84:78:   required from here
      /root/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                      reinterpret_cast<Callback>(callback), type);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /root/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
      ../../nan/nan_object_wrap.h:65:61:   required from here
      /root/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
      In file included from ../src/unix_dgram.cc:5:
      ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
      ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
           , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                    ^
      In file included from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      ../src/unix_dgram.cc: At global scope:
      /root/.cache/node-gyp/10.19.0/include/node/node.h:573:43: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
             (node::addon_register_func) (regfunc),                          \
                                                 ^
      /root/.cache/node-gyp/10.19.0/include/node/node.h:607:3: note: in expansion of macro ‘NODE_MODULE_X’
         NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
         ^~~~~~~~~~~~~
      ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
       NODE_MODULE(unix_dgram, Initialize)
       ^~~~~~~~~~~
      In file included from /root/.cache/node-gyp/10.19.0/include/node/node.h:63,
                       from ../../nan/nan.h:54,
                       from ../src/unix_dgram.cc:5:
      /root/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]’:
      /root/.cache/node-gyp/10.19.0/include/node/node_object_wrap.h:84:78:   required from here
      /root/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<node::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
                      reinterpret_cast<Callback>(callback), type);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /root/.cache/node-gyp/10.19.0/include/node/v8.h: In instantiation of ‘void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]’:
      ../../nan/nan_object_wrap.h:65:61:   required from here
      /root/.cache/node-gyp/10.19.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from ‘v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’} to ‘Callback’ {aka ‘void (*)(const v8::WeakCallbackInfo<void>&)’} [-Wcast-function-type]
      Some packets could not be installed. Please install them manually
      Some packets could not be installed. Please install them manually
      Some packets could not be installed. Please install them manually
      
      ==========================================================================
          Finalizing installation (4/4)
      ==========================================================================
      
      Enabling autostart...
      Autostart enabled!
      Fixing directory permissions...
      
      ==========================================================================
      
          ioBroker was installed successfully
          Open http://192.168.177.44:8081 in a browser and start configuring!
      
      ==========================================================================
      
      
      You need to re-login before doing anything else on the console!
      
      root@iobroker:/#
      
      
      FredFF Online
      FredFF Online
      FredF
      Most Active Forum Testing
      schrieb am zuletzt editiert von
      #2

      @martin sagte in Fehler bei der Installation:

      Ist das alles korrekt so?

      Diese Meldungen hatte ich auch. System läuft.
      Sind ja keine Fehlermeldungen und es wird gemeldet

      ioBroker was installed successfully
      
      1 Antwort Letzte Antwort
      0
      • M Offline
        M Offline
        martin
        schrieb am zuletzt editiert von
        #3

        Danke.
        Habe jetzt versucht das letzte Backup einzuspielen.

        Hier aber jetzt Probleme mit denen ich nicht klar komme.

        root@iobroker:/# iobroker stop
        root@iobroker:/# iobroker restore 0
        host.iobroker Using backup file total_2019_11_25-02_00_10_backupiobroker.tar.gz
        host.iobroker Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"
        iobroker controller daemon is not running
        host.iobroker OK.
        (node:4959) 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:4959) 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:4959) [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.
        root@iobroker:/#
        
        
        FredFF 1 Antwort Letzte Antwort
        0
        • M martin

          Danke.
          Habe jetzt versucht das letzte Backup einzuspielen.

          Hier aber jetzt Probleme mit denen ich nicht klar komme.

          root@iobroker:/# iobroker stop
          root@iobroker:/# iobroker restore 0
          host.iobroker Using backup file total_2019_11_25-02_00_10_backupiobroker.tar.gz
          host.iobroker Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"
          iobroker controller daemon is not running
          host.iobroker OK.
          (node:4959) 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:4959) 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:4959) [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.
          root@iobroker:/#
          
          
          FredFF Online
          FredFF Online
          FredF
          Most Active Forum Testing
          schrieb am zuletzt editiert von
          #4

          @martin
          Ich bin mir nicht sicher, aber muß ioBroker vorher gestoppt werden?

          1 Antwort Letzte Antwort
          0
          • M Offline
            M Offline
            martin
            schrieb am zuletzt editiert von
            #5

            Wenn er läuft kommt die Meldung, dass man ihn stoppen soll.

            FredFF 1 Antwort Letzte Antwort
            0
            • M martin

              Wenn er läuft kommt die Meldung, dass man ihn stoppen soll.

              FredFF Online
              FredFF Online
              FredF
              Most Active Forum Testing
              schrieb am zuletzt editiert von
              #6

              @martin
              Das gemacht

              You need to re-login before doing anything else on the console!
              
              1 Antwort Letzte Antwort
              0
              • M Offline
                M Offline
                martin
                schrieb am zuletzt editiert von martin
                #7

                Ja, ich mache nach jedem Schritt ein Reboot.

                root@iobroker:~# iobroker upgrade self
                Host    "iobroker"       is up to date.
                
                
                FredFF 1 Antwort Letzte Antwort
                0
                • M martin

                  Ja, ich mache nach jedem Schritt ein Reboot.

                  root@iobroker:~# iobroker upgrade self
                  Host    "iobroker"       is up to date.
                  
                  
                  FredFF Online
                  FredFF Online
                  FredF
                  Most Active Forum Testing
                  schrieb am zuletzt editiert von
                  #8

                  @martin Dann probier doch mal das fixer script drüber laufen zu lassen.

                  curl -sL https://iobroker.net/fix.sh | bash -
                  
                  1 Antwort Letzte Antwort
                  1
                  • M Offline
                    M Offline
                    martin
                    schrieb am zuletzt editiert von
                    #9

                    Habe jetzt alles (Debian + Iobroker) neu aufgesetzt.

                    root@iobroker:~# iobroker restore 0
                    host.iobroker Using backup file total_2019_11_25-02_00_10_backupiobroker.tar.gz
                    host.iobroker Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"
                    iobroker controller daemon is not running
                    
                    

                    Dann das Fixer-Script laufen lassen (erfolgreich) und nochmal restore.

                    root@iobroker:~# iobroker restore 0
                    host.iobroker Using backup file total_2019_11_25-02_00_10_backupiobroker.tar.gz
                    host.iobroker Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"
                    iobroker controller daemon is not running
                    host.iobroker OK.
                    root@iobroker:~#
                    
                    

                    Ich habe von der gecrashten Festplatte den /opt/iobroker Ordner kopieren können.
                    Kann ich den einfach per FTP drüber bügeln?

                    1 Antwort Letzte Antwort
                    0
                    • M Offline
                      M Offline
                      martin
                      schrieb am zuletzt editiert von
                      #10

                      Habe es jetzt mal mit "backitup" versucht.

                      ======================
                      Log Backitup Restore:
                      ======================
                      
                      [DEBUG] [iobroker] Start ioBroker Restore ...
                      [ERROR] [iobroker] host.iobroker Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"
                      [DEBUG] [iobroker] iobroker controller daemon is not running
                      [DEBUG] [iobroker] host.iobroker OK.
                      [DEBUG] [iobroker] ioBroker Restore completed successfully
                      [EXIT] 9 **** Restore completed successfully!! ****
                      
                      The log can be closed ...
                      
                      
                      1 Antwort Letzte Antwort
                      0
                      • M Offline
                        M Offline
                        martin
                        schrieb am zuletzt editiert von
                        #11

                        Und nach iobroker upgrade self das hier:

                        root@iobroker:/opt/iobroker# iobroker restore 0
                        host.iobroker Using backup file iobroker_2020_02_18-19_14_04_backupiobroker.tar.gz
                        host.iobroker Cannot find extracted file from file "/opt/iobroker/node_modules/iobroker.js-controller/tmp/backup/backup.json"
                        iobroker controller daemon is not running
                        host.iobroker OK.
                        (node:1151) 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:439:3)
                            at Object.readFileSync (fs.js:344: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:194: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:1151) 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:1151) [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.
                        root@iobroker:/opt/iobroker#
                        
                        
                        1 Antwort Letzte Antwort
                        0
                        • M Offline
                          M Offline
                          martin
                          schrieb am zuletzt editiert von
                          #12

                          Lösung:

                          du legst dein Backup in den Ordner /opt/iobroker und führst folgenden Befehl in diesem Ordner aus:

                          iobroker stop
                          cd /opt/iobroker
                          sudo tar -xzvf Backupname.tar.gz -C /opt/iobroker
                          iobroker start
                          

                          Jetzt läuft alles zumindest mal wieder und meine Daten sind da.
                          Werde die nächsten Tage mal ein Standard-Backup erstellen das ich dann hoffentlich in eine saubere Neuinstallation per "Restore" einspielen kann.

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


                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          716

                          Online

                          32.6k

                          Benutzer

                          82.2k

                          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