• 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 Restore Watched Status

     
    • 0 Vote(s) - 0 Average

    Restore Watched Status

    Import watched status from sqlite
    enesha
    Offline

    Junior Member

    Posts: 49
    Threads: 12
    Joined: 2023 Nov
    Reputation: 1
    Country:United Kingdom
    #1
    2025-03-08, 02:12 PM
    Good Morning all

        So I'm back again with another problem.  After other issues I was trying to turn my JF into a VM on my network.  I do not use Docker, so this is a full (minimal) Bookworm install.  Ok so great that will make my backing thing up easier.  Ok so theres a catch

    Per a previous suggestion from TheDreadPirate I was trying to restore the config directories.  I removed all the libraries from JF and was trying to rescan the full library in a (Unraid) consolidated drive mounted via virtiofs.  This was marginally successful.  The server was being pissy, and was adding libraries multi times (tv, tv1, etc) and the server complained heavily in the logs re: missing jpg's etc for the various screens.  Whatever.  I finally got it to start working and watched some shows while it was rebuilding.  Success! (or I thought).

    Next day I can't connect.  Log file said that the jellyfin.db file was damaged.  Did a search and found a bug report in JF regarding this just happening to people.  There was included a bit of sql to dump the sql, change the last line a bit, and import into new db.  No go.

    Ok so I stole the jellyfin.db from the old physical machine install..and after much fighting I ended up with a fresh install from the .deb and then put the old jellyfin.db into the dir, and voila I am able to log in.  It seems to have the users and perhaps their log in info (the db was about 30 megs).  This works for basic stuff, my ask is about viewing data.

    I can log in.  I can watch shows, etc  However the shows all look as if I have never watched them.  I would like to restore the viewed status.  What shows/movies I have watched, and what season/episode is next for me.

    I still have the physical drive..Is there some way to import JUST the viewing data, at this point?  I just don't want to have to go in and tag everything i've already watched just to get back to status quo Smiling-face

    Thanks!
    Intel Core i7-7800X CPU @ 4.00GHz
    64G RAM
    MultiDrive UnRaid server (JF in VM)
    ~100TB Total, approx 50%
    BookWorm
    enesha
    Offline

    Junior Member

    Posts: 49
    Threads: 12
    Joined: 2023 Nov
    Reputation: 1
    Country:United Kingdom
    #2
    2025-03-08, 02:42 PM
    BTW to add to the discussion....This is the problem that hit me, out of nowhere:

    https://github.com/jellyfin/jellyfin/issues/12701
    Intel Core i7-7800X CPU @ 4.00GHz
    64G RAM
    MultiDrive UnRaid server (JF in VM)
    ~100TB Total, approx 50%
    BookWorm
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2025-03-09, 07:05 PM (This post was last modified: 2025-03-09, 07:06 PM by TheDreadPirate. Edited 1 time in total.)
    library.db contains all your watched status. You would need to restore that. But that contains all the metadata paths and library info, etc. AFAIK, you cannot easily import JUST the watched status since that info is tied to database entry for that piece of content, and that database entry is tied to a file path.
    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