• 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 Postgres backend?

     
    • 0 Vote(s) - 0 Average

    Postgres backend?

    How can I use Postgres as the database for Jellyfin
    weberc2
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2023 Nov
    Reputation: 0
    #1
    2024-10-28, 05:50 PM
    According to https://github.com/jellyfin/jellyfin/iss...4573056324, support for multiple databases was merged back in 2021, but I can't find any information about configuring Jellyfin for Postgres which (as far as I can tell) is the main obstacle for running Jellyfin in a true high-availability configuration? Does anyone have more information about this? Am I missing something in the configuration docs?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-10-28, 07:21 PM
    That may have been an initial effort, but only recently has there been significant progress on migrating Jellyfin's database to EFCore to allow for external database applications.

    https://github.com/jellyfin/jellyfin/pull/12798

    Due to how big this change would be, 10.11 in 6 months is the earliest it could be introduced. But, like with everything FOSS, there is no guarantee or specific version/date for when it will actually be implemented.
    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]
    weberc2
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2023 Nov
    Reputation: 0
    #3
    2024-10-28, 07:27 PM
    Thanks for the information! Any idea if this is sufficient for high availability, or are there other things to sort out (e.g., sticky sessions, race conditions in filesystem state, or hard-coded single-process assumptions in the application)?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-10-28, 07:59 PM
    I don't think HA will be a thing. Since Jellyfin is designed to be a home media server, so HA is "out of scope". Having said that, HA is out of scope for Jellyfin itself. Moving Jellyfin's DB externally, and using a load balancing reverse proxy, you could achieve similar functionality. As long as a user's session "sticks" to one of the Jellyfin instances.
    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)


    • 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