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

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

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

[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.
  • 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 Offline
    GlasfaserG Offline
    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 Offline
        GlasfaserG Offline
        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 Offline
            GlasfaserG Offline
            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 Offline
                GlasfaserG Offline
                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 Offline
                  GlasfaserG Offline
                  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 Offline
                      GlasfaserG Offline
                      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
                      • GlasfaserG Glasfaser

                        Mein Problemverlauf siehe oben ..... mit

                        ../authenticate_pam
                        

                        So .. binn heute komplett auf V5 produktiv umgezogen .

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

                        iobroker del terminal
                        

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

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

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

                        @Glasfaser

                        Tritt habe erst seit der Version V5

                        Nur so für mich zum Verständnis: Diese Docker Versionen kommen mit einem vorinstallierten node? Denn das dürfte am gereiften node (bzw. am verwaisten authenticate-pam) liegen.

                        Oder aber auch am aktuellen libpam0g-dev...

                        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
                        0
                        • Thomas BraunT Thomas Braun

                          @Glasfaser

                          Tritt habe erst seit der Version V5

                          Nur so für mich zum Verständnis: Diese Docker Versionen kommen mit einem vorinstallierten node? Denn das dürfte am gereiften node (bzw. am verwaisten authenticate-pam) liegen.

                          Oder aber auch am aktuellen libpam0g-dev...

                          GlasfaserG Offline
                          GlasfaserG Offline
                          Glasfaser
                          schrieb am zuletzt editiert von Glasfaser
                          #2091

                          @Thomas-Braun
                          Die latest Version ( V5 ) von @andre hat es schon vorinstalliert : 12.18.3 und NPM 6.14.6.

                          Wie schon oben erwähnt habe ich mein System schon auf 12.18.4 NPM 6.14.6 gehabt und den neu erstellten Container vor dem Restore auch darauf aktualisiert .

                          Nur komischerweise mit der neuen Version V5 trat dieser Fehler auf .

                          Auf meinem alten System war die Ausgabe ... ok .

                          root@iobrokerv4:/opt/iobroker# npm list authenticate-pam                                                
                          sudo: Hostname iobrokerv4 kann nicht aufgelöst werden: Der Name oder der Dienst ist nicht bekannt      
                          iobroker@1.0.0 /opt/iobroker                                                                            
                          └── (empty)
                          

                          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

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

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

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

                            MfG,
                            André

                            S Offline
                            S Offline
                            stevie77
                            schrieb am zuletzt editiert von
                            #2092

                            @andre Hi André, danke für den Tipp. Ich bin jetzt dazu gekommen das einmal auszuprobieren:

                            devices:
                              - "/dev/serial/by-id/usb-SHK_NANO_CUL_433-if00-port0:/dev/serial/by-id/usb-SHK_NANO_CUL_433-if00-port0"
                            environment:
                              - USBDEVICES=/dev/serial/by-id/usb-SHK_NANO_CUL_433-if00-port0
                            

                            Das scheint auch geklappt zu haben, nehme ich mal an, denn beim Startup des Containers wird am Anfang geloggt:

                            -----               USBDEVICES: /dev/serial/by-id/usb-SHK_NANO_CUL_433-if00-port0 -----
                            

                            Und später in Schritt 4:

                            Usb-device-support is activated by ENV.
                            Setting permissions for /dev/serial/by-id/usb-SHK_NANO_CUL_433-if00-port0...
                            Done.
                            

                            Eingetragen im Adapter habe ich dann also /dev/serial/by-id/usb-SHK_NANO_CUL_433-if00-port0

                            Jetzt bin ich mir nicht so ganz sicher, ob das korrekt ist? Wenn ich auf den Button klicke, dann wird kein Gerät gefunden, wobei ich jetzt auch nicht weiß, ob mit Gerät der USB-Stick oder ein WM-BUS-Gerät gemeint ist. Keine Ahnung, ob der Adapter nun also richtig funktioniert oder nicht.

                            23065c0b-97bf-4299-9337-d98f54e73011-image.png

                            Leider kommt der Wasser- und/oder Wärmezähler erst kommendes Jahr - mal sehen, ob es ein günstiges sonstiges WM-BUS-Gerät gibt zur Probe? Bei den Temperatursensoren von Technoline, die ich schon habe, bin ich mir nicht sicher, ob die wirklich WM-BUS unterstützen...

                            1 Antwort Letzte Antwort
                            0
                            • KnallochseK Nicht stören
                              KnallochseK Nicht stören
                              Knallochse
                              schrieb am zuletzt editiert von Knallochse
                              #2093

                              @Glasfaser @Thomas-Braun
                              Bei mir hat das entfernen des Terminal Adapters ebenfalls die Probleme beseitigt.
                              Meine Vorgehensweise:

                              1. Terminal Adapter Instanz gelöscht
                              2. Terminal Adapter deinstalliert
                              3. Backup erstellt (Backitup)
                              4. aktuellen Container gestoppt
                              5. neuen Mountordner erstellt
                              6. Backupdatei in diesen neuen leeren Orner kopiert
                              7. neuen Container (V5) erstellt (neuen Mountordner eingebunden)
                              8. neuen Container starten (Wiederherstellung lief sauber durch)

                              Es werden keine Fehler mehr angezeigt und Adapter-Updates laufen sauber durch.

                              Ich danke euch beiden vielmals für die Fehlersuche 👍

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

                              1 Antwort Letzte Antwort
                              1
                              • Phil IppP Offline
                                Phil IppP Offline
                                Phil Ipp
                                schrieb am zuletzt editiert von
                                #2094

                                @andre
                                Da wollte ich mich heute endlich mal hinsetzen und mein Thema (ioBrocker via Docker auf der Synology + mehrere Unifi VLANs) weiter bearbeiten.
                                Und ausgerechnet heute, ist mit die wichtigste Ressource offline + archive.org hat dich leider 2018 zuletzt besucht :disappointed_relieved:

                                Danke für Deine Arbeit - hoffe sehr, die Seite kommt wieder online!

                                PS scheu Dich nicht n paypal.me link in deine signatur zu setzen, würde sicher gerne eine kleine spende schicken!

                                andreA 1 Antwort Letzte Antwort
                                0
                                • Phil IppP Phil Ipp

                                  @andre
                                  Da wollte ich mich heute endlich mal hinsetzen und mein Thema (ioBrocker via Docker auf der Synology + mehrere Unifi VLANs) weiter bearbeiten.
                                  Und ausgerechnet heute, ist mit die wichtigste Ressource offline + archive.org hat dich leider 2018 zuletzt besucht :disappointed_relieved:

                                  Danke für Deine Arbeit - hoffe sehr, die Seite kommt wieder online!

                                  PS scheu Dich nicht n paypal.me link in deine signatur zu setzen, würde sicher gerne eine kleine spende schicken!

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

                                  @Phil-Ipp Ja sorry. :) Ich hoffe ich schaffe es diese Woche, muss noch die Beiträge überarbeiten... Die Seite kommt aber wieder online..

                                  MfG,
                                  André

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

                                  Phil IppP 1 Antwort Letzte Antwort
                                  1
                                  • andreA andre

                                    @Phil-Ipp Ja sorry. :) Ich hoffe ich schaffe es diese Woche, muss noch die Beiträge überarbeiten... Die Seite kommt aber wieder online..

                                    MfG,
                                    André

                                    Phil IppP Offline
                                    Phil IppP Offline
                                    Phil Ipp
                                    schrieb am zuletzt editiert von
                                    #2096

                                    @andre
                                    puh, da bin ich aber erleichtert. :)
                                    danke und noch einen schönen Abend!

                                    1 Antwort Letzte Antwort
                                    0
                                    • Phil IppP Offline
                                      Phil IppP Offline
                                      Phil Ipp
                                      schrieb am zuletzt editiert von Phil Ipp
                                      #2097

                                      Hallo @Stuebi

                                      zu erst einmal herzlichen Dank für viele hilfreiche Posts und Anleitungen hier - nur vom lesen alter Threads schon echt viel gelernt!

                                      Ich würde gerne nach Deiner Anleitung meinen ioBroker (Synology Docker frei nach buanet) einem VLAN und entsprechender IP zuordnen.
                                      Netzwerk und VLANs wurde über Unifi realisiert.
                                      Mein Plan sieht wie folgt aus:

                                      57e9bb8f-f4ec-44f6-827d-3d7e0b2e1a38-grafik.png

                                      ioBroker soll zukünftig in IoT und das NAS soll nativ in LAN verortet sein. Das auch kein VLAN hat. ioB soll auch aus LAN erreichbar sein.
                                      In wie fern ändert sich Deine Anleitung dadurch?

                                      Generell bin ich ein wenig unsicher, ob ich Deinen Weg gehen soll. Bin schon sehr Computer/IT-affin, auch schon viel gebastelt, aber mit SSH etc hatte ich bisher noch wenig Berührungspunkte :grimacing:
                                      Lernfreudig und -bereit bin ich allerdings ,)

                                      EDIT:
                                      Ich habe das ganze mal ausgelagert:
                                      https://forum.iobroker.net/topic/37224/iobroker-im-synology-docker-mit-macvlan

                                      1 Antwort Letzte Antwort
                                      0
                                      • G gingo79

                                        @andre:

                                        @gingo79:

                                        Hi Andre,

                                        leider klappt die startup.sh bei mir nicht, wegen folgende Fehlermeldung:

                                        ` > /opt/iobroker/startup.sh: 2: /opt/iobroker/startup.sh:

                                        : not found

                                        /opt/iobroker/startup.sh: 13: /opt/iobroker/startup.sh: Syntax error: end of file unexpected (expecting "then") `

                                        Was habe ich falsch gemacht?

                                        Habe die sh Datei im Editor geöffnet inhalt gelöscht und deinen inhalt eingefügt….

                                        Gruß

                                        gingo `

                                        Hallo,

                                        offensichtlich ist was mit deiner startup.sh nicht in Ordnung.

                                        Mit welchem Editor hast du die Datei bearbeitet? Über welchen Weg hast du die Datei bearbeitet? Hast du sie vorher auf den PC herunter geladen?

                                        MfG,

                                        André

                                        [EDIT] Konsole vom Container, was gibt

                                        cd /opt/iobroker
                                        ls -al
                                        

                                        Und welchen Inhalt hat die Datei jetzt? `

                                        Hallo Andre,

                                        ich habe die Datei mit dem Windows Editor bearbeitet.

                                        Ich bin im Windows Explorer direkt auf den iobroker Ordner (dieser ist im Container gemountet) gegangen und habe die startup.sh im windows Editor geöffnet.

                                        Alten Inhalt gelöscht und dann den neuen aus deinen Beitrag reinkopiert.

                                        cd /opt/iobroker
                                        ls -al
                                        

                                        Das kann ich leider nicht im Terminal vom Container eingeben, weil der Container nicht läuft und ich somit keinen Zugriff auf das Terminal habe.

                                        Das ist der Inhalt der startup.sh
                                        ` > #!/bin/sh

                                        if [ -f .install_host ];

                                        then

                                        sed -i "s/$(cat .install_host)/$(hostname)/g" iobroker-data/objects.json

                                        rm .install_host

                                        fi

                                        /opt/scripts/avahi-start.sh

                                        sleep 5

                                        ./iobroker start

                                        cd /

                                        /bin/bash `

                                        gruß

                                        gingo

                                        mcBirneM Offline
                                        mcBirneM Offline
                                        mcBirne
                                        schrieb am zuletzt editiert von
                                        #2098

                                        Hallo,

                                        wie kann ich ein Update vom iobroker in Docker durchführen?

                                        haselchenH 1 Antwort Letzte Antwort
                                        0
                                        • mcBirneM mcBirne

                                          Hallo,

                                          wie kann ich ein Update vom iobroker in Docker durchführen?

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

                                          @mcBirne

                                          Im Terminal des Containers.
                                          Bzw. was möchtest du updaten?

                                          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

                                          mcBirneM 1 Antwort Letzte Antwort
                                          0
                                          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

                                          622

                                          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