Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Update des Sytems

NEWS

  • Neues YouTube-Video: Visualisierung im Devices-Adapter
    BluefoxB
    Bluefox
    11
    1
    544

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

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

Update des Sytems

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
15 Beiträge 3 Kommentatoren 7.2k Aufrufe 3 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • B Offline
    B Offline
    brokeling
    schrieb am zuletzt editiert von
    #3
    pi@raspi:~ $ sudo nano /etc/apt/sources.list.d/nodesource.list
      GNU nano 3.2                                              /etc/apt/sources.list.d/nodesource.list
    
    deb https://deb.nodesource.com/node_12.x buster main
    deb-src https://deb.nodesource.com/node_12.x buster main
    
    
    

    Das kommt bei mir. Muss ich das jetzt anpassen?

    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • B brokeling
      pi@raspi:~ $ sudo nano /etc/apt/sources.list.d/nodesource.list
        GNU nano 3.2                                              /etc/apt/sources.list.d/nodesource.list
      
      deb https://deb.nodesource.com/node_12.x buster main
      deb-src https://deb.nodesource.com/node_12.x buster main
      
      
      

      Das kommt bei mir. Muss ich das jetzt anpassen?

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

      @brokeling
      Nein. Dann ist die Quelle für node12 ja schon angelegt.
      Dann fährt das über das übliche Systemupgrade automatisch mit.

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

      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
      • B Offline
        B Offline
        brokeling
        schrieb am zuletzt editiert von
        #5

        beim upgrade das js-controllers kamen etwas seltsame Meldungen. Ist das ok so?

        pi@raspi:~ $ iobroker upgrade self
        Update js-controller from @3.1.6 to @3.2.16
        NPM version: 6.14.13
        npm install iobroker.js-controller@3.2.16 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
        In file included from ../authenticate_pam.cc:23:
        ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
        ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
             , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                      ^
        ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:
        ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
           Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
                                                                                               ^
        In file included from ../authenticate_pam.cc:23:
        ../../nan/nan.h:1024:46: note: declared here
           NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
        ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
           Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
                                                                                               ^
        In file included from ../authenticate_pam.cc:23:
        ../../nan/nan.h:1024:46: note: declared here
           NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                      ^~~~~~~~~~~~
        ../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:
        ../authenticate_pam.cc:147:83: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());
                                                                                           ^
        In file included from /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8-internal.h:14,
                         from /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:27,
                         from /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:67,
                         from ../../nan/nan.h:54,
                         from ../authenticate_pam.cc:23:
        /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:3553:51: note: declared here
           V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                           ^~~
        /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        ../authenticate_pam.cc:150:69: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
            serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);
                                                                             ^
        In file included from /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:67,
                         from ../../nan/nan.h:54,
                         from ../authenticate_pam.cc:23:
        /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
           int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
               ^~~~~~~~~
        /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
        ../authenticate_pam.cc:152:69: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
           res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());
                                                                             ^
        In file included from /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8-internal.h:14,
                         from /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:27,
                         from /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:67,
                         from ../../nan/nan.h:54,
                         from ../authenticate_pam.cc:23:
        /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:3553:51: note: declared here
           V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                           ^~~
        /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
           declarator __attribute__((deprecated(message)))
           ^~~~~~~~~~
        ../authenticate_pam.cc:155:66: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
            remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);
                                                                          ^
        In file included from /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:67,
                         from ../../nan/nan.h:54,
                         from ../authenticate_pam.cc:23:
        /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
           int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
               ^~~~~~~~~
        /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
        ../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
          username->WriteUtf8(m->username, sizeof(m->username) - 1);
                                                                  ^
        In file included from /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:67,
                         from ../../nan/nan.h:54,
                         from ../authenticate_pam.cc:23:
        /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
           int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
               ^~~~~~~~~
        /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
        ../authenticate_pam.cc:161:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
          password->WriteUtf8(m->password, sizeof(m->password) - 1);
                                                                  ^
        In file included from /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:67,
                         from ../../nan/nan.h:54,
                         from ../authenticate_pam.cc:23:
        /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
           int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
               ^~~~~~~~~
        /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
        ../authenticate_pam.cc: At global scope:
        ../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void
         void init(Handle<Object> exports) {
                   ^~~~~~
        ../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
        ../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’
         void init(Handle<Object> exports) {
                   ^~~~~~
                   rand_r
        ../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token
         void init(Handle<Object> exports) {
                                ^
        ../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope
         void init(Handle<Object> exports) {
                                  ^~~~~~~
        In file included from ../../nan/nan.h:54,
                         from ../authenticate_pam.cc:23:
        ../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope
         NODE_MODULE(authenticate_pam, init);
                                       ^~~~
        /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’
               (node::addon_register_func) (regfunc),                          \
                                            ^~~~~~~
        ../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
         NODE_MODULE(authenticate_pam, init);
         ^~~~~~~~~~~
        ../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’
         NODE_MODULE(authenticate_pam, init);
                                       ^~~~
        /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’
               (node::addon_register_func) (regfunc),                          \
                                            ^~~~~~~
        ../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
         NODE_MODULE(authenticate_pam, init);
         ^~~~~~~~~~~
        make: *** [authenticate_pam.target.mk:109: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
        gyp ERR! build error
        gyp ERR! stack Error: `make` failed with exit code: 2
        gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
        gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
        gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
        gyp ERR! System Linux 5.10.17-v7l+
        gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
        gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam
        gyp ERR! node -v v12.22.2
        gyp ERR! node-gyp -v v5.1.0
        gyp ERR! not ok
        Starting node restart.js
        
        
        Thomas BraunT 1 Antwort Letzte Antwort
        0
        • B brokeling

          beim upgrade das js-controllers kamen etwas seltsame Meldungen. Ist das ok so?

          pi@raspi:~ $ iobroker upgrade self
          Update js-controller from @3.1.6 to @3.2.16
          NPM version: 6.14.13
          npm install iobroker.js-controller@3.2.16 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
          In file included from ../authenticate_pam.cc:23:
          ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:
          ../../nan/nan.h:2298:62: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
               , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                        ^
          ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:
          ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
             Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
                                                                                                 ^
          In file included from ../authenticate_pam.cc:23:
          ../../nan/nan.h:1024:46: note: declared here
             NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
          ../authenticate_pam.cc:107:87: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
             Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
                                                                                                 ^
          In file included from ../authenticate_pam.cc:23:
          ../../nan/nan.h:1024:46: note: declared here
             NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                        ^~~~~~~~~~~~
          ../authenticate_pam.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE Authenticate(Nan::NAN_METHOD_ARGS_TYPE)’:
          ../authenticate_pam.cc:147:83: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());
                                                                                             ^
          In file included from /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8-internal.h:14,
                           from /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:27,
                           from /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:67,
                           from ../../nan/nan.h:54,
                           from ../authenticate_pam.cc:23:
          /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:3553:51: note: declared here
             V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                             ^~~
          /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
          ../authenticate_pam.cc:150:69: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
              serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);
                                                                               ^
          In file included from /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:67,
                           from ../../nan/nan.h:54,
                           from ../authenticate_pam.cc:23:
          /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
             int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                 ^~~~~~~~~
          /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
          ../authenticate_pam.cc:152:69: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
             res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());
                                                                               ^
          In file included from /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8-internal.h:14,
                           from /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:27,
                           from /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:67,
                           from ../../nan/nan.h:54,
                           from ../authenticate_pam.cc:23:
          /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:3553:51: note: declared here
             V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                             ^~~
          /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
             declarator __attribute__((deprecated(message)))
             ^~~~~~~~~~
          ../authenticate_pam.cc:155:66: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
              remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);
                                                                            ^
          In file included from /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:67,
                           from ../../nan/nan.h:54,
                           from ../authenticate_pam.cc:23:
          /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
             int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                 ^~~~~~~~~
          /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
          ../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
            username->WriteUtf8(m->username, sizeof(m->username) - 1);
                                                                    ^
          In file included from /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:67,
                           from ../../nan/nan.h:54,
                           from ../authenticate_pam.cc:23:
          /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
             int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                 ^~~~~~~~~
          /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
          ../authenticate_pam.cc:161:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], unsigned int)’
            password->WriteUtf8(m->password, sizeof(m->password) - 1);
                                                                    ^
          In file included from /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:67,
                           from ../../nan/nan.h:54,
                           from ../authenticate_pam.cc:23:
          /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note: candidate: ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’
             int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                 ^~~~~~~~~
          /home/iobroker/.cache/node-gyp/12.22.2/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
          ../authenticate_pam.cc: At global scope:
          ../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void
           void init(Handle<Object> exports) {
                     ^~~~~~
          ../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
          ../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’
           void init(Handle<Object> exports) {
                     ^~~~~~
                     rand_r
          ../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token
           void init(Handle<Object> exports) {
                                  ^
          ../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope
           void init(Handle<Object> exports) {
                                    ^~~~~~~
          In file included from ../../nan/nan.h:54,
                           from ../authenticate_pam.cc:23:
          ../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope
           NODE_MODULE(authenticate_pam, init);
                                         ^~~~
          /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’
                 (node::addon_register_func) (regfunc),                          \
                                              ^~~~~~~
          ../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
           NODE_MODULE(authenticate_pam, init);
           ^~~~~~~~~~~
          ../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’
           NODE_MODULE(authenticate_pam, init);
                                         ^~~~
          /home/iobroker/.cache/node-gyp/12.22.2/include/node/node.h:736:36: note: in definition of macro ‘NODE_MODULE_X’
                 (node::addon_register_func) (regfunc),                          \
                                              ^~~~~~~
          ../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
           NODE_MODULE(authenticate_pam, init);
           ^~~~~~~~~~~
          make: *** [authenticate_pam.target.mk:109: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
          gyp ERR! build error
          gyp ERR! stack Error: `make` failed with exit code: 2
          gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
          gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
          gyp ERR! System Linux 5.10.17-v7l+
          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
          gyp ERR! cwd /opt/iobroker/node_modules/authenticate-pam
          gyp ERR! node -v v12.22.2
          gyp ERR! node-gyp -v v5.1.0
          gyp ERR! not ok
          Starting node restart.js
          
          
          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #6

          @brokeling sagte in Update des Sytems:

          authenticate_pam

          Lösch mal den Adapter 'Terminal' zuvor.

          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
          1
          • B Offline
            B Offline
            brokeling
            schrieb am zuletzt editiert von
            #7

            Ich glaube jetzt passt alles.
            👍 vielen Dank für die freundliche Unterstützung

            B 1 Antwort Letzte Antwort
            0
            • B brokeling

              Ich glaube jetzt passt alles.
              👍 vielen Dank für die freundliche Unterstützung

              B Offline
              B Offline
              brokeling
              schrieb am zuletzt editiert von
              #8

              Jetzt gibt es ja wieder eine neue node.js Version
              v12.22.2 -> v12.22.3

              allerdings mit

              sudo apt update
              sudo apt upgrade
              

              gelingt mir keine Aktualisierung.
              Nachdem es doch "innerhalb der Version" ist, sollte es doch so gehen, oder?

              J Thomas BraunT 2 Antworten Letzte Antwort
              0
              • B brokeling

                Jetzt gibt es ja wieder eine neue node.js Version
                v12.22.2 -> v12.22.3

                allerdings mit

                sudo apt update
                sudo apt upgrade
                

                gelingt mir keine Aktualisierung.
                Nachdem es doch "innerhalb der Version" ist, sollte es doch so gehen, oder?

                J Offline
                J Offline
                Jan1
                schrieb am zuletzt editiert von Jan1
                #9

                @brokeling
                Ne, ist ne Node für Windows. Wird zwar angezeigt, hat aber bei Linux keine Relevanz, bin ich auch reingefallen ;)

                1 Antwort Letzte Antwort
                1
                • B brokeling

                  Jetzt gibt es ja wieder eine neue node.js Version
                  v12.22.2 -> v12.22.3

                  allerdings mit

                  sudo apt update
                  sudo apt upgrade
                  

                  gelingt mir keine Aktualisierung.
                  Nachdem es doch "innerhalb der Version" ist, sollte es doch so gehen, oder?

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

                  @brokeling

                  Ja, allerdings ist die Version nur für Windows relevant.
                  Die nächste Version kommt dann wohl wieder über apt rein.

                  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

                  B 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @brokeling

                    Ja, allerdings ist die Version nur für Windows relevant.
                    Die nächste Version kommt dann wohl wieder über apt rein.

                    B Offline
                    B Offline
                    brokeling
                    schrieb am zuletzt editiert von
                    #11

                    ok, danke!
                    Aber schon seltsam, dass das vom System nicht so erkannt wird.

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • B brokeling

                      ok, danke!
                      Aber schon seltsam, dass das vom System nicht so erkannt wird.

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

                      @brokeling

                      'Das System' bzw der packager hat es doch erkannt und die Version nicht gebaut.

                      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

                      B 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @brokeling

                        'Das System' bzw der packager hat es doch erkannt und die Version nicht gebaut.

                        B Offline
                        B Offline
                        brokeling
                        schrieb am zuletzt editiert von
                        #13

                        @thomas-braun
                        Das schon, aber die IO-Systeminformation konnte das scheinbar nicht erkennen. Hier wurde auf die neuen Version hingewiesen, die mich mal wieder in Unruhe versetzte, schon wieder "veraltet" zu sein :)

                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • B brokeling

                          @thomas-braun
                          Das schon, aber die IO-Systeminformation konnte das scheinbar nicht erkennen. Hier wurde auf die neuen Version hingewiesen, die mich mal wieder in Unruhe versetzte, schon wieder "veraltet" zu sein :)

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

                          @brokeling

                          Der Paketmanager funktioniert wenn er sauber aufgesetzt wurde eigentlich äußerst zuverlässig und spült immer die richtigen Versionen auf das System.

                          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

                          B 1 Antwort Letzte Antwort
                          0
                          • Thomas BraunT Thomas Braun

                            @brokeling

                            Der Paketmanager funktioniert wenn er sauber aufgesetzt wurde eigentlich äußerst zuverlässig und spült immer die richtigen Versionen auf das System.

                            B Offline
                            B Offline
                            brokeling
                            schrieb am zuletzt editiert von
                            #15

                            @thomas-braun
                            👍 ich kann wieder beruhigt schlafen ☺

                            1 Antwort Letzte Antwort
                            0

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

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

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

                            Registrieren Anmelden
                            Antworten
                            • In einem neuen Thema antworten
                            Anmelden zum Antworten
                            • Älteste zuerst
                            • Neuste zuerst
                            • Meiste Stimmen


                            Support us

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

                            288

                            Online

                            32.9k

                            Benutzer

                            83.0k

                            Themen

                            1.3m

                            Beiträge
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                            ioBroker Community 2014-2025
                            logo
                            • Anmelden

                            • Du hast noch kein Konto? Registrieren

                            • Anmelden oder registrieren, um zu suchen
                            • Erster Beitrag
                              Letzter Beitrag
                            0
                            • Home
                            • Aktuell
                            • Tags
                            • Ungelesen 0
                            • Kategorien
                            • Unreplied
                            • Beliebt
                            • GitHub
                            • Docu
                            • Hilfe