• 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 How to copy "Devices AccessToken" from an istance of Jellyfn to another?

     
    • 0 Vote(s) - 0 Average

    How to copy "Devices AccessToken" from an istance of Jellyfn to another?

    how to avoid need to re-authenticate users when using 2 jellyfin istances
    I-G-1-1
    Offline

    Junior Member

    Posts: 25
    Threads: 3
    Joined: 2023 Jun
    Reputation: 0
    #1
    2025-06-07, 10:16 AM
    My issue: sometime I have to make maintenance on my main server running Jellyfin (A), so to avoid my family loose Jellyfin access I spin up another istance of Jellyfin on another server (B) and NGINX provide to automatically route to this istance.

    At the boot istance B get user watched items from Trakt and the whole "server switch" would be transparent to the user except for the fact that now istance B ask the user to authenticate.

    As family it's not so techy, it becomes a real issue as they don't know how to re-authenticate.

    So my question is: how can I transfer the "AccessToken" from istance A to istance B without copying every time all the /var/lib/jellyfin folder?

    Istance B initially was a clone of a Proxmox LXC of the istance A, so users and their "UserId" are the same.

    I see that /var/lib/jellyfin/data/jellyfin.db has a table called "Devices" that contains the "AccessToken". Would be enough to copy this table from the database A to database B?

    If yes, how can I do this using a bash script (I'm not a programmer)?

    Basically I need to:
    1. extract "Devices" table from jellyfin.db of istance A and save to some file
    2. scp the file to server B
    3. import "Devices" table to jellyfin.db of istance B (replace the whole table could be good enough)

    Any help would be appreciated, thanks
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    How to copy "Devices AccessToken" from an istance of Jellyfn to another? - by I-G-1-1 - 2025-06-07, 10:16 AM
    RE: How to copy "Devices AccessToken" from an istance of Jellyfn to another? - by I-G-1-1 - 2025-06-07, 04:24 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