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

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [HowTo] ioBroker unter Docker auf Synology DiskStation

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators last edited by

      OT on
      @Loki:

      für mich als normaler Anwender allerdings nicht. `
      Was erwartest du als normaler Anfänger?

      Diese Frage ist ganz ernst gemeint!

      Mal abgesehen von den exotischen Kombinationen interessiert es uns wirklich wie die Erwartungshaltung bei Einsteigern ist.

      Ob das dann so realisierbar ist wäre dann ein anderes Thema.

      Gruß Rainer

      1 Reply Last reply Reply Quote 0
      • T
        Telefisch last edited by

        Hallo Andre,

        habe das Update gemacht.

        Jetzt habe ich Probleme mit den Homekit-Adapter, der meckert in den Logs:

        host.iobroker	2017-12-21 13:25:40.606	error	instance system.adapter.yahka.0 terminated with code 0 (OK)
        
        

        Du hattest weiter vorn geschrieben dass der Avahi Dämon laufen muss.

        Das tut er nicht mehr.

        Vor dem Update hat Homekit eigentlich tadellos funtioniert.

        Und Zwave lässt sich mit folgenden Meldungen noch immer nicht installieren.

        Diesen Hinweis aus Deinem Tutorial habe ich ausgeführt:
        ` > cd /opt/iobroker

        pkill io

        iobroker host this (bei multihostsystemen: iobroker host [hostname der ds])

        node node_modules/iobroker.js-controller/controller.js >/opt/scripts/docker_iobroker_log.txt 2>&1 & `

        Aber dennoch das Ergebnis:

        ! ````
        $ ./iobroker add zwave
        npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
        sudo: Hostname iobroker kann nicht aufgelöst werdensudo: Die Audit-Nachricht kann nicht gesendet werden: Unbekannter Fehler -1
        sudo: pam_open_session: Systemfehler
        sudo: Regelwerks-Plugin konnte Sitzung nicht initialisieren
        ! /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e;
        ^
        ! Error: Command failed: sudo apt-get install libudev-dev -y
        sudo: Hostname iobroker kann nicht aufgelöst werden
        sudo: Die Audit-Nachricht kann nicht gesendet werden: Unbekannter Fehler -1
        sudo: pam_open_session: Systemfehler
        sudo: Regelwerks-Plugin konnte Sitzung nicht initialisieren
        ! at checkExecSyncError (child_process.js:473:13)
        at Object.execSync (child_process.js:513:13)
        at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
        at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7)
        at Module._compile (module.js:570:32)
        at Object.Module._extensions..js (module.js:579:10)
        at Module.load (module.js:487:32)
        at tryModuleLoad (module.js:446:12)
        at Function.Module._load (module.js:438:3)
        at Module.runMain (module.js:604:10)
        ! npm ERR! Linux 3.10.102
        npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"npm ERR!
        node v6.12.2npm ERR! npm v3.10.10
        npm ERR! code ELIFECYCLE
        ! npm ERR! iobroker.zwave@0.9.0 preinstall: node lib/preinstall.js
        npm ERR! Exit status 1
        npm ERR!
        npm ERR! Failed at the iobroker.zwave@0.9.0 preinstall script 'node lib/preinstall.js'.
        npm ERR! Make sure you have the latest version of node.js and npm installed.
        npm ERR! If you do, this is most likely a problem with the iobroker.zwave package,
        npm ERR! not with npm itself.
        npm ERR! Tell the author that this fails on your system:
        npm ERR! node lib/preinstall.js
        npm ERR! You can get information on how to open an issue for this project with:
        npm ERR! npm bugs iobroker.zwave
        npm ERR! Or if that isn't available, you can get their info via:
        npm ERR! npm owner ls iobroker.zwave
        npm ERR! There is likely additional logging output above.
        ! npm ERR! Please include the following file with any support request:npm ERR! /opt/iobroker/npm-debug.log
        ! host.iobroker install adapter zwave
        npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)</anonymous>

        
        Modbus geht wieder, hier war die Ursache sowas von dämlich…
        
        Ich habe vor einigen Tagen einen uralten Drucker wieder aufgestellt aber noch nicht in Betrieb genommen.
        
        Der hatte die gleiche IP-Adresse wie meine DS.
        
        Dass sowas dann zu so undefinierbarem Verhalten führt ist auch verständlich.
        
        Hoffe das war es wirklich :oops:
        1 Reply Last reply Reply Quote 0
        • T
          Telefisch last edited by

          Grade nochmal nen frisches Image installiert.

          Diese Meldungen spuckt der Yahka aus:

          host.iobroker	2017-12-22 09:07:44.509	error	instance system.adapter.yahka.0 terminated with code 0 (OK)
          yahka.0	2017-12-22 09:07:44.345	info	terminating
          yahka.0	2017-12-22 09:07:44.314	info	cleaned everything up...
          yahka.0	2017-12-22 09:07:44.313	error	at EventedHTTPServer.emit (events.js:188:7)
          yahka.0	2017-12-22 09:07:44.313	error	at emitOne (events.js:96:13)
          yahka.0	2017-12-22 09:07:44.313	error	at HAPServer._onListening (/opt/iobroker/node_modules/iobroker.yahka/node_modules/hap-nodejs/lib/HAPServer.js:190:8)
          yahka.0	2017-12-22 09:07:44.313	error	at HAPServer.emit (events.js:188:7)
          yahka.0	2017-12-22 09:07:44.313	error	at emitOne (events.js:96:13)
          yahka.0	2017-12-22 09:07:44.313	error	at Bridge.Accessory._onListening (/opt/iobroker/node_modules/iobroker.yahka/node_modules/hap-nodejs/lib/Accessory.js:611:20)
          yahka.0	2017-12-22 09:07:44.313	error	at Advertiser.startAdvertising (/opt/iobroker/node_modules/iobroker.yahka/node_modules/hap-nodejs/lib/Advertiser.js:43:30)
          yahka.0	2017-12-22 09:07:44.313	error	at Object.create [as createAdvertisement] (/opt/iobroker/node_modules/iobroker.yahka/node_modules/mdns/lib/advertisement.js:64:10)
          yahka.0	2017-12-22 09:07:44.313	error	at new Advertisement (/opt/iobroker/node_modules/iobroker.yahka/node_modules/mdns/lib/advertisement.js:56:10)
          yahka.0	2017-12-22 09:07:44.313	error	at Error (native)
          yahka.0	2017-12-22 09:07:44.313	error	Error: dns service error: unknown
          yahka.0	2017-12-22 09:07:44.313	error	uncaught exception: dns service error: unknown
          yahka.0	2017-12-22 09:07:44.173	info	creating bridge
          yahka.0	2017-12-22 09:07:44.172	info	adapter ready, checking config
          yahka.0	2017-12-22 09:07:44.148	info	starting. Version 0.5.5 in /opt/iobroker/node_modules/iobroker.yahka, node: v6.12.2
          host.iobroker	2017-12-22 09:07:43.143	info	instance system.adapter.yahka.0 started with pid 5601
          h
          
          

          Der Avahi Prozess fehlt.

          Leider hab ich keinen Schimmer wie ich den installieren muss. 😞

          Wenn ich es wie im github beschrieben versuche bekomme ich immer die Probleme mit der Auflösung des Hostnamens, wie beim Installieren des ZWave-Adapters:

          > sudo: Hostname iobroker kann nicht aufgelöst werden

          1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators last edited by

            Hilft das?

            http://forum.iobroker.net/viewtopic.php … hi#p105421

            Gruß Rainer

            1 Reply Last reply Reply Quote 0
            • T
              Telefisch last edited by

              @Homoran:

              Hilft das?

              http://forum.iobroker.net/viewtopic.php … hi#p105421

              Gruß Rainer `

              Leider nein.

              Nach wie vor Probleme bei der Namensauflösung.

              Update:

              hab jetzt nano installiert, mal sehen was mit der hosts machbar ist…

              Update 2:

              in der Hosts steht loacalhost und der DNS-Name der DS.

              Ich kann da zwar drin ändern aber beim nächsten Neustart des Containers wird die Datei wieder zurück geändert.

              Selbst wenn ich den Containernamen statt dem DS-Namen angebe, bekomme ich (dieses Mal andere) Fehlermeldungen, sobald ich versuche etwas (wie den Avahi-Dämon) zu installieren.

              Ich weiß nicht mehr weiter 😞

              Gruß Carsten

              1 Reply Last reply Reply Quote 0
              • T
                Telefisch last edited by

                So, nachdem ich das letzte Image wieder geladen habe, habe ich auch mal versucht dem Container den gleichen Namen wie der DS zu geben.

                Ergebnis, die Installation vom ZWave-Adapter bleibt dauerhaft bei dieser Meldung stehen:

                > $ ./iobroker add zwave

                Allen ein frohes Fest 🙂

                1 Reply Last reply Reply Quote 0
                • T
                  Telefisch last edited by

                  ich habe nochmal ein paar weitere Versuche gemacht:

                  die Hosts-Datei hatte folgende Einträge:

                  127.0.0.1 localhost

                  ::1 localhost

                  127.0.0.1 DS-Name

                  ::1 DS-Name

                  Stimmt das so?

                  Änderungen werden eh beim Neustart zurückgesetzt, kann ich also nicht beeinflussen? 😞

                  Wenn ich im Terminal "sudo nano /etc/hosts" eingebe bekomme ich folgende antworten:
                  ` > sudo: Hostname iobroker kann nicht aufgelöst werden

                  sudo: Die Audit-Nachricht kann nicht gesendet werden: Unbekannter Fehler -1

                  sudo: pam_open_session: Systemfehler

                  sudo: Regelwerks-Plugin konnte Sitzung nicht initialisieren `

                  wenn ich nur "nano /etc/hosts" eingebe wird die hosts-Datei halt im Editor geöffnet.

                  1 Reply Last reply Reply Quote 0
                  • T
                    Telefisch last edited by

                    So,

                    nachdem nichts anderes half habe ich mal komplett neu installiert.

                    Also aus Image neuen Container erstellt mit allen Einstellungen nach Anweisung (Sind ja nur wenige).

                    Dann iobroker komplett neu installieren lassen mit den basics die der broker selbst gefunden hat.

                    Danach versucht ZWave zu installieren:

                    ! ````
                    $ ./iobroker add zwave
                    npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
                    sudo: Hostname ioBroker2 kann nicht aufgelöst werdensudo: Die Audit-Nachricht kann nicht gesendet werden: Unbekannter Fehler -1
                    sudo: pam_open_session: Systemfehler
                    sudo: Regelwerks-Plugin konnte Sitzung nicht initialisieren
                    ! /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e;
                    ^
                    ! Error: Command failed: sudo apt-get install libudev-dev -y
                    sudo: Hostname ioBroker2 kann nicht aufgelöst werden
                    sudo: Die Audit-Nachricht kann nicht gesendet werden: Unbekannter Fehler -1
                    sudo: pam_open_session: Systemfehler
                    sudo: Regelwerks-Plugin konnte Sitzung nicht initialisieren
                    ! at checkExecSyncError (child_process.js:473:13)
                    at Object.execSync (child_process.js:513:13)
                    at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
                    at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7)
                    at Module._compile (module.js:570:32)
                    at Object.Module._extensions..js (module.js:579:10)
                    at Module.load (module.js:487:32)
                    at tryModuleLoad (module.js:446:12)
                    at Function.Module._load (module.js:438:3)
                    at Module.runMain (module.js:604:10)
                    ! npm ERR! Linux 3.10.102
                    npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"npm ERR! node v6.12.2
                    npm ERR! npm v3.10.10
                    npm ERR! code ELIFECYCLE
                    ! npm ERR! iobroker.zwave@0.9.0 preinstall: node lib/preinstall.js
                    npm ERR! Exit status 1
                    npm ERR!
                    npm ERR! Failed at the iobroker.zwave@0.9.0 preinstall script 'node lib/preinstall.js'.
                    npm ERR! Make sure you have the latest version of node.js and npm installed.
                    npm ERR! If you do, this is most likely a problem with the iobroker.zwave package,
                    npm ERR! not with npm itself.
                    npm ERR! Tell the author that this fails on your system:
                    npm ERR! node lib/preinstall.js
                    npm
                    ERR! You can get information on how to open an issue for this project with:npm ERR! npm bugs iobroker.zwave
                    npm ERR! Or if that isn't available, you can get their info via:
                    npm ERR! npm owner ls iobroker.zwave
                    npm ERR! There is likely additional logging output above.
                    ! npm ERR! Please include the following file with any support request:npm ERR! /opt/iobroker/npm-debug.log
                    ! host.ioBroker2 install adapter zwave
                    npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
                    sudo: Hostname ioBroker2 kann nicht aufgelöst werdensudo: Die Audit-Nachricht kann nicht gesendet werden: Unbekannter Fehler -1
                    sudo: pam_open_session: Systemfehler
                    sudo: Regelwerks-Plugin konnte Sitzung nicht initialisieren
                    ! /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e;
                    ^
                    ! Error: Command failed: sudo apt-get install libudev-dev -y
                    sudo: Hostname ioBroker2 kann nicht aufgelöst werden
                    sudo: Die Audit-Nachricht kann nicht gesendet werden: Unbekannter Fehler -1
                    sudo: pam_open_session: Systemfehler
                    sudo: Regelwerks-Plugin konnte Sitzung nicht initialisieren
                    ! at checkExecSyncError (child_process.js:473:13)
                    at Object.execSync (child_process.js:513:13)
                    at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
                    at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7)
                    at Module._compile (module.js:570:32)
                    at Object.Module._extensions..js (module.js:579:10)
                    at Module.load (module.js:487:32)
                    at tryModuleLoad (module.js:446:12)
                    at Function.Module._load (module.js:438:3)
                    at Module.runMain (module.js:604:10)
                    ! npm
                    ERR! Linux 3.10.102npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"
                    npm ERR! node v6.12.2
                    npm ERR! npm v3.10.10
                    npm ERR! code ELIFECYCLE
                    ! npm ERR! iobroker.zwave@0.9.0 preinstall: node lib/preinstall.jsnpm ERR! Exit status 1
                    npm ERR!
                    npm ERR! Failed at the iobroker.zwave@0.9.0 preinstall script 'node lib/preinstall.js'.
                    npm ERR! Make sure you have the latest version of node.js and npm installed.
                    npm
                    ERR! If you do, this is most likely a problem with the iobroker.zwave package,npm ERR! not with npm itself.
                    npm ERR! Tell the author that this fails on your system:
                    npm ERR! node lib/preinstall.js
                    npm ERR! You can get information on how to open an issue for this project with:
                    npm ERR! npm bugs iobroker.zwave
                    npm ERR! Or if that isn't available, you can get their info via:
                    npm ERR! npm owner ls iobroker.zwave
                    npm ERR! There is likely additional logging output above.
                    ! npm ERR! Please include the following file with any support request:npm ERR! /opt/iobroker/npm-debug.log
                    ! host.ioBroker2 install adapter zwave
                    npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)</anonymous></anonymous>

                    
                    Also irgendwie ist da am Image was marode :(
                    
                    Damit bin ich jetzt vollends aufgeschmissen… *heul*
                    1 Reply Last reply Reply Quote 0
                    • andre
                      andre Developer last edited by

                      @Telefisch:

                      So,

                      nachdem nichts anderes half habe ich mal komplett neu installiert.

                      Also aus Image neuen Container erstellt mit allen Einstellungen nach Anweisung (Sind ja nur wenige).

                      Dann iobroker komplett neu installieren lassen mit den basics die der broker selbst gefunden hat.

                      Danach versucht ZWave zu installieren:

                      ! ````
                      $ ./iobroker add zwave
                      npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
                      sudo: Hostname ioBroker2 kann nicht aufgelöst werdensudo: Die Audit-Nachricht kann nicht gesendet werden: Unbekannter Fehler -1
                      sudo: pam_open_session: Systemfehler
                      sudo: Regelwerks-Plugin konnte Sitzung nicht initialisieren
                      ! /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e;
                      ^
                      ! Error: Command failed: sudo apt-get install libudev-dev -y
                      sudo: Hostname ioBroker2 kann nicht aufgelöst werden
                      sudo: Die Audit-Nachricht kann nicht gesendet werden: Unbekannter Fehler -1
                      sudo: pam_open_session: Systemfehler
                      sudo: Regelwerks-Plugin konnte Sitzung nicht initialisieren
                      ! at checkExecSyncError (child_process.js:473:13)
                      at Object.execSync (child_process.js:513:13)
                      at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
                      at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7)
                      at Module._compile (module.js:570:32)
                      at Object.Module._extensions..js (module.js:579:10)
                      at Module.load (module.js:487:32)
                      at tryModuleLoad (module.js:446:12)
                      at Function.Module._load (module.js:438:3)
                      at Module.runMain (module.js:604:10)
                      ! npm ERR! Linux 3.10.102
                      npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"npm ERR! node v6.12.2
                      npm ERR! npm v3.10.10
                      npm ERR! code ELIFECYCLE
                      ! npm ERR! iobroker.zwave@0.9.0 preinstall: node lib/preinstall.js
                      npm ERR! Exit status 1
                      npm ERR!
                      npm ERR! Failed at the iobroker.zwave@0.9.0 preinstall script 'node lib/preinstall.js'.
                      npm ERR! Make sure you have the latest version of node.js and npm installed.
                      npm ERR! If you do, this is most likely a problem with the iobroker.zwave package,
                      npm ERR! not with npm itself.
                      npm ERR! Tell the author that this fails on your system:
                      npm ERR! node lib/preinstall.js
                      npm
                      ERR! You can get information on how to open an issue for this project with:npm ERR! npm bugs iobroker.zwave
                      npm ERR! Or if that isn't available, you can get their info via:
                      npm ERR! npm owner ls iobroker.zwave
                      npm ERR! There is likely additional logging output above.
                      ! npm ERR! Please include the following file with any support request:npm ERR! /opt/iobroker/npm-debug.log
                      ! host.ioBroker2 install adapter zwave
                      npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
                      sudo: Hostname ioBroker2 kann nicht aufgelöst werdensudo: Die Audit-Nachricht kann nicht gesendet werden: Unbekannter Fehler -1
                      sudo: pam_open_session: Systemfehler
                      sudo: Regelwerks-Plugin konnte Sitzung nicht initialisieren
                      ! /opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:15 if (!suppressException) throw e;
                      ^
                      ! Error: Command failed: sudo apt-get install libudev-dev -y
                      sudo: Hostname ioBroker2 kann nicht aufgelöst werden
                      sudo: Die Audit-Nachricht kann nicht gesendet werden: Unbekannter Fehler -1
                      sudo: pam_open_session: Systemfehler
                      sudo: Regelwerks-Plugin konnte Sitzung nicht initialisieren
                      ! at checkExecSyncError (child_process.js:473:13)
                      at Object.execSync (child_process.js:513:13)
                      at doScript (/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:12:15)
                      at Object. <anonymous>(/opt/iobroker/node_modules/.staging/iobroker.zwave-936e120a/lib/preinstall.js:25:7)
                      at Module._compile (module.js:570:32)
                      at Object.Module._extensions..js (module.js:579:10)
                      at Module.load (module.js:487:32)
                      at tryModuleLoad (module.js:446:12)
                      at Function.Module._load (module.js:438:3)
                      at Module.runMain (module.js:604:10)
                      ! npm
                      ERR! Linux 3.10.102npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"
                      npm ERR! node v6.12.2
                      npm ERR! npm v3.10.10
                      npm ERR! code ELIFECYCLE
                      ! npm ERR! iobroker.zwave@0.9.0 preinstall: node lib/preinstall.jsnpm ERR! Exit status 1
                      npm ERR!
                      npm ERR! Failed at the iobroker.zwave@0.9.0 preinstall script 'node lib/preinstall.js'.
                      npm ERR! Make sure you have the latest version of node.js and npm installed.
                      npm
                      ERR! If you do, this is most likely a problem with the iobroker.zwave package,npm ERR! not with npm itself.
                      npm ERR! Tell the author that this fails on your system:
                      npm ERR! node lib/preinstall.js
                      npm ERR! You can get information on how to open an issue for this project with:
                      npm ERR! npm bugs iobroker.zwave
                      npm ERR! Or if that isn't available, you can get their info via:
                      npm ERR! npm owner ls iobroker.zwave
                      npm ERR! There is likely additional logging output above.
                      ! npm ERR! Please include the following file with any support request:npm ERR! /opt/iobroker/npm-debug.log
                      ! host.ioBroker2 install adapter zwave
                      npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)</anonymous></anonymous>

                      
                      Also irgendwie ist da am Image was marode :(
                      
                      Damit bin ich jetzt vollends aufgeschmissen… *heul* `  
                      

                      Hallo Telefisch,

                      sorry dass ich mich jetzt erst wieder zu Wort melde… aber Weihnachten halt... 😉

                      Ich kann das ganze Verhalten irgendwie nicht nachvollziehen. Irgendwas scheint mit deiner Namensauflösung im Container nicht zu passen... bevor ich jetzt aber die Logs die du bereit gestellt hast durcharbeite eine kurze Vorabfrage: Welche Versionen hast du im Einsatz? Über die Systemsteuerung findest du ja die DS Version. Bei mir ist das:

                      DSM 6.1.4-15217 Update 5
                      

                      Über das Paket-Zentrum gibt es dann ja auch noch eine Version des Docker Pakets. Bei mir ist das:

                      17.05.0-0367
                      

                      Wie sieht das bei dir aus? Stehen ggf. Updates bereit?

                      MfG,

                      André

                      1 Reply Last reply Reply Quote 0
                      • T
                        Telefisch last edited by

                        Hallo André, kein Problem…

                        Weihnachten gehört der Familie.

                        Ich habe alles auf aktuellem Stand.

                        Gleiche Versionen wie bei dir.

                        Gruß Carsten

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

                          @Telefisch:

                          Hallo André, kein Problem…

                          Weihnachten gehört der Familie.

                          Ich habe alles auf aktuellem Stand.

                          Gleiche Versionen wie bei dir.

                          Gruß Carsten `

                          OK, ich habe zwischenzeitlich das Verhalten nachstellen können. Scheint mir so als komme der Container unter bestimmten Voraussetzungen mit dem Installationsscript des zwave-Adapters nicht klar. Schaue mir das gleich mal genauer an wenn die Kinder im Bett sind. 😉

                          MfG,

                          André

                          1 Reply Last reply Reply Quote 0
                          • T
                            Telefisch last edited by

                            …wie geschrieben funktioniert der YAHKA Adapter auch nicht mehr.

                            Vermutlich weil Avahi fehlt.

                            Da habe ich ähnliche Fehlermeldungen wenn ich das installieren möchte.

                            Der YAHKA hat vor dem Update des Images noch funktioniert.

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

                              So, was ich jetzt heraus finden konnte ist, dass ich aktuell keine echte Lösung zum Installationsproblem mit dem zwave adapter anbieten kann. 😞

                              Wie es ausschaut gibt es ein generelles Problem mit der Ausführung von Befehlen per sudo in einem Container der das selbe Netzwerk wie das Hostsystem benutzt. Leider wird im Installationsscript des zwave-Adapters gerade dieser Aufruf verwendet sodass die Installation dann in Fehler läuft.

                              Ein denkbarer Workaround könnte sein, dass man den Docker Container ohne das Häkchen "Dasselbe Netzwerk wie Docker Host verwenden" erstellt und alle Ports, die ioBroker und dessen Adapter benutzen manuell mappt. So habe ich auch meinen Testcontainer laufen und da geht die Installation ja fehlerfrei durch… Sorry, mehr Optionen konnte ich leider nicht finden...

                              @Telefisch:

                              …wie geschrieben funktioniert der YAHKA Adapter auch nicht mehr.

                              Vermutlich weil Avahi fehlt.

                              Da habe ich ähnliche Fehlermeldungen wenn ich das installieren möchte.

                              Der YAHKA hat vor dem Update des Images noch funktioniert. `
                              Was Avahi angeht, das kann ich leider nicht nachstellen. Hatte hier irgendwo einen Post, dass sich der Avahi-Dienst im Docker mit dem Avahi-Dienst der DS behakt. Schau mal im DSM unter "Systemsteuerung - Dateidienste - Erweitert" ob der Bonjour-Dienst aktiviert ist. Falls ja, einfach mal den Haken entfernen und den Container neu starten. Wenn dann der Avahi weiterhin nicht startet könntest du mal über die Kommandozeile "/etc/init.d/avahi-daemon start" versuchen und schauen was es dazu als Fehlermeldung gibt…

                              Wichtigste Erkenntnis von heute Abend: Beim Arbeiten über die Kommandozeile im Container immer ohne "sudo". Zumindest wenn der Container das selbe Netzwerk wie der Host verwendet...

                              MfG,

                              André

                              1 Reply Last reply Reply Quote 0
                              • T
                                Telefisch last edited by

                                Hmm…

                                Bonjour abgeschaltet und Container neu gestartet, ohne Erfolg.

                                Versucht Avahi manuell zu starten:
                                ` > root@iobroker:/# /etc/init.d/avahi-daemon start

                                [FAIL] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon failed! `

                                Gibt es irgendwo eine Zusammenfassung welche Ports weitergeleitet werden müssen?

                                …wird ja nicht nur 8081 und 8082 sein...?

                                Und danke für Deine Hilfe!

                                Gruß Carsten

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

                                  @Telefisch:

                                  Hmm…

                                  Bonjour abgeschaltet und Container neu gestartet, ohne Erfolg.

                                  Versucht Avahi manuell zu starten:
                                  ` > root@iobroker:/# /etc/init.d/avahi-daemon start

                                  [FAIL] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon failed! `

                                  Gibt es irgendwo eine Zusammenfassung welche Ports weitergeleitet werden müssen?

                                  …wird ja nicht nur 8081 und 8082 sein...?

                                  Und danke für Deine Hilfe!

                                  Gruß Carsten `

                                  Hallo, läuft bei dir im Container ein Prozess mit dem Ausführungsbefehl "dbus-daemon –system"? Falls nicht, versuche mal den Befehl auszuführen. Könnte dann ggf. so aussehen:

                                  root@iobroker:/opt/iobroker# dbus-daemon --system
                                  Failed to start message bus: The pid file "/var/run/dbus/pid" exists, if the message bus is not running, remove this file
                                  root@iobroker:/opt/iobroker# rm /var/run/dbus/pid
                                  root@iobroker:/opt/iobroker# dbus-daemon --system
                                  root@iobroker:/opt/iobroker# /etc/init.d/avahi-daemon start
                                  [ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
                                  root@iobroker:/opt/iobroker#
                                  
                                  

                                  Der dbus ist Vorraussetzung für den avahi….

                                  Was die Zusammenfassung der ioBroker Ports angeht, da kenne ich zumindest keine Quelle. Der ein oder andere Adapter bringt ja auch noch einen Port mit... schwierig da den Überblick zu behalten... Überlege gerade ob man sowas mal anfangen soll, dann könnte man ggf. den Docker-Container generell (auch für nicht so versierte Benutzer) mit Portforwarding betreiben. Allerdings müsste man mal schauen was das ggf noch für andere Problemchen mitbringen könnte. 😉

                                  MfG,

                                  André

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Telefisch last edited by

                                    der dbus-daemon war nicht gestartet.

                                    Ich habe das manuell gemacht und konnte jetzt auch den avahi-daemon starten.

                                    Jetzt ist YAHKA wieder grün.

                                    Ich habe aber zwischenzeitlich auch einen neuen Container erstellt ohne gleiches Netzwerk.

                                    Nachdem ich 9000, 9001, 8081 und 8082 freigegeben hatte konnte ich auch direkt den Yahka installieren.

                                    ZWave ist auch durchgelaufen, da kann ich bisher nur noch keinen USB-Stick auswählen.

                                    Ich denke es sind damit einige Probleme tatsächlich gelöst.

                                    Jetzt versuche ich erstmal den Container wieder auf die alte Installation zu mappen und dann sehen wir weiter.

                                    Kannst Du mir außer den genannten Ports noch welche sagen, die unbedingt nötig sind?

                                    Die speziellen Adapter-Ports muss ich dann ggf. anders herausfinden.

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

                                      Das klingt ja schon mal nicht so verkehrt.

                                      Was den USB Stick angeht… Soweit ich weiß, hat der Container nur Zugriff auf die USB-Devices wenn er mit erweiterten Rechten ausgeführt wird (Häkchen "Container mit hoher Priorität ausführen"). ist das Häkchen bei dir gesetzt?

                                      Die genannten Ports hören sich gut an. Wüsste jetzt aus dem Stand auch nicht mehr...

                                      MfG,

                                      André

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        Telefisch last edited by

                                        Das mit dem USB-Stick funktioniert jetzt auch, im Moment kopiere ich grade ein Backup zurück.

                                        Bisher hat der hm-rpc noch nen roten Punkt. Da fehlt wohl der richtige Port, denke ich.

                                        ! ` > hm-rpc.0 2017-12-27 11:20:22.560 info Disconnected

                                        hm-rpc.0 2017-12-27 11:20:22.513 info Connected

                                        hm-rpc.0 2017-12-27 11:20:22.433 info xmlrpc -> 192.168.178.183:2010 init ["http://192.168.178.2:2010",""]

                                        hm-rpc.0 2017-12-27 11:20:22.433 error Error: listen EADDRNOTAVAIL 192.168.178.2:2010 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at Server._listen2 (net.js:1249:19)

                                        hm-rpc.0 2017-12-27 11:20:22.433 error uncaught exception: listen EADDRNOTAVAIL 192.168.178.2:2010

                                        hm-rpc.0 2017-12-27 11:20:22.433 info xmlrpc client is trying to connect to 192.168.178.183:2010 with ["http://192.168.178.2:2010","hm-rpc.0"]

                                        hm-rpc.0 2017-12-27 11:20:22.432 info xmlrpc server is trying to listen on 192.168.178.2:2010

                                        hm-rpc.0 2017-12-27 11:20:22.327 info starting. Version 1.4.14 in /opt/iobroker/node_modules/iobroker.hm-rpc, node: v6.12.2 `

                                        2010 scheint aber nicht auszureichen, den hab ich bereits weitergereicht 😞

                                        Update: gelöst, Adapteradresse darf nicht auf "auf allen IPs hören" stehen sondern muss auf die Schnittstelle gestellt werden

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          Telefisch last edited by

                                          …doppelpost gelöscht

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            Telefisch last edited by

                                            Ach verdammt,

                                            irgendwie läuft das noch immer nicht richtig.

                                            Der Homekit-Adapter läuft zwar aber vom iOS aus finde ich keine HomeKit Bridge.

                                            Dann habe ich ein Backup zurückgespielt um nicht alles neu installieren zu müssen aber jetzt kann ich den Zwave-Adapter wieder nicht installieren:

                                            ! ` > $ ./iobroker add zwave

                                            npm install iobroker.zwave –unsafe-perm --production --prefix "/opt/iobroker" (System call)

                                            module.js:471 throw err;

                                            ^

                                            Error: Cannot find module '../'

                                            at Function.Module._resolveFilename (module.js:469:15)

                                            at Function.Module._load (module.js:417:25)

                                            at Module.require (module.js:497:17)

                                            at require (internal/module.js:20:19)

                                            at Object. <anonymous>(/opt/iobroker/node_modules/.bin/which:2:13)

                                            at Module._compile (module.js:570:32)

                                            at Object.Module._extensions..js (module.js:579:10)

                                            at Module.load (module.js:487:32)

                                            at tryModuleLoad (module.js:446:12)

                                            at Function.Module._load (module.js:438:3)

                                            module.js:471

                                            throw err;

                                            ^

                                            Error: Cannot find module '../'

                                            at Function.Module._resolveFilename (module.js:469:15)

                                            at Function.Module._load (module.js:417:25)

                                            at Module.require (module.js:497:17)

                                            at require (internal/module.js:20:19)

                                            at Object. <anonymous>(/opt/iobroker/node_modules/.bin/which:2:13)

                                            at Module._compile (module.js:570:32)

                                            at Object.Module._extensions..js (module.js:579:10)

                                            at Module.load (module.js:487:32)

                                            at tryModuleLoad (module.js:446:12)

                                            at Function.Module._load (module.js:438:3)

                                            gyp: Call to 'which nodejs || which node' returned exit status 1 while in binding.gyp. while trying to load binding.gyp

                                            gyp

                                            ERR! configure error

                                            gyp ERR! stack Error: gyp failed with exit code: 1gyp

                                            ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)gyp ERR! stack at emitTwo (events.js:106:13)

                                            gyp ERR! stack at ChildProcess.emit (events.js:191:7)

                                            gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)

                                            gyp ERR! System Linux 3.10.102gyp 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/openzwave-shared

                                            gyp ERR! node -v v6.12.2

                                            gyp ERR! node-gyp -v v3.4.0

                                            gyp ERR! not ok

                                            npm

                                            ERR! Linux 3.10.102npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"

                                            npm ERR! node v6.12.2

                                            npm ERR! npm v3.10.10

                                            npm ERR! code ELIFECYCLE

                                            npm ERR! openzwave-shared@1.4.0 install: node-gyp rebuildnpm ERR! Exit status 1

                                            npm ERR!

                                            npm ERR! Failed at the openzwave-shared@1.4.0 install script 'node-gyp rebuild'.

                                            npm ERR! Make sure you have the latest version of node.js and npm installed.

                                            npm ERR! If you do, this is most likely a problem with the openzwave-shared package,npm ERR! not with npm itself.

                                            npm ERR! Tell the author that this fails on your system:

                                            npm ERR! node-gyp rebuild

                                            npm ERR! You can get information on how to open an issue for this project with:

                                            npm ERR! npm bugs openzwave-shared

                                            npm ERR! Or if that isn't available, you can get their info via:

                                            npm ERR! npm owner ls openzwave-shared

                                            npm ERR! There is likely additional logging output above.

                                            npm

                                            ERR! Please include the following file with any support request:npm ERR! /opt/iobroker/npm-debug.log

                                            host.iobroker install adapter zwave

                                            npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)</anonymous></anonymous> `

                                            So langsam verliere ich ernsthaft den Spass am ioBroker 😞

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

                                            Support us

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

                                            781
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            buanet diskstation docker iobroker synology
                                            248
                                            2854
                                            1199377
                                            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