Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [HowTo] ioBroker unter Docker auf Synology DiskStation

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    [HowTo] ioBroker unter Docker auf Synology DiskStation

    This topic has been deleted. Only users with topic management privileges can see it.
    • Codierknecht
      Codierknecht Developer Most Active @Marc Berg last edited by

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

      Das kann dann nur eine Synology Spezialität sein

      Ist so ...
      1972c0a9-9b9d-408f-b140-2f89550807a0-image.png

      Marc Berg 1 Reply Last reply Reply Quote 0
      • Marc Berg
        Marc Berg Most Active @Codierknecht last edited by

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

        Codierknecht D 2 Replies Last reply Reply Quote 0
        • Codierknecht
          Codierknecht Developer Most Active @Marc Berg last edited by

          @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 Berg 1 Reply Last reply Reply Quote 1
          • F
            fir3drag0n last edited by 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?

            Glasfaser 3 Replies Last reply Reply Quote 0
            • Marc Berg
              Marc Berg Most Active @Codierknecht last edited by

              @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 .. 🙂

              1 Reply Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @fir3drag0n last edited by

                @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 1 Reply Last reply Reply Quote 0
                • F
                  fir3drag0n @Glasfaser last edited by

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

                  1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @fir3drag0n last edited by

                    @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 1 Reply Last reply Reply Quote 0
                    • F
                      fir3drag0n @Glasfaser last edited by

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

                      1 Reply Last reply Reply Quote 0
                      • Glasfaser
                        Glasfaser @fir3drag0n last edited by

                        @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 1 Reply Last reply Reply Quote 0
                        • F
                          fir3drag0n @Glasfaser last edited by

                          @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

                          Glasfaser kosmix 2 Replies Last reply Reply Quote 0
                          • Glasfaser
                            Glasfaser @fir3drag0n last edited by

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

                            @glasfaser hat sich erledigt,

                            Freut mich ... das du deinen Bug gefunden hast 🙂

                            1 Reply Last reply Reply Quote 1
                            • D
                              dtp @Marc Berg last edited by

                              @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 Berg andre 2 Replies Last reply Reply Quote 0
                              • Marc Berg
                                Marc Berg Most Active @dtp last edited by Marc Berg

                                gelöscht

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

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

                                  1 Reply Last reply Reply Quote 0
                                  • uweklatt
                                    uweklatt last edited by

                                    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

                                    Glasfaser 2 Replies Last reply Reply Quote 0
                                    • Glasfaser
                                      Glasfaser @uweklatt last edited by

                                      @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 !?

                                      uweklatt 1 Reply Last reply Reply Quote 0
                                      • uweklatt
                                        uweklatt @Glasfaser last edited by uweklatt

                                        @glasfaser
                                        Nein, dann erscheint derselbe Fehler.

                                        1 Reply Last reply Reply Quote 0
                                        • Glasfaser
                                          Glasfaser @uweklatt last edited by

                                          @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

                                          uweklatt 1 Reply Last reply Reply Quote 0
                                          • uweklatt
                                            uweklatt @Glasfaser last edited by uweklatt

                                            @glasfaser
                                            Portainer ist Business 2.16.2

                                            uweklatt 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            783
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            buanet diskstation docker iobroker synology
                                            248
                                            2854
                                            1420724
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo