• 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 SOLVED: Resetting stats, deleting users and/or their data

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: Resetting stats, deleting users and/or their data

    JANONYMOUS
    Offline

    Junior Member

    Posts: 49
    Threads: 10
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #1
    2025-01-08, 06:59 PM
    I'm having issues with a couple things regarding stats and users.

    I would like to reset all stats (including plays, continue watching, recommendations, etc.) for all users since there's been a lot of testing involved which wouldn't make any sense outside of that.

    I don't really understand the documentation on this to be honest.  I don't want to reset the entire server--just the user stats.

    I was hoping that deleting and recreating a user would do the trick, however, that will actually bring back the user's stats too.  Next I deleted that specific user, created a new one called "Test" and then renamed it to the old one.  Ironically after renaming it, the stats were back yet again.  I assume they're somehow linked to the name itself rather than the account which I find unusual.

    Is there any solution for what I'm trying to achieve without having to go through a fresh install because I've done that more than enough in the last days and I'm actually happy with how everything is working now.

    Any help is much appreciated!
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-01-08, 07:18 PM
    You can try running the "optimize database" job to see if that cleans up the old user's data before recreating them.

    You can also click the check mark for a movie or show (individual episodes or the while show) then uncheck it to reset watch status which will clear next up and continue watching.
    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]
    JANONYMOUS
    Offline

    Junior Member

    Posts: 49
    Threads: 10
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #3
    2025-01-08, 08:54 PM
    Can't say which job exactly since I ran all of them but it did work. Thanks much. At least for a regular user, that is.

    I also created another admin profile and I noticed that--even though a new user with a never-before used name--this profile will show ALL activity since server day one. Is that normal behavior? Is an admin supposed to see every user's activity? Again, this is a brand new profile we're talking about. Still, songs played from three days ago, literally everything, will show in Suggestions.

    Thanks again.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-01-08, 09:09 PM
    No idea. I've never tried making an additional admin user.
    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]
    JANONYMOUS
    Offline

    Junior Member

    Posts: 49
    Threads: 10
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #5
    2025-01-08, 09:49 PM
    Oh, no, I mean that's the case with the original (old) admin as well. It will show all activity coming from other users. Is that intended?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2025-01-08, 10:17 PM
    No. Each user's activity is separate. Including the admins. Unless you are using the Trakt plugin and all users share the same trakt user.
    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]
    JANONYMOUS
    Offline

    Junior Member

    Posts: 49
    Threads: 10
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #7
    2025-01-09, 03:51 PM
    Trakt isn't involved. That must be a bug then. I can actually see favorites from users that don't even exist anymore. None of that makes sense, but I don't see what I could have done wrong. There has to be a way to get rid of stats and history and/or clear the cache.
    JANONYMOUS
    Offline

    Junior Member

    Posts: 49
    Threads: 10
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #8
    2025-01-09, 03:57 PM
    By the way, most of it, if not all, originates from a session when I tested the Jellyfin app for iOS. I played a couple tracks and favorited some. That is now showing up in the admin's profile somehow.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2025-01-09, 05:52 PM
    Submit a bug report? Definitely weird and not something I've seen before.

    https://github.com/jellyfin/jellyfin/issues
    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]
    JANONYMOUS
    Offline

    Junior Member

    Posts: 49
    Threads: 10
    Joined: 2024 Dec
    Reputation: 0
    Country:United States
    #10
    2025-01-09, 08:15 PM
    Yep, probably. I'm currently gathering and investigating stuff, trying to narrow it down before submitting it.
    Pages (2): 1 2 Next »

    « 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