• 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 Sync jellyfin settings across multiple servers

     
    • 0 Vote(s) - 0 Average

    Sync jellyfin settings across multiple servers

    A question of ifit is possible to sync jellyfin settings across multiple servers
    McNobbets00
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    Country:United Kingdom
    #1
    2024-12-30, 09:47 PM
    Hi there,

    I would like to begin with the obligatory apology. Sorry if this isn't the right place.

    My hardware:
    1x Dell R220 running opnsense

    2x HP microserver g7 n40l each with 3x 2TB drives and a 160GB SSD to boot linux mint from

    4x HP micro PCs running proxmox with a 500GB SSD for boot and storage

    My software:

    The HP microservers have Linux mint installed natively and are configured as a 12TB gluster volume.

    The proxmox nodes all have a Linux mint VM with jellyfin installed. The jellyfin media library is in a mounted directory on the gluster volume.

    The microservers and the proxmox nodes are on separate subnets of the opnsense box but there aren't any firewall rules set up aside from a basic "allow any" rule so they communicate as if the opnsense box was a switch.

    My problem:

    There are 4 jellyfin instances and I would like them to sync their settings.

    I can get the libraries to sync by mounting /var/lib/jellyfin/root/default to a folder on the gluster volume but the settings (such as enabling/disabling the library) won't sync. Checking the XML file, it does change the options but the other instances don't update.

    Mounting /var/lib/jellyfin/data to the gluster volume just breaks the particular jellyfin instance so that screws up syncing users for now, but I plan to use LDAP/active directory to circumvent that.

    Does anyone here have an idea of how to do it properly?

    Thanks
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-12-31, 06:49 PM
    Most of what you need to sync is in jellyfin.db and library.db. Not just the root folder. Users are also contained in jellyfin.db.
    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]
    McNobbets00
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    Country:United Kingdom
    #3
    2024-12-31, 11:30 PM
    Hi there,

    Thanks for your response.

    I have moved 2 of the VMs to syncthing as opposed to a mounted share for testing.

    Syncing /var/lib/jellyfin/data/jellyfin.db and library.db seems to not have any effect.

    Am I looking in the right place?

    My theory aside from syncthing not behaving is that Jellyfin doesn't update it's configuration until a setting is changed. Can I force JF to look at it's setting in some way? Restarting the service with systemctl doesn't do the trick.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-01-01, 07:17 PM
    Really, you should be syncing the entire /var/lib/jellyfin folder. There are a lot of things in the two database files that use absolute paths for metadata files and whatnot.

    Again, Jellyfin IS NOT designed nor do we support this kind of deployment.
    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]
    McNobbets00
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    Country:United Kingdom
    #5
    2025-01-01, 08:35 PM
    You were correct. Thank you.

    Syncing the entirety of /var/lib/jellyfin causes the settings to transfer across, but only after a restart.

    Now I'm on to getting jellyfin to update the live configuration every so often.
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 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