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

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    [HowTo] ioBroker unter Docker auf Synology DiskStation

    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      prinz-ip @Boardy last edited by

      @boardy Ich benutze keine VLans und bin noch auf DSM6. Es gibt nur ein Netz x.x.178.x. Die Syno (iobroker/node-red) läuft also auch im selben Netz wie die insgesamt 3 Echo Dot Gen3. USB habe ich schon lange aufgegeben, als ich mal Versuche mit Zig Bee gemacht habe. Aber die Baustelle machen wir jetzt lieber nicht auf.

      1 Reply Last reply Reply Quote 0
      • F
        finke3 last edited by

        Hallo,
        ich habe eine Synology DS415+ auf welcher ich den ioBroker im Docker laufen lasse (latest stable version).
        Vor kurzem habe ich auf DSM7 aktualisiert. Seither steigt der RAM Verbrauch täglich an, bis nichts mehr geht. Nach einem Neustart der Synology ist der RAM Verbrauch vorerst wieder normal.
        Bei meiner anderen DS218, konnte ich unter DSM7 dieses Problem nicht nachvollziehen.
        Außer, dass es sich um unterschiedliche Modelle handelt und auf der betroffenen 415+ ioBroker läuft gibt es keine nennenswerte Unterschiede. Der RAM ist im Docker limitiert und nie am oberen Limit.

        Hat jemand zufällig ebenfalls dieses Problem bei sich beobachtet? In der Synology Community habe ich einen Thread gefunden, wo andere User ebenfalls betroffen sind. Allerdings nicht mit ioBroker aber unter Einsatz von Docker.

        1 Reply Last reply Reply Quote 0
        • B
          btrompetter last edited by

          Hallo ich habe den dash buttons adapter installiert und bekomme beim starten der Instanz folgenden Fehler:

          socket: Operation not permitted

          ich habe den fixer mehrmals ausgeführt und versucht die Einstellung per Kommando zu setzen.

          setcap 'cap_net_raw,cap_net_admin+eip' $(readlink -f $(which node)) ~

          dabei kommt folgender Fehler

          Failed to set capabilities on file `/usr/bin/node' (Operation not supported)
          The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file

          Auch mit gosu root oder sudo hat es nicht funktioniert.

          Ich verwende das neuste Image und habe in Portainer die Capabilities

          NET_ADMIN
          NET_RAW

          gesetzt.

          Bei mir läuft der Host 4.0.18 und Node.js 14.19.0

          hollywoot 1 Reply Last reply Reply Quote 0
          • hollywoot
            hollywoot @btrompetter last edited by hollywoot

            Moinsen!

            Irgendwie will er nicht mehr. Mir kommt es so vor, als wenn es nicht mehr klappt seit der Umstellung von json auf jsonl.

            Ich setze einen komplett neuen Container in einer Rackstation (er läuft auf der RS seit über 2 Jahren) auf und der iobroker startet nicht.

            root@iobroker:/opt/iobroker# iobroker status
             Cannot read system.config: null (OK when migrating or restoring)
            iobroker is running on this host.
            
            
            Objects type: file
            States  type: file
            

            Stelle ich ein Backup wieder her, läuft er.
            Fasse ich aber den Container nur ein einziges Mal an und deploy ihn z.B. neu o.Ä., hab ich wieder gleiche Meldung und muss wieder das Backup restoren.
            Ich kann mir keinen Reim drauf bilden, woran es liegen sollte.
            Jemand eine Idee? Bin ich mit diesem Problem komplett alleine?

            Hier noch der Docker-Log:

            --------------------------------------------------------------------------------
            -----                  Step 1 of 5: Preparing container                   -----
            --------------------------------------------------------------------------------
            
            Updating Linux packages on first run...
            Reading package lists...
            Building dependency tree...
            Reading state information...
            Reading package lists...
            Building dependency tree...
            Reading state information...
            0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
            Done.
            groupmod: GID '100' already exists
            
            Registering maintenance script as command...
            Done.
            
            Different UID and/ or GID is set by ENV.
            Changing UID to 1000 and GID to 100...
            usermod: no changes
            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 folder permissions (This might take a while! Please be patient!)...
            Done.
            
            Fixing "sudo-bug" by replacing sudo in iobroker with gosu...
            Done.
            
            Hostname in ioBroker does not match the hostname of this container.
            Updating hostname to  iobroker...
            The host for instance "system.adapter.admin.0" was changed from "7c260d806a9d" to "iobroker".
            The host for instance "system.adapter.discovery.0" was changed from "7c260d806a9d" to "iobroker".
            The host for instance "system.adapter.backitup.0" was changed from "7c260d806a9d" to "iobroker".
            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 see ioBroker Docker Image Docs (https://docs.buanet.de/iobroker-docker-image/docs/).
            
            Checking Multihost Setup...
            
            Multihost is set as "master" by ENV and external objects db is set.
            
            Multihost is set as "master" by ENV and external states db is set.
            
            Done.
            
            Checking custom settings for objects db...
            
            IOB_OBJECTSDB_TYPE is set and value is different from detected ioBroker installation.
            Setting type of objects db to "file"...
            Done.
            IOB_OBJECTSDB_HOST is set and value is different from detected ioBroker installation.
            Setting host of objects db to "0.0.0.0"...
            Done.
            IOB_OBJECTSDB_PORT is set and value meets detected ioBroker installation.
            
            Done.
            
            Checking custom settings for states db...
            
            IOB_STATESDB_TYPE is set and value is different from detected ioBroker installation.
            Setting type of states db to "file"...
            Done.
            IOB_STATESDB_HOST is set and value is different from detected ioBroker installation.
            Setting host of states db to "0.0.0.0"...
            Done.
            IOB_STATESDB_PORT is set and value meets detected ioBroker installation.
            
            Done.
            
            --------------------------------------------------------------------------------
            -----                    Step 5 of 5: ioBroker startup                     -----
            --------------------------------------------------------------------------------
            
            Starting ioBroker...
            
            object system.meta.uuid created: d751273f-e403-4c09-890d-cfc7761b988f
            object system.user.admin created
            

            Nehme ich z.B. das Image mit v5.0.0:

            ------------------------------------------------------------
            -----         Step 1 of 5: Preparing container         -----
            ------------------------------------------------------------
             
            Different UID and/ or GID is set by ENV.
            Changing UID to 1000 and GID to 100...
            usermod: Keine Änderungen
            groupmod: GID »100« existiert bereits.
            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 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  iobroker...
            The host for instance "system.adapter.admin.0" was changed from "7a846bb79d4e" to "iobroker".
            The host for instance "system.adapter.discovery.0" was changed from "7a846bb79d4e" to "iobroker".
            The host for instance "system.adapter.info.0" was changed from "7a846bb79d4e" to "iobroker".
            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!
             
            Multihost is set as "master" by ENV and external objects db is set.
            Skipping this step...
            Done.
             
            Multihost is set as "master" by ENV and external states db is set.
            Skipping this step...
            Done.
             
            ENV IOB_OBJECTSDB_TYPE is set and value is different from detected ioBroker installation.
            Setting type of objects db to "file"...
            Done.
            ENV IOB_OBJECTSDB_HOST is set and value is different from detected ioBroker installation.
            Setting host of objects db to "0.0.0.0"...
            Done.
            ENV IOB_OBJECTSDB_PORT is set and value meets detected ioBroker installation. Nothing to do here.
             
            ENV IOB_STATESDB_TYPE is set and value is different from detected ioBroker installation.
            Setting type of states db to "file"...
            Done.
            ENV IOB_STATESDB_HOST is set and value is different from detected ioBroker installation.
            Setting host of states db to "0.0.0.0"...
            Done.
            ENV IOB_STATESDB_PORT is set and value meets detected ioBroker installation. Nothing to do here.
             
            ------------------------------------------------------------
            -----          Step 5 of 5: ioBroker startup           -----
            ------------------------------------------------------------
             
            Starting ioBroker...
             
            host.iobroker check instance "system.adapter.admin.0" for host "iobroker"
            host.iobroker check instance "system.adapter.discovery.0" for host "iobroker"
            host.iobroker check instance "system.adapter.info.0" for host "iobroker"
            Send diag info: {"uuid":"7abd3182-d399-f7bd-da19-9550d8babede","language":"","country":"","hosts":[{"version":"3.1.6","platform":"Javascript/Node.js","type":"linux"}],"node":"v12.19.0","arch":"x64","adapters":{"admin":{"version":"4.0.10","platform":"Javascript/Node.js"},"discovery":{"version":"2.3.7","platform":"Javascript/Node.js"},"info":{"version":"1.7.2","platform":"Javascript/Node.js"}},"statesType":"file","objectsType":"file","model":"Intel(R) Atom(TM) CPU  C2538  @ 2.40GHz","cpus":4,"mem":16820207616,"ostype":"Linux","city":""}
            hash changed or no sources cached => force download of new sources
            

            &

            root@iobroker:/opt/iobroker# iobroker status
            iobroker is running on this host.
            
            At least one iobroker host is running.
            
            Objects type: file
            States  type: file
            

            EDIT:
            Sollte irgendjemand ein ähnliches Problem haben:
            In den ENV vom Container habe ich IOB_OBJECTSDB_TYPE und IOB_STATESDB_TYPE von fileauf jsonl umgestellt. Nun rennt er wieder wie gewünscht.
            Schönen Dank für die rege Anteilnahme 😉

            1 Reply Last reply Reply Quote 0
            • B
              Bongo last edited by

              Ich habe jetzt auch endlich von der Container-Version 5 auf 6.1 upgedatet.

              Beim Einloggen in die ioBroker Oberfläche bekomme ich immer diese Meldung:
              c6cfd8e2-a4fc-40b7-ba79-a34ede4000fd-grafik.png

              Ich kann es bestätigen aber beim nächsten Einloggen kommt die Meldung wieder.

              Der Status sagt, dass jsonl aktiv ist:
              5c5ff5b4-464f-4968-b57f-917df16f8f05-grafik.png

              Wie bekomme ich die Meldung weg?

              B 1 Reply Last reply Reply Quote 0
              • B
                Bongo @Bongo last edited by

                Die Adapterwarnung konnte ich mit
                iobroker fix
                weg bekommen.

                1 Reply Last reply Reply Quote 0
                • AutomationNico
                  AutomationNico @Notsches last edited by

                  @notsches Hi, ich weis, der Eintrag ist schon etwas her, aber wir haben ein Ähnliches Scenario, daher wollte ich dich mal fragen, ob du die Online Community VIS Lizenz benutzt und wenn ja ob du Probleme damit hast. Ich habe damit nämlich in meine Konstellation ein Problem. Siehe hier: https://forum.iobroker.net/topic/55616/vis-keine-gültige-lizenz-gefunden/32?_=1655471460872

                  Gruß Nico

                  AutomationNico 1 Reply Last reply Reply Quote 0
                  • AutomationNico
                    AutomationNico @AutomationNico last edited by AutomationNico

                    @andre Ich hab mir jetzt die letzten 3 Stunden über 800 Beiträge in diesem Thread durchgelesen. Einiges ging schon in meine Richtung, aber am Ende dann doch wieder nicht. Vielleicht hast du ja noch eine Idee zu meinem Phänomen. Siehe hier: https://forum.iobroker.net/topic/55616/vis-keine-gültige-lizenz-gefunden/32?_=1655471460872

                    Gruß Nico

                    1 Reply Last reply Reply Quote 0
                    • S
                      stevie77 last edited by

                      Kurze Frage: Ich scheine irgendwie ein Caching-Problem mit Skripten zu haben. Wenn ich ein JS-Skript nach einer vorhandenen Logausgabe um eine Logausgabe mit einfach nur Text erweitere und speichere, und dann das Skript über die Buttons Skript anhalten und Skript starten neu starte oder/und den Button Neustart über dem Skript betätige, dann wird die neue Skriptvariante nicht gezogen und immer noch nur die ursprüngliche Logausgabe gezeigt (die Code-Stelle wird also ganz sicher durchlaufen). Erst wenn ich den Docker-Container neu starte, wird die aktuelle Variante des Skripts gezogen und ausgeführt (Logausgabe dann vorhanden).
                      Kennt das Verhalten jemand?

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

                        @stevie77

                        Kann mir nicht vorstellen das es am Docker liegt ...

                        Anderen Browser mal genutzt , ist auch dort der Effekt .
                        Browser Cache mal gelöscht.

                        Ist es auch nach einem erneuten Ein/Ausloggen vom Admin so ?

                        ??: ioBroker Container Version , Admin Version , Javascript Version

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User last edited by

                          Hallo, ich hätte auch gerne ioBroker auf meiner Synology. Gibt es dafür ein Video, wie man das macht? ich meine dass USB Antennen nicht mehr so einfach einzustellen sind. Habt ihr es dennoch hinbekommen, oder kann man das mittlerweile umgehen?

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

                            @paul-ol sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                            Habt ihr es dennoch hinbekommen, oder kann man das mittlerweile umgehen?

                            Du meist wegen DSM 7 !?

                            Ja schon lange ...

                            Beispiel in der Suche :
                            https://forum.iobroker.net/topic/20805/conbee-usb-stick-auf-synology-diskstation-im-docker-container

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

                              @paul-ol sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                              ioBroker auf meiner Synology. Gibt es dafür ein Video,

                              Beispiel :

                              Das kann man so machen ... (noch DSM6 )

                              https://www.youtube.com/watch?v=cUQJleqlzOA

                              EDIT_

                              Warum machst du nicht hier weiter , das ist dein Thread :

                              https://forum.iobroker.net/topic/54724/synology-dsm-7-iobroker-einrichten-und-empfehlenswert?

                              1 Reply Last reply Reply Quote 0
                              • ?
                                A Former User @Glasfaser last edited by

                                @glasfaser Genau ich meine DSM 7. Und ab dieser Version werden USB Geräte nicht mehr unterstützt. Ich habe eine Conbee 2 Antenne. Deswegen wollte ich Fragen. Weil ich es nicht hinbekomme. Ich habe hier gefragt, weil ich sehe, dass ihr hier viel über Docker und Synology sprecht. Das wird mir hier immer iengebelendet. Udn meine Beiträge sidn alt. Ist das falsch dann hie rzu frgaen?

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

                                  @paul-ol sagte in [HowTo] ioBroker unter Docker auf Synology DiskStation:

                                  Ich habe eine Conbee 2 Antenne. Deswegen wollte ich Fragen.

                                  Dann ist der Link den ich dir schon dazu gegeben habe , schon richtig !

                                  1 Reply Last reply Reply Quote 0
                                  • haselchen
                                    haselchen Most Active @Guest last edited by

                                    @paul-ol
                                    @Glasfaser

                                    Wegen Synology/Container/Docker und der ähnlichen Thematik seid ihr hier doch schon zugange

                                    https://forum.iobroker.net/topic/55701/wie-innr-spot-mit-iobroker-deconz-updaten/17

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

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

                                      seid ihr hier doch schon zugange

                                      ich nix dort ....

                                      das ist eine Baustelle nur DECONZ oder so ä́hnlich .... was ich daraus lese und hat nichts mit Synology zu tun .

                                      haselchen 1 Reply Last reply Reply Quote 0
                                      • haselchen
                                        haselchen Most Active @Glasfaser last edited by

                                        @glasfaser

                                        Deswegen sollte diese Thematik hier nicht als 3 . Schauplatz weitergehen.

                                        @paul-ol

                                        Bitte erledige erstmal deine anderen Baustellen.

                                        ? 1 Reply Last reply Reply Quote 0
                                        • ?
                                          A Former User @haselchen last edited by

                                          @haselchen bitte schau dir an, ob das nicht 3 verschiedene Dinge sind. Darauf haben dich auch schon die anderen hingewiesen.

                                          haselchen 1 Reply Last reply Reply Quote 0
                                          • haselchen
                                            haselchen Most Active @Guest last edited by haselchen

                                            @paul-ol

                                            Du brauchst mich auf nichts hinweisen.
                                            Ich sehe Deine Threads und alle haben das gleiche Problem.
                                            Docker/IoBroker Synology und Conbee2.
                                            Warum bleibst du nicht in 1 Thread und arbeitest dort alles ab?
                                            Hier gehst du inhaltlich auf das gleiche Thema ein wie hier -> https://forum.iobroker.net/topic/55701/wie-innr-spot-mit-iobroker-deconz-updaten

                                            Und alles zusammen könnte man hier lösen: https://forum.iobroker.net/topic/54724/synology-dsm-7-iobroker-einrichten-und-empfehlenswert

                                            Ich versuche Dir wirklich zu helfen und auch @Thomas-Braun und @Glasfaser versuch(t)en mit Engelsgeduld Dein System irgendwie hinzubiegen, aber da muss auch was von Dir kommen.

                                            Thomas Braun 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

                                            922
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            buanet diskstation docker iobroker synology
                                            248
                                            2854
                                            1147633
                                            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