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. js-controller 3.3 jetzt im STABLE!

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    13
    1
    146

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

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

js-controller 3.3 jetzt im STABLE!

Scheduled Pinned Locked Moved ioBroker Allgemein
344 Posts 61 Posters 99.3k Views 46 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.
  • Thomas BraunT Thomas Braun

    @apollon77

    Das kommt direkt aus der nodeJS-Runtime?

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

    @thomas-braun Nee. ein npm Modul was dann irgend wo drin ist und dann in irgendeinam adapter benötigt wird nutzt cmake um seinen binären Teil zu "Builden" ... aber keiner braucht bisher cmake also ists in keinen build-essentials Paketen und nirgends sonst drin

    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 Nee. ein npm Modul was dann irgend wo drin ist und dann in irgendeinam adapter benötigt wird nutzt cmake um seinen binären Teil zu "Builden" ... aber keiner braucht bisher cmake also ists in keinen build-essentials Paketen und nirgends sonst drin

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

      @apollon77

      Ja, cmake ist schon etwas 'exotisch'.

      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

        Ja, cmake ist schon etwas 'exotisch'.

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

        @thomas-braun Jupp. Ich glaube es kommt "zu uns" über ein npm modul wie ssh2 oder so was einige User im JavaScript Adapter nutzen :-)

        Der Installer/Fixer wird im Rahmen des Controller 4.0 Releases cmake mit als dep dazu bekommen und so überall installieren.

        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
        • H Offline
          H Offline
          hegse
          wrote on last edited by hegse
          #285

          Gerade das Update auf die aktuellste Version gemacht.
          Bekomme folgende Meldung angezeigt:

          hegse@Iobroker:~$ iobroker upgrade self
          Update js-controller from @3.3.21 to @3.3.22
          NPM version: 6.14.15
          npm install iobroker.js-controller@3.3.22 --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:2294:7: 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]
           2294 |     , 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]
            107 |   Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
                |                                                                                       ^
          In file included from ../authenticate_pam.cc:23:
          ../../nan/nan.h:1026:46: note: declared here
           1026 |   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: error: no matching function for call to ‘v8::Array::Get(v8::Local<v8::String>)’
            147 |   Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());
                |                                                                                   ^
          In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                           from ../../nan/nan.h:56,
                           from ../authenticate_pam.cc:23:
          /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3717:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
           3717 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                |                                           ^~~
          /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3717:43: note:   candidate expects 2 arguments, 1 provided
          /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3720:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
           3720 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                |                                           ^~~
          /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3720:43: note:   candidate expects 2 arguments, 1 provided
          ../authenticate_pam.cc:150:30: error: cannot convert ‘char [128]’ to ‘v8::Isolate*’
            150 |    serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);
                |                           ~~~^~~~~~~~~~~
                |                              |
                |                              char [128]
          In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                           from ../../nan/nan.h:56,
                           from ../authenticate_pam.cc:23:
          /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3037:26: note:   initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ 3037 |   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                |                 ~~~~~~~~~^~~~~~~
          ../authenticate_pam.cc:152:69: error: no matching function for call to ‘v8::Array::Get(v8::Local<v8::String>)’
            152 |   res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());
                |                                                                     ^
          In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                           from ../../nan/nan.h:56,
                           from ../authenticate_pam.cc:23:
          /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3717:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
           3717 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                |                                           ^~~
          /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3717:43: note:   candidate expects 2 arguments, 1 provided
          /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3720:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
           3720 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                |                                           ^~~
          /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3720:43: note:   candidate expects 2 arguments, 1 provided
          ../authenticate_pam.cc:155:29: error: cannot convert ‘char [128]’ to ‘v8::Isolate*’
            155 |    remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);
                |                          ~~~^~~~~~~~~~
                |                             |
                |                             char [128]
          In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                           from ../../nan/nan.h:56,
                           from ../authenticate_pam.cc:23:
          /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3037:26: note:   initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ 3037 |   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                |                 ~~~~~~~~~^~~~~~~
          ../authenticate_pam.cc:160:25: error: cannot convert ‘char [128]’ to ‘v8::Isolate*’
            160 |  username->WriteUtf8(m->username, sizeof(m->username) - 1);
                |                      ~~~^~~~~~~~
                |                         |
                |                         char [128]
          In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                           from ../../nan/nan.h:56,
                           from ../authenticate_pam.cc:23:
          /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3037:26: note:   initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ 3037 |   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                |                 ~~~~~~~~~^~~~~~~
          ../authenticate_pam.cc:161:25: error: cannot convert ‘char [128]’ to ‘v8::Isolate*’
            161 |  password->WriteUtf8(m->password, sizeof(m->password) - 1);
                |                      ~~~^~~~~~~~
                |                         |
                |                         char [128]
          In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                           from ../../nan/nan.h:56,
                           from ../authenticate_pam.cc:23:
          /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3037:26: note:   initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ 3037 |   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                |                 ~~~~~~~~~^~~~~~~
          ../authenticate_pam.cc: At global scope:
          ../authenticate_pam.cc:170:6: error: variable or field ‘init’ declared void
            170 | void init(Handle<Object> exports) {
                |      ^~~~
          ../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
            170 | void init(Handle<Object> exports) {
                |           ^~~~~~
          ../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token
            170 | void init(Handle<Object> exports) {
                |                        ^
          ../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope
            170 | void init(Handle<Object> exports) {
                |                          ^~~~~~~
          In file included from ../../nan/nan.h:56,
                           from ../authenticate_pam.cc:23:
          ../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope; did you mean ‘int’?
            175 | NODE_MODULE(authenticate_pam, init);
                |                               ^~~~
          /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:787:36: note: in definition of macro ‘NODE_MODULE_X’
            787 |       (node::addon_register_func) (regfunc),                          \
                |                                    ^~~~~~~
          ../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
            175 | NODE_MODULE(authenticate_pam, init);
                | ^~~~~~~~~~~
          make: *** [authenticate_pam.target.mk:111: 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:400:28)
          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)
          gyp ERR! System Linux 5.10.0-9-amd64
          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 v14.18.1
          gyp ERR! node-gyp -v v5.1.0
          gyp ERR! not ok
          

          Soweit läuft alles nach dem Update.

          Thomas BraunT 1 Reply Last reply
          0
          • H hegse

            Gerade das Update auf die aktuellste Version gemacht.
            Bekomme folgende Meldung angezeigt:

            hegse@Iobroker:~$ iobroker upgrade self
            Update js-controller from @3.3.21 to @3.3.22
            NPM version: 6.14.15
            npm install iobroker.js-controller@3.3.22 --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:2294:7: 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]
             2294 |     , 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]
              107 |   Nan::MakeCallback(Nan::GetCurrentContext()->Global(), Nan::New(m->callback), 1, args);
                  |                                                                                       ^
            In file included from ../authenticate_pam.cc:23:
            ../../nan/nan.h:1026:46: note: declared here
             1026 |   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: error: no matching function for call to ‘v8::Array::Get(v8::Local<v8::String>)’
              147 |   Local<Value> res = options->Get(Nan::New<String>("serviceName").ToLocalChecked());
                  |                                                                                   ^
            In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                             from ../../nan/nan.h:56,
                             from ../authenticate_pam.cc:23:
            /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3717:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
             3717 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                  |                                           ^~~
            /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3717:43: note:   candidate expects 2 arguments, 1 provided
            /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3720:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
             3720 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                  |                                           ^~~
            /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3720:43: note:   candidate expects 2 arguments, 1 provided
            ../authenticate_pam.cc:150:30: error: cannot convert ‘char [128]’ to ‘v8::Isolate*’
              150 |    serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);
                  |                           ~~~^~~~~~~~~~~
                  |                              |
                  |                              char [128]
            In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                             from ../../nan/nan.h:56,
                             from ../authenticate_pam.cc:23:
            /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3037:26: note:   initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ 3037 |   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                  |                 ~~~~~~~~~^~~~~~~
            ../authenticate_pam.cc:152:69: error: no matching function for call to ‘v8::Array::Get(v8::Local<v8::String>)’
              152 |   res = options->Get(Nan::New<String>("remoteHost").ToLocalChecked());
                  |                                                                     ^
            In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                             from ../../nan/nan.h:56,
                             from ../authenticate_pam.cc:23:
            /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3717:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, v8::Local<v8::Value>)’
             3717 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                  |                                           ^~~
            /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3717:43: note:   candidate expects 2 arguments, 1 provided
            /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3720:43: note: candidate: ‘v8::MaybeLocal<v8::Value> v8::Object::Get(v8::Local<v8::Context>, uint32_t)’
             3720 |   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Get(Local<Context> context,
                  |                                           ^~~
            /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3720:43: note:   candidate expects 2 arguments, 1 provided
            ../authenticate_pam.cc:155:29: error: cannot convert ‘char [128]’ to ‘v8::Isolate*’
              155 |    remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);
                  |                          ~~~^~~~~~~~~~
                  |                             |
                  |                             char [128]
            In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                             from ../../nan/nan.h:56,
                             from ../authenticate_pam.cc:23:
            /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3037:26: note:   initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ 3037 |   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                  |                 ~~~~~~~~~^~~~~~~
            ../authenticate_pam.cc:160:25: error: cannot convert ‘char [128]’ to ‘v8::Isolate*’
              160 |  username->WriteUtf8(m->username, sizeof(m->username) - 1);
                  |                      ~~~^~~~~~~~
                  |                         |
                  |                         char [128]
            In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                             from ../../nan/nan.h:56,
                             from ../authenticate_pam.cc:23:
            /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3037:26: note:   initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ 3037 |   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                  |                 ~~~~~~~~~^~~~~~~
            ../authenticate_pam.cc:161:25: error: cannot convert ‘char [128]’ to ‘v8::Isolate*’
              161 |  password->WriteUtf8(m->password, sizeof(m->password) - 1);
                  |                      ~~~^~~~~~~~
                  |                         |
                  |                         char [128]
            In file included from /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:67,
                             from ../../nan/nan.h:56,
                             from ../authenticate_pam.cc:23:
            /home/iobroker/.cache/node-gyp/14.18.1/include/node/v8.h:3037:26: note:   initializing argument 1 of ‘int v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const’ 3037 |   int WriteUtf8(Isolate* isolate, char* buffer, int length = -1,
                  |                 ~~~~~~~~~^~~~~~~
            ../authenticate_pam.cc: At global scope:
            ../authenticate_pam.cc:170:6: error: variable or field ‘init’ declared void
              170 | void init(Handle<Object> exports) {
                  |      ^~~~
            ../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
              170 | void init(Handle<Object> exports) {
                  |           ^~~~~~
            ../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token
              170 | void init(Handle<Object> exports) {
                  |                        ^
            ../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope
              170 | void init(Handle<Object> exports) {
                  |                          ^~~~~~~
            In file included from ../../nan/nan.h:56,
                             from ../authenticate_pam.cc:23:
            ../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope; did you mean ‘int’?
              175 | NODE_MODULE(authenticate_pam, init);
                  |                               ^~~~
            /home/iobroker/.cache/node-gyp/14.18.1/include/node/node.h:787:36: note: in definition of macro ‘NODE_MODULE_X’
              787 |       (node::addon_register_func) (regfunc),                          \
                  |                                    ^~~~~~~
            ../authenticate_pam.cc:175:1: note: in expansion of macro ‘NODE_MODULE’
              175 | NODE_MODULE(authenticate_pam, init);
                  | ^~~~~~~~~~~
            make: *** [authenticate_pam.target.mk:111: 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:400:28)
            gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12)
            gyp ERR! System Linux 5.10.0-9-amd64
            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 v14.18.1
            gyp ERR! node-gyp -v v5.1.0
            gyp ERR! not ok
            

            Soweit läuft alles nach dem Update.

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

            @hegse
            Ist da zufällig der Adapter terminal installiert? Dann schmeiß den raus.

            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

            H 1 Reply Last reply
            0
            • Thomas BraunT Thomas Braun

              @hegse
              Ist da zufällig der Adapter terminal installiert? Dann schmeiß den raus.

              H Offline
              H Offline
              hegse
              wrote on last edited by
              #287

              @thomas-braun ja der ist installiert.
              Alles klar, dann schmeiß ich den mal raus. Besten Dank!

              1 Reply Last reply
              0
              • B Offline
                B Offline
                BlueEssi
                wrote on last edited by
                #288

                Hallo zusammen, ist die Liste der inkompatiblen Adapter am Thread-Anfang immer noch aktuell? Ich habe inzwischen leider das Problem, dass 3-4 meiner Adapter auf dieser Liste stehen, aber andere Adapter das Upgrade voraussetzen um auf den aktuellen Stand aufzurüsten.

                apollon77A 1 Reply Last reply
                0
                • B BlueEssi

                  Hallo zusammen, ist die Liste der inkompatiblen Adapter am Thread-Anfang immer noch aktuell? Ich habe inzwischen leider das Problem, dass 3-4 meiner Adapter auf dieser Liste stehen, aber andere Adapter das Upgrade voraussetzen um auf den aktuellen Stand aufzurüsten.

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

                  @blueessi Die Aussage geht anders rum: Folgende Adapter müssen aktualisiert werden weil sie in den damals aktuellen Versionen nicht vollständig kompatibel waren.

                  Das hat mit "eine neue version des Adapters braucht bitte js.cotnroller in Version X" nichts zu tun. Das soll verhindern das Du dir dein System kaputt machst

                  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
                  B 1 Reply Last reply
                  0
                  • apollon77A apollon77

                    @blueessi Die Aussage geht anders rum: Folgende Adapter müssen aktualisiert werden weil sie in den damals aktuellen Versionen nicht vollständig kompatibel waren.

                    Das hat mit "eine neue version des Adapters braucht bitte js.cotnroller in Version X" nichts zu tun. Das soll verhindern das Du dir dein System kaputt machst

                    B Offline
                    B Offline
                    BlueEssi
                    wrote on last edited by
                    #290

                    @apollon77 Das beantwortet leider nicht meine Frage. Wie bekomme ich raus, ob meine benötigten Adapter mit 3.3 kompatibel sind?

                    Thomas BraunT apollon77A 2 Replies Last reply
                    0
                    • B BlueEssi

                      @apollon77 Das beantwortet leider nicht meine Frage. Wie bekomme ich raus, ob meine benötigten Adapter mit 3.3 kompatibel sind?

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

                      @blueessi
                      Im stable-Repo alles auf Stand bringen.

                      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 Reply Last reply
                      0
                      • B BlueEssi

                        @apollon77 Das beantwortet leider nicht meine Frage. Wie bekomme ich raus, ob meine benötigten Adapter mit 3.3 kompatibel sind?

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

                        @blueessi Wenn Du so rum fragst ist die obige Liste und Infos in diesem Thread (falls wir welche vergessen haben zu adden) aktuell und exakt wie @Thomas-Braun sagt: Wenn alles in Stable aktuell ist - oder du die adapter die du wegen "Zu altem js-controller" nicht updaten kannst gemerkt sind und gleich als erstes nach dem update aktualisiert werden ... dann sollte das nach grobem Wissen passen

                        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
                        B 1 Reply Last reply
                        0
                        • apollon77A apollon77

                          @blueessi Wenn Du so rum fragst ist die obige Liste und Infos in diesem Thread (falls wir welche vergessen haben zu adden) aktuell und exakt wie @Thomas-Braun sagt: Wenn alles in Stable aktuell ist - oder du die adapter die du wegen "Zu altem js-controller" nicht updaten kannst gemerkt sind und gleich als erstes nach dem update aktualisiert werden ... dann sollte das nach grobem Wissen passen

                          B Offline
                          B Offline
                          BlueEssi
                          wrote on last edited by
                          #293

                          @apollon77 OK, danke. Es sieht so aus, dass ich mich wohl noch eine Weile gedulden muss um auf 3.3 hochrüsten zu können. Ich hoffe, die "alten" Adapter werden irgendwann überhaupt nachgezogen.

                          Thomas BraunT apollon77A 2 Replies Last reply
                          0
                          • B BlueEssi

                            @apollon77 OK, danke. Es sieht so aus, dass ich mich wohl noch eine Weile gedulden muss um auf 3.3 hochrüsten zu können. Ich hoffe, die "alten" Adapter werden irgendwann überhaupt nachgezogen.

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

                            @blueessi

                            Wie schaut denn das überhaupt aus bei dir?

                            iobroker update -i
                            

                            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 Reply Last reply
                            0
                            • B BlueEssi

                              @apollon77 OK, danke. Es sieht so aus, dass ich mich wohl noch eine Weile gedulden muss um auf 3.3 hochrüsten zu können. Ich hoffe, die "alten" Adapter werden irgendwann überhaupt nachgezogen.

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

                              @blueessi naja wenn Du genau liesst ist das einzige was die alten Adapter ggf tun ist "Info" logging zu machen das was nicht stimmt ... ehrlich ... Loglevel hochsetzen in der Wartezeit und gut ... ich denke nicht das das vom Update abhalten sollte

                              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
                              B 1 Reply Last reply
                              0
                              • apollon77A apollon77

                                @blueessi naja wenn Du genau liesst ist das einzige was die alten Adapter ggf tun ist "Info" logging zu machen das was nicht stimmt ... ehrlich ... Loglevel hochsetzen in der Wartezeit und gut ... ich denke nicht das das vom Update abhalten sollte

                                B Offline
                                B Offline
                                BlueEssi
                                wrote on last edited by
                                #296

                                @apollon77 Ok, das war mir nicht bewusst. Vielleicht könntest du den Hinweis in der Inkompatibilitäts-Auflistung oben ergänzen. Ich werde es testen. Danke.

                                1 Reply Last reply
                                0
                                • S Offline
                                  S Offline
                                  sandro_gera
                                  wrote on last edited by
                                  #297

                                  Hallo an alle,

                                  ich hab folgende Fehlermeldung bekommen

                                  pi@RaspBerry4BioBroker:~ $ iob upgrade self
                                  Update js-controller from @3.3.21 to @3.3.22
                                  NPM version: 6.14.15
                                  npm install iobroker.js-controller@3.3.22 --loglevel error --unsafe-perm --prefi                       x "/opt/iobroker" (System call)
                                  Server Cannot move /opt/iobroker/iobroker-data/objects.json.new to /opt/iobroker                       /iobroker-data/objects.json: ENOENT: no such file or directory, stat '/opt/iobro                       ker/iobroker-data/objects.json.new'. Try direct write as fallback
                                  
                                  

                                  Das update scheint aber funktioniert zu haben.

                                  Muß ich jetzt irgend etwas unternehmen?

                                  Master RPI4 8GB, Slave RPI3 1GB
                                  Node.js v18.17.1, npm: 9.6.7,
                                  JS-Controller: 5.0.16

                                  apollon77A 1 Reply Last reply
                                  0
                                  • S sandro_gera

                                    Hallo an alle,

                                    ich hab folgende Fehlermeldung bekommen

                                    pi@RaspBerry4BioBroker:~ $ iob upgrade self
                                    Update js-controller from @3.3.21 to @3.3.22
                                    NPM version: 6.14.15
                                    npm install iobroker.js-controller@3.3.22 --loglevel error --unsafe-perm --prefi                       x "/opt/iobroker" (System call)
                                    Server Cannot move /opt/iobroker/iobroker-data/objects.json.new to /opt/iobroker                       /iobroker-data/objects.json: ENOENT: no such file or directory, stat '/opt/iobro                       ker/iobroker-data/objects.json.new'. Try direct write as fallback
                                    
                                    

                                    Das update scheint aber funktioniert zu haben.

                                    Muß ich jetzt irgend etwas unternehmen?

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

                                    @sandro_gera Ne, das ist am Ende nur ne Info meldung. Wenn sonst kein Fehler ds ist ist oder kam alles ok

                                    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
                                    1
                                    • NWHN Offline
                                      NWHN Offline
                                      NWH
                                      wrote on last edited by
                                      #299

                                      Hallo
                                      Wollte wie immer das update per Konsole machen, aber diesmal kommt diese Meldung.
                                      Wer kann mir sagen warum ich nicht auf die Version 3.3.22 komme.

                                      557ffd69-c0fb-48e9-b3b8-a7294109e5a2-image.png

                                      Iobrocker läuft auf eine Synology im docker.

                                      Neu gestartet habe ich auch schon.

                                      Thomas BraunT GlasfaserG 2 Replies Last reply
                                      0
                                      • NWHN NWH

                                        Hallo
                                        Wollte wie immer das update per Konsole machen, aber diesmal kommt diese Meldung.
                                        Wer kann mir sagen warum ich nicht auf die Version 3.3.22 komme.

                                        557ffd69-c0fb-48e9-b3b8-a7294109e5a2-image.png

                                        Iobrocker läuft auf eine Synology im docker.

                                        Neu gestartet habe ich auch schon.

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

                                        @nwh

                                        Keine Screenshots aus der Konsole. Text als Text in CodeTags posten.

                                        Und auch keine Phantasie-Kommandos verwenden.

                                        apt upgrade
                                        

                                        für das System,

                                        iobroker upgrade self
                                        

                                        für den js-controller.

                                        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

                                        NWHN 1 Reply Last reply
                                        0
                                        • NWHN NWH

                                          Hallo
                                          Wollte wie immer das update per Konsole machen, aber diesmal kommt diese Meldung.
                                          Wer kann mir sagen warum ich nicht auf die Version 3.3.22 komme.

                                          557ffd69-c0fb-48e9-b3b8-a7294109e5a2-image.png

                                          Iobrocker läuft auf eine Synology im docker.

                                          Neu gestartet habe ich auch schon.

                                          GlasfaserG Offline
                                          GlasfaserG Offline
                                          Glasfaser
                                          wrote on last edited by Glasfaser
                                          #301

                                          @nwh sagte in js-controller 3.3 jetzt im STABLE!:

                                          Wollte wie immer das update per Konsole machen

                                          Aber nicht so !!

                                          So:

                                          pkill -u iobroker
                                          iobroker upgrade self
                                          

                                          Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                          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

                                          549

                                          Online

                                          32.7k

                                          Users

                                          82.4k

                                          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