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 last edited by

      @sebastian.eberle:

      Ah noch ein Input: Wäre cool wenn du deine Images im Dockerhub mit Versionen Tagst. So bekommt man immer nur „latest“ was du ja überschreibst oder?

      Gesendet von iPhone mit Tapatalk ` Hallo,

      als ich angefangen habe war iobroker unter Docker ja eher eine Nische und eher für mich selbst entwickelt. 🙂 Mittlerweile nutzen das ja offensichtlich doch ein paar Leute.

      Habe jetzt im Hub auch eine Version 1.0.0 getaggt. Sobald ich Zeit habe werde ich die aktuelle latest version zum 1.1.0 machen und dann unverändert bestehen lassen. Dann kann man zur Not immer noch das alte Image laden.

      Was das testen angeht, das mache ich in der Tat mit einem zweiten neuen Container ohne gemountets Verzeichnis und mit gemappten Ports (Beispiel 8081 > 9091).So kommen sich die Container nich in die Quere.

      Wenn das klappt, dann aktualisiere ich meist meinen produktiven Container.

      MfG,

      André

      Gesendet von meinem Smartphone mit Tapatalk

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

        @RalfR72:

        Hätte da mal eine Frage!

        Seit längerem zeigt der ioBroker an, dass eine neuere Version bei Hosts verfügbar ist.

        Habe diese auch mal aktualisiert, über Terminal. Doch danach lief der ioBroker nicht mehr.

        Musste ein Backup wiederherstellen.

        Muss ich dieses Hosts Update durchführen, oder reicht es wenn ich regelmässig dein buanet Image neu in den Container lade? ` Hallo Ralf,

        bei einem Update des Containers aktualisierst du lediglich die Umgebung in der der ioBroker läuft. Alles was in deinem (hoffentlich gemounteten) iobroker Verzeichnis liegt bleibt davon unberührt. Und dabei ist eben auch der js-controller.

        Bedeutet, wenn du den js-controller aktualisieren willst musst du das über die Kommandozeile selbst tun.

        Falls du Probleme dabei hast, kannst du im Forum suchen. Es gibt massenweise Threads die sich mit dem update des js-controllers und dabei auftretenden Problemen beschäftigen. Dabei ist es in der Regel egal ob jemand Probleme auf dem Raspberry oder im Docker Container hat. Die Kommandozeile und npm sind gleich.

        Bei mir hat es mit "iobroker Upgrade self" auch nicht geklappt. Wenn ich anschließend aber den install Befehl "npm install iobroker.js-con…." (habe ich gerade nicht vollständig parat) nochmal manuell ausgeführt habe hat es in der Regel geklappt...

        MfG,

        André

        Gesendet von meinem Smartphone mit Tapatalk

        1 Reply Last reply Reply Quote 0
        • R
          RalfR72 last edited by

          Meinst du mit diesem Befehl?

          iobroker stop

          npm install iobroker.js-controller –production

          iobroker start

          sollte ich vorher auch upgradeself probieren, oder direkt install iobroker?

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

            @RalfR72:

            Meinst du mit diesem Befehl?

            iobroker stop

            npm install iobroker.js-controller –production

            iobroker start

            sollte ich vorher auch upgradeself probieren, oder direkt install iobroker? ` Ja, so war das.

            Ich habe das immer als Zweitweg genommen. Sollte aber natürlich auch direkt funktionieren.

            MfG,

            André

            Gesendet von meinem Smartphone mit Tapatalk

            1 Reply Last reply Reply Quote 0
            • R
              RalfR72 last edited by

              ufffff hat geklappt, ioBroker läuft noch/wieder 😉

              Hosts ist aktuell!

              Werden bei diesem Update auch neue Adapter mit angezeigt?

              Habe beim Start noch 4 Warnungen, was besagen diese Warnungen? siehe Screenshot?
              3298_bildschirmfoto_2017-12-09_um_17.50.16.png

              1 Reply Last reply Reply Quote 0
              • Dutchman
                Dutchman Developer Most Active Administrators last edited by

                @RalfR72:

                Werden bei diesem Update auch neue Adapter mit angezeigt? `

                Die Auswahl der Adapter hat nichts mit der Controller Version zu tun du siehst immer alle verfügbaren.

                Es kann aber sein dass ein Adapter nicht mehr auf einer älteren Version des Controllers funktioniert

                –-----------------------

                Send from mobile device

                1 Reply Last reply Reply Quote 0
                • S
                  sebastian.eberle last edited by

                  Hi Andre, danke fürs taggen. Was denkst du bis wann du den yahka adapter fix ins image einbauen kannst?

                  Gesendet von iPhone mit Tapatalk

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

                    @sebastian.eberle:

                    Hi Andre, danke fürs taggen. Was denkst du bis wann du den yahka adapter fix ins image einbauen kannst? `

                    Hallo,

                    der Fix ist drin. Funktion kann ich aber nicht testen weil ich kein Homekit verwende. Aber Installation des Adapters funktioniert und er wird auch "grün".

                    Weiterhin habe ich eine neue Version veröffentlicht (siehe Github). In diesem Zuge habe ich auch das Tutorial (https://buanet.de/2017/09/iobroker-unte … skstation/) angepasst. Haben sich ein paar Sachen geändert.

                    Ich hoffe dass damit jetzt im Übrigen auch endlich die Restart Probleme endgültig behoben sind…

                    MfG,

                    André

                    1 Reply Last reply Reply Quote 0
                    • S
                      sebastian.eberle last edited by

                      Hi,

                      erstmal danke für deine Arbeit. Ich bekomme leider noch denselben Fehler beim Homekit Adapter.

                      Beim zWave bekomme ich beim Start den Fehler, dass der die open_ZWave Lib nicht findet:

                      Error: libopenzwave.so.1.4: cannot open shared object file: No such file or directory

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

                        @sebastian.eberle:

                        Hi,

                        erstmal danke für deine Arbeit. Ich bekomme leider noch denselben Fehler beim Homekit Adapter.

                        Beim zWave bekomme ich beim Start den Fehler, dass der die open_ZWave Lib nicht findet:

                        Error: libopenzwave.so.1.4: cannot open shared object file: No such file or directory `

                        Hallo Sebastian,

                        das kann ich so erstmal nicht nachvollziehen. Der HomeKit Adapter wird bei mir definitiv grün. Zur Funktion kann ich allerdings nichts sagen, da ich ihn nicht produktiv verwende.

                        Kannst du mal schauen ob in deinem Container unter Prozesse der Avahi-daemon läuft? Der ist Voraussetzung für den Adapter.

                        Was ZWave angeht, da kann ich lediglich schauen ob die Installation fehlerfrei gelingt (was sie in meinem Test tat). Grün bekomme ich den Adapter nicht, weil mir dazu schlicht die Hardware fehlt.

                        Wenn aber nur eine lib fehlt, dann sollte das eher ein kleines Problem sein und ggf. auch was wo Google unter den ersten 10 Treffern was aus spuckt.

                        MfG,

                        André

                        [EDIT] Gleich der erste Treffer… Behebt ein "sudo ldconfig" ggf. das Problem? https://github.com/OpenZWave/node-openz … /issues/98

                        Gesendet von iPad mit Tapatalk Pro

                        1 Reply Last reply Reply Quote 0
                        • S
                          Superdad last edited by

                          Hallo,

                          habe ebend ein Update meines Synology-Betriebssystems geacht.

                          Danach startete iOBroker im Docker nicht mehr.

                          Habe dann cd opt/iobroker und iobroker start eingegeben.

                          Danach läuft er eine Dauerschleife und versucht den js-controller zu starten

                          Als Fehlermeldung kommt:

                          Starting iobroker controller daemon…

                          stdout

                          13:54:40

                          iobroker controller daemon failed to start: 2

                          stdout

                          13:54:40

                          Error: 2

                          Kennt jemand den Fehler und was muss ich tun um iobroker wieder zum laufen zu bekommen?

                          Danke!

                          1 Reply Last reply Reply Quote 0
                          • S
                            Superdad last edited by

                            Habe jetzt neu installiert.

                            Jetzt läuft es wieder bis zum nächsten Mal.

                            1 Reply Last reply Reply Quote 0
                            • D
                              dtp last edited by

                              Hab gestern meine betagte DS213+ gegen eine DS718+ ausgewechselt. Die Migration klappte sehr gut und dann dachte ich mir so gegen 22:00 Uhr; teste doch auch mal den ioBroker im Docker. Gesagt, getan. Eine Stunde später war soweit alles eingerichtet inkl. Backup-Restore, und nun läuft bei mir der ioBroker auf der DS718+. Vielen Dank für die tolle Anleitung.

                              Gruß,

                              Thorsten

                              PS.: Muss mir aber noch etwas mehr RAM in die DS718+ einbauen. 2 GB sind da schon etwas knapp.

                              1 Reply Last reply Reply Quote 0
                              • dslraser
                                dslraser Forum Testing Most Active last edited by

                                @dtp:

                                PS.: Muss mir aber noch etwas mehr RAM in die DS718+ einbauen. 2 GB sind da schon etwas knapp. `
                                läuft und läuft… 😄
                                3822_syno.jpg

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

                                  nochmal eine Frage zu zwave…

                                  muss das eine Stick mit z-way lizenz sein oder tuts dieser hier:

                                  https://www.amazon.de/Z-Wave-Me-Smart-S ... s=zwave.me

                                  gruss Carsten

                                  1 Reply Last reply Reply Quote 0
                                  • Dutchman
                                    Dutchman Developer Most Active Administrators last edited by

                                    @Telefisch:

                                    nochmal eine Frage zu zwave…

                                    muss das eine Stick mit z-way lizenz sein oder tuts dieser hier:

                                    https://www.amazon.de/Z-Wave-Me-Smart-S ... s=zwave.me

                                    gruss Carsten `

                                    Der tut es, ich selber benutze de Aeon Stick

                                    https://www.amazon.com/Aeotec-Z-Stick-Z … B00X0AWA6E


                                    Send from mobile device

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

                                      Besten Dank,

                                      soeben bestellt…

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

                                        Noch eine Frage zum, Image.

                                        Sehe ich es richtig, dass das Image automatisch aktualisiert wird?

                                        Falls ja, kann es sein, dass sich beim Modbus-Adapter irgendwas verbogen hat?

                                        Ich bekomme seit ein paar Tagen keine Verbindung mehr zum Modbus-Server.

                                        Update…

                                        Modbus geht wieder, Neustart der SPS hat's gebracht.

                                        ...wird denn das Image automatisch upgedatet?

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

                                          …da habe ich mich wohl zu früh gefreut.

                                          Nochmal an die Docker-Spezialisten.

                                          Wie kann ich dem Problem auf die Spur kommen, dass die IP-Adresse meiner SPS aus dem Docker heraus nicht erreichbar/pingbar ist?

                                          Nachdem es kurzzeitig lief steht jetzt wieder alles was mit Modbus zu tun hat.

                                          Dieses Mal hat der Neustart nichts gebracht.

                                          ...

                                          Dann hatte ich noch ein Problem bei der Installation von Zwave, vielleicht hängt das ja zusammen:

                                          ! ````
                                          $ ./iobroker add zwave
                                          npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
                                          /bin/sh: 1: sudo: not found
                                          /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
                                          /bin/sh: 1: sudo: not found
                                          ! at checkExecSyncError (child_process.js:481:13)
                                          at Object.execSync (child_process.js:521: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/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"
                                          npm ERR! node v6.11.0
                                          npm ERR! npm
                                          v3.10.10npm 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.zwavenpm 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-SVR install adapter zwave
                                          npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
                                          /bin/sh: 1: sudo: not found
                                          /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
                                          /bin/sh: 1: sudo: not found
                                          ! at checkExecSyncError (child_process.js:481:13)
                                          at Object.execSync (child_process.js:521: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/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"
                                          npm ERR! node v6.11.0
                                          npm ERR! npm
                                          v3.10.10npm 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-SVR install adapter zwave
                                          npm install iobroker.zwave --unsafe-perm --production --prefix "/opt/iobroker" (System call)
                                          /bin/sh: 1: sudo: not found
                                          /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
                                          /bin/sh: 1: sudo: not found
                                          ! at checkExecSyncError (child_process.js:481:13)
                                          at Object.execSync (child_process.js:521: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/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"
                                          npm ERR! node v6.11.0
                                          npm ERR! npm
                                          v3.10.10npm ERR!
                                          code ELIFECYCLE
                                          ! npm
                                          ERR! iobroker.zwave@0.9.0 preinstall: node lib/preinstall.jsnpm
                                          ERR! Exit status 1npm 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-SVR install adapter zwave
                                          ERROR: host.ioBroker-SVR Cannot install zwave
                                          ERROR: process exited with code 13</anonymous></anonymous></anonymous>

                                          …bin echt ratlos
                                          1 Reply Last reply Reply Quote 0
                                          • andre
                                            andre Developer last edited by

                                            @Telefisch:

                                            …da habe ich mich wohl zu früh gefreut.

                                            Nochmal an die Docker-Spezialisten.

                                            Wie kann ich dem Problem auf die Spur kommen, dass die IP-Adresse meiner SPS aus dem Docker heraus nicht erreichbar/pingbar ist?

                                            Nachdem es kurzzeitig lief steht jetzt wieder alles was mit Modbus zu tun hat.

                                            Dieses Mal hat der Neustart nichts gebracht.

                                            ...

                                            Dann hatte ich noch ein Problem bei der Installation von Zwave, vielleicht hängt das ja zusammen:

                                            $ ./iobroker add zwave
                                            npm install iobroker.zwave --unsafe-perm  --production --prefix "/opt/iobroker" (System call)
                                            /bin/sh: 1: sudo: not found
                                            /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
                                            /bin/sh: 1: sudo: not found
                                            
                                                at checkExecSyncError (child_process.js:481:13)
                                                at Object.execSync (child_process.js:521: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/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"
                                            npm ERR! node v6.11.0
                                            npm ERR! npm 
                                             v3.10.10npm 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.zwavenpm 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-SVR install adapter zwave
                                            npm install iobroker.zwave --unsafe-perm  --production --prefix "/opt/iobroker" (System call)
                                            /bin/sh: 1: sudo: not found
                                            /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
                                            /bin/sh: 1: sudo: not found
                                            
                                                at checkExecSyncError (child_process.js:481:13)
                                                at Object.execSync (child_process.js:521: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/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"
                                            npm ERR! node v6.11.0
                                            npm ERR! npm 
                                             v3.10.10npm 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-SVR install adapter zwave
                                            npm install iobroker.zwave --unsafe-perm  --production --prefix "/opt/iobroker" (System call)
                                            /bin/sh: 1: sudo: not found
                                            /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
                                            /bin/sh: 1: sudo: not found
                                            
                                                at checkExecSyncError (child_process.js:481:13)
                                                at Object.execSync (child_process.js:521: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/nodejs" "/usr/bin/npm" "install" "iobroker.zwave" "--unsafe-perm" "--production" "--prefix" "/opt/iobroker"
                                            npm ERR! node v6.11.0
                                            npm ERR! npm 
                                             v3.10.10npm ERR!
                                             code ELIFECYCLE
                                            
                                            npm
                                             ERR! iobroker.zwave@0.9.0 preinstall: `node lib/preinstall.js`npm 
                                            ERR! Exit status 1npm 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-SVR install adapter zwave
                                            ERROR: host.ioBroker-SVR Cannot install zwave
                                            ERROR: process exited with code 13</anonymous></anonymous></anonymous> 
                                            

                                            …bin echt ratlos `

                                            Hallo Telefisch,

                                            ich werde es mal versuchen.

                                            Warum du aus deinem Container heraus nicht pingen kannst, kann ich dir leider nicht beantworten. Habe es gerade bei mir probiert, das läuft alles einwandfrei. Ich kann alle beliebigen Devices in meinem Netz aus dem Container heraus anpingen. Und auch ein Ping ins Internet (8.8.8.8) funktioniert.

                                            Auch habe ich den Modbus-Adapter in Verbindung mit meinem E3DC Hauskraftwerk seit nunmehr einem Jahr erfolgreich laufen. Da mein Modbus ab und an die Verbindung verloren hat, habe ich einen automatischen Restart des Modbus Adapters alle 15 Minuten konfiguriert. Seid dem habe ich (auch in der History) durchgängige Daten.

                                            Was dein Problem mit zwave angeht, dazu kann ich mehr sagen. So wie es das Log schon sagt, fehlt im Container das Paket "sudo":

                                            Error: Command failed: sudo apt-get install libudev-dev -y
                                            /bin/sh: 1: sudo: not found
                                            

                                            Wann hast du denn das Image geladen? Am 10.12. habe ich mit der Version 1.1.0 den zwave support in das Image integriert. Eventuell ist dein Image älter?

                                            Der Container aktualisiert sich im Übrigen nicht automatisch und auch das Image hat immer nur den Stand, den du aktiv in der Docker Oberfläche herunter geladen hast. Wie du deinen Container samt Image aktualisieren kannst, steht in meinem Tutorial (verlinkt im ersten Post).

                                            Falls du das Image nicht aktualisieren willst, kannst du in der Kommandozeile auch

                                            apt-get install sudo
                                            

                                            machen und damit das fehlende Paket nachinstallieren. Allerdings habe ich in der letzten Version auch noch andere Änderungen eingebracht.

                                            Anschließend sollte es möglich sein zwave zu installieren (vorrausgesetzt alle anderen Anforderungen sind erfüllt, siehe dazu die Informationen zu zwave auf github).

                                            Hoffe das hilft dir erstmal weiter.

                                            MfG,

                                            André

                                            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

                                            658
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

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