Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [How-to] Node.js ioBroker richtig updaten-2021/22 Edition

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    487

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

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

[How-to] Node.js ioBroker richtig updaten-2021/22 Edition

Scheduled Pinned Locked Moved ioBroker Allgemein
812 Posts 97 Posters 388.5k Views 83 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Dome227

    @thomas-braun @Homoran

    Danke euch für die schnelle Rückmeldung.
    Dann bring ich erstmal mein komplettes System up-to-date :D

    "Einmal mit Windows-Menschen......"

    LG und schöne Restwoche! :)

    HomoranH Do not disturb
    HomoranH Do not disturb
    Homoran
    Global Moderator Administrators
    wrote on last edited by
    #18

    @dome227 sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

    Dann bring ich erstmal mein komplettes System up-to-date

    da du noch auf Jessie bist, und über stretch zu buster müsstest, wäre es am einfachsten ein Backup des ioBrokers zu machen, dann eine komplette neue Installation aufzusetzen und danach das backup zurückspielen.

    kein Support per PN! - Fragen im Forum stellen -
    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
    Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

    1 Reply Last reply
    1
    • T Offline
      T Offline
      tobili03
      wrote on last edited by
      #19

      Leider klappt das bei mir nicht.
      Nach "sudo apt-get install -y nodejs" kommt die Meldung "nodejs ist schon die neueste Version (12.22.1-lnodesourcel)."
      Wenn ich mit "node -v" überprüfe kommt v10.20.1 (das gleiche wie in der Info)
      Was mache ich verkehrt?

      HomoranH Thomas BraunT 2 Replies Last reply
      0
      • T tobili03

        Leider klappt das bei mir nicht.
        Nach "sudo apt-get install -y nodejs" kommt die Meldung "nodejs ist schon die neueste Version (12.22.1-lnodesourcel)."
        Wenn ich mit "node -v" überprüfe kommt v10.20.1 (das gleiche wie in der Info)
        Was mache ich verkehrt?

        HomoranH Do not disturb
        HomoranH Do not disturb
        Homoran
        Global Moderator Administrators
        wrote on last edited by
        #20

        @tobili03 sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

        Was mache ich verkehrt?

        dann hast du wahrscheinlich zwei unterschiedliche node-Installationen parallel auf deinem Server.
        Mindesttens eine davon nicht korrekt installiert

        kein Support per PN! - Fragen im Forum stellen -
        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
        Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        1 Reply Last reply
        0
        • T tobili03

          Leider klappt das bei mir nicht.
          Nach "sudo apt-get install -y nodejs" kommt die Meldung "nodejs ist schon die neueste Version (12.22.1-lnodesourcel)."
          Wenn ich mit "node -v" überprüfe kommt v10.20.1 (das gleiche wie in der Info)
          Was mache ich verkehrt?

          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          wrote on last edited by
          #21

          @tobili03
          Schau in meine Signatur, da steht drin wie man das wieder gerade fummelt

          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 apollon77A 2 Replies Last reply
          0
          • apollon77A apollon77

            @babl sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

            mußte nur beim zigbee einen manuellen rebuild machen

            Mit dem serialport/binding von oben oder haben die "rebuild kommendos geholfen?
            Hast Du noch die genaue Fehlermeldung aus dem Log?

            B Offline
            B Offline
            babl
            wrote on last edited by
            #22

            @apollon77 die rebuild kommandos haben geholfen

            2021-04-28 18:02:05.705 - error: host.raspberrypi Caught by controller[0]: /opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:121
            2021-04-28 18:02:05.705 - error: host.raspberrypi Caught by controller[0]: throw e;
            2021-04-28 18:02:05.705 - error: host.raspberrypi Caught by controller[0]: ^
            2021-04-28 18:02:05.706 - error: host.raspberrypi Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node'
            2021-04-28 18:02:05.706 - error: host.raspberrypi Caught by controller[0]: was compiled against a different Node.js version using
            2021-04-28 18:02:05.706 - error: host.raspberrypi Caught by controller[0]: NODE_MODULE_VERSION 64. This version of Node.js requires
            2021-04-28 18:02:05.706 - error: host.raspberrypi Caught by controller[0]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
            2021-04-28 18:02:05.706 - error: host.raspberrypi Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
            2021-04-28 18:02:05.706 - error: host.raspberrypi Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1057:18)
            2021-04-28 18:02:05.707 - error: host.raspberrypi Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
            2021-04-28 18:02:05.707 - error: host.raspberrypi Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
            2021-04-28 18:02:05.707 - error: host.raspberrypi Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
            2021-04-28 18:02:05.707 - error: host.raspberrypi Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
            2021-04-28 18:02:05.707 - error: host.raspberrypi Caught by controller[0]: at bindings (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:112:48)
            2021-04-28 18:02:05.708 - error: host.raspberrypi Caught by controller[0]: at Object. (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36)
            2021-04-28 18:02:05.708 - error: host.raspberrypi Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
            2021-04-28 18:02:05.708 - error: host.raspberrypi Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
            2021-04-28 18:02:05.708 - error: host.raspberrypi Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
            2021-04-28 18:02:05.709 - error: host.raspberrypi instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
            2021-04-28 18:02:05.709 - info: host.raspberrypi Adapter system.adapter.zigbee.0 needs rebuild and will be restarted afterwards.
            2021-04-28 18:02:05.709 - info: host.raspberrypi system.adapter.zigbee.0 will be rebuilt
            2021-04-28 18:02:05.710 - warn: host.raspberrypi adapter "zigbee" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt
            2021-04-28 18:02:05.711 - info: host.raspberrypi iobroker rebuild zigbee
            2021-04-28 18:02:06.561 - info: host.raspberrypi iobroker npm-rebuild: npm rebuild --loglevel error (System call) in "/opt/iobroker/node_modules/iobroker.zigbee"
            2021-04-28 18:02:07.142 - info: cloud.0 (3873) Trying to connect as system.user.admin
            2021-04-28 18:02:07.229 - info: sql.0 (4633) enabled logging of sourceanalytix.0.0_userdata__0__netzeinspeisung.currentYear.delivered.05_currentYear, Alias=false
            2021-04-28 18:02:07.291 - info: cloud.0 (3873) Connection changed: connect
            2021-04-28 18:02:07.465 - info: sourceanalytix.0 (4617) Initialization (7 of 9) finished for : 0_userdata.0.netzeinspeisung
            2021-04-28 18:02:07.465 - info: sourceanalytix.0 (4617) Initialising (8 of 9) state sonnen.0.status.consumption
            2021-04-28 18:02:08.566 - info: host.raspberrypi iobroker npm-rebuild: Rebuild zigbee done
            2021-04-28 18:02:08.904 - info: host.raspberrypi instance system.adapter.discovergy.0 started with pid 4758
            2021-04-28 18:02:09.579 - info: host.raspberrypi iobroker npm-rebuild: exit 0
            2021-04-28 18:02:09.629 - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 4765
            2021-04-28 18:02:09.788 - info: sourceanalytix.0 (4617) Initialization (8 of 9) finished for : sonnen.0.status.consumption
            2021-04-28 18:02:09.788 - info: sourceanalytix.0 (4617) Initialising (9 of 9) state 0_userdata.0.Steckdosen.Josef_Zimmer_Heizung
            2021-04-28 18:02:10.547 - error: host.raspberrypi Caught by controller[0]: /opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:121
            2021-04-28 18:02:10.548 - error: host.raspberrypi Caught by controller[0]: throw e;
            2021-04-28 18:02:10.548 - error: host.raspberrypi Caught by controller[0]: ^
            2021-04-28 18:02:10.548 - error: host.raspberrypi Caught by controller[0]: Error: The module '/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/build/Release/bindings.node'
            2021-04-28 18:02:10.549 - error: host.raspberrypi Caught by controller[0]: was compiled against a different Node.js version using
            2021-04-28 18:02:10.549 - error: host.raspberrypi Caught by controller[0]: NODE_MODULE_VERSION 64. This version of Node.js requires
            2021-04-28 18:02:10.552 - error: host.raspberrypi Caught by controller[0]: NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
            2021-04-28 18:02:10.553 - error: host.raspberrypi Caught by controller[0]: the module (for instance, using `npm rebuild` or `npm install`).
            2021-04-28 18:02:10.553 - error: host.raspberrypi Caught by controller[0]: at Object.Module._extensions..node (internal/modules/cjs/loader.js:1057:18)
            2021-04-28 18:02:10.553 - error: host.raspberrypi Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
            2021-04-28 18:02:10.553 - error: host.raspberrypi Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
            2021-04-28 18:02:10.554 - error: host.raspberrypi Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:887:19)
            2021-04-28 18:02:10.554 - error: host.raspberrypi Caught by controller[0]: at require (internal/modules/cjs/helpers.js:74:18)
            2021-04-28 18:02:10.554 - error: host.raspberrypi Caught by controller[0]: at bindings (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/bindings/bindings.js:112:48)
            2021-04-28 18:02:10.554 - error: host.raspberrypi Caught by controller[0]: at Object. (/opt/iobroker/node_modules/zigbee-herdsman/node_modules/@serialport/bindings/lib/linux.js:2:36)
            2021-04-28 18:02:10.555 - error: host.raspberrypi Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:999:30)
            2021-04-28 18:02:10.555 - error: host.raspberrypi Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
            2021-04-28 18:02:10.555 - error: host.raspberrypi Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:863:32)
            2021-04-28 18:02:10.555 - error: host.raspberrypi instance system.adapter.zigbee.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
            2021-04-28 18:02:10.556 - info: host.raspberrypi Adapter system.adapter.zigbee.0 needs rebuild and will be restarted afterwards.
            2021-04-28 18:02:10.556 - info: host.raspberrypi system.adapter.zigbee.0 will be rebuilt
            2021-04-28 18:02:10.556 - warn: host.raspberrypi adapter "zigbee" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt
            2021-04-28 18:02:10.557 - info: host.raspberrypi iobroker rebuild zigbee --install
            2021-04-28 18:02:11.490 - info: host.raspberrypi iobroker npm-rebuild: npm install --loglevel error --production (System call) in "/opt/iobroker/node_modules/iobroker.zigbee"
            2021-04-28 18:02:12.172 - info: discovergy.0 (4758) starting. Version 0.5.6 in /opt/iobroker/node_modules/iobroker.discovergy, node: v12.22.1, js-controller: 3.2.16
            2021-04-28 18:02:12.242 - info: discovergy.0 (4758) Discovergy Adapter startet, trying to discover meters associated with your account
            2021-04-28 18:02:12.263 - warn: discovergy.0 (4758) State "system.this.discovergy.0.alive" has no existing object, this might lead to an error in future versions
            2021-04-28 18:02:12.939 - info: host.raspberrypi instance system.adapter.go-e.0 started with pid 4800
            2021-04-28 18:02:13.496 - info: discovergy.0 (4758) All meters associated to your account discovered, initialise meters
            2021-04-28 18:02:13.626 - info: discovergy.0 (4758) All meters initialized, polling data every 5 seconds
            2021-04-28 18:02:14.049 - info: sourceanalytix.0 (4617) Initialization (9 of 9) finished for : 0_userdata.0.Steckdosen.Josef_Zimmer_Heizung
            2021-04-28 18:02:14.063 - info: sourceanalytix.0 (4617) SourceAnalytix initialisation finalized, will handle calculations ... for 9 states
            2021-04-28 18:02:16.361 - info: go-e.0 (4800) starting. Version 1.0.0 in /opt/iobroker/node_modules/iobroker.go-e, node: v12.22.1, js-controller: 3.2.16
            2021-04-28 18:02:16.401 - info: go-e.0 (4800) Server: 192.168.178.31
            2021-04-28 18:02:16.402 - info: go-e.0 (4800) Intervall: 60
            2021-04-28 18:03:16.420 - info: host.raspberrypi "system.adapter.zigbee.0" disabled
            2021-04-28 18:03:20.392 - info: host.raspberrypi "system.adapter.zigbee.0" enabled
            2021-04-28 18:04:45.475 - info: admin.0 (3838) Request actual repository...
            2021-04-28 18:04:46.068 - info: host.raspberrypi Updating repository "Stable (default)" under "http://download.iobroker.net/sources-dist.json"
            2021-04-28 18:04:47.551 - info: admin.0 (3838) Repository received successfully.
            2021-04-28 18:05:19.709 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
            2021-04-28 18:05:19.715 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp:78:69: 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] uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen); ^~~~~~~~~~~~~../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:135:71: 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] uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate); ^~~~~~~~~~~~~~~
            2021-04-28 18:05:19.719 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: 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] uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose); ^~~~~~~~~~~~~~
            2021-04-28 18:05:19.724 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:
            2021-04-28 18:05:19.725 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp:215:70: 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] uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush); ^~~~~~~~~~~~~~
            2021-04-28 18:05:19.730 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
            2021-04-28 18:05:19.731 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp:270:68: 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] uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet); ^~~~~~~~~~~~
            2021-04-28 18:05:19.735 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:
            2021-04-28 18:05:19.736 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp:314:68: 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] uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet); ^~~~~~~~~~~~
            2021-04-28 18:05:19.744 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
            2021-04-28 18:05:19.745 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp:363:76: 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] uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate); ^~~~~~~~~~~~~~~~~~~~
            2021-04-28 18:05:19.751 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
            2021-04-28 18:05:19.752 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp:409:70: 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] uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain); ^~~~~~~~~~~~~~
            2021-04-28 18:05:19.754 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp: At global scope:../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local& v8str)) { ^
            2021-04-28 18:05:19.756 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) { ^
            2021-04-28 18:05:19.762 - info: host.raspberrypi iobroker npm-rebuild: In file included from ../../../nan/nan.h:56,
            2021-04-28 18:05:19.763 - info: host.raspberrypi iobroker npm-rebuild: from ../src/./serialport.h:6, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:736:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local, v8::Local, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/serialport.cpp:483:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
            2021-04-28 18:05:23.874 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
            2021-04-28 18:05:23.875 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport_unix.cpp:176:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path); ^~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:176:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024 snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            2021-04-28 18:05:23.916 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
            2021-04-28 18:05:23.917 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport_unix.cpp:86:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=] snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:86:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024 snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            2021-04-28 18:05:32.702 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Open(Nan::NAN_METHOD_ARGS_TYPE)’:
            2021-04-28 18:05:32.703 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp:78:69: 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] uv_queue_work(uv_default_loop(), req, EIO_Open, (uv_after_work_cb)EIO_AfterOpen); ^~~~~~~~~~~~~
            2021-04-28 18:05:32.709 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Update(Nan::NAN_METHOD_ARGS_TYPE)’:
            2021-04-28 18:05:32.711 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp:135:71: 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] uv_queue_work(uv_default_loop(), req, EIO_Update, (uv_after_work_cb)EIO_AfterUpdate); ^~~~~~~~~~~~~~~
            2021-04-28 18:05:32.715 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Close(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:175:70: 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] uv_queue_work(uv_default_loop(), req, EIO_Close, (uv_after_work_cb)EIO_AfterClose); ^~~~~~~~~~~~~~
            2021-04-28 18:05:32.718 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Flush(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:215:70: 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] uv_queue_work(uv_default_loop(), req, EIO_Flush, (uv_after_work_cb)EIO_AfterFlush); ^~~~~~~~~~~~~~
            2021-04-28 18:05:32.723 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Set(Nan::NAN_METHOD_ARGS_TYPE)’:
            2021-04-28 18:05:32.724 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp:270:68: 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] uv_queue_work(uv_default_loop(), req, EIO_Set, (uv_after_work_cb)EIO_AfterSet); ^~~~~~~~~~~~
            2021-04-28 18:05:32.728 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Get(Nan::NAN_METHOD_ARGS_TYPE)’:../src/serialport.cpp:314:68: 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] uv_queue_work(uv_default_loop(), req, EIO_Get, (uv_after_work_cb)EIO_AfterGet); ^~~~~~~~~~~~
            2021-04-28 18:05:32.735 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE GetBaudRate(Nan::NAN_METHOD_ARGS_TYPE)’:
            2021-04-28 18:05:32.735 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp:363:76: 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] uv_queue_work(uv_default_loop(), req, EIO_GetBaudRate, (uv_after_work_cb)EIO_AfterGetBaudRate); ^~~~~~~~~~~~~~~~~~~~
            2021-04-28 18:05:32.741 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE Drain(Nan::NAN_METHOD_ARGS_TYPE)’:
            2021-04-28 18:05:32.742 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp:409:70: 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] uv_queue_work(uv_default_loop(), req, EIO_Drain, (uv_after_work_cb)EIO_AfterDrain); ^~~~~~~~~~~~~~
            2021-04-28 18:05:32.745 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp: At global scope:../src/serialport.cpp:430:28: warning: unnecessary parentheses in declaration of ‘ToParityEnum’ [-Wparentheses] SerialPortParity NAN_INLINE(ToParityEnum(const v8::Local& v8str)) { ^
            2021-04-28 18:05:32.748 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport.cpp:449:30: warning: unnecessary parentheses in declaration of ‘ToStopBitEnum’ [-Wparentheses] SerialPortStopBits NAN_INLINE(ToStopBitEnum(double stopBits)) { ^
            2021-04-28 18:05:32.751 - info: host.raspberrypi iobroker npm-rebuild: In file included from ../../../nan/nan.h:56, from ../src/./serialport.h:6, from ../src/serialport.cpp:1:/home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:736:43: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local, v8::Local, void*)’} [-Wcast-function-type] (node::addon_register_func) (regfunc), \ ^/home/iobroker/.cache/node-gyp/12.22.1/include/node/node.h:770:3: note: in expansion of macro ‘NODE_MODULE_X’ NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage) ^~~~~~~~~~~~~../src/serialport.cpp:483:1: note: in expansion of macro ‘NODE_MODULE’ NODE_MODULE(serialport, init); ^~~~~~~~~~~
            2021-04-28 18:05:36.594 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
            2021-04-28 18:05:36.595 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport_unix.cpp:176:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path); ^~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:176:13: note: ‘snprintf’ output 20 or more bytes (assuming 1043) into a destination of size 1024 snprintf(data->errorString, sizeof(data->errorString), "Error %s Cannot open %s", strerror(errno), data->path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            2021-04-28 18:05:36.635 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
            2021-04-28 18:05:36.636 - info: host.raspberrypi iobroker npm-rebuild: ../src/serialport_unix.cpp:86:60: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=] snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~../src/serialport_unix.cpp:86:13: note: ‘snprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024 snprintf(data->errorString, sizeof(data->errorString), "Error: %s, cannot open %s", strerror(errno), data->path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            2021-04-28 18:06:23.521 - info: host.raspberrypi iobroker npm-rebuild:
            2021-04-28 18:06:23.522 - info: host.raspberrypi iobroker npm-rebuild: Rebuild zigbee done
            2021-04-28 18:06:24.532 - info: host.raspberrypi iobroker npm-rebuild: exit 0
            2021-04-28 18:06:24.592 - info: host.raspberrypi instance system.adapter.zigbee.0 started with pid 5368
            2021-04-28 18:06:27.791 - info: zigbee.0 (5368) starting. Version 1.4.4 in /opt/iobroker/node_modules/iobroker.zigbee, node: v12.22.1, js-controller: 3.2.16
            2021-04-28 18:06:27.917 - info: zigbee.0 (5368) Starting Zigbee npm ...
            2021-04-28 18:06:28.702 - info: zigbee.0 (5368) Installed Version: iobroker.zigbee@1.4.4
            2021-04-28 18:06:28.735 - info: zigbee.0 (5368) Coordinator firmware version: {"type":"ConBee2/RaspBee2","meta":{"transportrev":0,"product":0,"majorrel":38,"minorrel":88,"maintrel":0,"revision":"0x26580700"}}
            2021-04-28 18:06:28.758 - info: zigbee.0 (5368) Unable to disable LED, unsupported function.
            2021-04-28 18:06:28.759 - info: zigbee.0 (5368) --> transmitPower : normal
            2021-04-28 18:06:28.761 - info: zigbee.0 (5368) Unable to set transmit power, unsupported function.
            2021-04-28 18:06:28.765 - info: zigbee.0 (5368) Currently 2 devices are joined:
            2021-04-28 18:06:28.785 - info: zigbee.0 (5368) 0x00158d0005363273 (addr 49113): WSDCGQ01LM - Xiaomi MiJia temperature & humidity sensor (EndDevice)
            2021-04-28 18:06:28.788 - info: zigbee.0 (5368) 0x00158d00054db088 (addr 16208): MCCGQ11LM - Xiaomi Aqara door & window contact sensor (EndDevice)
            2021-04-28 18:06:28.789 - info: zigbee.0 (5368) Zigbee started
            
            1 Reply Last reply
            0
            • Thomas BraunT Thomas Braun

              @tobili03
              Schau in meine Signatur, da steht drin wie man das wieder gerade fummelt

              T Offline
              T Offline
              tobili03
              wrote on last edited by
              #23

              @thomas-braun Danke, jetzt habe ich es richtig.

              1 Reply Last reply
              0
              • Thomas BraunT Thomas Braun

                @tobili03
                Schau in meine Signatur, da steht drin wie man das wieder gerade fummelt

                apollon77A Offline
                apollon77A Offline
                apollon77
                wrote on last edited by
                #24

                @thomas-braun Füge den einen Link mal oben mit ein

                Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                Thomas BraunT 1 Reply Last reply
                0
                • apollon77A apollon77

                  @thomas-braun Füge den einen Link mal oben mit ein

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  wrote on last edited by
                  #25

                  @apollon77
                  Welchen Link wo einfügen?
                  Kannste aber gerne übernehmen.

                  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

                  apollon77A 1 Reply Last reply
                  0
                  • Thomas BraunT Thomas Braun

                    @apollon77
                    Welchen Link wo einfügen?
                    Kannste aber gerne übernehmen.

                    apollon77A Offline
                    apollon77A Offline
                    apollon77
                    wrote on last edited by
                    #26

                    @thomas-braun den "verschiedne nodejs versionen fixen" link hab ich immersten Post eingefügt

                    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      Michaelnorge
                      wrote on last edited by
                      #27

                      @apollon77 said in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                      iobroker fix

                      Super, hat dank der Anleitung alles geklappt!!!

                      –--------------------------------------------------------------------------------------

                      • Smart mit: Rasp 4B / ioBroker / Conbee2 / Trådfri / Xiaomi / HUE / Logitech Harmony / Aqara / Easee Wallbox / Hyundai Ioniq / Alexa / Google Home / Fully Kiosk / VIS
                      1 Reply Last reply
                      0
                      • R Offline
                        R Offline
                        Rushmed
                        Most Active
                        wrote on last edited by
                        #28

                        Hallo,

                        ist den V14 schon voll unterstützt?

                        Thomas BraunT 1 Reply Last reply
                        0
                        • R Rushmed

                          Hallo,

                          ist den V14 schon voll unterstützt?

                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          wrote on last edited by
                          #29

                          @rushmed
                          Text gelesen?

                          Auch mit Node.js 14.x sind bisher keine Probleme bekannt, aber es könnte Adapter geben, die nicht vollständig funktionieren.

                          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

                          R 1 Reply Last reply
                          1
                          • T Offline
                            T Offline
                            tomHH
                            wrote on last edited by
                            #30

                            Danke für die Anleitung, habe ganz smooth von Version 10 auf 14 unter Ubuntu 18.04 upgegraded ;-) DANKE!

                            1 Reply Last reply
                            0
                            • Thomas BraunT Thomas Braun

                              @rushmed
                              Text gelesen?

                              Auch mit Node.js 14.x sind bisher keine Probleme bekannt, aber es könnte Adapter geben, die nicht vollständig funktionieren.

                              R Offline
                              R Offline
                              Rushmed
                              Most Active
                              wrote on last edited by
                              #31

                              @thomas-braun Jetzt schon :blush: , danke.

                              1 Reply Last reply
                              0
                              • N Offline
                                N Offline
                                nidd
                                wrote on last edited by
                                #32

                                Hallo,

                                leider bekomme ich folgende Fehlermeldungen:

                                curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
                                
                                ## Installing the NodeSource Node.js 12.x repo...
                                
                                
                                ## Populating apt-get cache...
                                
                                + apt-get update
                                OK:1 http://archive.raspberrypi.org/debian buster InRelease
                                OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                Ign:3 http://archive.raspbian.org/raspbian wheezy InRelease
                                OK:4 https://deb.nodesource.com/node_6.x buster InRelease
                                Fehl:5 http://archive.raspbian.org/raspbian wheezy Release
                                  404  Not Found [IP: 93.93.128.191 80]
                                Paketlisten werden gelesen... Fertig
                                E: Das Depot »http://archive.raspbian.org/raspbian wheezy Release« enthält keine Release-Datei.
                                N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
                                N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
                                W: Ziel Sources (main/source/Sources) ist mehrfach konfiguriert in /etc/apt/sources.list:4 und /etc/apt/sources.list:5
                                W: Ziel Sources (contrib/source/Sources) ist mehrfach konfiguriert in /etc/apt/sources.list:4 und /etc/apt/sources.list:5
                                W: Ziel Sources (non-free/source/Sources) ist mehrfach konfiguriert in /etc/apt/sources.list:4 und /etc/apt/sources.list:5
                                Error executing command, exiting
                                
                                

                                kann mir jemand weiterhelfen?

                                Gruß
                                Nidd

                                Thomas BraunT 1 Reply Last reply
                                0
                                • N nidd

                                  Hallo,

                                  leider bekomme ich folgende Fehlermeldungen:

                                  curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
                                  
                                  ## Installing the NodeSource Node.js 12.x repo...
                                  
                                  
                                  ## Populating apt-get cache...
                                  
                                  + apt-get update
                                  OK:1 http://archive.raspberrypi.org/debian buster InRelease
                                  OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                  Ign:3 http://archive.raspbian.org/raspbian wheezy InRelease
                                  OK:4 https://deb.nodesource.com/node_6.x buster InRelease
                                  Fehl:5 http://archive.raspbian.org/raspbian wheezy Release
                                    404  Not Found [IP: 93.93.128.191 80]
                                  Paketlisten werden gelesen... Fertig
                                  E: Das Depot »http://archive.raspbian.org/raspbian wheezy Release« enthält keine Release-Datei.
                                  N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
                                  N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).
                                  W: Ziel Sources (main/source/Sources) ist mehrfach konfiguriert in /etc/apt/sources.list:4 und /etc/apt/sources.list:5
                                  W: Ziel Sources (contrib/source/Sources) ist mehrfach konfiguriert in /etc/apt/sources.list:4 und /etc/apt/sources.list:5
                                  W: Ziel Sources (non-free/source/Sources) ist mehrfach konfiguriert in /etc/apt/sources.list:4 und /etc/apt/sources.list:5
                                  Error executing command, exiting
                                  
                                  

                                  kann mir jemand weiterhelfen?

                                  Gruß
                                  Nidd

                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  wrote on last edited by Thomas Braun
                                  #33

                                  @nidd sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                  wheezy

                                  Ist so tot, das stinkt schon nicht mehr. Ersetze das durch buster.
                                  Bzw. das kann komplett raus.

                                  Und node6 ist genauso lange tot. Änder das auf node12.

                                  Zeig mal den Inhalt der Datei

                                  cat /etc/apt/sources.list
                                  

                                  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

                                  N 1 Reply Last reply
                                  1
                                  • Thomas BraunT Thomas Braun

                                    @nidd sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                    wheezy

                                    Ist so tot, das stinkt schon nicht mehr. Ersetze das durch buster.
                                    Bzw. das kann komplett raus.

                                    Und node6 ist genauso lange tot. Änder das auf node12.

                                    Zeig mal den Inhalt der Datei

                                    cat /etc/apt/sources.list
                                    
                                    N Offline
                                    N Offline
                                    nidd
                                    wrote on last edited by
                                    #34

                                    @thomas-braun said in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                    cat /etc/apt/sources.list

                                    ich habe den Pi erst vor 2 Monaten aufgesetzt und da das image von raspberrypi.org genommen :thinking_face:
                                    gibt's ne Anleitung wie ich das update?

                                    deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
                                    # Uncomment line below then 'apt-get update' to enable 'apt-get source'
                                    #deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
                                    deb-src http://archive.raspbian.org/raspbian wheezy main contrib non-free
                                    deb-src http://archive.raspbian.org/raspbian wheezy main contrib non-free
                                    
                                    
                                    Thomas BraunT 1 Reply Last reply
                                    0
                                    • N nidd

                                      @thomas-braun said in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                      cat /etc/apt/sources.list

                                      ich habe den Pi erst vor 2 Monaten aufgesetzt und da das image von raspberrypi.org genommen :thinking_face:
                                      gibt's ne Anleitung wie ich das update?

                                      deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
                                      # Uncomment line below then 'apt-get update' to enable 'apt-get source'
                                      #deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
                                      deb-src http://archive.raspbian.org/raspbian wheezy main contrib non-free
                                      deb-src http://archive.raspbian.org/raspbian wheezy main contrib non-free
                                      
                                      
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      wrote on last edited by Thomas Braun
                                      #35

                                      @nidd
                                      Man nimmt ja auch keine Images.
                                      Welches Image hast du denn da jetzt erwischt?

                                      lsb_release -a
                                      

                                      Die Zeilen 4+5 kannst du aber schon mal löschen, das ist toter Quatsch.

                                      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

                                      HomoranH N 2 Replies Last reply
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @nidd
                                        Man nimmt ja auch keine Images.
                                        Welches Image hast du denn da jetzt erwischt?

                                        lsb_release -a
                                        

                                        Die Zeilen 4+5 kannst du aber schon mal löschen, das ist toter Quatsch.

                                        HomoranH Do not disturb
                                        HomoranH Do not disturb
                                        Homoran
                                        Global Moderator Administrators
                                        wrote on last edited by
                                        #36

                                        @thomas-braun sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                        Man nimmt ja auch keine Images.

                                        was denn?

                                        @nidd sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                        das image von raspberrypi.org

                                        ist das Betriebssystem

                                        kein Support per PN! - Fragen im Forum stellen -
                                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                        Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                        Thomas BraunT 1 Reply Last reply
                                        0
                                        • HomoranH Homoran

                                          @thomas-braun sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                          Man nimmt ja auch keine Images.

                                          was denn?

                                          @nidd sagte in [How-to] Node.js für ioBroker richtig updaten - 2021 Edition:

                                          das image von raspberrypi.org

                                          ist das Betriebssystem

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          wrote on last edited by Thomas Braun
                                          #37

                                          @homoran
                                          Ja...
                                          Man nimmt sowas wie noobs oder den Nachfolger, dessen Name mir gerade entfallen ist. Dann bekommt man auch nix untergejubelt, das mit wheezy zu tun hat.
                                          Wobei ich stark davon ausgehe, das die Einträge da im Nachgang manuell reingefummelt wurden.

                                          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

                                          HomoranH 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          579

                                          Online

                                          32.7k

                                          Users

                                          82.5k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe