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

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

Community Forum

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

NEWS

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

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

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

[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.
  • T Telefisch

    @andre
    ...hat sich erledigt, USB Ports müssen beim Erstellen eingerichtet werden.
    Könntest Du vielleicht ins Tutorial aufnehmen.

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

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

    Könntest Du vielleicht ins Tutorial aufnehmen.

    Das Problem ist nur, dass ich nicht alles ins Tutorial aufnehmen kann. :( Das wäre dann echt zu viel.
    Habe deshalb ja auch schon angefangen solche weiterführenden Sachen in meine kleine "Knowledgebase" auszulagern... Vielleicht kann ich da noch einen Artikel zu den Devices ergänzen...

    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
    1
    • andreA andre

      @Johannes81
      Ja, was soll ich sagen. Irgendwas machst du anders.
      Ich habe gerade einmal getestet. Das Stable Image geladen, neuen Ordner auf der DS angelegt und einen Container mit Host Network gestartet... alles wunderbar.

      Dein Logfile oben scheint ja nicht vom ersten Start des Containers zu stammen. Kannst du nochmal ein Log vom allerersten start Posten?
      Vielleicht macht es auch Sinn mal das Beta-Image zu testen. Habe ein paar verbesserungen im Startscript gemacht... Vielleicht sagt das logging dort noch mehr.

      MfG,
      André

      J Offline
      J Offline
      Johannes81
      schrieb am zuletzt editiert von
      #1504

      @andre

      Hallo André,

      ich verstehe es einfach nicht.

      Gerade habe ich nochmals alle alten Dateien, sowie das ganze Image von iobroker gelöscht und einen neuen Ordner auf der DS und einen neuen Container im Portainer angelegt.

      Folgende Einstellungen:

      • Name: ioBroker
      • Image: "buanet/iobroker:beta"
      • Network: Host
      • Volume: /opt/iobroker (Bind) und /volume1/docker/ioBroker_data (writable)
      • ENV: AVAHI -> false und PACKAGES-> nano

      Das wars, dann Deploy Container.

      Was mache ich falsch??

      Über jeden Hinweis dankbar, Johannes.

      Hier das Logfile vom ersten Start

      -----                                                  -----,
      -----                     Versions                     -----,
      -----               image:     v4.0.3beta              -----,
      -----               node:      v10.18.1                -----,
      -----               npm:       6.13.4                  -----,
      -----                                                  -----,
      -----                       ENV                        -----,
      -----               ADMINPORT: 8081                    -----,
      -----               AVAHI:     false                   -----,
      -----               PACKAGES:  nano                    -----,
      -----               REDIS:     false                   -----,
      -----               SETGID:    1000                    -----,
      -----               SETUID:    1000                    -----,
      -----               USBDEVICES: none                    -----,
      -----               ZWAVE:     false                   -----,
      ------------------------------------------------------------,
      ,
      ------------------------------------------------------------,
      -----         Step 1 of 5: Preparing container         -----,
      ------------------------------------------------------------,
      ,
      Installing additional packages is set by ENV.,
      The following packages will be installed: nano...,
      Done.,
      ,
      There are no changes in UID/ GID needed.,
      ,
      ------------------------------------------------------------,
      -----   Step 2 of 5: Detecting ioBroker installation   -----,
      ------------------------------------------------------------,
      ,
      Existing installation of ioBroker detected in /opt/iobroker.,
      ,
      ------------------------------------------------------------,
      -----   Step 3 of 5: Checking ioBroker installation    -----,
      ------------------------------------------------------------,
      ,
      (Re)Setting folder permissions (This might take a while! Please be patient!)...,
      Done.,
      ,
      Fixing "sudo-bug" by replacing sudo in iobroker with gosu...,
      Done.,
      ,
      Looks like this is a new and empty installation of ioBroker.,
      Hostname needs to be updated to  Graf_DS218...,
      (node:361) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.,
         at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15),
         at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14),
      (node:361) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1),
      (node:361) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.,
      The host for instance "system.adapter.admin.0" was changed from "cff44f9daec7" to "Graf_DS218".,
      The host for instance "system.adapter.discovery.0" was changed from "cff44f9daec7" to "Graf_DS218".,
      The host for instance "system.adapter.info.0" was changed from "cff44f9daec7" to "Graf_DS218".,
      Done.,
      ,
      ------------------------------------------------------------,
      -----      Step 4 of 5: Applying special settings      -----,
      ------------------------------------------------------------,
      ,
      Some adapters have special requirements/ settings which can be activated by the use of environment variables.,
      For more information take a look at readme.md on Github!,
      ,
      (node:381) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.,
         at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15),
         at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14),
      (node:381) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1),
      (node:381) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.,
      ------------------------------------------------------------,
      -----          Step 5 of 5: ioBroker startup           -----,
      ------------------------------------------------------------,
      ,
      Starting ioBroker...,
      ,
      host.Graf_DS218 check instance "system.adapter.admin.0" for host "Graf_DS218",
      host.Graf_DS218 check instance "system.adapter.discovery.0" for host "Graf_DS218",
      host.Graf_DS218 check instance "system.adapter.info.0" for host "Graf_DS218",
      (node:414) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.,
         at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15),
         at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14),
      ,
      (node:414) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1),
      ,
      (node:414) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.,
      ,
      (node:425) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.,
         at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15),
         at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14),
      ,
      (node:425) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1),
      ,
      (node:425) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.,
      ,
      (node:436) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.,
         at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15),
         at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14),
      ,
      (node:436) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1),
      ,
      (node:436) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.,
      ,
      

      andreA 1 Antwort Letzte Antwort
      0
      • G Offline
        G Offline
        gerald123
        schrieb am zuletzt editiert von
        #1505

        Hallo,
        Ich benötige wiedermal hilfe beim Einrichten!
        Ich habe einen IoBroker jetzt im Bridge Netzwerk laufen und möchte mehrere USB Devices einrichten.
        Den Zigbee stick habe ich nach der Anleitung im Forum schon geschafft.

        https://forum.iobroker.net/topic/28658/docker-iobroker-usb-device-synology-ds918-pass/2

        Jetzt möchte ich aber noch weitere USB Sticks anschließen und in den Container durchreichen.
        Kann mir jemand sagen was ich bei den ENV Variabelen eingeben muss.
        Derzeit habe ich da USBDEVICES nur /dev/ttyACM0 eingegeben und bei Runtime unter host und container auch.

        Synology 918+ 4GB; ioBroker auf RPI4; Zigbee; Sonoff

        andreA 1 Antwort Letzte Antwort
        0
        • J Johannes81

          @andre

          Hallo André,

          ich verstehe es einfach nicht.

          Gerade habe ich nochmals alle alten Dateien, sowie das ganze Image von iobroker gelöscht und einen neuen Ordner auf der DS und einen neuen Container im Portainer angelegt.

          Folgende Einstellungen:

          • Name: ioBroker
          • Image: "buanet/iobroker:beta"
          • Network: Host
          • Volume: /opt/iobroker (Bind) und /volume1/docker/ioBroker_data (writable)
          • ENV: AVAHI -> false und PACKAGES-> nano

          Das wars, dann Deploy Container.

          Was mache ich falsch??

          Über jeden Hinweis dankbar, Johannes.

          Hier das Logfile vom ersten Start

          -----                                                  -----,
          -----                     Versions                     -----,
          -----               image:     v4.0.3beta              -----,
          -----               node:      v10.18.1                -----,
          -----               npm:       6.13.4                  -----,
          -----                                                  -----,
          -----                       ENV                        -----,
          -----               ADMINPORT: 8081                    -----,
          -----               AVAHI:     false                   -----,
          -----               PACKAGES:  nano                    -----,
          -----               REDIS:     false                   -----,
          -----               SETGID:    1000                    -----,
          -----               SETUID:    1000                    -----,
          -----               USBDEVICES: none                    -----,
          -----               ZWAVE:     false                   -----,
          ------------------------------------------------------------,
          ,
          ------------------------------------------------------------,
          -----         Step 1 of 5: Preparing container         -----,
          ------------------------------------------------------------,
          ,
          Installing additional packages is set by ENV.,
          The following packages will be installed: nano...,
          Done.,
          ,
          There are no changes in UID/ GID needed.,
          ,
          ------------------------------------------------------------,
          -----   Step 2 of 5: Detecting ioBroker installation   -----,
          ------------------------------------------------------------,
          ,
          Existing installation of ioBroker detected in /opt/iobroker.,
          ,
          ------------------------------------------------------------,
          -----   Step 3 of 5: Checking ioBroker installation    -----,
          ------------------------------------------------------------,
          ,
          (Re)Setting folder permissions (This might take a while! Please be patient!)...,
          Done.,
          ,
          Fixing "sudo-bug" by replacing sudo in iobroker with gosu...,
          Done.,
          ,
          Looks like this is a new and empty installation of ioBroker.,
          Hostname needs to be updated to  Graf_DS218...,
          (node:361) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.,
             at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15),
             at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14),
          (node:361) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1),
          (node:361) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.,
          The host for instance "system.adapter.admin.0" was changed from "cff44f9daec7" to "Graf_DS218".,
          The host for instance "system.adapter.discovery.0" was changed from "cff44f9daec7" to "Graf_DS218".,
          The host for instance "system.adapter.info.0" was changed from "cff44f9daec7" to "Graf_DS218".,
          Done.,
          ,
          ------------------------------------------------------------,
          -----      Step 4 of 5: Applying special settings      -----,
          ------------------------------------------------------------,
          ,
          Some adapters have special requirements/ settings which can be activated by the use of environment variables.,
          For more information take a look at readme.md on Github!,
          ,
          (node:381) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.,
             at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15),
             at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14),
          (node:381) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1),
          (node:381) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.,
          ------------------------------------------------------------,
          -----          Step 5 of 5: ioBroker startup           -----,
          ------------------------------------------------------------,
          ,
          Starting ioBroker...,
          ,
          host.Graf_DS218 check instance "system.adapter.admin.0" for host "Graf_DS218",
          host.Graf_DS218 check instance "system.adapter.discovery.0" for host "Graf_DS218",
          host.Graf_DS218 check instance "system.adapter.info.0" for host "Graf_DS218",
          (node:414) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.,
             at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15),
             at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14),
          ,
          (node:414) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1),
          ,
          (node:414) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.,
          ,
          (node:425) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.,
             at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15),
             at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14),
          ,
          (node:425) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1),
          ,
          (node:425) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.,
          ,
          (node:436) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.,
             at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15),
             at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14),
          ,
          (node:436) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1),
          ,
          (node:436) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.,
          ,
          

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

          @Johannes81
          Zwei Sachen:

          1. Wenn das dein Log vom ersten Start ist, und du einen neuen Ordner unter /volume1/docker/iobroker_data angelegt hast, dann ist dies hier im Log ungewöhnlich:

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

          Existing installation of ioBroker detected in /opt/iobroker.,

          Das kommt eigentlich nur, wenn schon eine ioBroker-Installation im Ordner vorhanden ist.

          2. Du hast offenbar einen Unterstrich im Hostnamen des Containers. Hast du mal versucht einen Namen ohne Unterstrich zu verwenden? Nicht dass mir da was bekannt wäre, aber oftmals macht sowas auch Probleme... Wäre auf jeden Fall interessant.

          EDIT: Das ist doch quatsch... Du verwendest ja das Netzwerk "Host". Also wäre dein Hostname ja gleich der Hostname der DS....Sorry. Aber vom Prinzip her bleibt die Ausage, dass es vielleicht der Unterstrich sein könnte?
          Liest vielleicht jemand mit der den Container im Host Modus verwendet und dessen DS einen Unterstrich im Namen hat?

          MfG,
          André

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

          J 1 Antwort Letzte Antwort
          0
          • G gerald123

            Hallo,
            Ich benötige wiedermal hilfe beim Einrichten!
            Ich habe einen IoBroker jetzt im Bridge Netzwerk laufen und möchte mehrere USB Devices einrichten.
            Den Zigbee stick habe ich nach der Anleitung im Forum schon geschafft.

            https://forum.iobroker.net/topic/28658/docker-iobroker-usb-device-synology-ds918-pass/2

            Jetzt möchte ich aber noch weitere USB Sticks anschließen und in den Container durchreichen.
            Kann mir jemand sagen was ich bei den ENV Variabelen eingeben muss.
            Derzeit habe ich da USBDEVICES nur /dev/ttyACM0 eingegeben und bei Runtime unter host und container auch.

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

            @gerald123
            Ich gehe mal davon aus, dass du die Beta-Version des Images nutzt.
            Hast du auch schon mal hier geschaut?
            https://github.com/buanet/docker-iobroker/blob/beta/README.md

            Da steht auch drin wie man zwei (oder mehr) Devices eintragen muss...

            Allerdings habe ich mit mehreren Devices noch nicht getestet und weiß auch nicht ob das schon jemand getan hat.

            MfG,
            André

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

            G 2 Antworten Letzte Antwort
            0
            • andreA andre

              @gerald123
              Ich gehe mal davon aus, dass du die Beta-Version des Images nutzt.
              Hast du auch schon mal hier geschaut?
              https://github.com/buanet/docker-iobroker/blob/beta/README.md

              Da steht auch drin wie man zwei (oder mehr) Devices eintragen muss...

              Allerdings habe ich mit mehreren Devices noch nicht getestet und weiß auch nicht ob das schon jemand getan hat.

              MfG,
              André

              G Offline
              G Offline
              gerald123
              schrieb am zuletzt editiert von
              #1508

              @andre Super danke für die Info, hab ich noch nicht gesehen.
              Werde heute Abend mal testen und dann dazu berichten.
              Sg. Gerald

              Synology 918+ 4GB; ioBroker auf RPI4; Zigbee; Sonoff

              1 Antwort Letzte Antwort
              0
              • andreA andre

                @Johannes81
                Zwei Sachen:

                1. Wenn das dein Log vom ersten Start ist, und du einen neuen Ordner unter /volume1/docker/iobroker_data angelegt hast, dann ist dies hier im Log ungewöhnlich:

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

                Existing installation of ioBroker detected in /opt/iobroker.,

                Das kommt eigentlich nur, wenn schon eine ioBroker-Installation im Ordner vorhanden ist.

                2. Du hast offenbar einen Unterstrich im Hostnamen des Containers. Hast du mal versucht einen Namen ohne Unterstrich zu verwenden? Nicht dass mir da was bekannt wäre, aber oftmals macht sowas auch Probleme... Wäre auf jeden Fall interessant.

                EDIT: Das ist doch quatsch... Du verwendest ja das Netzwerk "Host". Also wäre dein Hostname ja gleich der Hostname der DS....Sorry. Aber vom Prinzip her bleibt die Ausage, dass es vielleicht der Unterstrich sein könnte?
                Liest vielleicht jemand mit der den Container im Host Modus verwendet und dessen DS einen Unterstrich im Namen hat?

                MfG,
                André

                J Offline
                J Offline
                Johannes81
                schrieb am zuletzt editiert von
                #1509

                @andre

                Hallo André,

                zwei Sachen sind mir aufgefallen:

                1. Wenn ich in der File Station den Ordner iobroker_data lösche und dann den Container neu starte bekomme ich das Log mit dem u.g. Code

                ....Existing installation of ioBroker detected in /opt/iobroker.,

                Nur wenn ich den gesamten Ordner lösche, habe ich ein Logfile wie unten im Spoiler.

                1. Ich habe versuchsweise mal den Hostnamen auf einen Namen ohne Unterstrich geändert, Container angepasst, Ordner iobroker_data neu angelegt und bekomme trotzdem noch die gewohnten Fehler. (s.u.)

                Frage: Können es ggf noch andere, nicht sauber gelöschte Daten sein die eine saubere Installation verhindern? Also zum Beispiel in der Docker oder Portainer Installation?

                Für jede weitere Hilfestellung dankbar, Johannes

                ------------------------------------------------------------,
                ,
                ------------------------------------------------------------,
                -----              Debugging information               -----,
                -----                                                  -----,
                -----                      System                      -----,
                -----               arch:      x86_64                  -----,
                -----                                                  -----,
                -----                     Versions                     -----,
                -----               image:     v4.0.0                  -----,
                -----               node:      v10.18.1                -----,
                -----               npm:       6.13.4                  -----,
                -----                                                  -----,
                -----                       ENV                        -----,
                -----               AVAHI:     false                   -----,
                -----               PACKAGES:  nano                    -----,
                -----               SETGID:    1000                    -----,
                -----               SETUID:    1000                    -----,
                ------------------------------------------------------------,
                ,
                ------------------------------------------------------------,
                -----   Step 1 of 5: Installing additional packages    -----,
                ------------------------------------------------------------,
                ,
                The following packages will be installed: nano...,
                Done.,
                ,
                ------------------------------------------------------------,
                -----   Step 2 of 5: Detecting ioBroker installation   -----,
                ------------------------------------------------------------,
                ,
                There is no data detected in /opt/iobroker. Restoring...,
                Done.,
                ,
                ------------------------------------------------------------,
                -----   Step 3 of 5: Checking ioBroker installation    -----,
                ------------------------------------------------------------,
                ,
                This is the first run of a new container. Time for some preparation.,
                ,
                Changing UID to 1000 and GID to 1000...,
                usermod: Keine Änderungen,
                Done.,
                ,
                (Re)Setting folder permissions (This might take a while! Please be patient!)...,
                Done.,
                ,
                Fixing "sudo-bug" by replacing sudo with gosu...,
                Done.,
                ,
                Looks like this is a new and empty installation of ioBroker.,
                Hostname needs to be updated to  GrafDS218...,
                (node:356) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.,
                   at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15),
                   at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14),
                (node:356) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1),
                (node:356) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.,
                The host for instance "system.adapter.admin.0" was changed from "f1ff5ebd0b4b" to "GrafDS218".,
                The host for instance "system.adapter.discovery.0" was changed from "f1ff5ebd0b4b" to "GrafDS218".,
                The host for instance "system.adapter.info.0" was changed from "f1ff5ebd0b4b" to "GrafDS218".,
                Done.,
                ,
                ------------------------------------------------------------,
                -----      Step 4 of 5: Applying special settings      -----,
                ------------------------------------------------------------,
                ,
                Some adapters have special requirements which can be activated by the use of environment variables.,
                For more information take a look at readme.md,
                ,
                ------------------------------------------------------------,
                -----          Step 5 of 5: ioBroker startup           -----,
                ------------------------------------------------------------,
                ,
                Starting ioBroker...,
                ,
                host.GrafDS218 check instance "system.adapter.admin.0" for host "GrafDS218",
                host.GrafDS218 check instance "system.adapter.discovery.0" for host "GrafDS218",
                host.GrafDS218 check instance "system.adapter.info.0" for host "GrafDS218",
                (node:396) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.,
                   at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15),
                   at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14),
                ,
                (node:396) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1),
                (node:396) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.,
                ,
                (node:407) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.,
                   at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15),
                   at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14),
                ,
                (node:407) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1),
                ,
                (node:407) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.,
                ,
                (node:418) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.,
                   at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15),
                   at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14),
                ,
                (node:418) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1),
                (node:418) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.,
                ,
                

                D 1 Antwort Letzte Antwort
                0
                • J Johannes81

                  @andre

                  Hallo André,

                  zwei Sachen sind mir aufgefallen:

                  1. Wenn ich in der File Station den Ordner iobroker_data lösche und dann den Container neu starte bekomme ich das Log mit dem u.g. Code

                  ....Existing installation of ioBroker detected in /opt/iobroker.,

                  Nur wenn ich den gesamten Ordner lösche, habe ich ein Logfile wie unten im Spoiler.

                  1. Ich habe versuchsweise mal den Hostnamen auf einen Namen ohne Unterstrich geändert, Container angepasst, Ordner iobroker_data neu angelegt und bekomme trotzdem noch die gewohnten Fehler. (s.u.)

                  Frage: Können es ggf noch andere, nicht sauber gelöschte Daten sein die eine saubere Installation verhindern? Also zum Beispiel in der Docker oder Portainer Installation?

                  Für jede weitere Hilfestellung dankbar, Johannes

                  ------------------------------------------------------------,
                  ,
                  ------------------------------------------------------------,
                  -----              Debugging information               -----,
                  -----                                                  -----,
                  -----                      System                      -----,
                  -----               arch:      x86_64                  -----,
                  -----                                                  -----,
                  -----                     Versions                     -----,
                  -----               image:     v4.0.0                  -----,
                  -----               node:      v10.18.1                -----,
                  -----               npm:       6.13.4                  -----,
                  -----                                                  -----,
                  -----                       ENV                        -----,
                  -----               AVAHI:     false                   -----,
                  -----               PACKAGES:  nano                    -----,
                  -----               SETGID:    1000                    -----,
                  -----               SETUID:    1000                    -----,
                  ------------------------------------------------------------,
                  ,
                  ------------------------------------------------------------,
                  -----   Step 1 of 5: Installing additional packages    -----,
                  ------------------------------------------------------------,
                  ,
                  The following packages will be installed: nano...,
                  Done.,
                  ,
                  ------------------------------------------------------------,
                  -----   Step 2 of 5: Detecting ioBroker installation   -----,
                  ------------------------------------------------------------,
                  ,
                  There is no data detected in /opt/iobroker. Restoring...,
                  Done.,
                  ,
                  ------------------------------------------------------------,
                  -----   Step 3 of 5: Checking ioBroker installation    -----,
                  ------------------------------------------------------------,
                  ,
                  This is the first run of a new container. Time for some preparation.,
                  ,
                  Changing UID to 1000 and GID to 1000...,
                  usermod: Keine Änderungen,
                  Done.,
                  ,
                  (Re)Setting folder permissions (This might take a while! Please be patient!)...,
                  Done.,
                  ,
                  Fixing "sudo-bug" by replacing sudo with gosu...,
                  Done.,
                  ,
                  Looks like this is a new and empty installation of ioBroker.,
                  Hostname needs to be updated to  GrafDS218...,
                  (node:356) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.,
                     at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15),
                     at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14),
                  (node:356) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1),
                  (node:356) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.,
                  The host for instance "system.adapter.admin.0" was changed from "f1ff5ebd0b4b" to "GrafDS218".,
                  The host for instance "system.adapter.discovery.0" was changed from "f1ff5ebd0b4b" to "GrafDS218".,
                  The host for instance "system.adapter.info.0" was changed from "f1ff5ebd0b4b" to "GrafDS218".,
                  Done.,
                  ,
                  ------------------------------------------------------------,
                  -----      Step 4 of 5: Applying special settings      -----,
                  ------------------------------------------------------------,
                  ,
                  Some adapters have special requirements which can be activated by the use of environment variables.,
                  For more information take a look at readme.md,
                  ,
                  ------------------------------------------------------------,
                  -----          Step 5 of 5: ioBroker startup           -----,
                  ------------------------------------------------------------,
                  ,
                  Starting ioBroker...,
                  ,
                  host.GrafDS218 check instance "system.adapter.admin.0" for host "GrafDS218",
                  host.GrafDS218 check instance "system.adapter.discovery.0" for host "GrafDS218",
                  host.GrafDS218 check instance "system.adapter.info.0" for host "GrafDS218",
                  (node:396) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.,
                     at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15),
                     at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14),
                  ,
                  (node:396) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1),
                  (node:396) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.,
                  ,
                  (node:407) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.,
                     at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15),
                     at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14),
                  ,
                  (node:407) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1),
                  ,
                  (node:407) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.,
                  ,
                  (node:418) UnhandledPromiseRejectionWarning: ParserError: Protocol error, got "H" as reply type byte. Please report this.,
                     at handleError (/opt/iobroker/node_modules/redis-parser/lib/parser.js:190:15),
                     at parseType (/opt/iobroker/node_modules/redis-parser/lib/parser.js:304:14),
                  ,
                  (node:418) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1),
                  (node:418) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.,
                  ,
                  

                  D Offline
                  D Offline
                  duffbeer2000
                  schrieb am zuletzt editiert von
                  #1510

                  @Johannes81 ich bin mir recht sicher das ein von ioBroker benötigter Port bei deiner Synology schon belegt ist. Kann das zufällig sein?

                  J 1 Antwort Letzte Antwort
                  0
                  • D duffbeer2000

                    @Johannes81 ich bin mir recht sicher das ein von ioBroker benötigter Port bei deiner Synology schon belegt ist. Kann das zufällig sein?

                    J Offline
                    J Offline
                    Johannes81
                    schrieb am zuletzt editiert von
                    #1511

                    @duffbeer2000 und @andre

                    Ich habe gerade mal komplett von vorne angefangen. D.h. alle ioBroker Container, Images und das gesamte Dockerpaket gelöscht/ deinstalliert.

                    Danach alles neu und siehe da es geht.

                    Ich tippe das Problem lag eher im Docker als im Container. Immer schade wenn man ein Problem nicht wirklich ausfindig machen kann.
                    Aber ich bin froh, jetzt läuft der ioBroker und ich kann mich der Einbindung des ConBee 2 Stick kümmern. Aber dass ist ein anderes Thema.

                    Danke auf jeden Fall für alle Hilfe!

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

                      Hm. Hab gestern ein Update des MariaDB-10-Pakets unter DSM durchgeführt. Nun können der Flot- und/oder der SQL-Adapter nicht mehr darauf zugreifen. Fehlermeldungen im Log gibt's allerdings keine. Daher könnte es auch nur Flot betreffen. Muss ich wohl noch mal ran. Oder hat jemand direkt eine Idee?

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

                      KnallochseK 1 Antwort Letzte Antwort
                      0
                      • D dtp

                        Hm. Hab gestern ein Update des MariaDB-10-Pakets unter DSM durchgeführt. Nun können der Flot- und/oder der SQL-Adapter nicht mehr darauf zugreifen. Fehlermeldungen im Log gibt's allerdings keine. Daher könnte es auch nur Flot betreffen. Muss ich wohl noch mal ran. Oder hat jemand direkt eine Idee?

                        KnallochseK Offline
                        KnallochseK Offline
                        Knallochse
                        schrieb am zuletzt editiert von
                        #1513

                        @dtp Ich habe gerade mal auf meiner SynoDS918+ nachgeschaut.
                        Mir wird auch ein Update angeboten.
                        Habe dir mal ein Snapshot von den Changes gemacht.
                        Hängt vielleicht mit der neuen Passwortvorgabe zusammen

                        A83D99C5-1B68-4A2F-9A6E-9DF70FF94553.jpeg

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

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

                          Ja, das mit den geänderten Passwort-Richtlinien ist mir auch aufgefallen. Es wurde da auch eine recht lange Überprüfung beim Update durchgeführt. Aber es gab dann keinen Hinweis, dass ich etwas ändern sollte oder dass etwas geändert wurde. Nun ja, ich muss da wohl mal ein neues Passwort vergeben und schauen, ob's dann wieder läuft. Danke für den Hinweis.

                          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
                          • D Offline
                            D Offline
                            dtp
                            schrieb am zuletzt editiert von dtp
                            #1515

                            Ich kann machen, was ich will. Ich erhalte nach dem Update der MariaDB-10-Datenbank auf meiner DiskStation leider keinen Zugriff mehr (192.168.0.10, Port 3307). Meine ioBroker-admin-Instanz hat über den Portainer die IP-Adresse 192.168.0.12 und der sql-Adapter meldet mir stets einen Timeout Error.

                            EDIT: Hab jetzt mal testweise MariaDB-5 installiert. Doch auch damit klappt der Zugriff nicht mehr. Sehr ärgerlich das Ganze.

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

                            D 1 Antwort Letzte Antwort
                            0
                            • D dtp

                              Ich kann machen, was ich will. Ich erhalte nach dem Update der MariaDB-10-Datenbank auf meiner DiskStation leider keinen Zugriff mehr (192.168.0.10, Port 3307). Meine ioBroker-admin-Instanz hat über den Portainer die IP-Adresse 192.168.0.12 und der sql-Adapter meldet mir stets einen Timeout Error.

                              EDIT: Hab jetzt mal testweise MariaDB-5 installiert. Doch auch damit klappt der Zugriff nicht mehr. Sehr ärgerlich das Ganze.

                              D Offline
                              D Offline
                              dtp
                              schrieb am zuletzt editiert von
                              #1516

                              Hab jetzt mal den Container über den Portainer als Bridge installiert. Nun klappt der Zugriff auf MariaDB 10 wieder.

                              Warum geht es plötzlich mit MACVLAN nicht mehr? Es ging doch noch bis vor ein paar Tagen? Hatte mir auch mal die bind-address angesehen, aber die stand auf 0.0.0.0. Daran kann‘s also nicht gelegen haben, oder? Jemand ne Idee? Falls nicht, dann werde ich es wohl zukünftig beim bridged mode belassen.

                              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
                              • andreA andre

                                @gerald123
                                Ich gehe mal davon aus, dass du die Beta-Version des Images nutzt.
                                Hast du auch schon mal hier geschaut?
                                https://github.com/buanet/docker-iobroker/blob/beta/README.md

                                Da steht auch drin wie man zwei (oder mehr) Devices eintragen muss...

                                Allerdings habe ich mit mehreren Devices noch nicht getestet und weiß auch nicht ob das schon jemand getan hat.

                                MfG,
                                André

                                G Offline
                                G Offline
                                gerald123
                                schrieb am zuletzt editiert von
                                #1517

                                @andre Habe gestern die ENV Variablen für den USB Port angelegt und das hat auch gut funktioniert.
                                Leider hat dann nach 3Std. der Container gestoppt und nach einem neustart ist jetzt die ganze Diskstaion abgestürtz.
                                Jetzt bin ich gerade am suchen wo der Fehler liegt.

                                Synology 918+ 4GB; ioBroker auf RPI4; Zigbee; Sonoff

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

                                  Sooo….

                                  da diese Installation beim besten Willen nicht mehr vernünftig zum Laufen zu bekommen ist hatte ich gedacht ich bastel mir nen zweiten Container mit einer anderen IP-Adresse und installiere den iob neu.
                                  So hätte ich die Möglichkeit gehabt die doch recht hohe Anzahl an Script und manuell angelegten Objekten von einer zur zweiten Installation zu übertragen.

                                  Schlau wie ich nunmal bin habe ich eine neue MacVlan Conf angelegt und wollte danach ein neues Netzwerk anlegen.
                                  Bummms die Gatewayadresse existiert bereits.
                                  Nagut dachte ich, Gateway ist zum reinen Anlegen nicht nötig also conf löschen und neue conf mit irgend einer Gateway-Adresse angelegt.
                                  Jetzt bekomme ich die Meldung, dass die (falsche) conf in use ist und ich sie deswegen nicht löschen kann.
                                  Echt jetzt?

                                  Generell erstmal eine Verständnisfrage.
                                  WARUM hat dieser portainer überhaupt ein Problem damit, wenn ich die gleiche Gateway-Adresse verwende?
                                  Ich meine, alle anderen LAN Teilnehmer verwenden die ja logischerweise auch und das MACVLAN war nach meinem Verständnis nichts anderes als eine simulierte Netzwerkkarte. Da sollte es doch möglich sein eine Zweite mit gleichem Gateway anzulegen.
                                  Wie auch immer, bekomme ich diese conf irgendwie gelöscht? (die originale Netzwerkverbindung und die zugehörige conf habe ich bereits gelöscht)
                                  Und wie installiere ich zwei iob parallel?
                                  Ich denke ich gebe dann als IP Adresse in der Config einen Bereich an aber wie definiere ich beispielsweise 192.168.178.4 bis 192.168.178.6?

                                  Ich möchte halt nicht immer den alten iob ausschalten, neuen einschalten, feststellen dass ich was vergessen hab, neuen ausschalten, alten einschalten, nachsehen, alten ausschalten, neuen einschalten und anpassen.
                                  Dafür bootet der echt zu langsam :(

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

                                  D 1 Antwort Letzte Antwort
                                  0
                                  • T Telefisch

                                    Sooo….

                                    da diese Installation beim besten Willen nicht mehr vernünftig zum Laufen zu bekommen ist hatte ich gedacht ich bastel mir nen zweiten Container mit einer anderen IP-Adresse und installiere den iob neu.
                                    So hätte ich die Möglichkeit gehabt die doch recht hohe Anzahl an Script und manuell angelegten Objekten von einer zur zweiten Installation zu übertragen.

                                    Schlau wie ich nunmal bin habe ich eine neue MacVlan Conf angelegt und wollte danach ein neues Netzwerk anlegen.
                                    Bummms die Gatewayadresse existiert bereits.
                                    Nagut dachte ich, Gateway ist zum reinen Anlegen nicht nötig also conf löschen und neue conf mit irgend einer Gateway-Adresse angelegt.
                                    Jetzt bekomme ich die Meldung, dass die (falsche) conf in use ist und ich sie deswegen nicht löschen kann.
                                    Echt jetzt?

                                    Generell erstmal eine Verständnisfrage.
                                    WARUM hat dieser portainer überhaupt ein Problem damit, wenn ich die gleiche Gateway-Adresse verwende?
                                    Ich meine, alle anderen LAN Teilnehmer verwenden die ja logischerweise auch und das MACVLAN war nach meinem Verständnis nichts anderes als eine simulierte Netzwerkkarte. Da sollte es doch möglich sein eine Zweite mit gleichem Gateway anzulegen.
                                    Wie auch immer, bekomme ich diese conf irgendwie gelöscht? (die originale Netzwerkverbindung und die zugehörige conf habe ich bereits gelöscht)
                                    Und wie installiere ich zwei iob parallel?
                                    Ich denke ich gebe dann als IP Adresse in der Config einen Bereich an aber wie definiere ich beispielsweise 192.168.178.4 bis 192.168.178.6?

                                    Ich möchte halt nicht immer den alten iob ausschalten, neuen einschalten, feststellen dass ich was vergessen hab, neuen ausschalten, alten einschalten, nachsehen, alten ausschalten, neuen einschalten und anpassen.
                                    Dafür bootet der echt zu langsam :(

                                    D Offline
                                    D Offline
                                    duffbeer2000
                                    schrieb am zuletzt editiert von
                                    #1519

                                    @Telefisch
                                    DOS hatte auch mal das Problem. So haben wir es gelöst nachdem wir keine andere Möglichkeit gefunden haben:
                                    https://forum.iobroker.net/post/332201

                                    Danach sind alle Einstellungen weg, auch die Container. Vielleicht weiß aber jemand anderes ne bessere Lösung.

                                    T 1 Antwort Letzte Antwort
                                    0
                                    • D duffbeer2000

                                      @Telefisch
                                      DOS hatte auch mal das Problem. So haben wir es gelöst nachdem wir keine andere Möglichkeit gefunden haben:
                                      https://forum.iobroker.net/post/332201

                                      Danach sind alle Einstellungen weg, auch die Container. Vielleicht weiß aber jemand anderes ne bessere Lösung.

                                      T Offline
                                      T Offline
                                      Telefisch
                                      schrieb am zuletzt editiert von
                                      #1520

                                      @duffbeer2000 Danke für den Hinweis.
                                      Portainer hatte ich bereits vergeblich gelöscht (incl. Daten-Verzeichnis). Aber wenn es so geht, ist's ja ok.
                                      Die Container sind ja schnell neu angelegt.
                                      Bleibt die Frage, wie man die MACVLAN-Netzwerke für zwei oder drei Netzwerkadressen anlegen muss...
                                      Mit diesem IP-Suffix stehe ich verständnismäßig etwas auf Kriegsfuß.

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

                                      D 1 Antwort Letzte Antwort
                                      0
                                      • T Telefisch

                                        @duffbeer2000 Danke für den Hinweis.
                                        Portainer hatte ich bereits vergeblich gelöscht (incl. Daten-Verzeichnis). Aber wenn es so geht, ist's ja ok.
                                        Die Container sind ja schnell neu angelegt.
                                        Bleibt die Frage, wie man die MACVLAN-Netzwerke für zwei oder drei Netzwerkadressen anlegen muss...
                                        Mit diesem IP-Suffix stehe ich verständnismäßig etwas auf Kriegsfuß.

                                        D Offline
                                        D Offline
                                        duffbeer2000
                                        schrieb am zuletzt editiert von
                                        #1521

                                        @Telefisch
                                        Es kommt darauf an wieviele Container du per MACVLAN anbinden willst.

                                        Ich mach jetzt mal ein Beispiel:

                                        • Dein Netz der FritzBox ist: 192.168.0.0/24

                                        • Deine FritzBox hat die IP 192.168.0.1

                                        • Du willst bis zu 6 Container dem MACVLAN zuordnen

                                        • Der IP-Bereich für die Container in deinem Netz sollen Adressen irgendwas um 192.168.0.100 sein (nur als Beispiel).
                                          Gutes einfaches Hilfsmittel wäre hier z.B. Netwerk-Rechner
                                          Dann gehst du auf den Netwerk-Rechner und gibst bei "IP-Adresse" die "192.168.0.100" ein und bei CIDR-Suffix "29" (Je höher desto weniger Adressen um umgedreht, Maximalwert ist 32 für genau eine Adresse) und klickst auf Calculate.
                                          Dann sind beim Ergebnis folgende Werte interessant:
                                          Anzahl Hosts: Hier steht wieviel Clients/Container maximal möglich sind, im Beispiel 6
                                          Netzadresse: 192.168.0.96/29 (das ist die IP-Range fürs MACVLAN)
                                          Host-IPs von: Hier steht die kleinste IP-Adresse, im Beispiel 192.168.0.97
                                          bis: Hier steht die größte IP-Adresse, im Beispiel 192.168.0.103

                                        • Und damit können wir dann das MACVLAN Konfigurieren:
                                          Subnet: Ist hier 192.168.0.0/24 (Das deiner FritzBox)
                                          Gateway: 192.168.0.1 (deine Fritzbox)
                                          IP-Range: 192.168.0.96/29 (die Netzadresse aus dem Rechner)

                                        Hiermit hast du dann für Container die IP-Adressen 192.168.0.97-103

                                        T 2 Antworten Letzte Antwort
                                        1
                                        • D duffbeer2000

                                          @Telefisch
                                          Es kommt darauf an wieviele Container du per MACVLAN anbinden willst.

                                          Ich mach jetzt mal ein Beispiel:

                                          • Dein Netz der FritzBox ist: 192.168.0.0/24

                                          • Deine FritzBox hat die IP 192.168.0.1

                                          • Du willst bis zu 6 Container dem MACVLAN zuordnen

                                          • Der IP-Bereich für die Container in deinem Netz sollen Adressen irgendwas um 192.168.0.100 sein (nur als Beispiel).
                                            Gutes einfaches Hilfsmittel wäre hier z.B. Netwerk-Rechner
                                            Dann gehst du auf den Netwerk-Rechner und gibst bei "IP-Adresse" die "192.168.0.100" ein und bei CIDR-Suffix "29" (Je höher desto weniger Adressen um umgedreht, Maximalwert ist 32 für genau eine Adresse) und klickst auf Calculate.
                                            Dann sind beim Ergebnis folgende Werte interessant:
                                            Anzahl Hosts: Hier steht wieviel Clients/Container maximal möglich sind, im Beispiel 6
                                            Netzadresse: 192.168.0.96/29 (das ist die IP-Range fürs MACVLAN)
                                            Host-IPs von: Hier steht die kleinste IP-Adresse, im Beispiel 192.168.0.97
                                            bis: Hier steht die größte IP-Adresse, im Beispiel 192.168.0.103

                                          • Und damit können wir dann das MACVLAN Konfigurieren:
                                            Subnet: Ist hier 192.168.0.0/24 (Das deiner FritzBox)
                                            Gateway: 192.168.0.1 (deine Fritzbox)
                                            IP-Range: 192.168.0.96/29 (die Netzadresse aus dem Rechner)

                                          Hiermit hast du dann für Container die IP-Adressen 192.168.0.97-103

                                          T Offline
                                          T Offline
                                          Telefisch
                                          schrieb am zuletzt editiert von
                                          #1522

                                          @duffbeer2000 Danke für Deine Ausführungen...
                                          Ich hatte das schon so ähnlich gedacht, hatte mich nur verwirren lassen, weil ich 192.168.178.4/30 versucht hatte aber da die Adressen 5+6 angezeigt bekommen hab.
                                          Ich probiere mal etwas rum.
                                          Danke erstmal :)

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

                                          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

                                          730

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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