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

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

Community Forum

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

NEWS

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

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

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

[HowTo] ioBroker unter Docker auf Synology DiskStation

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
iobrokerdockerbuanetsynologydiskstation
2.9k Beiträge 248 Kommentatoren 1.6m Aufrufe 123 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • andreA Offline
    andreA Offline
    andre
    Developer
    schrieb am zuletzt editiert von
    #269

    @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

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

    1 Antwort Letzte Antwort
    0
    • andreA Offline
      andreA Offline
      andre
      Developer
      schrieb am zuletzt editiert von
      #270

      @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

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

      1 Antwort Letzte Antwort
      0
      • R Offline
        R Offline
        RalfR72
        schrieb am zuletzt editiert von
        #271

        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?

        Danke für die Hilfestellungen, Gruss Ralf

        Landkreis Esslingen/BW

        CCU2, Synology NAS 916+, ioBroker auf Pi3, Hue, Bose Soundtouch, iMac5k, Harmony Hub, Mediola aioCreator, Alexa Echo Dot.

        1 Antwort Letzte Antwort
        0
        • andreA Offline
          andreA Offline
          andre
          Developer
          schrieb am zuletzt editiert von
          #272

          @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

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

          1 Antwort Letzte Antwort
          0
          • R Offline
            R Offline
            RalfR72
            schrieb am zuletzt editiert von
            #273

            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

            Danke für die Hilfestellungen, Gruss Ralf

            Landkreis Esslingen/BW

            CCU2, Synology NAS 916+, ioBroker auf Pi3, Hue, Bose Soundtouch, iMac5k, Harmony Hub, Mediola aioCreator, Alexa Echo Dot.

            1 Antwort Letzte Antwort
            0
            • DutchmanD Offline
              DutchmanD Offline
              Dutchman
              Developer Most Active Administrators
              schrieb am zuletzt editiert von
              #274

              @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 Antwort Letzte Antwort
              0
              • S Offline
                S Offline
                sebastian.eberle
                schrieb am zuletzt editiert von
                #275

                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 Antwort Letzte Antwort
                0
                • andreA Offline
                  andreA Offline
                  andre
                  Developer
                  schrieb am zuletzt editiert von
                  #276

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

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

                  1 Antwort Letzte Antwort
                  0
                  • S Offline
                    S Offline
                    sebastian.eberle
                    schrieb am zuletzt editiert von
                    #277

                    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 Antwort Letzte Antwort
                    0
                    • andreA Offline
                      andreA Offline
                      andre
                      Developer
                      schrieb am zuletzt editiert von
                      #278

                      @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

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

                      1 Antwort Letzte Antwort
                      0
                      • S Offline
                        S Offline
                        Superdad
                        schrieb am zuletzt editiert von
                        #279

                        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!

                        CCU3

                        iOBroker auf IntelNUC Proxmox

                        1 Antwort Letzte Antwort
                        0
                        • S Offline
                          S Offline
                          Superdad
                          schrieb am zuletzt editiert von
                          #280

                          Habe jetzt neu installiert.

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

                          CCU3

                          iOBroker auf IntelNUC Proxmox

                          1 Antwort Letzte Antwort
                          0
                          • D Offline
                            D Offline
                            dtp
                            schrieb am zuletzt editiert von
                            #281

                            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.

                            ioBroker im Docker-Container auf Synology DiskStation DS718+, HomeMatic IP über CCU3, IKEA Dirigera inkl. Matter, Apple Homekit, Amazon Alexa.

                            1 Antwort Letzte Antwort
                            0
                            • dslraserD Offline
                              dslraserD Offline
                              dslraser
                              Forum Testing Most Active
                              schrieb am zuletzt editiert von
                              #282

                              @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… :D
                              3822_syno.jpg

                              1 Antwort Letzte Antwort
                              0
                              • T Offline
                                T Offline
                                Telefisch
                                schrieb am zuletzt editiert von
                                #283

                                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

                                Synology DS916+ (Docker), 2x Echo, 2x Dot, 2x Show

                                1 Antwort Letzte Antwort
                                0
                                • DutchmanD Offline
                                  DutchmanD Offline
                                  Dutchman
                                  Developer Most Active Administrators
                                  schrieb am zuletzt editiert von
                                  #284

                                  @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 Antwort Letzte Antwort
                                  0
                                  • T Offline
                                    T Offline
                                    Telefisch
                                    schrieb am zuletzt editiert von
                                    #285

                                    Besten Dank,

                                    soeben bestellt…

                                    Synology DS916+ (Docker), 2x Echo, 2x Dot, 2x Show

                                    1 Antwort Letzte Antwort
                                    0
                                    • T Offline
                                      T Offline
                                      Telefisch
                                      schrieb am zuletzt editiert von
                                      #286

                                      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?

                                      Synology DS916+ (Docker), 2x Echo, 2x Dot, 2x Show

                                      1 Antwort Letzte Antwort
                                      0
                                      • T Offline
                                        T Offline
                                        Telefisch
                                        schrieb am zuletzt editiert von
                                        #287

                                        …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

                                        Synology DS916+ (Docker), 2x Echo, 2x Dot, 2x Show

                                        1 Antwort Letzte Antwort
                                        0
                                        • andreA Offline
                                          andreA Offline
                                          andre
                                          Developer
                                          schrieb am zuletzt editiert von
                                          #288

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

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

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


                                          Support us

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

                                          808

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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