Media folder changed

Not necessarily related to YAMS, but anything related with Linux and other issues


Post Reply
hyprlander
Posts: 1
Joined: Wed Mar 19, 2025 3:43 pm
Italy

Media folder changed

Post by hyprlander »

Hello,
i added an hdd to my server and i want to move all media files to this so i changed the media folder to the new mount position and moved all the data.
I can stream with no issue, but if i check in Radarr, Sonarr and qBittorent the disk space keeps telling me it's almost full.
I would like to see the new disk free space instead of the old one.
Also when i use the command df -h in the console my new hdd doesnt show up. I can only see the old one.

Thanks for the help.

User avatar
rogs
Site Admin
Posts: 267
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Media folder changed

Post by rogs »

Hey @hyprlander!

First of all, make sure your drive is properly mounted in your OS.

Then, you can change your media directory by editing your .env file, located in /your/install/location/.env. It's a hidden file, you can see it by running ls -la in the install directory.

Once you have your mountpoint, you can stop YAMS, change the media directory to the new mountpoint and restart YAMS.

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
hyprlander
Posts: 1
Joined: Wed Mar 19, 2025 3:43 pm
Italy

Re: Media folder changed

Post by hyprlander »

Thank you for your time @rogs,
I did the proper mount and it worked.
I really enjoy YAMS and i have read your de-google blog. Thank you for all the work you do for us!!

Last edited by hyprlander on Thu Mar 20, 2025 8:51 am, edited 1 time in total.
User avatar
rogs
Site Admin
Posts: 267
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Media folder changed

Post by rogs »

No problem @hyprlander!

And thank you for reading my blog :mrgreen: I need to get back on that, my de-googling has changed A LOT since the last time I wrote haha.

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
Post Reply