• 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: Cannot clear activity log entries from 2030

     
    • 0 Vote(s) - 0 Average

    SOLVED: Cannot clear activity log entries from 2030

    SirBarbara
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    Country:United States
    #1
    2024-07-01, 03:59 AM
    Basically as the title says. My activity log has 144 entries from 2030 at the top. If i want to see anything current i have to go past a few pages, its not something i need to do almost ever, its just annoying to see. Its been there for years too, i try messing with it once in a while when i go in. So I want to clear the activity log to start over. I couldnt find settings for this in the dashboard so i went looking around in the server files. I am running a windows server and was able to find an entry in a system xml file for activity log retention days, set to 30 by default, i set it to 0 and restarted the server. Everything was still there. I ran the clean activity log task in maintenance and it cleared everything except entries from 2030. Is it stored somewhere where i can just delete the log because i cant find it


    Attached Files Thumbnail(s)
       
    Go to solution
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #2
    2024-07-01, 04:38 AM (This post was last modified: 2024-07-01, 04:54 AM by Efficient_Good_5784. Edited 1 time in total.)
    They're not getting deleted because they are not yet older than the date the "clean activity log" ran on. Most likely, they'll get deleted once (from the screenshot) April 4, 2030 comes and passes.

    Did you mess up a time zone variable when running Jellyfin? I don't see how else your server logged that activity date.
    theguymadmax
    Offline

    Community Moderator

    Posts: 1,079
    Threads: 0
    Joined: 2024 Jun
    Reputation: 58
    #3
    2024-07-01, 04:40 AM
    1. Download and install https://sqlitebrowser.org/
    2. Shutdown the server
    3. Open up /Jellyfin/data/jellyfin.db (backup first!)
    4. Choose the “Browse Data” tab, right under that is the option to choose table type, select “ActivityLogs”
    5. Select the records you want to get rid of. Right-click on the number and select delete record.
    6. Click the “Write Changes” button, then close the database and restart the server.
    1
    SirBarbara
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: 2024 Jul
    Reputation: 0
    Country:United States
    #4
    2024-07-01, 05:35 AM
    (2024-07-01, 04:38 AM)Efficient_Good_5784 Wrote: They're not getting deleted because they are not yet older than the date the "clean activity log" ran on. Most likely, they'll get deleted once (from the screenshot) April 4, 2030 comes and passes.

    Did you mess up a time zone variable when running Jellyfin? I don't see how else your server logged that activity date.

    I figured it had something to do with the system date and time but couldn't find anything wrong when i first noticed. It may have been wrong when i first installed jellyfin, it was a clean install of windows so it could have been before the time got updated. 

    (2024-07-01, 04:40 AM)theguymadmax Wrote: 1. Download and install https://sqlitebrowser.org/
    2. Shutdown the server
    3. Open up /Jellyfin/data/jellyfin.db (backup first!)
    4. Choose the “Browse Data” tab, right under that is the option to choose table type, select “ActivityLogs”
    5. Select the records you want to get rid of. Right-click on the number and select delete record.
    6. Click the “Write Changes” button, then close the database and restart the server.

    Thank you, this cleared it.
    « 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