I followed the trash guide and have sonaar and sabnzbd working brilliantly together in portainer.

My plex media folders when I was on win11 were on external disks. After moving to ubuntu I can find them under /media/<name>/…

Plex is able to read from them, so it was quick to rebuild the library. My question is, how can I give sonarr access to them? I want to be able to import them and have sonarr able to write to them (when I download episodes).

Is there a clever way to put them into the /data structure that I followed in the trash guide?

Thanks!

1 point
*

Take a look at the docker-compose example in your link

volumes:

 - /media/<your folder on host machine>:/<location you want to mount to inside docker container>
permalink
report
reply
1 point
*

That’s great, thank you, will get on it tomorrow. Will I need to change permissions on the media folders?

permalink
report
parent
reply
1 point

Potentially. It’ll all depend on the permissions in the host (they’re inherited iirc) and the user you’re running your docker container as. I think if I remember correctly I made them 775 and all of the video stack related programs shared a group

permalink
report
parent
reply
2 points

If you spend a little extra time and create a docker compose file, you’ll save yourself in the long run

permalink
report
reply
1 point

Lol I will. If only you knew how long I have spent getting this right so far. But worth it, it’s working perfectly at the moment .

permalink
report
parent
reply
3 points
*

The feature you’re looking for is called bind mounts. https://docs.docker.com/storage/bind-mounts/

If I understand what you want to do, it is 100% possible, and I’m doing almost the exact same thing with my Plex.

permalink
report
reply

Plex

!plex@lemmy.ml

Create post

A community for discussing Plex Media Server. Plex Media Server is a smart software that makes playing movies, tv shows, and other media on your computer simple.

Ask questions, get support, and be part of the community here on Lemmy!

Join the c/Plex community on Matrix!

Rules

Rule 1 - Don't be a dick

Don’t be a dick. This includes any kind of trolling, baiting, etc. Bigotry may result in an instant permaban.


Rule 2 - No misleading or non-descriptive titles

No misleading or non-descriptive titles. Try to be brief but detailed.


Rule 3 - Keep post and comments relevant

Posts must be related to Plex and Plex-related products, apps. etc. Try to keep comments relevant to the parent comment and to the post.


Rule 4 - Keep discussions of &quot;media aqcuistion&quot; limited to means and methods only.

Discussions regarding media acquisition should be limited to the “how” not the “what”, as this is not the place to discuss piracy of specific media. There are other communities for that, and we don’t want to get this community defederated from instances where it’s a forbidden topic. Posts/comments discussing specific acts of piracy (“How do I find X show?” or “Where can I download Y film?”)will be removed. For further clarification see this post


Rule 5 - No asking / offering Plex shares.

No asking / offering Plex shares. There are other communities for that.


Rule 6 - No low-effort / spam / meme posts

No low-effort / meme posts. These are considered spam, and will be removed. Repeat offenses may result in a ban.


Rule 7 - No referral / self-promotion / affiliate links, personal voting / campaigning / funding, or selling posts

No referral / self-promotion / affiliate links, personal voting / campaigning / funding, or selling posts. These are considered spam, and will be removed. Repeat offenses may result in a ban.


Useful Resources


This is a community page and is not affiliated with Plex, Inc. in any way.

Community stats

  • 47

    Monthly active users

  • 145

    Posts

  • 860

    Comments