Code Monkey home page Code Monkey logo

Comments (3)

EdyTheCow avatar EdyTheCow commented on September 25, 2024

Looks like there's something wrong with file permissions. It could be as simple as defining correct IDs for ENV_PUID and ENV_PGID. By default both of them are set to 1000, to find your user and group IDs type id into the terminal and you should get something like this:

8mhLL1X

Now in /dmc/compose/.env set your uid as ENV_PUID and gid as ENV_PGID. That should make the container match your file permissions with the host.

from docker-media-center.

MachineSaver avatar MachineSaver commented on September 25, 2024

Eddy,
I tried this but the id command results in a ENV_puid and ENV_guid of 1000 which are the values set in the .env file. Despite doing this I still have permission errors when using transmission to download and save to data/downloads/complete.

This question might show some of ignorance of the way docker handles the memory/folder which will store the movie/tv files that are served to jellyfin, but if I have the containers running can I simply load the video files into this folder:
/home/username/docker-media-center/dmc/data/downloads?

Is this also the location that transmission is depositing downloads as set by the "download to" setting within transmission to?

/data/downloads/complete

Or would you want to set that value in the transmission UI to a complete path such as:
/home/username/docker-media-center/dmc/data/downloads?

from docker-media-center.

EdyTheCow avatar EdyTheCow commented on September 25, 2024

If you want to change the path for all media files, simply change the DATA_DIR variable in .env file. For your mentioned path, you would want to set it as /home/username/docker-media-center/dmc/data.

Do not change any paths inside Transmission unless otherwise stated in the guide. Transmission does not see your home directory or any of your files outside its container. The defined volume ${DATA_DIR}/downloads:/data/downloads in docker-compose.yml simply mounts path /data/downloads from inside of Transmission container to outside the container path ${DATA_DIR}/downloads. This also means the download path within Transmission should be set to /data/downloads, otherwise Docker won't be able to mount the correct directory as defined in volumes.

So if you set DATA_DIR to /home/username/docker-media-center/dmc/data the Transmission downloads folder will show up in /home/username/docker-media-center/dmc/data/downloads.

from docker-media-center.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.