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.
    • ?
      A Former User @dslraser last edited by Negalein

      @dslraser npm rebuild wirft einen Fehler:

      gyp ERR! clean error
      gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
      gyp ERR! System Linux 4.4.59+
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
      gyp ERR! cwd /opt/iobroker/node_modules/mmmagic
      gyp ERR! node -v v8.16.2
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! mmmagic@0.5.3 install: `node-gyp rebuild`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the mmmagic@0.5.3 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2019-10-21T20_18_03_814Z-debug.log
      

      dslraser 1 Reply Last reply Reply Quote 0
      • dslraser
        dslraser Forum Testing Most Active @Guest last edited by

        @nis
        Fixer auch probiert und danach rebuild ?

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

          @dslraser den Fixer hab ich auch schon ausprobiert, ohne Erfolg. Kann es an Berechtigungen des gemounteten Verzeichnisses liegen?

          dslraser 1 Reply Last reply Reply Quote 0
          • dslraser
            dslraser Forum Testing Most Active @Guest last edited by

            @nis
            die Fehlermeldung scheint mir auch so.

            was sagt denn
            node -v
            nodejs -v
            npm -v

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

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

              node -v
              nodejs -v
              npm -v

              root@45a706ed6ac1:/opt/iobroker# node -v
              v8.16.2
              root@45a706ed6ac1:/opt/iobroker# nodejs -v
              v8.16.2
              root@45a706ed6ac1:/opt/iobroker# npm -v
              6.4.1
              root@45a706ed6ac1:/opt/iobroker#

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

                Wie kann ich die Berechtigungen des gemounteten Verzeichnisses prüfen als Ursache?

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

                  hab nochmal den Fixer drüber gejagt -> alles ok
                  npm rebuild läuft nun auch fehlerfrei durch

                  dann den Container restartet -> keine Veränderung am Ursprungsproblem

                  dslraser 1 Reply Last reply Reply Quote 0
                  • dslraser
                    dslraser Forum Testing Most Active @Guest last edited by

                    @nis
                    dann bin ich leider überfragt...

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

                      @dslraser nicht so schlimm, die alte Version läuft ja noch. Vielleicht hat ja noch jemand eine Idee

                      dslraser 2 Replies Last reply Reply Quote 0
                      • dslraser
                        dslraser Forum Testing Most Active @Guest last edited by dslraser

                        @nis
                        bei mir läuft übrigens die Beta 3.1.2 also nicht latest) problemlos, vielleicht probierst Du die mal.

                        https://github.com/buanet/docker-iobroker/blob/master/README.md

                        1 Reply Last reply Reply Quote 0
                        • dslraser
                          dslraser Forum Testing Most Active @Guest last edited by

                          @nis

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

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

                            @nis Sieht für mich aus, als ob dein Hostname nicht in den Adaptern nicht stimmt.
                            versuch mal:

                            cd /opt/iobroker
                            pkill io
                            iobroker host this
                            

                            MfG,
                            André

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

                              Tester gesucht!!!

                              Ich habe in den letzten Tagen ein wenig gebastelt und habe jetzt im Docker Hub ein Image in v3.1.3beta (buanet/iobroker:beta) liegen.

                              Das ist die Beta für die v4 mit:

                              • node10
                              • multiarch support (amd64, armv7hf und aarch64)
                              • env zum setzen von uid/ gid
                              • Verbesserungen im Logging zum startup-Script

                              Ich erwarte, dass alle die in den letzten Wochen nach den aufgeführten Änderungen gefragt haben sich umgehend als Tester freiwillig melden 😉 Bei allen Anderen würde ich mich freuen wenn der ein oder andere, zumindest testweise, mal das Image ausprobieren könnte...

                              Bugs gerne per Issue im Github.

                              Wie auch schon beim letzten Node-Wechsel ist es nach dem Update erforderlich das Script reinstall.sh laufen zu lassen damit der ioBroker auf die neue Version umsteigt. Ich freue mich auf eure Rückmeldungen.

                              Viel Spaß beim Brokern und Dockern,
                              André

                              P.S.: Mein persönliches Ziel ist es zum Wochenende die v4 frei zu lassen...

                              47db24c2-b6d5-4831-9de0-ed747ef2cf34-image.png

                              C 1 Reply Last reply Reply Quote 1
                              • C
                                cburghardt @andre last edited by

                                @andre Hast du eine der 3.x Versionen schon mit dem js-controller 2 getestet?

                                dslraser andre D 3 Replies Last reply Reply Quote 0
                                • dslraser
                                  dslraser Forum Testing Most Active @cburghardt last edited by

                                  @cburghardt
                                  bei mir läuft die 3.1.2 Beta mit allen bisherigen 2.. js-contollern.
                                  Bisher kein Problem.

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

                                    @cburghardt ja, lief im test einwandfrei...

                                    https://github.com/buanet/docker-iobroker/issues/35

                                    Apollon77 created this issue in buanet/docker-iobroker

                                    closed Can you give js-controller 2.0.0 a try ?! #35

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

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

                                      Sieht für mich aus, als ob dein Hostname nicht in den Adaptern nicht stimmt.

                                      Danke, das hat geklappt

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        darkiop Most Active @cburghardt last edited by

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

                                        @andre Hast du eine der 3.x Versionen schon mit dem js-controller 2 getestet?

                                        Läuft bei mir seit knapp 3 Wochen.

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

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

                                          Gesagt getan und habe den Container editiert und die ENV hinzugefügt. Leider habe ich das Problem, dass die zusätzliche ENV nicht übernommen wird. Ich habe das jetzt schon öfter probiert, add environment variable und dann deploy ich und die Variable ist wieder weg.

                                          Kleiner Hinweis an alle die über Portainer auf der Synology versuchen einen Container per "Duplicate/ Edit" zu deployen und dabei eine Umgebungsvariable ändern wollen...
                                          Aktuell gibt es einen von Synology bestätigten Bug der verhindert dass diese Einstellung übernommen wird. Workaround: Container löschen und mit den neuen Einstellungen komplett neu anlegen...

                                          Nachzulesen hier: https://github.com/portainer/portainer/issues/2423

                                          MfG,
                                          André

                                          chreggy created this issue in portainer/portainer

                                          closed Cannot create/modify/save ENV variables on Synology environment. #2423

                                          1 Reply Last reply Reply Quote 0
                                          • K
                                            K_o_bold last edited by

                                            @andre ,

                                            moin. Ich beschäftige mich gerade mit Docker und habe schon ein paar Container am laufen. Jetzt wollte ich Iobroker mit deinem Image auch dockern.
                                            Allerdings stehe ich vor dem Problem, dass ich redis als states Datenbank nutze und ich nicht verstehe wie ich das in den Container umziehen kann.
                                            Ich möchte meine bestehenden states auch umziehen und es scheitern an dem einspielen des redis backups.
                                            Kannst du mir hier Hilfestellung geben?

                                            andre 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

                                            806
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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