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. English
  3. ioBroker general
  4. Update System iobroker failed

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    23
    1
    1.3k

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

Update System iobroker failed

Geplant Angeheftet Gesperrt Verschoben ioBroker general
update iobroker
164 Beiträge 7 Kommentatoren 23.5k Aufrufe 5 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Thomas Braun

    @tiger

    What is the current situation?
    Check:

    sudo ln -s /usr/bin/node /usr/bin/nodejs
    
    uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
    
     
    

    You are standig in the wrong directroy with the wrong command:

    npm install iobroker.js-controller
    pi@raspberrypi:/ $ npm install iobroker.js-controller
    
    T Offline
    T Offline
    Tiger
    schrieb am zuletzt editiert von Homoran
    #3

    @thomas-braun
    This is what I've when checking :

    pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
    ln: failed to create symbolic link '/usr/bin/nodejs': File exists
    pi@raspberrypi:~ $  
    pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
    armv7l
    /usr/bin/nodejs
    /usr/local/bin/node
    /usr/local/bin/npm
    v10.24.1
    v14.20.0
    6.14.17
    pi
    /home/pi
    

    i'd retied in the correct folder (hoping it is the good one ;)
    with the lfollowing messages :

    pi@raspberrypi:~ $ npm install iobroker.js-controller
    npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
    npm WARN deprecated har-validator@5.1.5: this library is no longer supported
    npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
    
    > iobroker.js-controller@4.0.23 preinstall /home/pi/node_modules/iobroker.js-controller
    > node lib/preinstallCheck.js
    
    NPM version: 6.14.17
    
    > unix-dgram@2.0.4 install /home/pi/node_modules/unix-dgram
    > node-gyp rebuild
    
    make: Entering directory '/home/pi/node_modules/unix-dgram/build'
      CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
    In file included from ../../nan/nan.h:60,
                     from ../src/unix_dgram.cc:5:
    /home/pi/.cache/node-gyp/14.20.0/include/node/node.h:793: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),                          \
                                               ^
    /home/pi/.cache/node-gyp/14.20.0/include/node/node.h:827: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)
     ^~~~~~~~~~~
      SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
      COPY Release/unix_dgram.node
    make: Leaving directory '/home/pi/node_modules/unix-dgram/build'
    
    > ursa-optional@0.9.10 install /home/pi/node_modules/ursa-optional
    > node rebuild.js
    
    ursaNative bindings compilation fail. This is not an issue. Modules that depend on it will use fallbacks.
    
    > diskusage@1.1.3 install /home/pi/node_modules/diskusage
    > node-gyp rebuild
    
    make: Entering directory '/home/pi/node_modules/diskusage/build'
      CXX(target) Release/obj.target/diskusage/src/main.o
    In file included from ../../nan/nan.h:60,
                     from ../src/main.cpp:3:
    /home/pi/.cache/node-gyp/14.20.0/include/node/node.h:793: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),                          \
                                               ^
    /home/pi/.cache/node-gyp/14.20.0/include/node/node.h:827: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)
     ^~~~~~~~~~~
      CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o
      SOLINK_MODULE(target) Release/obj.target/diskusage.node
      COPY Release/diskusage.node
    make: Leaving directory '/home/pi/node_modules/diskusage/build'
    
    > iobroker.js-controller@4.0.23 install /home/pi/node_modules/iobroker.js-controller
    > node iobroker.js setup first
    
    Successfully migrated 2282 objects to Redis Sets
    object _design/system updated
    {
      "defaultPrivate": "-----BEGIN RSA PRIVATE KEY-----\r\nMIIEowIBAAKCAQEAyT6U23GRW0Oh9Tcq1kU73inPy48tG53hvXVhp6VXb9hIxrOE\r\nrT/yMt0j5Kb3l1KVZ1UMNPeIXS1Q6fpSBwyQPOeh59S9JwKfcb9jG5QiQovIuY1W\r\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ywfN\r\ndorLiQ4sSSuV/+n65g3X5f0jcBXvgEpw/+d6xgZFF6yAW/zajhmzrUb8f1zrSfFa\r\nJfTVsKik+5M5FuIJDk2LE+hTojtNvRtEfXVUt2OmqqoacLd8YFe5HZ6SSkN6qbco\r\neb9SAZbnvTfmcWsCAwEAAaOBgzCBgDAMBgNVHRMBAf8EAjAAMA8GA1UdDwEB/wQF\r\nAwMHv4AwFgYDVR0RBA8wDYILcmFzcGJlcnJ5cGkwHQYDVR0OBBYEFJiYavQ6Fblc\r\nhAkADPq8+R1oVkxxMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNV\r\nHSMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCxhvq5wNin6gRpwA1E7RqWauNAKXT4\r\nCXv4pt1XocacdnATpNyiCBcOuy6+0UAbEe/v7p2U6b4QeaRewOpvznxY6r4k/3T0\r\njnHBOVwlC8+wmJf1suKH+W75brAJKwRSSZSCWoCCfsIJc9X+AjXQv5i4AuIeAAcN\r\n3oGk9lo0b5WcUhfNjsnUrZe7JyqFo7ASzo0Gr7tXk5k9/SF6ZzeVwXRLGfumLyjh\r\nhgASHnAvrbC6trBfHZe4dC47pG1VnRy38kz5seE7IvHsb8qjbfa93SqxWcIsgflz\r\nSYj6sP0IU2F3Gr3yMbYJAAHWsSagmHaLCViVXwwFDvQjLsZynHgBsZf0\r\n-----END CERTIFICATE-----\r\n"
    }
    Update certificate defaultPrivate
    The object "system.certificates" was updated successfully.
    Update certificate defaultPublic
    The object "system.certificates" was updated successfully.
    
    > @root/acme@3.1.0 postinstall /home/pi/node_modules/@root/acme
    > node scripts/postinstall
    
    
    > esbuild@0.11.23 postinstall /home/pi/node_modules/esbuild
    > node install.js
    
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
    npm WARN pi@1.0.0 No description
    npm WARN pi@1.0.0 No repository field.
    
    + iobroker.js-controller@4.0.23
    added 312 packages from 288 contributors, removed 1 package and audited 313 packages in 85.481s
    
    18 packages are looking for funding
      run `npm fund` for details
    
    found 8 vulnerabilities (3 low, 2 moderate, 3 high)
      run `npm audit fix` to fix them, or `npm audit` for details
    

    thanks

    HomoranH Thomas BraunT 3 Antworten Letzte Antwort
    0
    • T Tiger

      @thomas-braun
      This is what I've when checking :

      pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
      ln: failed to create symbolic link '/usr/bin/nodejs': File exists
      pi@raspberrypi:~ $  
      pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      armv7l
      /usr/bin/nodejs
      /usr/local/bin/node
      /usr/local/bin/npm
      v10.24.1
      v14.20.0
      6.14.17
      pi
      /home/pi
      

      i'd retied in the correct folder (hoping it is the good one ;)
      with the lfollowing messages :

      pi@raspberrypi:~ $ npm install iobroker.js-controller
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      
      > iobroker.js-controller@4.0.23 preinstall /home/pi/node_modules/iobroker.js-controller
      > node lib/preinstallCheck.js
      
      NPM version: 6.14.17
      
      > unix-dgram@2.0.4 install /home/pi/node_modules/unix-dgram
      > node-gyp rebuild
      
      make: Entering directory '/home/pi/node_modules/unix-dgram/build'
        CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
      In file included from ../../nan/nan.h:60,
                       from ../src/unix_dgram.cc:5:
      /home/pi/.cache/node-gyp/14.20.0/include/node/node.h:793: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),                          \
                                                 ^
      /home/pi/.cache/node-gyp/14.20.0/include/node/node.h:827: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)
       ^~~~~~~~~~~
        SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
        COPY Release/unix_dgram.node
      make: Leaving directory '/home/pi/node_modules/unix-dgram/build'
      
      > ursa-optional@0.9.10 install /home/pi/node_modules/ursa-optional
      > node rebuild.js
      
      ursaNative bindings compilation fail. This is not an issue. Modules that depend on it will use fallbacks.
      
      > diskusage@1.1.3 install /home/pi/node_modules/diskusage
      > node-gyp rebuild
      
      make: Entering directory '/home/pi/node_modules/diskusage/build'
        CXX(target) Release/obj.target/diskusage/src/main.o
      In file included from ../../nan/nan.h:60,
                       from ../src/main.cpp:3:
      /home/pi/.cache/node-gyp/14.20.0/include/node/node.h:793: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),                          \
                                                 ^
      /home/pi/.cache/node-gyp/14.20.0/include/node/node.h:827: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)
       ^~~~~~~~~~~
        CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o
        SOLINK_MODULE(target) Release/obj.target/diskusage.node
        COPY Release/diskusage.node
      make: Leaving directory '/home/pi/node_modules/diskusage/build'
      
      > iobroker.js-controller@4.0.23 install /home/pi/node_modules/iobroker.js-controller
      > node iobroker.js setup first
      
      Successfully migrated 2282 objects to Redis Sets
      object _design/system updated
      {
        "defaultPrivate": "-----BEGIN RSA PRIVATE KEY-----\r\nMIIEowIBAAKCAQEAyT6U23GRW0Oh9Tcq1kU73inPy48tG53hvXVhp6VXb9hIxrOE\r\nrT/yMt0j5Kb3l1KVZ1UMNPeIXS1Q6fpSBwyQPOeh59S9JwKfcb9jG5QiQovIuY1W\r\ndMZgycmnTtgJ55JkIWNcr3mPH+9bjKTvBbE4Qt9Ov3dkJcFoCFpSWt17G6ix0LFb\r\n+qjpWBh+XBCDGzx88X7LB812isuJDixJK5X/6frmDdfl/SNwFe+ASnD/53rGBkUX\r\nrIBb/NqOGbOtRvx/XOtJ8Vol9NWwqKT7kzkW4gkOTYsT6FOiO029G0R9dVS3Y6aq\r\nqhpwt3xgV7kdnpJKQ3qptyh5v1IBlue9N+ZxawIDAQABAoIBABZoKmjYl0ejGyhT\r\ncSiUYtsUqrdOhMY7aQQQSsRAy6B/Y3MET/R+VzhEmRd/Y7fskQgFVyuamAtP3V9/\r\n6JwyUOkHHWbTsA/k4d3nYmCSuNHSAJJwYzzzTZmKI1/K/CdVjGKPTqWXElGK9BWP\r\n07E9jzca6Ai3gWYWx7+OVvcZC/kDN97jwuKV9NLXdAS5543toffyrjbWUOnBds/t\r\nMvnIRzD9UbFOrK3Q7iYARKej3vN7cRjReyaDmn/za1t4I07X8ZLbNb51uhQDdQnp\r\nBkc0HwaqNk/kQmIDF8TpM0P2T8SREbOCHuFryxVX4wis58cesdnTVwVnOApfqDnI\r\nQHpQSWkCgYEA6nyKGOfLjvVhDIB7zOBMeO03Q84BDGnrEdyzttn5uMSAAykWxhrV\r\nSpeRsfJDhO9OMkn/dd/q3E2FrdzZ26XoWJ6i0bJFVylyQXovhHMtIzqpc+fwC78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ynHgBsZf0\r\n-----END CERTIFICATE-----\r\n"
      }
      Update certificate defaultPrivate
      The object "system.certificates" was updated successfully.
      Update certificate defaultPublic
      The object "system.certificates" was updated successfully.
      
      > @root/acme@3.1.0 postinstall /home/pi/node_modules/@root/acme
      > node scripts/postinstall
      
      
      > esbuild@0.11.23 postinstall /home/pi/node_modules/esbuild
      > node install.js
      
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
      npm WARN pi@1.0.0 No description
      npm WARN pi@1.0.0 No repository field.
      
      + iobroker.js-controller@4.0.23
      added 312 packages from 288 contributors, removed 1 package and audited 313 packages in 85.481s
      
      18 packages are looking for funding
        run `npm fund` for details
      
      found 8 vulnerabilities (3 low, 2 moderate, 3 high)
        run `npm audit fix` to fix them, or `npm audit` for details
      

      thanks

      HomoranH Nicht stören
      HomoranH Nicht stören
      Homoran
      Global Moderator Administrators
      schrieb am zuletzt editiert von
      #4

      @tiger please use code-tags for the log

      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      1 Antwort Letzte Antwort
      0
      • T Tiger

        @thomas-braun
        This is what I've when checking :

        pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
        ln: failed to create symbolic link '/usr/bin/nodejs': File exists
        pi@raspberrypi:~ $  
        pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
        armv7l
        /usr/bin/nodejs
        /usr/local/bin/node
        /usr/local/bin/npm
        v10.24.1
        v14.20.0
        6.14.17
        pi
        /home/pi
        

        i'd retied in the correct folder (hoping it is the good one ;)
        with the lfollowing messages :

        pi@raspberrypi:~ $ npm install iobroker.js-controller
        npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
        npm WARN deprecated har-validator@5.1.5: this library is no longer supported
        npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
        
        > iobroker.js-controller@4.0.23 preinstall /home/pi/node_modules/iobroker.js-controller
        > node lib/preinstallCheck.js
        
        NPM version: 6.14.17
        
        > unix-dgram@2.0.4 install /home/pi/node_modules/unix-dgram
        > node-gyp rebuild
        
        make: Entering directory '/home/pi/node_modules/unix-dgram/build'
          CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
        In file included from ../../nan/nan.h:60,
                         from ../src/unix_dgram.cc:5:
        /home/pi/.cache/node-gyp/14.20.0/include/node/node.h:793: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),                          \
                                                   ^
        /home/pi/.cache/node-gyp/14.20.0/include/node/node.h:827: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)
         ^~~~~~~~~~~
          SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
          COPY Release/unix_dgram.node
        make: Leaving directory '/home/pi/node_modules/unix-dgram/build'
        
        > ursa-optional@0.9.10 install /home/pi/node_modules/ursa-optional
        > node rebuild.js
        
        ursaNative bindings compilation fail. This is not an issue. Modules that depend on it will use fallbacks.
        
        > diskusage@1.1.3 install /home/pi/node_modules/diskusage
        > node-gyp rebuild
        
        make: Entering directory '/home/pi/node_modules/diskusage/build'
          CXX(target) Release/obj.target/diskusage/src/main.o
        In file included from ../../nan/nan.h:60,
                         from ../src/main.cpp:3:
        /home/pi/.cache/node-gyp/14.20.0/include/node/node.h:793: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),                          \
                                                   ^
        /home/pi/.cache/node-gyp/14.20.0/include/node/node.h:827: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)
         ^~~~~~~~~~~
          CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o
          SOLINK_MODULE(target) Release/obj.target/diskusage.node
          COPY Release/diskusage.node
        make: Leaving directory '/home/pi/node_modules/diskusage/build'
        
        > iobroker.js-controller@4.0.23 install /home/pi/node_modules/iobroker.js-controller
        > node iobroker.js setup first
        
        Successfully migrated 2282 objects to Redis Sets
        object _design/system updated
        {
          "defaultPrivate": "-----BEGIN RSA PRIVATE KEY-----\r\nMIIEowIBAAKCAQEAyT6U23GRW0Oh9Tcq1kU73inPy48tG53hvXVhp6VXb9hIxrOE\r\nrT/yMt0j5Kb3l1KVZ1UMNPeIXS1Q6fpSBwyQPOeh59S9JwKfcb9jG5QiQovIuY1W\r\ndMZgycmnTtgJ55JkIWNcr3mPH+9bjKTvBbE4Qt9Ov3dkJcFoCFpSWt17G6ix0LFb\r\n+qjpWBh+XBCDGzx88X7LB812isuJDixJK5X/6frmDdfl/SNwFe+ASnD/53rGBkUX\r\nrIBb/NqOGbOtRvx/XOtJ8Vol9NWwqKT7kzkW4gkOTYsT6FOiO029G0R9dVS3Y6aq\r\nqhpwt3xgV7kdnp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4AwFgYDVR0RBA8wDYILcmFzcGJlcnJ5cGkwHQYDVR0OBBYEFJiYavQ6Fblc\r\nhAkADPq8+R1oVkxxMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNV\r\nHSMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCxhvq5wNin6gRpwA1E7RqWauNAKXT4\r\nCXv4pt1XocacdnATpNyiCBcOuy6+0UAbEe/v7p2U6b4QeaRewOpvznxY6r4k/3T0\r\njnHBOVwlC8+wmJf1suKH+W75brAJKwRSSZSCWoCCfsIJc9X+AjXQv5i4AuIeAAcN\r\n3oGk9lo0b5WcUhfNjsnUrZe7JyqFo7ASzo0Gr7tXk5k9/SF6ZzeVwXRLGfumLyjh\r\nhgASHnAvrbC6trBfHZe4dC47pG1VnRy38kz5seE7IvHsb8qjbfa93SqxWcIsgflz\r\nSYj6sP0IU2F3Gr3yMbYJAAHWsSagmHaLCViVXwwFDvQjLsZynHgBsZf0\r\n-----END CERTIFICATE-----\r\n"
        }
        Update certificate defaultPrivate
        The object "system.certificates" was updated successfully.
        Update certificate defaultPublic
        The object "system.certificates" was updated successfully.
        
        > @root/acme@3.1.0 postinstall /home/pi/node_modules/@root/acme
        > node scripts/postinstall
        
        
        > esbuild@0.11.23 postinstall /home/pi/node_modules/esbuild
        > node install.js
        
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
        npm WARN pi@1.0.0 No description
        npm WARN pi@1.0.0 No repository field.
        
        + iobroker.js-controller@4.0.23
        added 312 packages from 288 contributors, removed 1 package and audited 313 packages in 85.481s
        
        18 packages are looking for funding
          run `npm fund` for details
        
        found 8 vulnerabilities (3 low, 2 moderate, 3 high)
          run `npm audit fix` to fix them, or `npm audit` for details
        

        thanks

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

        @tiger sagte in Update System iobroker failed:

        /usr/bin/nodejs
        /usr/local/bin/node
        /usr/local/bin/npm
        v10.24.1
        v14.20.0

        nodejs is not installed correctly.
        Can you understand German?
        Here is an extended guide on how to fix it:

        https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

        BTW: Still a wrong directory:

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

        You need to stand in /opt/iobroker for any operations with npm.
        Using npm is not recommended anyway. For this exakt reason.

        But first fix your nodejs-Installation.

        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

        T 2 Antworten Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @tiger sagte in Update System iobroker failed:

          /usr/bin/nodejs
          /usr/local/bin/node
          /usr/local/bin/npm
          v10.24.1
          v14.20.0

          nodejs is not installed correctly.
          Can you understand German?
          Here is an extended guide on how to fix it:

          https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

          BTW: Still a wrong directory:

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

          You need to stand in /opt/iobroker for any operations with npm.
          Using npm is not recommended anyway. For this exakt reason.

          But first fix your nodejs-Installation.

          T Offline
          T Offline
          Tiger
          schrieb am zuletzt editiert von
          #6

          @thomas-braun
          I do not understand german, but will try with google traductor... :)
          I come back after :)

          HomoranH 1 Antwort Letzte Antwort
          0
          • T Tiger

            @thomas-braun
            This is what I've when checking :

            pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
            ln: failed to create symbolic link '/usr/bin/nodejs': File exists
            pi@raspberrypi:~ $  
            pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
            armv7l
            /usr/bin/nodejs
            /usr/local/bin/node
            /usr/local/bin/npm
            v10.24.1
            v14.20.0
            6.14.17
            pi
            /home/pi
            

            i'd retied in the correct folder (hoping it is the good one ;)
            with the lfollowing messages :

            pi@raspberrypi:~ $ npm install iobroker.js-controller
            npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
            npm WARN deprecated har-validator@5.1.5: this library is no longer supported
            npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
            
            > iobroker.js-controller@4.0.23 preinstall /home/pi/node_modules/iobroker.js-controller
            > node lib/preinstallCheck.js
            
            NPM version: 6.14.17
            
            > unix-dgram@2.0.4 install /home/pi/node_modules/unix-dgram
            > node-gyp rebuild
            
            make: Entering directory '/home/pi/node_modules/unix-dgram/build'
              CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
            In file included from ../../nan/nan.h:60,
                             from ../src/unix_dgram.cc:5:
            /home/pi/.cache/node-gyp/14.20.0/include/node/node.h:793: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),                          \
                                                       ^
            /home/pi/.cache/node-gyp/14.20.0/include/node/node.h:827: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)
             ^~~~~~~~~~~
              SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
              COPY Release/unix_dgram.node
            make: Leaving directory '/home/pi/node_modules/unix-dgram/build'
            
            > ursa-optional@0.9.10 install /home/pi/node_modules/ursa-optional
            > node rebuild.js
            
            ursaNative bindings compilation fail. This is not an issue. Modules that depend on it will use fallbacks.
            
            > diskusage@1.1.3 install /home/pi/node_modules/diskusage
            > node-gyp rebuild
            
            make: Entering directory '/home/pi/node_modules/diskusage/build'
              CXX(target) Release/obj.target/diskusage/src/main.o
            In file included from ../../nan/nan.h:60,
                             from ../src/main.cpp:3:
            /home/pi/.cache/node-gyp/14.20.0/include/node/node.h:793: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),                          \
                                                       ^
            /home/pi/.cache/node-gyp/14.20.0/include/node/node.h:827: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)
             ^~~~~~~~~~~
              CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o
              SOLINK_MODULE(target) Release/obj.target/diskusage.node
              COPY Release/diskusage.node
            make: Leaving directory '/home/pi/node_modules/diskusage/build'
            
            > iobroker.js-controller@4.0.23 install /home/pi/node_modules/iobroker.js-controller
            > node iobroker.js setup first
            
            Successfully migrated 2282 objects to Redis Sets
            object _design/system updated
            {
              "defaultPrivate": "-----BEGIN RSA PRIVATE KEY-----\r\nMIIEowIBAAKCAQEAyT6U23GRW0Oh9Tcq1kU73inPy48tG53hvXVhp6VXb9hIxrOE\r\nrT/yMt0j5Kb3l1KVZ1UMNPeIXS1Q6fpSBwyQPOeh59S9JwKfcb9jG5QiQovIuY1W\r\ndMZgycmnTtgJ55JkIWNcr3mPH+9bjKTvBbE4Qt9Ov3dkJcFoCFpSWt17G6ix0LFb\r\n+q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\r\nJfTVsKik+5M5FuIJDk2LE+hTojtNvRtEfXVUt2OmqqoacLd8YFe5HZ6SSkN6qbco\r\neb9SAZbnvTfmcWsCAwEAAaOBgzCBgDAMBgNVHRMBAf8EAjAAMA8GA1UdDwEB/wQF\r\nAwMHv4AwFgYDVR0RBA8wDYILcmFzcGJlcnJ5cGkwHQYDVR0OBBYEFJiYavQ6Fblc\r\nhAkADPq8+R1oVkxxMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAJBgNV\r\nHSMEAjAAMA0GCSqGSIb3DQEBCwUAA4IBAQCxhvq5wNin6gRpwA1E7RqWauNAKXT4\r\nCXv4pt1XocacdnATpNyiCBcOuy6+0UAbEe/v7p2U6b4QeaRewOpvznxY6r4k/3T0\r\njnHBOVwlC8+wmJf1suKH+W75brAJKwRSSZSCWoCCfsIJc9X+AjXQv5i4AuIeAAcN\r\n3oGk9lo0b5WcUhfNjsnUrZe7JyqFo7ASzo0Gr7tXk5k9/SF6ZzeVwXRLGfumLyjh\r\nhgASHnAvrbC6trBfHZe4dC47pG1VnRy38kz5seE7IvHsb8qjbfa93SqxWcIsgflz\r\nSYj6sP0IU2F3Gr3yMbYJAAHWsSagmHaLCViVXwwFDvQjLsZynHgBsZf0\r\n-----END CERTIFICATE-----\r\n"
            }
            Update certificate defaultPrivate
            The object "system.certificates" was updated successfully.
            Update certificate defaultPublic
            The object "system.certificates" was updated successfully.
            
            > @root/acme@3.1.0 postinstall /home/pi/node_modules/@root/acme
            > node scripts/postinstall
            
            
            > esbuild@0.11.23 postinstall /home/pi/node_modules/esbuild
            > node install.js
            
            npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
            npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
            npm WARN pi@1.0.0 No description
            npm WARN pi@1.0.0 No repository field.
            
            + iobroker.js-controller@4.0.23
            added 312 packages from 288 contributors, removed 1 package and audited 313 packages in 85.481s
            
            18 packages are looking for funding
              run `npm fund` for details
            
            found 8 vulnerabilities (3 low, 2 moderate, 3 high)
              run `npm audit fix` to fix them, or `npm audit` for details
            

            thanks

            HomoranH Nicht stören
            HomoranH Nicht stören
            Homoran
            Global Moderator Administrators
            schrieb am zuletzt editiert von
            #7

            @tiger sagte in Update System iobroker failed:

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

            this command is executed in the pi's home instead of /opt/iobroker

            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            1 Antwort Letzte Antwort
            0
            • T Tiger

              @thomas-braun
              I do not understand german, but will try with google traductor... :)
              I come back after :)

              HomoranH Nicht stören
              HomoranH Nicht stören
              Homoran
              Global Moderator Administrators
              schrieb am zuletzt editiert von
              #8

              @tiger sagte in Update System iobroker failed:

              I do not understand german

              in other languages f.i. french it will be worse for us

              kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              T 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @tiger sagte in Update System iobroker failed:

                /usr/bin/nodejs
                /usr/local/bin/node
                /usr/local/bin/npm
                v10.24.1
                v14.20.0

                nodejs is not installed correctly.
                Can you understand German?
                Here is an extended guide on how to fix it:

                https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

                BTW: Still a wrong directory:

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

                You need to stand in /opt/iobroker for any operations with npm.
                Using npm is not recommended anyway. For this exakt reason.

                But first fix your nodejs-Installation.

                T Offline
                T Offline
                Tiger
                schrieb am zuletzt editiert von
                #9

                @thomas-braun
                I'm trying to fix with your guide, but to complicate for me.
                AS I'm a newbee and so I don't understand what I'm doing, so it's difficult.

                I've a backup of my Sd Card.
                If I use this backup and retry to upgrade my system,
                do you have a guide with all steps to do?

                When try to update Iobroker.Admin, tells me that Node.JS 10 is not goof and I've to upgrade to V16, when made, I try to upgrade system, and another adapter has to be upgraded but the version of Node.JS V16 was not good for it and should be not more than V14...

                So if you've a guide, it should be more easy for a stupid guy like me

                HomoranH 1 Antwort Letzte Antwort
                0
                • HomoranH Homoran

                  @tiger sagte in Update System iobroker failed:

                  I do not understand german

                  in other languages f.i. french it will be worse for us

                  T Offline
                  T Offline
                  Tiger
                  schrieb am zuletzt editiert von
                  #10

                  @homoran I completely agree, that's why I'm trying to explain in English :)

                  1 Antwort Letzte Antwort
                  0
                  • T Tiger

                    @thomas-braun
                    I'm trying to fix with your guide, but to complicate for me.
                    AS I'm a newbee and so I don't understand what I'm doing, so it's difficult.

                    I've a backup of my Sd Card.
                    If I use this backup and retry to upgrade my system,
                    do you have a guide with all steps to do?

                    When try to update Iobroker.Admin, tells me that Node.JS 10 is not goof and I've to upgrade to V16, when made, I try to upgrade system, and another adapter has to be upgraded but the version of Node.JS V16 was not good for it and should be not more than V14...

                    So if you've a guide, it should be more easy for a stupid guy like me

                    HomoranH Nicht stören
                    HomoranH Nicht stören
                    Homoran
                    Global Moderator Administrators
                    schrieb am zuletzt editiert von
                    #11

                    @tiger dou you have a backup of your iobroker installation?
                    done by backitup or iobroker backup?

                    then i would recommend to install all brandnew, best on a new SD card, so you'll still have the old one, and restore your backup to the new installation.
                    All will be built anew

                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                    T crunchipC 2 Antworten Letzte Antwort
                    0
                    • HomoranH Homoran

                      @tiger dou you have a backup of your iobroker installation?
                      done by backitup or iobroker backup?

                      then i would recommend to install all brandnew, best on a new SD card, so you'll still have the old one, and restore your backup to the new installation.
                      All will be built anew

                      T Offline
                      T Offline
                      Tiger
                      schrieb am zuletzt editiert von
                      #12

                      @homoran
                      Yes I've two backup in fact

                      • 1 made thanks to win32 image disc, so I've my image of yestarday
                        -1 made thanks to iobroker backup

                      My idea was to copy the imagedisc of yestarday and retry to upgrade thanks to a guide, and with the correct order of different upgrade

                      HomoranH Thomas BraunT 2 Antworten Letzte Antwort
                      0
                      • HomoranH Homoran

                        @tiger dou you have a backup of your iobroker installation?
                        done by backitup or iobroker backup?

                        then i would recommend to install all brandnew, best on a new SD card, so you'll still have the old one, and restore your backup to the new installation.
                        All will be built anew

                        crunchipC Abwesend
                        crunchipC Abwesend
                        crunchip
                        Forum Testing Most Active
                        schrieb am zuletzt editiert von
                        #13

                        @homoran and install vis before backup if vis is used

                        umgestiegen von Proxmox auf Unraid

                        HomoranH 1 Antwort Letzte Antwort
                        1
                        • T Tiger

                          @homoran
                          Yes I've two backup in fact

                          • 1 made thanks to win32 image disc, so I've my image of yestarday
                            -1 made thanks to iobroker backup

                          My idea was to copy the imagedisc of yestarday and retry to upgrade thanks to a guide, and with the correct order of different upgrade

                          HomoranH Nicht stören
                          HomoranH Nicht stören
                          Homoran
                          Global Moderator Administrators
                          schrieb am zuletzt editiert von Homoran
                          #14

                          @tiger sagte in Update System iobroker failed:

                          win32 image disc,

                          this contains all the broken stuff.
                          not recommended!

                          what adapters did you install?
                          iobroker update -i

                          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                          T 1 Antwort Letzte Antwort
                          0
                          • T Tiger

                            @homoran
                            Yes I've two backup in fact

                            • 1 made thanks to win32 image disc, so I've my image of yestarday
                              -1 made thanks to iobroker backup

                            My idea was to copy the imagedisc of yestarday and retry to upgrade thanks to a guide, and with the correct order of different upgrade

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

                            @tiger

                            First action:

                            iobroker stop
                            sudo apt update
                            sudo apt full-upgrade
                            sudo reboot
                            

                            Please post the output of

                            sudo apt update
                            

                            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
                            • crunchipC crunchip

                              @homoran and install vis before backup if vis is used

                              HomoranH Nicht stören
                              HomoranH Nicht stören
                              Homoran
                              Global Moderator Administrators
                              schrieb am zuletzt editiert von
                              #16

                              @crunchip sagte in Update System iobroker failed:

                              and install vis before backup if vis is used

                              Restore

                              ??

                              kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                              1 Antwort Letzte Antwort
                              0
                              • HomoranH Homoran

                                @tiger sagte in Update System iobroker failed:

                                win32 image disc,

                                this contains all the broken stuff.
                                not recommended!

                                what adapters did you install?
                                iobroker update -i

                                T Offline
                                T Offline
                                Tiger
                                schrieb am zuletzt editiert von
                                #17

                                @homoran
                                to be honest yestarday I tried to upgrade and was in same situation as now, so I took the imagedisc and works as before.

                                Adapters installed and needed was :

                                • Siemens S7 adapter
                                • Zigbee
                                • Rfxcom
                                • History

                                iobroker update -i gives error too

                                internal/modules/cjs/loader.js:905
                                throw err;
                                ^

                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
                                at Function.Module._load (internal/modules/cjs/loader.js:746:27)
                                at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
                                at internal/main/run_main_module.js:17:47 {
                                code: 'MODULE_NOT_FOUND',
                                requireStack: []
                                }

                                HomoranH 1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #18

                                  @tiger

                                  Will you try to setup nodejs the proper way or trying around with your backups (which are most propably based on a wrong installation)

                                  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

                                  T 1 Antwort Letzte Antwort
                                  0
                                  • T Tiger

                                    @homoran
                                    to be honest yestarday I tried to upgrade and was in same situation as now, so I took the imagedisc and works as before.

                                    Adapters installed and needed was :

                                    • Siemens S7 adapter
                                    • Zigbee
                                    • Rfxcom
                                    • History

                                    iobroker update -i gives error too

                                    internal/modules/cjs/loader.js:905
                                    throw err;
                                    ^

                                    Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
                                    at Function.Module._load (internal/modules/cjs/loader.js:746:27)
                                    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
                                    at internal/main/run_main_module.js:17:47 {
                                    code: 'MODULE_NOT_FOUND',
                                    requireStack: []
                                    }

                                    HomoranH Nicht stören
                                    HomoranH Nicht stören
                                    Homoran
                                    Global Moderator Administrators
                                    schrieb am zuletzt editiert von
                                    #19

                                    @tiger sagte in Update System iobroker failed:

                                    History

                                    in the regular iobroker backup the history won't be included.
                                    You have to save the directory /opt/iobroker/iobroker-data/history by yourself

                                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                    1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @tiger

                                      Will you try to setup nodejs the proper way or trying around with your backups (which are most propably based on a wrong installation)

                                      T Offline
                                      T Offline
                                      Tiger
                                      schrieb am zuletzt editiert von
                                      #20

                                      @thomas-braun
                                      actually I'm trying your command, it's in progress.
                                      It should be better to re install everything... to have a proper installation up to date...

                                      But as you have notice, installation part is not my favorite things, I'm afroid to lost all my domotics and all i've already done with Alexa, Node red etc...

                                      Moreover, as I used the commande : iobroker backup, and I don't see the backup in /opt/iobroker... not sure I've the backup...

                                      regards

                                      1 Antwort Letzte Antwort
                                      0
                                      • Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #21

                                        @tiger

                                        So what is the output to

                                        sudo apt update
                                        

                                        then?

                                        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

                                        T 2 Antworten Letzte Antwort
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @tiger

                                          So what is the output to

                                          sudo apt update
                                          

                                          then?

                                          T Offline
                                          T Offline
                                          Tiger
                                          schrieb am zuletzt editiert von
                                          #22

                                          @thomas-braun
                                          command : sudo apt full-upgrade took time
                                          progress is 13% since some minutes

                                          Unpacking wolfram-engine (12.2.0+2021041101) over (12.0.1+2019062401) ...

                                          Progress: [ 13%] [#######...................................................]

                                          Thomas BraunT 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

                                          603

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          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