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.
  • Marc BergM Marc Berg

    @codierknecht
    Eine Google-Suche ergibt, dass du auf der Synology wohl nicht allein mit dem Problem bist.

    Was spricht dagegen, den Container vorher zu löschen?

    CodierknechtC Offline
    CodierknechtC Offline
    Codierknecht
    Developer Most Active
    schrieb am zuletzt editiert von
    #2684

    @marc-berg sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

    Eine Google-Suche ergibt, dass du auf der Synology wohl nicht allein mit dem Problem bist.

    Mir ist das völlig Wumpe. Aber @dtp dürfte das sicher interessieren ;-)

    "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

    Proxmox 9.1.1 LXC|8 GB|Core i7-6700
    HmIP|ZigBee|Tasmota|Unifi
    Zabbix Certified Specialist
    Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

    Marc BergM 1 Antwort Letzte Antwort
    1
    • F Offline
      F Offline
      fir3drag0n
      schrieb am zuletzt editiert von fir3drag0n
      #2685

      Guten Tag zusammen,

      ich wollte vor kurzem ein Multihost System einrichten, eine Instanz (Slave) auf einem Unraid Server. Einrichtung hat auch funktioniert, allerdings startet der Docker Container jetzt nicht mehr:

      (Re)setting permissions (This might take a while! Please be patient!)... Done.
       
      Fixing "sudo-bug" by replacing sudo with gosu... Done.
       
      Hostname in ioBroker does not match the hostname of this container.
      Updating hostname to iobroker UR... 
      
      ** Press ANY KEY to close this window ** 
      

      Gibt es da noch einen Bug (wie zuvor beschrieben auf Beta wechseln) oder woran kann das liegen?

      GlasfaserG 3 Antworten Letzte Antwort
      0
      • CodierknechtC Codierknecht

        @marc-berg sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

        Eine Google-Suche ergibt, dass du auf der Synology wohl nicht allein mit dem Problem bist.

        Mir ist das völlig Wumpe. Aber @dtp dürfte das sicher interessieren ;-)

        Marc BergM Offline
        Marc BergM Offline
        Marc Berg
        Most Active
        schrieb am zuletzt editiert von
        #2686

        @codierknecht sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

        @marc-berg sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

        Eine Google-Suche ergibt, dass du auf der Synology wohl nicht allein mit dem Problem bist.

        Mir ist das völlig Wumpe. Aber @dtp dürfte das sicher interessieren ;-)

        Achja, falscher Adressat .. :-)

        NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+RabbitMQ+Grafana

        Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

        Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

        1 Antwort Letzte Antwort
        0
        • F fir3drag0n

          Guten Tag zusammen,

          ich wollte vor kurzem ein Multihost System einrichten, eine Instanz (Slave) auf einem Unraid Server. Einrichtung hat auch funktioniert, allerdings startet der Docker Container jetzt nicht mehr:

          (Re)setting permissions (This might take a while! Please be patient!)... Done.
           
          Fixing "sudo-bug" by replacing sudo with gosu... Done.
           
          Hostname in ioBroker does not match the hostname of this container.
          Updating hostname to iobroker UR... 
          
          ** Press ANY KEY to close this window ** 
          

          Gibt es da noch einen Bug (wie zuvor beschrieben auf Beta wechseln) oder woran kann das liegen?

          GlasfaserG Online
          GlasfaserG Online
          Glasfaser
          schrieb am zuletzt editiert von
          #2687

          @fir3drag0n sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

          Hostname in ioBroker does not match the hostname of this container.

          steht doch da ... das ist kein Bug !

          Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

          F 1 Antwort Letzte Antwort
          0
          • GlasfaserG Glasfaser

            @fir3drag0n sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

            Hostname in ioBroker does not match the hostname of this container.

            steht doch da ... das ist kein Bug !

            F Offline
            F Offline
            fir3drag0n
            schrieb am zuletzt editiert von
            #2688

            @glasfaser und wie schaffe ich es dann den Container zu starten?

            1 Antwort Letzte Antwort
            0
            • F fir3drag0n

              Guten Tag zusammen,

              ich wollte vor kurzem ein Multihost System einrichten, eine Instanz (Slave) auf einem Unraid Server. Einrichtung hat auch funktioniert, allerdings startet der Docker Container jetzt nicht mehr:

              (Re)setting permissions (This might take a while! Please be patient!)... Done.
               
              Fixing "sudo-bug" by replacing sudo with gosu... Done.
               
              Hostname in ioBroker does not match the hostname of this container.
              Updating hostname to iobroker UR... 
              
              ** Press ANY KEY to close this window ** 
              

              Gibt es da noch einen Bug (wie zuvor beschrieben auf Beta wechseln) oder woran kann das liegen?

              GlasfaserG Online
              GlasfaserG Online
              Glasfaser
              schrieb am zuletzt editiert von
              #2689

              @fir3drag0n sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

              ich wollte vor kurzem ein Multihost System einrichten, eine Instanz (Slave) auf einem Unraid Server. Einrichtung hat auch funktioniert,

              Habe kein Unraid Server.

              Keine Ahnung ... warum es so dann bei dir so kommt .

              https://forum.iobroker.net/post/922487

              Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

              F 1 Antwort Letzte Antwort
              0
              • GlasfaserG Glasfaser

                @fir3drag0n sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                ich wollte vor kurzem ein Multihost System einrichten, eine Instanz (Slave) auf einem Unraid Server. Einrichtung hat auch funktioniert,

                Habe kein Unraid Server.

                Keine Ahnung ... warum es so dann bei dir so kommt .

                https://forum.iobroker.net/post/922487

                F Offline
                F Offline
                fir3drag0n
                schrieb am zuletzt editiert von
                #2690

                @glasfaser der Container wird ja direkt beendet - wie soll ich da die Befehle absetzen?

                1 Antwort Letzte Antwort
                0
                • F fir3drag0n

                  Guten Tag zusammen,

                  ich wollte vor kurzem ein Multihost System einrichten, eine Instanz (Slave) auf einem Unraid Server. Einrichtung hat auch funktioniert, allerdings startet der Docker Container jetzt nicht mehr:

                  (Re)setting permissions (This might take a while! Please be patient!)... Done.
                   
                  Fixing "sudo-bug" by replacing sudo with gosu... Done.
                   
                  Hostname in ioBroker does not match the hostname of this container.
                  Updating hostname to iobroker UR... 
                  
                  ** Press ANY KEY to close this window ** 
                  

                  Gibt es da noch einen Bug (wie zuvor beschrieben auf Beta wechseln) oder woran kann das liegen?

                  GlasfaserG Online
                  GlasfaserG Online
                  Glasfaser
                  schrieb am zuletzt editiert von
                  #2691

                  @fir3drag0n sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                  Hostname in ioBroker does not match the hostname of this container.
                  Updating hostname to iobroker UR..

                  iobroker UR..

                  Hast du hier was gekürzt !?

                  Nochmal ... ich weiß nicht was du gemacht hast ... normalerweise kommt soetwas , wenn du ein Backup einspielst .

                  Hast du den Hostname geändert !?

                  Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                  F 1 Antwort Letzte Antwort
                  0
                  • GlasfaserG Glasfaser

                    @fir3drag0n sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                    Hostname in ioBroker does not match the hostname of this container.
                    Updating hostname to iobroker UR..

                    iobroker UR..

                    Hast du hier was gekürzt !?

                    Nochmal ... ich weiß nicht was du gemacht hast ... normalerweise kommt soetwas , wenn du ein Backup einspielst .

                    Hast du den Hostname geändert !?

                    F Offline
                    F Offline
                    fir3drag0n
                    schrieb am zuletzt editiert von
                    #2692

                    @glasfaser hat sich erledigt, im Docker Image müssen unbedingt noch die ENV Variables für Multihost (master od slave) und objectsdb sowie statesdb gesetzt werden

                    GlasfaserG kosmixK 2 Antworten Letzte Antwort
                    0
                    • F fir3drag0n

                      @glasfaser hat sich erledigt, im Docker Image müssen unbedingt noch die ENV Variables für Multihost (master od slave) und objectsdb sowie statesdb gesetzt werden

                      GlasfaserG Online
                      GlasfaserG Online
                      Glasfaser
                      schrieb am zuletzt editiert von
                      #2693

                      @fir3drag0n sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                      @glasfaser hat sich erledigt,

                      Freut mich ... das du deinen Bug gefunden hast :)

                      Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                      1 Antwort Letzte Antwort
                      1
                      • Marc BergM Marc Berg

                        @codierknecht
                        Eine Google-Suche ergibt, dass du auf der Synology wohl nicht allein mit dem Problem bist.

                        Was spricht dagegen, den Container vorher zu löschen?

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

                        @marc-berg sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                        Was spricht dagegen, den Container vorher zu löschen?

                        Danke für eure Hinweise. Gegen das vorherige Löschen des Containers spricht natürlich nicht viel, außer, dass man sich dann ggf. vorher die Einstellungen hinsichtlich der Ports, Volumes und Umgebungsvariablen notieren muss. Und wenn was nicht funktioniert, besteht ggf. ein Risiko, dass man nicht mehr zur alten Version zurück kommt.

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

                        Marc BergM andreA 2 Antworten Letzte Antwort
                        0
                        • D dtp

                          @marc-berg sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                          Was spricht dagegen, den Container vorher zu löschen?

                          Danke für eure Hinweise. Gegen das vorherige Löschen des Containers spricht natürlich nicht viel, außer, dass man sich dann ggf. vorher die Einstellungen hinsichtlich der Ports, Volumes und Umgebungsvariablen notieren muss. Und wenn was nicht funktioniert, besteht ggf. ein Risiko, dass man nicht mehr zur alten Version zurück kommt.

                          Marc BergM Offline
                          Marc BergM Offline
                          Marc Berg
                          Most Active
                          schrieb am zuletzt editiert von Marc Berg
                          #2695

                          gelöscht

                          NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+RabbitMQ+Grafana

                          Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

                          Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

                          1 Antwort Letzte Antwort
                          0
                          • D dtp

                            @marc-berg sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                            Was spricht dagegen, den Container vorher zu löschen?

                            Danke für eure Hinweise. Gegen das vorherige Löschen des Containers spricht natürlich nicht viel, außer, dass man sich dann ggf. vorher die Einstellungen hinsichtlich der Ports, Volumes und Umgebungsvariablen notieren muss. Und wenn was nicht funktioniert, besteht ggf. ein Risiko, dass man nicht mehr zur alten Version zurück kommt.

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

                            @dtp sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                            Gegen das vorherige Löschen des Containers spricht natürlich nicht viel, außer, dass man sich dann ggf. vorher die Einstellungen hinsichtlich der Ports, Volumes und Umgebungsvariablen notieren muss. Und wenn was nicht funktioniert, besteht ggf. ein Risiko, dass man nicht mehr zur alten Version zurück kommt.

                            Nein. Schau dir Portainer Stacks aka docker-compose an! Dann brauchst du dir keine Einstellungen merken.
                            Zur alten Version zurück? Schau dir die Tags des Docker Images an. Es gibt immer die Möglichkeit eine ältere Version zu laden.
                            Und das Wichtigste: Mach ein Backup vom ioBroker Ordner!

                            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
                            • uweklattU Offline
                              uweklattU Offline
                              uweklatt
                              schrieb am zuletzt editiert von
                              #2697

                              Ich have aktuell auch Probleme, ioBroker als Container neu aufzusetzen.
                              Ich nutze Docker innerhalb einer Proxmox Virtualisierung. Diese funktioniert wunderbar mit diversen Containern. Zur Verwaltung nutze ich Portainer.
                              Beim Einrichten eines neuen "leeren" ioBroker mit gemappten Verzeicnis /opt/iobroker und gesetzem "DEBUG"-Flag bekomme ich als log:

                              --------------------------------------------------------------------------------
                              -------------------------     2023-01-22 17:12:08      -------------------------
                              --------------------------------------------------------------------------------
                              -----                                                                      -----
                              ----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----
                              ----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----
                              ----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----
                              ----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----
                              ----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----
                              ----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----
                              -----                                                                      -----
                              -----              Welcome to your ioBroker Docker container!              -----
                              -----                    Startupscript is now running!                     -----
                              -----                          Please be patient!                          -----
                              --------------------------------------------------------------------------------
                               
                              --------------------------------------------------------------------------------
                              -----                          System Information                          -----
                              -----                    arch:                x86_64                       -----
                              -----                    hostname:            92b196522335                 -----
                              -----                                                                      -----
                              -----                          Version Information                         -----
                              -----                    image:               v7.2.0                       -----
                              -----                    build:               2023-01-12T23:45:25+00:00    -----
                              -----                    node:                v16.19.0                     -----
                              -----                    npm:                 8.19.3                       -----
                              -----                                                                      -----
                              -----                        Environment Variables                         -----
                              -----                    DEBUG:               true                         -----
                              -----                    SETGID:              1000                         -----
                              -----                    SETUID:              1000                         -----
                              --------------------------------------------------------------------------------
                               
                              !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                              !!!!                            DEBUG LOG ACTIVE                            !!!!
                              !!!!               Environment variable DEBUG is set to true.               !!!!
                              !!!! This will extend the logging output and may slow down container start. !!!!
                              !!!!          Please make sure to deactivate if no longer needed.           !!!!
                              !!!!     For more information see ioBroker Docker image documentation:      !!!!
                              !!!!           https://docs.buanet.de/iobroker-docker-image/docs/           !!!!
                              !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                               
                              --------------------------------------------------------------------------------
                              -----                  Step 1 of 5: Preparing container                   -----
                              --------------------------------------------------------------------------------
                               
                              Updating Linux packages on first run... 
                              (Reading database ... 
                              (Reading database ... 5%
                              (Reading database ... 10%
                              (Reading database ... 15%
                              (Reading database ... 20%
                              (Reading database ... 25%
                              (Reading database ... 30%
                              (Reading database ... 35%
                              (Reading database ... 40%
                              (Reading database ... 45%
                              (Reading database ... 50%
                              (Reading database ... 55%
                              (Reading database ... 60%
                              (Reading database ... 65%
                              (Reading database ... 70%
                              (Reading database ... 75%
                              (Reading database ... 80%
                              (Reading database ... 85%
                              (Reading database ... 90%
                              (Reading database ... 95%
                              (Reading database ... 100%
                              (Reading database ... 29424 files and directories currently installed.)
                              Preparing to unpack .../sudo_1.9.5p2-3+deb11u1_amd64.deb ...
                              Unpacking sudo (1.9.5p2-3+deb11u1) over (1.9.5p2-3) ...
                              Setting up sudo (1.9.5p2-3+deb11u1) ...
                              invoke-rc.d: could not determine current runlevel
                              invoke-rc.d: policy-rc.d denied execution of restart.
                              Done.
                               
                              Registering maintenance script as command... Done.
                              
                              --------------------------------------------------------------------------------
                              -----             Step 2 of 5: Detecting ioBroker installation             -----
                              --------------------------------------------------------------------------------
                               
                              There is no data detected in /opt/iobroker.
                              Restoring initial ioBroker installation... Done.
                              
                              --------------------------------------------------------------------------------
                              -----             Step 3 of 5: Checking ioBroker installation              -----
                              --------------------------------------------------------------------------------
                              
                              (Re)setting permissions (This might take a while! Please be patient!)... Done.
                               
                              Fixing "sudo-bug" by replacing sudo with gosu... Done.
                              error: failed switching to "iobroker": operation not permitted
                              There was a problem detecting the admin instance of your iobroker.
                              Make sure the ioBroker installation you use has an admin instance or start over with a fresh installation and restore your configuration.
                              
                              For more details see https://docs.buanet.de/iobroker-docker-image/docs/#restore
                               
                              [DEBUG] Debug mode prevents the container from exiting on errors.
                              [DEBUG] This enables you to investigate or fix your issue on the command line.
                              [DEBUG] If you want to stop or restart your container you have to do it manually.
                              [DEBUG] IoBroker is not running!
                              
                              

                              Mir scheint hier ein Rechteproblem vorzuliegen.
                              Der Container läuft als "root". Im Container scheint aber der User "iobroker" verwendet zu werden.

                              Was muss ich nun tun?

                              Uwe

                              Proxmox/LXC/Docker

                              GlasfaserG 2 Antworten Letzte Antwort
                              0
                              • uweklattU uweklatt

                                Ich have aktuell auch Probleme, ioBroker als Container neu aufzusetzen.
                                Ich nutze Docker innerhalb einer Proxmox Virtualisierung. Diese funktioniert wunderbar mit diversen Containern. Zur Verwaltung nutze ich Portainer.
                                Beim Einrichten eines neuen "leeren" ioBroker mit gemappten Verzeicnis /opt/iobroker und gesetzem "DEBUG"-Flag bekomme ich als log:

                                --------------------------------------------------------------------------------
                                -------------------------     2023-01-22 17:12:08      -------------------------
                                --------------------------------------------------------------------------------
                                -----                                                                      -----
                                ----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----
                                ----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----
                                ----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----
                                ----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----
                                ----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----
                                ----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----
                                -----                                                                      -----
                                -----              Welcome to your ioBroker Docker container!              -----
                                -----                    Startupscript is now running!                     -----
                                -----                          Please be patient!                          -----
                                --------------------------------------------------------------------------------
                                 
                                --------------------------------------------------------------------------------
                                -----                          System Information                          -----
                                -----                    arch:                x86_64                       -----
                                -----                    hostname:            92b196522335                 -----
                                -----                                                                      -----
                                -----                          Version Information                         -----
                                -----                    image:               v7.2.0                       -----
                                -----                    build:               2023-01-12T23:45:25+00:00    -----
                                -----                    node:                v16.19.0                     -----
                                -----                    npm:                 8.19.3                       -----
                                -----                                                                      -----
                                -----                        Environment Variables                         -----
                                -----                    DEBUG:               true                         -----
                                -----                    SETGID:              1000                         -----
                                -----                    SETUID:              1000                         -----
                                --------------------------------------------------------------------------------
                                 
                                !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                !!!!                            DEBUG LOG ACTIVE                            !!!!
                                !!!!               Environment variable DEBUG is set to true.               !!!!
                                !!!! This will extend the logging output and may slow down container start. !!!!
                                !!!!          Please make sure to deactivate if no longer needed.           !!!!
                                !!!!     For more information see ioBroker Docker image documentation:      !!!!
                                !!!!           https://docs.buanet.de/iobroker-docker-image/docs/           !!!!
                                !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                 
                                --------------------------------------------------------------------------------
                                -----                  Step 1 of 5: Preparing container                   -----
                                --------------------------------------------------------------------------------
                                 
                                Updating Linux packages on first run... 
                                (Reading database ... 
                                (Reading database ... 5%
                                (Reading database ... 10%
                                (Reading database ... 15%
                                (Reading database ... 20%
                                (Reading database ... 25%
                                (Reading database ... 30%
                                (Reading database ... 35%
                                (Reading database ... 40%
                                (Reading database ... 45%
                                (Reading database ... 50%
                                (Reading database ... 55%
                                (Reading database ... 60%
                                (Reading database ... 65%
                                (Reading database ... 70%
                                (Reading database ... 75%
                                (Reading database ... 80%
                                (Reading database ... 85%
                                (Reading database ... 90%
                                (Reading database ... 95%
                                (Reading database ... 100%
                                (Reading database ... 29424 files and directories currently installed.)
                                Preparing to unpack .../sudo_1.9.5p2-3+deb11u1_amd64.deb ...
                                Unpacking sudo (1.9.5p2-3+deb11u1) over (1.9.5p2-3) ...
                                Setting up sudo (1.9.5p2-3+deb11u1) ...
                                invoke-rc.d: could not determine current runlevel
                                invoke-rc.d: policy-rc.d denied execution of restart.
                                Done.
                                 
                                Registering maintenance script as command... Done.
                                
                                --------------------------------------------------------------------------------
                                -----             Step 2 of 5: Detecting ioBroker installation             -----
                                --------------------------------------------------------------------------------
                                 
                                There is no data detected in /opt/iobroker.
                                Restoring initial ioBroker installation... Done.
                                
                                --------------------------------------------------------------------------------
                                -----             Step 3 of 5: Checking ioBroker installation              -----
                                --------------------------------------------------------------------------------
                                
                                (Re)setting permissions (This might take a while! Please be patient!)... Done.
                                 
                                Fixing "sudo-bug" by replacing sudo with gosu... Done.
                                error: failed switching to "iobroker": operation not permitted
                                There was a problem detecting the admin instance of your iobroker.
                                Make sure the ioBroker installation you use has an admin instance or start over with a fresh installation and restore your configuration.
                                
                                For more details see https://docs.buanet.de/iobroker-docker-image/docs/#restore
                                 
                                [DEBUG] Debug mode prevents the container from exiting on errors.
                                [DEBUG] This enables you to investigate or fix your issue on the command line.
                                [DEBUG] If you want to stop or restart your container you have to do it manually.
                                [DEBUG] IoBroker is not running!
                                
                                

                                Mir scheint hier ein Rechteproblem vorzuliegen.
                                Der Container läuft als "root". Im Container scheint aber der User "iobroker" verwendet zu werden.

                                Was muss ich nun tun?

                                Uwe

                                GlasfaserG Online
                                GlasfaserG Online
                                Glasfaser
                                schrieb am zuletzt editiert von
                                #2698

                                @uweklatt sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                                Beim Einrichten eines neuen "leeren" ioBroker mit gemappten Verzeicnis /opt/iobroker

                                was ist ohne einem gemappten Ordner , läuft er dann durch !?

                                Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                uweklattU 1 Antwort Letzte Antwort
                                0
                                • GlasfaserG Glasfaser

                                  @uweklatt sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                                  Beim Einrichten eines neuen "leeren" ioBroker mit gemappten Verzeicnis /opt/iobroker

                                  was ist ohne einem gemappten Ordner , läuft er dann durch !?

                                  uweklattU Offline
                                  uweklattU Offline
                                  uweklatt
                                  schrieb am zuletzt editiert von uweklatt
                                  #2699

                                  @glasfaser
                                  Nein, dann erscheint derselbe Fehler.

                                  Proxmox/LXC/Docker

                                  1 Antwort Letzte Antwort
                                  0
                                  • uweklattU uweklatt

                                    Ich have aktuell auch Probleme, ioBroker als Container neu aufzusetzen.
                                    Ich nutze Docker innerhalb einer Proxmox Virtualisierung. Diese funktioniert wunderbar mit diversen Containern. Zur Verwaltung nutze ich Portainer.
                                    Beim Einrichten eines neuen "leeren" ioBroker mit gemappten Verzeicnis /opt/iobroker und gesetzem "DEBUG"-Flag bekomme ich als log:

                                    --------------------------------------------------------------------------------
                                    -------------------------     2023-01-22 17:12:08      -------------------------
                                    --------------------------------------------------------------------------------
                                    -----                                                                      -----
                                    ----- ██╗  ██████╗  ██████╗  ██████╗   ██████╗  ██╗  ██╗ ███████╗ ██████╗  -----
                                    ----- ██║ ██╔═══██╗ ██╔══██╗ ██╔══██╗ ██╔═══██╗ ██║ ██╔╝ ██╔════╝ ██╔══██╗ -----
                                    ----- ██║ ██║   ██║ ██████╔╝ ██████╔╝ ██║   ██║ █████╔╝  █████╗   ██████╔╝ -----
                                    ----- ██║ ██║   ██║ ██╔══██╗ ██╔══██╗ ██║   ██║ ██╔═██╗  ██╔══╝   ██╔══██╗ -----
                                    ----- ██║ ╚██████╔╝ ██████╔╝ ██║  ██║ ╚██████╔╝ ██║  ██╗ ███████╗ ██║  ██║ -----
                                    ----- ╚═╝  ╚═════╝  ╚═════╝  ╚═╝  ╚═╝  ╚═════╝  ╚═╝  ╚═╝ ╚══════╝ ╚═╝  ╚═╝ -----
                                    -----                                                                      -----
                                    -----              Welcome to your ioBroker Docker container!              -----
                                    -----                    Startupscript is now running!                     -----
                                    -----                          Please be patient!                          -----
                                    --------------------------------------------------------------------------------
                                     
                                    --------------------------------------------------------------------------------
                                    -----                          System Information                          -----
                                    -----                    arch:                x86_64                       -----
                                    -----                    hostname:            92b196522335                 -----
                                    -----                                                                      -----
                                    -----                          Version Information                         -----
                                    -----                    image:               v7.2.0                       -----
                                    -----                    build:               2023-01-12T23:45:25+00:00    -----
                                    -----                    node:                v16.19.0                     -----
                                    -----                    npm:                 8.19.3                       -----
                                    -----                                                                      -----
                                    -----                        Environment Variables                         -----
                                    -----                    DEBUG:               true                         -----
                                    -----                    SETGID:              1000                         -----
                                    -----                    SETUID:              1000                         -----
                                    --------------------------------------------------------------------------------
                                     
                                    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                    !!!!                            DEBUG LOG ACTIVE                            !!!!
                                    !!!!               Environment variable DEBUG is set to true.               !!!!
                                    !!!! This will extend the logging output and may slow down container start. !!!!
                                    !!!!          Please make sure to deactivate if no longer needed.           !!!!
                                    !!!!     For more information see ioBroker Docker image documentation:      !!!!
                                    !!!!           https://docs.buanet.de/iobroker-docker-image/docs/           !!!!
                                    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                     
                                    --------------------------------------------------------------------------------
                                    -----                  Step 1 of 5: Preparing container                   -----
                                    --------------------------------------------------------------------------------
                                     
                                    Updating Linux packages on first run... 
                                    (Reading database ... 
                                    (Reading database ... 5%
                                    (Reading database ... 10%
                                    (Reading database ... 15%
                                    (Reading database ... 20%
                                    (Reading database ... 25%
                                    (Reading database ... 30%
                                    (Reading database ... 35%
                                    (Reading database ... 40%
                                    (Reading database ... 45%
                                    (Reading database ... 50%
                                    (Reading database ... 55%
                                    (Reading database ... 60%
                                    (Reading database ... 65%
                                    (Reading database ... 70%
                                    (Reading database ... 75%
                                    (Reading database ... 80%
                                    (Reading database ... 85%
                                    (Reading database ... 90%
                                    (Reading database ... 95%
                                    (Reading database ... 100%
                                    (Reading database ... 29424 files and directories currently installed.)
                                    Preparing to unpack .../sudo_1.9.5p2-3+deb11u1_amd64.deb ...
                                    Unpacking sudo (1.9.5p2-3+deb11u1) over (1.9.5p2-3) ...
                                    Setting up sudo (1.9.5p2-3+deb11u1) ...
                                    invoke-rc.d: could not determine current runlevel
                                    invoke-rc.d: policy-rc.d denied execution of restart.
                                    Done.
                                     
                                    Registering maintenance script as command... Done.
                                    
                                    --------------------------------------------------------------------------------
                                    -----             Step 2 of 5: Detecting ioBroker installation             -----
                                    --------------------------------------------------------------------------------
                                     
                                    There is no data detected in /opt/iobroker.
                                    Restoring initial ioBroker installation... Done.
                                    
                                    --------------------------------------------------------------------------------
                                    -----             Step 3 of 5: Checking ioBroker installation              -----
                                    --------------------------------------------------------------------------------
                                    
                                    (Re)setting permissions (This might take a while! Please be patient!)... Done.
                                     
                                    Fixing "sudo-bug" by replacing sudo with gosu... Done.
                                    error: failed switching to "iobroker": operation not permitted
                                    There was a problem detecting the admin instance of your iobroker.
                                    Make sure the ioBroker installation you use has an admin instance or start over with a fresh installation and restore your configuration.
                                    
                                    For more details see https://docs.buanet.de/iobroker-docker-image/docs/#restore
                                     
                                    [DEBUG] Debug mode prevents the container from exiting on errors.
                                    [DEBUG] This enables you to investigate or fix your issue on the command line.
                                    [DEBUG] If you want to stop or restart your container you have to do it manually.
                                    [DEBUG] IoBroker is not running!
                                    
                                    

                                    Mir scheint hier ein Rechteproblem vorzuliegen.
                                    Der Container läuft als "root". Im Container scheint aber der User "iobroker" verwendet zu werden.

                                    Was muss ich nun tun?

                                    Uwe

                                    GlasfaserG Online
                                    GlasfaserG Online
                                    Glasfaser
                                    schrieb am zuletzt editiert von
                                    #2700

                                    @uweklatt sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                                    Zur Verwaltung nutze ich Portainer.

                                    Welche Version ... es gibt ein Problem damit ...

                                    siehe hier :
                                    https://forum.iobroker.net/post/919177

                                    Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                    uweklattU 1 Antwort Letzte Antwort
                                    0
                                    • GlasfaserG Glasfaser

                                      @uweklatt sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                                      Zur Verwaltung nutze ich Portainer.

                                      Welche Version ... es gibt ein Problem damit ...

                                      siehe hier :
                                      https://forum.iobroker.net/post/919177

                                      uweklattU Offline
                                      uweklattU Offline
                                      uweklatt
                                      schrieb am zuletzt editiert von uweklatt
                                      #2701

                                      @glasfaser
                                      Portainer ist Business 2.16.2

                                      Proxmox/LXC/Docker

                                      uweklattU 1 Antwort Letzte Antwort
                                      0
                                      • uweklattU uweklatt

                                        @glasfaser
                                        Portainer ist Business 2.16.2

                                        uweklattU Offline
                                        uweklattU Offline
                                        uweklatt
                                        schrieb am zuletzt editiert von
                                        #2702

                                        Ich habe nun einmal den älteren Container 7.1.2 getestet.
                                        Dieser funktioniert!
                                        Das sollte sich @andre einmal ansehen...

                                        Tschau
                                        Uwe

                                        Proxmox/LXC/Docker

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

                                          @uweklatt sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                                          @glasfaser
                                          Nein, dann erscheint derselbe Fehler.

                                          Wenn du kein Verzeichnis mountest bekommst du den "operation not permitted"-Fehler???
                                          Das halte ich für höchst unwahrscheinlich! Was kommt wenn du in dem gezeigten Status im Container ein iobroker list instances machst?

                                          @uweklatt sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                                          Mir scheint hier ein Rechteproblem vorzuliegen.

                                          Das sehe ich genauso. Allerdings fällt es mir schwer zu glauben dass Portainer daran schuld sein könnte. Leider erzählst du wenig über dein Setup. Da Proxmox von haus aus kein Docker kann, wie hast du deinen Docker Dienst laufen? In einer VM? In einem LXC? Oder gar direkt im Proxmox Host installiert?
                                          Außerdem interessant: Wo liegen deine Daten? Hast du vielleicht eine Festplatte gemountet? Oder gar eine Netzwerkfreigabe?

                                          @uweklatt sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                                          Das sollte sich @andre einmal ansehen...

                                          Was genau sollte ich mir denn einmal ansehen? Dass die ältere Version des Images funktioniert, könntn lie daraegen, dass das Startup-Script erst seit v7.2 bei Fehlern strikt abbricht. Also wenn zum Beispiel permissions nicht passen oder die Konfiguration des Containers fehlerhaft ist.

                                          MfG,
                                          André

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

                                          uweklattU 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

                                          677

                                          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