Navigation

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

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [HowTo] ioBroker unter Docker auf Synology DiskStation

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

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

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

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

      MfG,
      André

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

        @Glasfaser @Knallochse
        Host Modus auf Synology Disk Station?

        MfG,
        André

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

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

          Host Modus

          Ja ...

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

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

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

            MfG,
            André

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

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

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

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

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

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

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

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

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

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

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

                  Es bleibt trotzdem der Fehler mit

                  ../authenticate_pam
                  

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

                  Diese Fehlermelldung wird bei jedem Adapter Update ausgeworfen .

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

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

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

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

                    authenticate_pam.cc

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

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

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

                      nicht meine Baustelle

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

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

                      libpamg0-dev
                      

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

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

                        @Glasfaser
                        Gibt es da apt? Dann mit

                        apt policy libpam0g-dev
                        

                        guck0rn...

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

                          @Thomas-Braun

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

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

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

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

                            Auf meinem System auch gar nicht akut:

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

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

                              Das ist aber wohl ewig nicht mehr gepflegt worden.

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

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

                                @Thomas-Braun

                                hier die Ausgabe :

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

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

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

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

                                    Mein Problemverlauf siehe oben ..... mit

                                    ../authenticate_pam
                                    

                                    So .. binn heute komplett auf V5 produktiv umgezogen .

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

                                    iobroker del terminal
                                    

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

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

                                    Thomas Braun 1 Reply Last reply Reply Quote 2
                                    • Thomas Braun
                                      Thomas Braun Most Active @Glasfaser last edited by 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...

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

                                        @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)
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          stevie77 @andre last edited by

                                          @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 Reply Last reply Reply Quote 0
                                          • Knallochse
                                            Knallochse last edited by Knallochse

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

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

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

                                            794
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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