MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Docker install on synology nas

    Scheduled Pinned Locked Moved Solved Troubleshooting
    18 Posts 4 Posters 2.3k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • karsten13K Online
      karsten13 @sdetweil
      last edited by

      @sdetweil said in Docker install on synology nas:

      @karsten13 i think /opt is non existent on synology

      but in the container

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @oliv
        last edited by sdetweil

        this turned out to be a permissions problem. the folder was created w the synology user, but the container is running as user 1000

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 1
        • S sdetweil has marked this topic as solved on
        • P Offline
          pauabaer @karsten13
          last edited by

          @karsten13

          I have the same issue but I do not really know how to run the container as user node with uid/gid 1000.

          You wrote two ways with the hint that this should happen as root. How do I do this?

          And can I make this run just for the MagicMirror docker? Because I have other dockers with other uids/gids.

          Thanks for your help.

          Paua

          S 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @pauabaer
            last edited by

            @pauabaer just change the docker compose .env file userid number from 1000 to whatever it is on your synology nas ( mine is 1026)
            (note the . in front of env)

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            P 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @pauabaer
              last edited by

              @pauabaer yes, the user info is separate for each docker container

              think of a docker container as a mini pc disc, memory, cpu and software all inside a little case (container shell)

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • P Offline
                pauabaer @sdetweil
                last edited by

                @sdetweil
                I tried it in the Synology gui. I have added puid and pgid as I did in other containers.

                But I got the same message: access denied.

                So what would be the difference when I change the entry whithin the compose?

                And how do I find this file at my synology? :)

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @pauabaer
                  last edited by

                  @pauabaer i do not know how to do it with the gui,
                  there is a place where you can paste in the compose file . i have not tried that

                  i ssh’d into the nas and did the manual install steps via commandline

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    pauabaer @sdetweil
                    last edited by

                    @sdetweil
                    I startet the container with a compose file where I added the user 1026 and group ID 100 but there is no success.

                    Still the same error - see attached file.IMG_2437.jpeg

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @pauabaer
                      last edited by

                      @pauabaer typically the group id is the same as the user id

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @sdetweil
                        last edited by

                        @pauabaer

                        id -u will get this users id number
                        id -g will get this users group number

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        P 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy