• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Issue with Portable Jellyfin Installation on Windows

     
    • 0 Vote(s) - 0 Average

    Issue with Portable Jellyfin Installation on Windows

    Incorrect Metadata/Library Path - Portable Jellyfin Installation on Windows
    Adauchi
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:United States
    #1
    2024-10-12, 06:15 PM
    Hello Jellyfin Community,

    I'm currently experiencing an issue with my portable Jellyfin installation on Windows. I’ve set up a batch file to start Jellyfin using the following command:

    Code:
    system\jellyfin.exe -d E:\Program Files\Jellyfin v10.9.11\jellyfin\database

    pause

    [Image: WSzqIYe.png]

    [Image: on2Ql5T.png]

    However, as shown in the images I’ve provided, Jellyfin seems to be creating and storing metadata, library files, and other related data in E:/Program/ instead of the intended E:/Program Files/.

    I suspect this might be due to the space in the directory name (Program Files) and the overall length of the path. After doing some research, I believe that enclosing the path in double quotes might resolve the issue. So, I modified the batch file to this:

    Code:
    system\jellyfin.exe -d "E:\Program Files\Jellyfin v10.9.11\jellyfin\database"

    pause


    My Questions:

    1. Would enclosing the path in quotes "" fix the issue where Jellyfin incorrectly sets the metadata/library paths?
    2. If this doesn't solve the problem, what might I be doing wrong, and what can I do to ensure that Jellyfin is properly saving everything in the intended E:/Program Files/ directory?

    I'm using Jellyfin version 10.9.11, and I’m running the portable version on a Windows system.

    Any help or suggestions on resolving this would be greatly appreciated!

    Thank you in advance.
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,012
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #2
    2024-10-12, 07:43 PM
    Yes, you need to use quotes.

    To start Jellyfin with the default data directory, use this command: 

    Code:
    .\jellyfin.exe --datadir "C:\ProgramData\Jellyfin\Server"


    If you don't provide an argument and simply run .\jellyfin.exe, it will automatically use the following data directory: 

    Code:
    %USERPROFILE%\AppData\Local\jellyfin


    Unless you have a specific reason, I wouldn’t recommend storing your data directory alongside your application files.
    Adauchi
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Oct
    Reputation: 0
    Country:United States
    #3
    2024-10-12, 08:10 PM
    (2024-10-12, 07:43 PM)theguymadmax Wrote: Yes, you need to use quotes.

    To start Jellyfin with the default data directory, use this command: 

    Code:
    .\jellyfin.exe --datadir "C:\ProgramData\Jellyfin\Server"


    If you don't provide an argument and simply run .\jellyfin.exe, it will automatically use the following data directory: 

    Code:
    %USERPROFILE%\AppData\Local\jellyfin


    Unless you have a specific reason, I wouldn’t recommend storing your data directory alongside your application files.

    Thank you for the clarification! I'll make sure to use quotes in my arguments from now on.

    I can't use the default data directory as my C Drive only has 16 GB of free space (64 GB total), and I try to keep it as empty as possible to ensure Windows runs smoothly. I need at least 6 GB free for the system and additional space for temp storage.

    When you mentioned "Unless you have a specific reason, I wouldn’t recommend storing your data directory alongside your application files," do you have a better recommendation for where I could store it? I'm currently running the portable version of Jellyfin on my SDCARD (E Drive) and also have a 3TB external drive connected. I assume the SDCARD might be better since it's technically faster than the external drive. What do you think?
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,012
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #4
    2024-10-12, 09:09 PM
    For naming, that’s your call, but I suggest keeping it similar to Jellyfin's path. For example:
    .\jellyfin.exe --datadir "E:\ProgramData\Jellyfin\Server"

    Which ever drive has the faster read/write speeds. If it's a mechanical hard drive then then I'd go with the  SD card.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode