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.
  • J Johannes81

    @andre

    Hallo André,

    danke für deine Antwort auf deiner privaten Homepage.(https://buanet.de/2019/05/iobroker-unter-docker-auf-der-synology-diskstation-v3/)
    Wie empfohlen hier noch mal das ganze Log File.
    Zur Erklärung, ich möchte den ioBroker Container im gleichen IP Adressbereich anlegen, wie meine anderen Netzwerkteilnehmer auch. In der Hoffnung mir die ganze Protweiterleiterei damit zu ersparen. Beispiel: Die DS218+ hat die IP 192.168.1.12. Ich mochte das Webfrontend des ioBrokers unter 192.168.1.12:8081 erreicht.

    Hier der komplette Log Auszug

    ------------------------------------------------------------,
    ---------------     2020-01-11 11:41:55      ---------------,
    ------------------------------------------------------------,
     ,
    ------------------------------------------------------------,
    -----       Welcome to your ioBroker-container!        -----,
    -----          Startupscript is now running.           -----,
    -----                Please be patient!                -----,
    ------------------------------------------------------------,
     ,
    ------------------------------------------------------------,
    -----              Debugging information               -----,
    -----                                                  -----,
    -----                      System                      -----,
    -----               arch:      x86_64                  -----,
    -----                                                  -----,
    -----                     Versions                     -----,
    -----               image:     v4.0.0                  -----,
    -----               node:      v10.18.0                -----,
    -----               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   -----,
    ------------------------------------------------------------,
     ,
    Installation of ioBroker detected in /opt/iobroker.,
     ,
    ------------------------------------------------------------,
    -----   Step 3 of 5: Checking ioBroker installation    -----,
    ------------------------------------------------------------,
     ,
    This is NOT the first run of the container. Some Steps will be skipped.,
     ,
    (Re)Setting folder permissions (This might take a while! Please be patient!)...,
    Done.,
     ,
    Fixing "sudo-bug" by replacing sudo with gosu...,
    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.Graf_D check instance "system.adapter.admin.0" for host "Graf_D",
    host.Graf_D check instance "system.adapter.discovery.0" for host "Graf_D",
    host.Graf_D check instance "system.adapter.info.0" for host "Graf_D",
    (node:344) 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:344) 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:344) [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:355) 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:355) 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:355) [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.,
    ,
    code_text
    

    Auf der DS habe ich zur Zeit node.js Version 10 Installiert. Gibt es noch weitere Voraussetzungen die ich nicht beachtet habe?

    Zur Erklärung, ich bin Programmierer im Bereich Prozessautomatisierung (Maschinenbau) und daher mit der Java / Linux Welt nicht zu 100% vertraut.
    Der ioBrocker soll ein versuch sein mich hobbymäßig mit dem Thema Smart Home zu beschäftigen.

    Schon jetzt danke für die Hilfe.

    Johannes

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

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

    Zur Erklärung, ich möchte den ioBroker Container im gleichen IP Adressbereich anlegen, wie meine anderen Netzwerkteilnehmer auch. In der Hoffnung mir die ganze Protweiterleiterei damit zu ersparen. Beispiel: Die DS218+ hat die IP 192.168.1.12. Ich mochte das Webfrontend des ioBrokers unter 192.168.1.12:8081 erreicht.

    Ok, die Bezeichnung Adressbereich ist an dieser Stelle aber irreführen. Soweit ich das Verstehe willst du den ioBroker unter derselben IP wie die DS erreichen. Das bedeutet für dich, der Container muss im Host Modus laufen (Netzwork: host).#

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

    Auf der DS habe ich zur Zeit node.js Version 10 Installiert. Gibt es noch weitere Voraussetzungen die ich nicht beachtet habe?

    Das benötigst du nicht. Du benötigst auf der DS lediglich das Docker Paket. Node und alles was ioBroker zum Leben braucht befindet sich bereits im Container Image.... Das ist ja auch das geile an Docker ;)

    So, jetzt zu meinen Fragen:
    Wie ist dein Container konfiguriert? Wie im Tutorial? Gibt es Abweichungen? Wenn ja, welche?
    Fängst du mit einer leeren Installation an oder ziehst du eine Installation von einem Raspi oder so um?

    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
    1
    • joggeJ jogge

      @dslraser ich habe eine FritzBox als Router am Telefonanschluss und dahinter nochmal zwei separate Router mit doppeltem NAT und demilitarisierter Zone. Der zweite Router, aus dem betroffenen Netzwerk, in dem auch die Syno und der iobroker hängen, ist keine FritzBox. Und weil ich die zwei Netzwerke strikt voneinander trennen möchte nutze ich das VPN der DS.
      @Stuebi das Problem mit dem VPN der DS hast du doch beschrieben. Ich glaube es liegt am MACVLAN, weil dadurch die DS nicht mehr via Syno-VPN auf den iobroker zugreifen kann. Ich teste erstmal dein howto für die virtuelle Schnittstelle und berichte dann ob es wieder geht.

      Grüße,
      Joscha

      StuebiS Offline
      StuebiS Offline
      Stuebi
      schrieb am zuletzt editiert von
      #1495

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

      Ich habe auch mehrere Netzwerke, so dass das "Smarthome Netzwerk" nicht auf das "Home Netzwerk" zugreifen kann. Gelöst habe ich das über 2 Router (aber ohne doppeltes NAT) und VLANs. Auf der Synology NAS 216-II die einen Netzwerkadapter habe ich 2 VLANs eingerichtet und jeweils für den ioBroker Docker Container 2 MACVLAN. So ist bei mir das Smarthome und Heimnetz komplett voneinander getrennt. Zum Beispiel läuft im ioBroker Container der MQTT und Sonoff Adapter im Smarthomenetz und der Admin und Web Adapter im Heimnetz. So habe ich eine saubere Trennung der Netze hinbekommen.
      Wenn du mehr wissen möchtest habe ich das hier beschrieben: VLAN und MACVLAN auf der Synology

      VG
      Stübi

      ioBroker auf Synology DS216+II im Docker Container

      1 Antwort Letzte Antwort
      0
      • andreA andre

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

        Ich glaube es liegt am MACVLAN

        Nicht glauben...

        Siehe Docker Docu
        fcd7a12a-2f17-4e01-b475-20918bafa1b2-image.png

        Denkbar und einfachste Lösung wäre (nutze ich auch), dass du dem Container ein zweites Netzwerk (dieses aber als Bridge) zuweist. Du kannst dann vom Host über die Bridge IP des Containers den Container. und anders herum über die Gateway IP den Host erreichen...

        MfG,
        André

        joggeJ Offline
        joggeJ Offline
        jogge
        schrieb am zuletzt editiert von
        #1496

        @andre danke für die Antwort. Könntest du mir vielleicht helfen wie ich das Bridge Netzwerk Konfigurieren muss?

        Also die Syno hat z.B die 192.168.0.106 und wird damit das Gateway, Subnet wäre dann die 192.168.0.0/24 und die IP-range könnte dann einfach eine frei ohne DHCP sein??

        Die ganzen Ports muss ich dann beim erstellen des Containers schon eintragen!? Hab schon etwas rum probiert und dabei festgestellt, dass man beim Erstellen des Containers erstmal nur ein Netzwerk angeben kann und erst im Nachhinein einem weiteren beitreten kann, richtig? Muss da dann eine Reihenfolge eingehalten werden?

        Danke schon mal für die Mühe ;)

        @Stuebi danke für die schöne Vorlage. Kommt auf die Liste!

        Grüße,
        Joscha

        joggeJ 1 Antwort Letzte Antwort
        0
        • andreA andre

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

          Zur Erklärung, ich möchte den ioBroker Container im gleichen IP Adressbereich anlegen, wie meine anderen Netzwerkteilnehmer auch. In der Hoffnung mir die ganze Protweiterleiterei damit zu ersparen. Beispiel: Die DS218+ hat die IP 192.168.1.12. Ich mochte das Webfrontend des ioBrokers unter 192.168.1.12:8081 erreicht.

          Ok, die Bezeichnung Adressbereich ist an dieser Stelle aber irreführen. Soweit ich das Verstehe willst du den ioBroker unter derselben IP wie die DS erreichen. Das bedeutet für dich, der Container muss im Host Modus laufen (Netzwork: host).#

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

          Auf der DS habe ich zur Zeit node.js Version 10 Installiert. Gibt es noch weitere Voraussetzungen die ich nicht beachtet habe?

          Das benötigst du nicht. Du benötigst auf der DS lediglich das Docker Paket. Node und alles was ioBroker zum Leben braucht befindet sich bereits im Container Image.... Das ist ja auch das geile an Docker ;)

          So, jetzt zu meinen Fragen:
          Wie ist dein Container konfiguriert? Wie im Tutorial? Gibt es Abweichungen? Wenn ja, welche?
          Fängst du mit einer leeren Installation an oder ziehst du eine Installation von einem Raspi oder so um?

          MfG,
          André

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

          @andre

          Hallo André,

          Ich habe den Container nun bereits mehrfach genau nach deiner Anleitung im Protanier neu angelegt und auch mehrfach erneut komplett neu heruntergeladen. Die Einstellungen sind 1:1 wie in deiner Beschreibung, nur im Punkt Network stelle ich "Host" ein.
          Ich fange mit einer neuen Installation an und planen mit einem USB Stick ConBee II und zwei Aqara Thermometern zu starten.

          Was ich stutzig macht, auch wenn ich mit dem Portatiner den Container lösche, das Image lösche und mit der File Station die verwendeten Ordner lösche und neu anlege, wird das neu heruntergeladene Image immer mit einem Datumsstempel vom 06.01.2020 versehen, dem Zeitpunkt wo ich es erstmalig mit dem Portainer geladen habe. Bei mir ist das Image immer 934.8MB groß. Ist diese die richtige Größe? Wenn alles in dem Container enthalten ist, verstehe ich leider nicht was ich falsch mache.

          Danke schon mal erneut für die Newbee Hilfe. ;-)

          D andreA 2 Antworten Letzte Antwort
          0
          • J Johannes81

            @andre

            Hallo André,

            Ich habe den Container nun bereits mehrfach genau nach deiner Anleitung im Protanier neu angelegt und auch mehrfach erneut komplett neu heruntergeladen. Die Einstellungen sind 1:1 wie in deiner Beschreibung, nur im Punkt Network stelle ich "Host" ein.
            Ich fange mit einer neuen Installation an und planen mit einem USB Stick ConBee II und zwei Aqara Thermometern zu starten.

            Was ich stutzig macht, auch wenn ich mit dem Portatiner den Container lösche, das Image lösche und mit der File Station die verwendeten Ordner lösche und neu anlege, wird das neu heruntergeladene Image immer mit einem Datumsstempel vom 06.01.2020 versehen, dem Zeitpunkt wo ich es erstmalig mit dem Portainer geladen habe. Bei mir ist das Image immer 934.8MB groß. Ist diese die richtige Größe? Wenn alles in dem Container enthalten ist, verstehe ich leider nicht was ich falsch mache.

            Danke schon mal erneut für die Newbee Hilfe. ;-)

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

            @Johannes81 Der Zeitstempel ist das Datum an dem Andre das Image erstellt hat. Der passt also.

            1 Antwort Letzte Antwort
            0
            • joggeJ jogge

              @andre danke für die Antwort. Könntest du mir vielleicht helfen wie ich das Bridge Netzwerk Konfigurieren muss?

              Also die Syno hat z.B die 192.168.0.106 und wird damit das Gateway, Subnet wäre dann die 192.168.0.0/24 und die IP-range könnte dann einfach eine frei ohne DHCP sein??

              Die ganzen Ports muss ich dann beim erstellen des Containers schon eintragen!? Hab schon etwas rum probiert und dabei festgestellt, dass man beim Erstellen des Containers erstmal nur ein Netzwerk angeben kann und erst im Nachhinein einem weiteren beitreten kann, richtig? Muss da dann eine Reihenfolge eingehalten werden?

              Danke schon mal für die Mühe ;)

              @Stuebi danke für die schöne Vorlage. Kommt auf die Liste!

              Grüße,
              Joscha

              joggeJ Offline
              joggeJ Offline
              jogge
              schrieb am zuletzt editiert von jogge
              #1499

              @andre hat sich erledigt. War einfach das bridge Netztwerk der DS welches schon im Portainer konfiguriert ist...
              Jetzt kann ich wieder über mein DS-VPN drauf zugreifen.

              Grüße
              Joscha

              andreA 1 Antwort Letzte Antwort
              0
              • joggeJ jogge

                @andre hat sich erledigt. War einfach das bridge Netztwerk der DS welches schon im Portainer konfiguriert ist...
                Jetzt kann ich wieder über mein DS-VPN drauf zugreifen.

                Grüße
                Joscha

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

                @jogge
                Kleiner Hinweis noch: Im default Bridge Netzwerk vom Docker ist keine Namensauflösung aktiv...

                https://docs.docker.com/network/bridge/

                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
                • J Johannes81

                  @andre

                  Hallo André,

                  Ich habe den Container nun bereits mehrfach genau nach deiner Anleitung im Protanier neu angelegt und auch mehrfach erneut komplett neu heruntergeladen. Die Einstellungen sind 1:1 wie in deiner Beschreibung, nur im Punkt Network stelle ich "Host" ein.
                  Ich fange mit einer neuen Installation an und planen mit einem USB Stick ConBee II und zwei Aqara Thermometern zu starten.

                  Was ich stutzig macht, auch wenn ich mit dem Portatiner den Container lösche, das Image lösche und mit der File Station die verwendeten Ordner lösche und neu anlege, wird das neu heruntergeladene Image immer mit einem Datumsstempel vom 06.01.2020 versehen, dem Zeitpunkt wo ich es erstmalig mit dem Portainer geladen habe. Bei mir ist das Image immer 934.8MB groß. Ist diese die richtige Größe? Wenn alles in dem Container enthalten ist, verstehe ich leider nicht was ich falsch mache.

                  Danke schon mal erneut für die Newbee Hilfe. ;-)

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

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

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

                    @Telefisch
                    Hört sich für mich an als hättest du dein Device bei der Erstellung des Containers unter "Ressources and Devices" (oder so ähnlich) nicht in den Container durch gereicht...

                    MfG,
                    André

                    Edit: ...und beta verwenden oder in der ENV "PACKAGES" udev eintragen... Sonst gibt es kein Auswahlmenü im Adapter.

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

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

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

                    andreA 1 Antwort Letzte Antwort
                    0
                    • 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 Nicht stören
                                          KnallochseK Nicht stören
                                          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
                                          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

                                          335

                                          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