[Issue]: How can i move data/cache/log dir to other drive letter in windows #4876

Closed
opened 2026-02-07 01:14:31 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @killo3967 on GitHub (May 26, 2023).

Please describe your bug

Hi.
I have windows 10 with Jellyfin install in drive "C" and the data in drive "D". Now i buy an SDD for data of Jellyfin and i would like to move data from D: to new drive. I could'nt change the letter of drive D:.
I stop Jellyfin, copy entry directory structure and start jellyfin again. In the configuration-> general, i change the path for cache and metadata, and restart Jellyfin, but the logs mantain in the old path.
But in Metadata Administrator, each media folder keep the old metadata path.
Then i rollback.
¿ How can i move all the functionality to the new path ?

Thanks.

Jellyfin Version

10.8.9

if other:

No response

Environment

- OS:Windows 10
- Linux Kernel:NO
- Virtualization: NO
- Clients: Windows Local
- Browser: Chrome
- FFmpeg Version: ffmpeg version 5.1.2-Jellyfin
- Playback Method: Various
- Hardware Acceleration: NVENC
- GPU Model: GTX 960
- Plugins: Various
- Reverse Proxy:NO
- Base URL:none
- Networking:
- Storage: Local

Jellyfin logs

No response

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Originally created by @killo3967 on GitHub (May 26, 2023). ### Please describe your bug Hi. I have windows 10 with Jellyfin install in drive "C" and the data in drive "D". Now i buy an SDD for data of Jellyfin and i would like to move data from D: to new drive. I could'nt change the letter of drive D:. I stop Jellyfin, copy entry directory structure and start jellyfin again. In the configuration-> general, i change the path for cache and metadata, and restart Jellyfin, but the logs mantain in the old path. But in Metadata Administrator, each media folder keep the old metadata path. Then i rollback. ¿ How can i move all the functionality to the new path ? Thanks. ### Jellyfin Version 10.8.9 ### if other: _No response_ ### Environment ```markdown - OS:Windows 10 - Linux Kernel:NO - Virtualization: NO - Clients: Windows Local - Browser: Chrome - FFmpeg Version: ffmpeg version 5.1.2-Jellyfin - Playback Method: Various - Hardware Acceleration: NVENC - GPU Model: GTX 960 - Plugins: Various - Reverse Proxy:NO - Base URL:none - Networking: - Storage: Local ``` ### Jellyfin logs _No response_ ### FFmpeg logs _No response_ ### Please attach any browser or client logs here _No response_ ### Please attach any screenshots here _No response_ ### Code of Conduct - [X] I agree to follow this project's Code of Conduct
OVERLORD added the bug label 2026-02-07 01:14:31 +03:00
Author
Owner

@MovieWiz commented on GitHub (May 27, 2023):

You could try

  1. stop Jellyfin
  2. move the Jellyfin data folder to the new drive
  3. Create a directory symbolic link with the name of the original data folder in its original location and point that link to the new location
  4. Restart Jellyfin

There's a good chance that Jellyfin would use the new symbolic link as if it was the original data folder

If you're not familiar with symbolic links, read up on the windows mklink utility.

Ideally, Jellyfin would let you specify the data file location in a config file somewhere. But if not, the above might work for you.

@MovieWiz commented on GitHub (May 27, 2023): You could try 1) stop Jellyfin 2) move the Jellyfin data folder to the new drive 3) Create a directory symbolic link with the name of the original data folder in its original location and point that link to the new location 4) Restart Jellyfin There's a good chance that Jellyfin would use the new symbolic link as if it was the original data folder If you're not familiar with symbolic links, read up on the windows mklink utility. Ideally, Jellyfin would let you specify the data file location in a config file somewhere. But if not, the above might work for you.
Author
Owner

@killo3967 commented on GitHub (May 30, 2023):

Thanks

@killo3967 commented on GitHub (May 30, 2023): Thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#4876