• 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 General Questions Jellyfin deletes all media metadata when unable to access media filles

     
    • 0 Vote(s) - 0 Average

    Jellyfin deletes all media metadata when unable to access media filles

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-05-14, 02:37 PM
    In the service file you can add "RequiresMountsFor=/your/cifs/mount/path"

    The service file is located at

    /etc/systemd/system/multi-user.target.wants/jellyfin.service

    Using my service file as an example, you would add RequiresMountFor like this.

    Code:
    [Unit]
    Description = Jellyfin Media Server
    After = network-online.target

    [Service]
    RequiresMountsFor=/media/library
    Type = simple
    EnvironmentFile = /etc/default/jellyfin
    User = jellyfin
    Group = jellyfin
    WorkingDirectory = /var/lib/jellyfin
    ExecStart = /usr/bin/jellyfin $JELLYFIN_WEB_OPT $JELLYFIN_FFMPEG_OPT $JELLYFIN_SERVICE_OPT $JELLYFIN_NOWEBAPP_OPT $JELLYFIN_ADDITIONAL_OPTS
    Restart = on-failure
    TimeoutSec = 15
    SuccessExitStatus=0 143

    [Install]
    WantedBy = multi-user.target
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Jellyfin deletes all media metadata when unable to access media filles - by cthunsfrd - 2024-05-13, 03:52 AM
    RE: Jellyfin deletes all media metadata when unable to access media filles - by TheDreadPirate - 2024-05-13, 12:11 PM
    RE: Jellyfin deletes all media metadata when unable to access media filles - by cthunsfrd - 2024-05-14, 12:42 PM
    RE: Jellyfin deletes all media metadata when unable to access media filles - by TheDreadPirate - 2024-05-14, 02:37 PM
    RE: Jellyfin deletes all media metadata when unable to access media filles - by cthunsfrd - 2024-05-15, 12:06 PM
    RE: Jellyfin deletes all media metadata when unable to access media filles - by AntonyF - 2025-01-14, 12:00 PM
    RE: Jellyfin deletes all media metadata when unable to access media filles - by theguymadmax - 2025-01-14, 02:58 PM
    RE: Jellyfin deletes all media metadata when unable to access media filles - by TheDreadPirate - 2025-01-14, 02:49 PM
    RE: Jellyfin deletes all media metadata when unable to access media filles - by AntonyF - 2025-02-01, 06:32 PM

    • 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