Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [HowTo] ioBroker unter Docker auf Synology DiskStation

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    [HowTo] ioBroker unter Docker auf Synology DiskStation

    This topic has been deleted. Only users with topic management privileges can see it.
    • haselchen
      haselchen Most Active @stevie77 last edited by haselchen

      Ich betreibe einen Conbee2 und Iobroker im Docker sowie Deconz.
      Nun wird online diese Firmware angeboten
      1d926bf8-0cbb-4fb5-9f9a-f15b71faad90-grafik.png

      Über den Flasher für Docker (Deconz) bekomme ich aber noch eine Alte angezeigt, die ich momentan auch installiert habe.
      f03b448a-602a-42aa-8a51-ee4ff65ed3db-grafik.png

      Wie komme ich nun für Docker an die aktuelle FW bzw. wie ich installiere ich sie?

      Edit: Mit einem Trick gelöst.
      https://flemmingss.com/how-to-update-conbee-conbee-ii-firmware-in-windows-10/

      1 Reply Last reply Reply Quote 1
      • Glasfaser
        Glasfaser @Knallochse last edited by

        @Knallochse sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

        Ich habe mich auch mal an die V5 (aktuelle Beta) gewagt.
        Erstmalig habe ich den Weg über ein leeres Verzeichnis mit einem Backup-File gewählt.
        Hat dann gut 1 Stunde gedauert, bis alles installiert war.
        ....
        Bei der Adapterinstallation ist mir folgendes aufgefallen:
        Es wird bei jedem Adapter folgender Fehler angezeigt

        NPM version: 6.14.5
        
        npm install iobroker.hm-rpc@1.14.14 --loglevel error --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: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:1026: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:1026: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 /opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.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], long unsigned int)’    serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);                                                                     ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.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,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.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 /opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.2/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.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], long unsigned int)’    remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);                                                                  ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.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,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.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], long unsigned int)’  username->WriteUtf8(m->username, sizeof(m->username) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.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,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.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], long unsigned int)’  password->WriteUtf8(m->password, sizeof(m->password) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.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,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.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:56,                 from ../authenticate_pam.cc:23:../authenticate_pam.cc:175:31: error: ‘init’ was not declared in this scope NODE_MODULE(authenticate_pam, init);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:608: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);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.2/include/node/node.h:608: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:111: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
        
        gyp
        
        ERR! build error 
        
        gyp ERR! stack Error: `make` failed with exit code: 2gyp 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:315:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp
        
        ERR! System Linux 4.4.59+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-pamgyp ERR! node -v v12.18.2gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
        

        Dito ... 😕
        wollte jetzt auch auf 5 wechseln ,mit einem Backup (Backitup), habe aber den gleichen Fehler bei jedem Update/Installation von Adaptern ,
        tritt immer diese Fehlermeldung mit auf.

        /authenticate_pam .....
        

        das gleich Problem ist auch bei der 5 Beta .

        2020-09-19 20:28:09.713  - info: host.iobroker iobroker upgrade vis
        2020-09-19 20:28:11.964  - info: host.iobroker iobroker Update vis from @1.2.12 to @1.3.1
        2020-09-19 20:28:12.511  - info: host.iobroker iobroker NPM version: 6.14.6
        2020-09-19 20:28:12.514  - info: host.iobroker iobroker npm install iobroker.vis@1.3.1 --loglevel error --prefix "/opt/iobroker" (System call)
        2020-09-19 20:29:03.562  - info: host.iobroker iobroker In file included from ../authenticate_pam.cc:23:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294: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)                                                              ^
        2020-09-19 20:29:03.626  - info: host.iobroker iobroker ../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:1026:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
        2020-09-19 20:29:03.630  - info: host.iobroker iobroker ../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:1026: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 /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.4/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], long unsigned int)’    serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);                                                                     ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/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,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
        2020-09-19 20:29:03.641  - info: host.iobroker iobroker ../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 /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.4/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], long unsigned int)’    remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);                                                                  ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/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,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/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], long unsigned int)’  username->WriteUtf8(m->username, sizeof(m->username) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/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,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/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], long unsigned int)’  password->WriteUtf8(m->password, sizeof(m->password) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/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,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/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) {                          ^~~~~~~
        2020-09-19 20:29:03.649  - info: host.iobroker iobroker 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 NODE_MODULE(authenticate_pam, init);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:608: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);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:608: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); ^~~~~~~~~~~
        2020-09-19 20:29:03.863  - info: host.iobroker iobroker make: *** [authenticate_pam.target.mk:111: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
        2020-09-19 20:29:03.868  - info: host.iobroker iobroker gyp
        2020-09-19 20:29:03.871  - info: host.iobroker iobroker  ERR! build error 
        2020-09-19 20:29:03.875  - info: host.iobroker iobroker gyp ERR! stack Error: `make` failed with exit code: 2gyp 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:315:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.4.59+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-pamgyp ERR! node -v v12.18.4gyp ERR! node-gyp -v v5.1.0gyp ERR!
        2020-09-19 20:29:03.878  - info: host.iobroker iobroker  not ok 
        2020-09-19 20:29:05.221  - info: vis.0 (715) starting. Version 1.3.1 in /opt/iobroker/node_modules/iobroker.vis, node: v12.18.4, js-controller: 3.1.6
        2020-09-19 20:29:05.361  - info: vis.0 (715) vis license is OK.
        
        
        2020-09-19 19:20:58.210  - warn: host.iobroker startInstance cannot find adapter "weatherunderground@3.2.1". Try to install it... 1 attempt
        2020-09-19 19:20:58.210  - info: host.iobroker iobroker install weatherunderground@3.2.1 using installedFrom
        2020-09-19 19:20:59.760  - info: host.iobroker iobroker npm-install: adapter "weatherunderground" already installed. Use "upgrade" to upgrade to a newer version.
        2020-09-19 19:21:00.768  - info: host.iobroker iobroker npm-install: exit 51
        2020-09-19 19:21:02.234  - warn: host.iobroker startInstance cannot find adapter "web@3.0.13". Try to install it... 1 attempt
        2020-09-19 19:21:02.235  - info: host.iobroker iobroker install web@3.0.13 using installedFrom
        2020-09-19 19:21:04.533  - info: host.iobroker iobroker npm-install: NPM version: 6.14.6
        2020-09-19 19:21:04.535  - info: host.iobroker iobroker npm-install: npm install iobroker.web@3.0.13 --loglevel error --prefix "/opt/iobroker" (System call)
        2020-09-19 19:21:37.120  - info: host.iobroker iobroker npm-install: In file included from ../authenticate_pam.cc:23:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294: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)                                                              ^
        2020-09-19 19:21:37.179  - info: host.iobroker iobroker npm-install: ../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:1026: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:1026:46: note: declared here   NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(                                              ^~~~~~~~~~~~
        2020-09-19 19:21:37.184  - info: host.iobroker iobroker npm-install: ../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 /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.4/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], long unsigned int)’    serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1);                                                                     ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/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,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:2878:7: note:   no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
        2020-09-19 19:21:37.187  - info: host.iobroker iobroker npm-install: ../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 /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8-internal.h:14,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:27,                 from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/include/node/v8.h:3553:51: note: declared here   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));                                                   ^~~/opt/iobroker/.cache/node-gyp/12.18.4/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], long unsigned int)’    remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1);                                                                  ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/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,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/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], long unsigned int)’  username->WriteUtf8(m->username, sizeof(m->username) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/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,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/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], long unsigned int)’  password->WriteUtf8(m->password, sizeof(m->password) - 1);                                                          ^In file included from /opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:67,                 from ../../nan/nan.h:56,                 from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.4/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,       ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.4/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
        2020-09-19 19:21:37.192  - info: host.iobroker iobroker npm-install: ../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) {                          ^~~~~~~
        2020-09-19 19:21:37.197  - info: host.iobroker iobroker npm-install: 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 NODE_MODULE(authenticate_pam, init);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:608: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); ^~~~~~~~~~~
        2020-09-19 19:21:37.201  - info: host.iobroker iobroker npm-install: ../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’ NODE_MODULE(authenticate_pam, init);                               ^~~~/opt/iobroker/.cache/node-gyp/12.18.4/include/node/node.h:608: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); ^~~~~~~~~~~
        2020-09-19 19:21:37.407  - info: host.iobroker iobroker npm-install: make: *** [authenticate_pam.target.mk:111: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
        2020-09-19 19:21:37.410  - info: host.iobroker iobroker npm-install: gyp
        2020-09-19 19:21:37.410  - info: host.iobroker iobroker npm-install:  
        2020-09-19 19:21:37.413  - info: host.iobroker iobroker npm-install: ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp 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:315:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)gyp ERR! System Linux 4.4.59+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-pamgyp ERR! node -v v12.18.4
        2020-09-19 19:21:37.415  - info: host.iobroker iobroker npm-install: gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
        2020-09-19 19:21:44.980  - info: host.iobroker iobroker npm-install: host.iobroker install adapter web@3.0.13
        
        

        Was habe ich schon gemacht :
        Das Grundgerüst von der 5 Version : Node/Nodejs 12.18.3 NPM 6.14.6
        auf ...
        vor dem einspielen des Backup auf Node/Nodejs 12.18.4 / NPM 6.14.6 aktualisiert.

        Egal ob das Grundgerüst mit Node/Nodejs/NPM bei einem aufspielen des Backup oder zuvor aktualisieren , bleibt immer dieser Fehler bei jedem Update/Installation von Adaptern .

        @dtp sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

        Hallo,

        ich habe die 5.0.0 seit einigen Tagen im Host-Modus laufen. Funktioniert soweit. Heute wollte ich allerdings einen Adapter neu installieren. Dabei bekam ich dann folgende Anzeigen:

        2020-07-10 18-22-03.png

        Und diese Meldung wie bei @dtp bekomme ich auch , hat aber nichts mit dem Host zu tun !

        iobroker npm-install: Cannot detect "sudo -n apt-get -v"
        

        @andre
        Hast du eine Idee was diese Fehler sein könnten , habe schon alles soweit mögliche ausgeschöpft.

        Meine Vermutung ist , wie bei @Knallochse nach dem einspielen eines Backup´s tritt erst der Fehler auf .

        Knallochse 1 Reply Last reply Reply Quote 1
        • Knallochse
          Knallochse @Glasfaser last edited by

          @Glasfaser Ich habe dazu ebenfalls noch keine Lösung gefunden. Diese Fehlermeldung wird nach wie vor bei jedem Adapter Update ausgegeben. Ich habe aber noch nicht festgestellt, dass irgendwas nicht funktioniert, deshalb habe ich mich nicht weiter damit beschäftigt. (Hatte mich beim Umstieg auf die 5.0 schon viele Erfolglose Stunden gekostet)

          Glasfaser 1 Reply Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @Knallochse last edited by

            @Knallochse sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

            (Hatte mich beim Umstieg auf die 5.0 schon viele Erfolglose Stunden gekostet)

            Das habe ich auch die Tage selber gemerkt .👨‍💻 .... 🤔 .. 🙇‍♀️ ... denn ich wollte schon ein sauberes System haben .

            Deshalb bleibe ich erstmal auf V4 und Versuche erstmal bei der V5 den Fehler zu finden .

            andre 1 Reply Last reply Reply Quote 0
            • andre
              andre Developer @stevie77 last edited by

              @stevie77 Nein, nicht als Volume. Schau mal, in etwa so:

                  devices:
                    - /dev/serial/by-id/[deviceid]:/dev/serial/by-id/[deviceid]
                  environment:
                    - USBDEVICES=/dev/serial/by-id/[deviceid]
              

              Dann den Pfad in Adapter angeben.
              Würde jetzt gerne auf eines meiner Tutorials verweisen, aber meine Site ist aktuell down....

              MfG,
              André

              S 1 Reply Last reply Reply Quote 0
              • andre
                andre Developer @Glasfaser last edited by andre

                @Glasfaser @Knallochse
                Host Modus auf Synology Disk Station?

                MfG,
                André

                Glasfaser 1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @andre last edited by

                  @andre sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                  Host Modus

                  Ja ...

                  andre 1 Reply Last reply Reply Quote 0
                  • andre
                    andre Developer @Glasfaser last edited by

                    @Glasfaser Das Einzige was mir da einfällt ist das bekannte sudo-Problem im Host Modus auf den Disk Stations...
                    Den Fehler selbst kann ich nicht zu 100% einordnen. Da aber PAM was mit der Authentifizierung auf Linux Ebene zu tun hat, wäre ein Zusammenhang denkbar...

                    Versucht doch mal euren neuen Container mit einem Bride Netzwerk zu erstellen und schaut ob dann alles durch läuft. Falls ja, dann einfach den Container löschen und das neu gefüllte ioBroker Verzeichnis in einen neuen Container mit mit Host Netzwerk mounten...

                    MfG,
                    André

                    Glasfaser Knallochse 3 Replies Last reply Reply Quote 0
                    • Glasfaser
                      Glasfaser @andre last edited by

                      @andre
                      Werde ich in den nächsten Tagen mal ausprobieren .
                      Danke erstmal ....

                      1 Reply Last reply Reply Quote 0
                      • Knallochse
                        Knallochse @andre last edited by

                        @andre bei mir läuft der Docker auch im Host-Modus

                        1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @andre last edited by Glasfaser

                          @andre sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                          @Glasfaser .... bekannte sudo-Problem im Host Modus auf den Disk Stations...
                          Den Fehler selbst kann ich nicht zu 100% einordnen.
                          ..... Authentifizierung auf Linux Ebene ....

                          .... neuen Container mit einem Bride Netzwerk zu erstellen .....

                          So ,gestern Nacht ein Container neu angestoßen im Bridge Modus und ein Backup aufgespielt .

                          iobroker npm-install: Cannot detect "sudo -n apt-get -v"
                          

                          dieser Fehler mit "Sudo" taucht schonmal nicht mehr auf .... ein schonmal weniger.

                          Es bleibt trotzdem der Fehler mit

                          ../authenticate_pam
                          

                          Ich habe schon wie oben erwähnt sehr oft versucht ein Backup einzuspielen , dabei ist mir leider keine regelmäßigkeit aufgefallen ,
                          das man sagen kann es tritt bei einem bestimmten Adapterupdate auf .

                          Diese Fehlermelldung wird bei jedem Adapter Update ausgeworfen .

                          host.ab93fe95e814	2020-09-21 05:51:47.201	info	iobroker Update "system.adapter.linux-control.0"
                          host.ab93fe95e814	2020-09-21 05:51:47.066	info	iobroker upload [20] linux-control.admin /opt/iobroker/node_modules/iobroker.linux-control/admin/words.js words.js application/javascript
                          host.ab93fe95e814	2020-09-21 05:51:13.730	info	iobroker make: *** [authenticate_pam.target.mk:111: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR!
                          host.ab93fe95e814	2020-09-21 05:51:13.501	info	iobroker ../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’ void init(Handle<Object> exports) { ^~~~~~ rand_r../authenticate_pam.cc:170:24: error: expected prima
                          host.ab93fe95e814	2020-09-21 05:51:13.466	info	iobroker ../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::Lo
                          host.ab93fe95e814	2020-09-21 05:51:13.453	info	iobroker ../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<
                          host.ab93fe95e814	2020-09-21 05:51:13.374	info	iobroker In file included from ../authenticate_pam.cc:23:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294:62: warning: cast between incompatible funct
                          host.ab93fe95e814	2020-09-21 05:50:08.377	info	iobroker npm install iobroker.linux-control@0.3.7 --loglevel error --prefix "/opt/iobroker" (System call)
                          host.ab93fe95e814	2020-09-21 05:50:08.375	info	iobroker NPM version: 6.14.6
                          host.ab93fe95e814	2020-09-21 05:50:07.343	info	iobroker Update linux-control from @0.3.4 to @0.3.7
                          

                          2020-09-20 22:58:06.154 - warn: host.ab93fe95e814 startInstance cannot find adapter "text2command@2.0.3". Try to install it... 1 attempt
                          2020-09-20 22:58:06.154 - info: host.ab93fe95e814 iobroker install text2command@2.0.3 using installedFrom
                          2020-09-20 22:58:10.508 - info: host.ab93fe95e814 iobroker npm-install: NPM version: 6.14.6npm install iobroker.text2command@2.0.3 --loglevel error --prefix "/opt/iobroker" (System call)
                          2020-09-20 22:58:40.359 - info: host.ab93fe95e814 iobroker npm-install: In file included from ../authenticate_pam.cc:23:../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(Nan::AsyncWorker*)’:../../nan/nan.h:2294: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(AsyncExecuteComplete) ^
                          2020-09-20 22:58:40.413 - info: host.ab93fe95e814 iobroker npm-install: ../authenticate_pam.cc: In function ‘void after_doing_auth(uv_work_t*, int)’:../authenticate_pam.cc:107:87: warning: ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)’ 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:1026:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~
                          2020-09-20 22:58:40.414 - info: host.ab93fe95e814 iobroker npm-install: ../authenticate_pam.cc:107:87: warning: ‘v8::Local Nan::MakeCallback(v8::Local, v8::Local, int, v8::Local*)’ 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:1026:46: note: declared here NAN_DEPRECATED inline v8::Local MakeCallback( ^~~~~~~~~~~~
                          2020-09-20 22:58:40.416 - info: host.ab93fe95e814 iobroker npm-install: ../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::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations] Local res = options->Get(Nan::New("serviceName").ToLocalChecked()); ^
                          2020-09-20 22:58:40.417 - info: host.ab93fe95e814 iobroker npm-install: In file included from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:3553:51: note: declared here V8_DEPRECATED("Use maybe version", Local Get(Local key)); ^~~/opt/iobroker/.cache/node-gyp/12.18.3/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], long unsigned int)’ serviceName->WriteUtf8(m->serviceName, sizeof(m->serviceName) - 1); ^In file included from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.3/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, ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
                          2020-09-20 22:58:40.418 - info: host.ab93fe95e814 iobroker npm-install: ../authenticate_pam.cc:152:69: warning: ‘v8::Local v8::Object::Get(v8::Local)’ is deprecated: Use maybe version [-Wdeprecated-declarations] res = options->Get(Nan::New("remoteHost").ToLocalChecked()); ^In file included from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8-internal.h:14, from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:27, from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:3553:51: note: declared here V8_DEPRECATED("Use maybe version", Local Get(Local key)); ^~~/opt/iobroker/.cache/node-gyp/12.18.3/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], long unsigned int)’ remoteHost->WriteUtf8(m->remoteHost, sizeof(m->remoteHost) - 1); ^In file included from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.3/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, ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
                          2020-09-20 22:58:40.420 - info: host.ab93fe95e814 iobroker npm-install: ../authenticate_pam.cc:160:58: error: no matching function for call to ‘v8::String::WriteUtf8(char [128], long unsigned int)’ username->WriteUtf8(m->username, sizeof(m->username) - 1); ^In file included from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.3/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, ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.3/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], long unsigned int)’ password->WriteUtf8(m->password, sizeof(m->password) - 1); ^In file included from /opt/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:67, from ../../nan/nan.h:56, from ../authenticate_pam.cc:23:/opt/iobroker/.cache/node-gyp/12.18.3/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, ^~~~~~~~~/opt/iobroker/.cache/node-gyp/12.18.3/include/node/v8.h:2878:7: note: no known conversion for argument 1 from ‘char [128]’ to ‘v8::Isolate*’
                          2020-09-20 22:58:40.422 - info: host.ab93fe95e814 iobroker npm-install: ../authenticate_pam.cc: At global scope:../authenticate_pam.cc:170:11: error: variable or field ‘init’ declared void void init(Handle exports) { ^~~~~~../authenticate_pam.cc:170:11: error: ‘Handle’ was not declared in this scope
                          2020-09-20 22:58:40.425 - info: host.ab93fe95e814 iobroker npm-install: ../authenticate_pam.cc:170:11: note: suggested alternative: ‘rand_r’ void init(Handle exports) { ^~~~~~ rand_r../authenticate_pam.cc:170:24: error: expected primary-expression before ‘>’ token void init(Handle exports) { ^../authenticate_pam.cc:170:26: error: ‘exports’ was not declared in this scope void init(Handle exports) { ^~~~~~~
                          2020-09-20 22:58:40.430 - info: host.ab93fe95e814 iobroker npm-install: 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 NODE_MODULE(authenticate_pam, init); ^~~~/opt/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:608: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); ^~~~~~~~~~~
                          2020-09-20 22:58:40.434 - info: host.ab93fe95e814 iobroker npm-install: ../authenticate_pam.cc:175:31: note: suggested alternative: ‘int’ NODE_MODULE(authenticate_pam, init); ^~~~/opt/iobroker/.cache/node-gyp/12.18.3/include/node/node.h:608: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); ^~~~~~~~~~~
                          2020-09-20 22:58:40.638 - info: host.ab93fe95e814 iobroker npm-install: make: *** [authenticate_pam.target.mk:111: Release/obj.target/authenticate_pam/authenticate_pam.o] Fehler 1
                          2020-09-20 22:58:40.640 - info: host.ab93fe95e814 iobroker npm-install: gyp
                          2020-09-20 22:58:40.641 - info: host.ab93fe95e814 iobroker npm-install: ERR! build error
                          2020-09-20 22:58:40.643 - info: host.ab93fe95e814 iobroker npm-install: gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR!
                          2020-09-20 22:58:40.644 - info: host.ab93fe95e814 iobroker npm-install: 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:315:20)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                          2020-09-20 22:58:40.645 - info: host.ab93fe95e814 iobroker npm-install: gyp ERR! System Linux 4.4.59+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-pamgyp ERR! node -v v12.18.3gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok
                          2020-09-20 22:58:47.052 - info: host.ab93fe95e814 iobroker npm-install: host.ab93fe95e814 install adapter text2command@2.0.3
                          2020-09-20 22:58:47.193 - info: host.ab93fe95e814 iobroker npm-install: upload [19] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/text2command.png text2command.png image/png
                          2020-09-20 22:58:47.369 - info: host.ab93fe95e814 iobroker npm-install: upload [18] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/tab.html tab.html text/html
                          2020-09-20 22:58:47.428 - info: host.ab93fe95e814 iobroker npm-install: upload [17] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/style.css style.css text/css
                          2020-09-20 22:58:47.488 - info: host.ab93fe95e814 iobroker npm-install: upload [16] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/js/runtime-main.18c1711a.js.map static/js/runtime-main.18c1711a.js.map application/json
                          2020-09-20 22:58:47.550 - info: host.ab93fe95e814 iobroker npm-install: upload [15] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/js/runtime-main.18c1711a.js static/js/runtime-main.18c1711a.js application/javascript
                          2020-09-20 22:58:47.612 - info: host.ab93fe95e814 iobroker npm-install: upload [14] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/js/main.89e78f79.chunk.js.map static/js/main.89e78f79.chunk.js.map application/json
                          2020-09-20 22:58:47.687 - info: host.ab93fe95e814 iobroker npm-install: upload [13] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/js/main.89e78f79.chunk.js static/js/main.89e78f79.chunk.js application/javascript
                          2020-09-20 22:58:47.764 - info: host.ab93fe95e814 iobroker npm-install: upload [12] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/js/2.e822edab.chunk.js.map static/js/2.e822edab.chunk.js.map application/json
                          2020-09-20 22:58:47.973 - info: host.ab93fe95e814 iobroker npm-install: upload [11] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/js/2.e822edab.chunk.js.LICENSE.txt static/js/2.e822edab.chunk.js.LICENSE.txt text/plain
                          2020-09-20 22:58:48.047 - info: host.ab93fe95e814 iobroker npm-install: upload [10] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/js/2.e822edab.chunk.js static/js/2.e822edab.chunk.js application/javascript
                          2020-09-20 22:58:48.154 - info: host.ab93fe95e814 iobroker npm-install: upload [9] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/css/main.f4a3434e.chunk.css.map static/css/main.f4a3434e.chunk.css.map application/json
                          2020-09-20 22:58:48.213 - info: host.ab93fe95e814 iobroker npm-install: upload [8] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/css/main.f4a3434e.chunk.css static/css/main.f4a3434e.chunk.css text/css
                          2020-09-20 22:58:48.271 - info: host.ab93fe95e814 iobroker npm-install: upload [7] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/css/2.b4e30640.chunk.css.map static/css/2.b4e30640.chunk.css.map application/json
                          2020-09-20 22:58:48.328 - info: host.ab93fe95e814 iobroker npm-install: upload [6] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/static/css/2.b4e30640.chunk.css static/css/2.b4e30640.chunk.css text/css
                          2020-09-20 22:58:48.384 - info: host.ab93fe95e814 iobroker npm-install: upload [5] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/service-worker.js service-worker.js application/javascript
                          2020-09-20 22:58:48.442 - info: host.ab93fe95e814 iobroker npm-install: upload [4] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/precache-manifest.322d61ee69568eaf7400d0c2589da9c9.js precache-manifest.322d61ee69568eaf7400d0c2589da9c9.js application/javascript
                          2020-09-20 22:58:48.499 - info: host.ab93fe95e814 iobroker npm-install: upload [3] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/manifest.json manifest.json application/json
                          2020-09-20 22:58:48.581 - info: host.ab93fe95e814 iobroker npm-install: upload [2] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/langModel.js langModel.js application/javascript
                          2020-09-20 22:58:48.659 - info: host.ab93fe95e814 iobroker npm-install: upload [1] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/favicon.ico favicon.ico image/vnd.microsoft.icon
                          2020-09-20 22:58:48.721 - info: host.ab93fe95e814 iobroker npm-install: upload [0] text2command.admin /opt/iobroker/node_modules/iobroker.text2command/admin/asset-manifest.json asset-manifest.json application/json
                          2020-09-20 22:58:48.813 - info: host.ab93fe95e814 iobroker npm-install: host.ab93fe95e814 object system.adapter.text2command created/updated
                          2020-09-20 22:58:49.949 - info: host.ab93fe95e814 iobroker npm-install: exit 0
                          2020-09-20 22:58:50.962 - warn: host.ab93fe95e814 startInstance cannot find adapter "tr-064@4.0.13". Try to install it... 1 attempt
                          2020-09-20 22:58:50.962 - info: host.ab93fe95e814 iobroker install tr-064@4.0.13 using installedFrom
                          2020-09-20 22:58:53.452 - info: host.ab93fe95e814 iobroker npm-install: NPM version: 6.14.6
                          

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Glasfaser last edited by

                            @Glasfaser sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                            authenticate_pam.cc

                            Docker auf Synology ist zwar überhaupt nicht meine Baustelle, aber die libpamg0-dev ist installiert?

                            Glasfaser 1 Reply Last reply Reply Quote 1
                            • Glasfaser
                              Glasfaser @Thomas Braun last edited by

                              @Thomas-Braun sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                              nicht meine Baustelle

                              Ja das ist mir klar ... 😉 aber trotzdem danke für dein Input ....

                              .... kann alle weiteren und wichtigen Info´s sehr gut gebrauchen 🙂

                              libpamg0-dev
                              

                              ich meine soweit habe ich alle mit .... lib.... durchsucht und teilweise trotzdem nachinstalliert .
                              Kannst du mir bitte ein Hinweis geben wo der genau liegt

                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Glasfaser last edited by

                                @Glasfaser
                                Gibt es da apt? Dann mit

                                apt policy libpam0g-dev
                                

                                guck0rn...

                                Glasfaser 1 Reply Last reply Reply Quote 1
                                • Glasfaser
                                  Glasfaser @Thomas Braun last edited by

                                  @Thomas-Braun

                                  ist da ...
                                  ( nicht auf den Root schauen 😉 )

                                  root@ab93fe95e814:/opt/iobroker# apt policy libpam0g-dev                                                
                                  libpam0g-dev:                                                                                           
                                    Installiert:           1.3.1-5                                                                        
                                    Installationskandidat: 1.3.1-5                                                                        
                                    Versionstabelle:                                                                                      
                                   *** 1.3.1-5 100                                                                                        
                                          100 /var/lib/dpkg/status                                                                        
                                  
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Glasfaser last edited by Thomas Braun

                                    @Glasfaser Jajaja... root tut gut...

                                    Jedenfalls scheitert da das makefile für ein nodeJS-Modul; scheint mir authenticate-pam zu sein. Das ist aber wohl ewig nicht mehr gepflegt worden.

                                    Auf meinem System auch gar nicht akut:

                                    pi@raspberrypi:/opt/iobroker $ npm list authenticate-pam
                                    iobroker.inst@2.0.3 /opt/iobroker
                                    └── (empty)
                                    
                                    Glasfaser 2 Replies Last reply Reply Quote 1
                                    • Glasfaser
                                      Glasfaser @Thomas Braun last edited by Glasfaser

                                      @Thomas-Braun sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                                      Das ist aber wohl ewig nicht mehr gepflegt worden.

                                      Tritt aber erst seit der Version V5 auf , die ich jetzt eigentlich nutzen wollte .
                                      Da kann eher was @andre zu sagen !?

                                      1 Reply Last reply Reply Quote 0
                                      • Glasfaser
                                        Glasfaser @Thomas Braun last edited by

                                        @Thomas-Braun

                                        hier die Ausgabe :

                                        root@ab93fe95e814:/opt/iobroker# npm list authenticate-pam                                              
                                        iobroker.inst@2.0.3 /opt/iobroker                                                                       
                                        └─┬ iobroker.terminal@0.1.2                                                                             
                                          └── UNMET OPTIONAL DEPENDENCY authenticate-pam@1.0.2                                                  
                                                                                                                                                
                                        r
                                        
                                        Thomas Braun Glasfaser 2 Replies Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Glasfaser last edited by Thomas Braun

                                          @Glasfaser Na dann weißt du wenigstens jetzt wo es herkommt. 8-)

                                          [Edit:] Hab den terminal-Adapter gerade mal auf meinem System installiert. Auch hier bricht das make ab. Ich vermute, der code ist zu alt und läuft auf aktuellen node-Versionen in die Klippen.

                                          1 Reply Last reply Reply Quote 1
                                          • Glasfaser
                                            Glasfaser @Glasfaser last edited by

                                            Mein Problemverlauf siehe oben ..... mit

                                            ../authenticate_pam
                                            

                                            So .. binn heute komplett auf V5 produktiv umgezogen .

                                            Es lag an dem Terminal-Adapter der ein Fehler im authenticate verursacht hat , was sich auf dem ganzen System breit gemacht hat .
                                            Da die Terminaloberfläche sowiso nicht genutzt wurde bzw. nur ein ungenutzes Tool mal war, habe ich ihn mit

                                            iobroker del terminal
                                            

                                            vor einem erneuten Backup vom alten System gelöscht und den neu erstellten Container mit Restore damit anschließend erstellt.

                                            @Thomas-Braun Danke für dein Teamwork mit dir 😉

                                            Thomas Braun 1 Reply Last reply Reply Quote 2
                                            • First post
                                              Last post

                                            Support us

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

                                            956
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            buanet diskstation docker iobroker synology
                                            248
                                            2854
                                            1433619
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo