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

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

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [HowTo] ioBroker unter Docker auf Synology DiskStation

NEWS

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.5k

[HowTo] ioBroker unter Docker auf Synology DiskStation

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
iobrokerdockerbuanetsynologydiskstation
2.9k Beiträge 248 Kommentatoren 1.6m Aufrufe 123 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • S stevie77

    Ich habe mir einen USB-Stick für wireless M-Bus angeschafft. Da muss man wohl irgendwie einen Treiber im wM-Bus-Adapter angeben, der lautet bei mir (Raspi 4B mit ioBroker per Docker-Container) mutmaßlich /dev/serial/by-id/usb-SHK_NANO_CUL_433-if00-port0.

    Fehlermeldung ist folgende, wohl weil der Pfad im Container nicht bekannt ist:

    wm-bus.0	2020-09-19 01:05:46.695	error	(4055) Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-SHK_NANO_CUL_433-if00-port0
    wm-bus.0	2020-09-19 01:05:46.584	info	(4055) starting. Version 0.3.1 in /opt/iobroker/node_modules/iobroker.wm-bus, node: v10.21.0, js-controller: 3.1.6
    

    Muss ich das Verzeichnis /dev/serial/by-id per Volume-Mapping in den Container durchleiten? Funktioniert das wie ein Verzeichnis mappen? Also so:

    volumes:
          - "/home/pi/docker-data/iobroker-data:/opt/iobroker"
          - "/home/pi/docker-data/e3dc-control/config:/home/iobroker/e3dc-config-transfer"
          - "/dev/serial/by-id:/opt/iobroker"
    

    Und dann gebe ich dafür /opt/iobroker/usb-SHK_NANO_CUL_433-if00-port0 im Adapter an?

    haselchenH Offline
    haselchenH Offline
    haselchen
    Most Active
    schrieb am zuletzt editiert von haselchen
    #2070

    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/

    Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

    1 Antwort Letzte Antwort
    1
    • KnallochseK Knallochse

      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.

      Auf den ersten (vielleicht auch schon 2.) Blick scheint alles wie gewohnt zu funktionieren.

      Vielen Dank an @andre für deine Arbeit.

      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 
      

      Wie gesagt, es läuft alles und auch die Adapter werden aktualisiert.
      Ich würde nur gern Wissen, was die Fehler bedeuten und wie ich das Problem beseitigen kann.

      GlasfaserG Online
      GlasfaserG Online
      Glasfaser
      schrieb am zuletzt editiert von
      #2071

      @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 ... :confused:
      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 .

      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 ..

      KnallochseK 1 Antwort Letzte Antwort
      1
      • GlasfaserG Glasfaser

        @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 ... :confused:
        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 .

        KnallochseK Offline
        KnallochseK Offline
        Knallochse
        schrieb am zuletzt editiert von
        #2072

        @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)

        HM&HMIP über 100 Geräte + IoBroker auf DS918+ uvm.

        GlasfaserG 1 Antwort Letzte Antwort
        0
        • KnallochseK Knallochse

          @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)

          GlasfaserG Online
          GlasfaserG Online
          Glasfaser
          schrieb am zuletzt editiert von
          #2073

          @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 .:male-technologist: .... :thinking_face: .. :woman-bowing: ... denn ich wollte schon ein sauberes System haben .

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

          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 ..

          andreA 1 Antwort Letzte Antwort
          0
          • S stevie77

            Ich habe mir einen USB-Stick für wireless M-Bus angeschafft. Da muss man wohl irgendwie einen Treiber im wM-Bus-Adapter angeben, der lautet bei mir (Raspi 4B mit ioBroker per Docker-Container) mutmaßlich /dev/serial/by-id/usb-SHK_NANO_CUL_433-if00-port0.

            Fehlermeldung ist folgende, wohl weil der Pfad im Container nicht bekannt ist:

            wm-bus.0	2020-09-19 01:05:46.695	error	(4055) Error: Error: No such file or directory, cannot open /dev/serial/by-id/usb-SHK_NANO_CUL_433-if00-port0
            wm-bus.0	2020-09-19 01:05:46.584	info	(4055) starting. Version 0.3.1 in /opt/iobroker/node_modules/iobroker.wm-bus, node: v10.21.0, js-controller: 3.1.6
            

            Muss ich das Verzeichnis /dev/serial/by-id per Volume-Mapping in den Container durchleiten? Funktioniert das wie ein Verzeichnis mappen? Also so:

            volumes:
                  - "/home/pi/docker-data/iobroker-data:/opt/iobroker"
                  - "/home/pi/docker-data/e3dc-control/config:/home/iobroker/e3dc-config-transfer"
                  - "/dev/serial/by-id:/opt/iobroker"
            

            Und dann gebe ich dafür /opt/iobroker/usb-SHK_NANO_CUL_433-if00-port0 im Adapter an?

            andreA Offline
            andreA Offline
            andre
            Developer
            schrieb am zuletzt editiert von
            #2074

            @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é

            Bitte keine Support-Fragen per PN! Nutzt die öffentliche Kanäle damit auch andere von den Antworten profitieren können!

            S 1 Antwort Letzte Antwort
            0
            • GlasfaserG Glasfaser

              @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 .:male-technologist: .... :thinking_face: .. :woman-bowing: ... denn ich wollte schon ein sauberes System haben .

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

              andreA Offline
              andreA Offline
              andre
              Developer
              schrieb am zuletzt editiert von andre
              #2075

              @Glasfaser @Knallochse
              Host Modus auf Synology Disk Station?

              MfG,
              André

              Bitte keine Support-Fragen per PN! Nutzt die öffentliche Kanäle damit auch andere von den Antworten profitieren können!

              GlasfaserG 1 Antwort Letzte Antwort
              0
              • andreA andre

                @Glasfaser @Knallochse
                Host Modus auf Synology Disk Station?

                MfG,
                André

                GlasfaserG Online
                GlasfaserG Online
                Glasfaser
                schrieb am zuletzt editiert von
                #2076

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

                Host Modus

                Ja ...

                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 ..

                andreA 1 Antwort Letzte Antwort
                0
                • GlasfaserG Glasfaser

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

                  Host Modus

                  Ja ...

                  andreA Offline
                  andreA Offline
                  andre
                  Developer
                  schrieb am zuletzt editiert von
                  #2077

                  @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é

                  Bitte keine Support-Fragen per PN! Nutzt die öffentliche Kanäle damit auch andere von den Antworten profitieren können!

                  GlasfaserG KnallochseK 3 Antworten Letzte Antwort
                  0
                  • andreA andre

                    @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é

                    GlasfaserG Online
                    GlasfaserG Online
                    Glasfaser
                    schrieb am zuletzt editiert von
                    #2078

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

                    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 Antwort Letzte Antwort
                    0
                    • andreA andre

                      @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é

                      KnallochseK Offline
                      KnallochseK Offline
                      Knallochse
                      schrieb am zuletzt editiert von
                      #2079

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

                      HM&HMIP über 100 Geräte + IoBroker auf DS918+ uvm.

                      1 Antwort Letzte Antwort
                      0
                      • andreA andre

                        @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é

                        GlasfaserG Online
                        GlasfaserG Online
                        Glasfaser
                        schrieb am zuletzt editiert von Glasfaser
                        #2080

                        @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
                        

                        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 ..

                        Thomas BraunT 1 Antwort Letzte Antwort
                        0
                        • GlasfaserG 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 BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von
                          #2081

                          @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?

                          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

                          GlasfaserG 1 Antwort Letzte Antwort
                          1
                          • Thomas BraunT Thomas Braun

                            @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?

                            GlasfaserG Online
                            GlasfaserG Online
                            Glasfaser
                            schrieb am zuletzt editiert von
                            #2082

                            @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

                            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 ..

                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • GlasfaserG Glasfaser

                              @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 BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              schrieb am zuletzt editiert von
                              #2083

                              @Glasfaser
                              Gibt es da apt? Dann mit

                              apt policy libpam0g-dev
                              

                              guck0rn...

                              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

                              GlasfaserG 1 Antwort Letzte Antwort
                              1
                              • Thomas BraunT Thomas Braun

                                @Glasfaser
                                Gibt es da apt? Dann mit

                                apt policy libpam0g-dev
                                

                                guck0rn...

                                GlasfaserG Online
                                GlasfaserG Online
                                Glasfaser
                                schrieb am zuletzt editiert von
                                #2084

                                @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                                                                        
                                
                                

                                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 ..

                                Thomas BraunT 1 Antwort Letzte Antwort
                                0
                                • GlasfaserG Glasfaser

                                  @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 BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von Thomas Braun
                                  #2085

                                  @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)
                                  

                                  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

                                  GlasfaserG 2 Antworten Letzte Antwort
                                  1
                                  • Thomas BraunT 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)
                                    
                                    GlasfaserG Online
                                    GlasfaserG Online
                                    Glasfaser
                                    schrieb am zuletzt editiert von Glasfaser
                                    #2086

                                    @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 !?

                                    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 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT 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)
                                      
                                      GlasfaserG Online
                                      GlasfaserG Online
                                      Glasfaser
                                      schrieb am zuletzt editiert von
                                      #2087

                                      @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
                                      

                                      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 ..

                                      Thomas BraunT GlasfaserG 2 Antworten Letzte Antwort
                                      0
                                      • GlasfaserG Glasfaser

                                        @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 BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        schrieb am zuletzt editiert von Thomas Braun
                                        #2088

                                        @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.

                                        Linux-Werkzeugkasten:
                                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                        NodeJS Fixer Skript:
                                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                        1 Antwort Letzte Antwort
                                        1
                                        • GlasfaserG Glasfaser

                                          @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
                                          
                                          GlasfaserG Online
                                          GlasfaserG Online
                                          Glasfaser
                                          schrieb am zuletzt editiert von
                                          #2089

                                          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 ;)

                                          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 ..

                                          Thomas BraunT 1 Antwort Letzte Antwort
                                          2
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          862

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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