MarkH99 0 Posted September 1, 2018 Posted September 1, 2018 Currently running Windows 10 Pro with all updates. Emby Server is working fine. Question is : how to clear the Alerts from the Server Dashboard screen (upper Right Quad of the layout). Old alerts do not appear to drop off from the list. How is it reset to clear the list and start a new Alert list?
PuffyToesToo 334 Posted September 1, 2018 Posted September 1, 2018 I would also like to know how to do this, thank you.
Luke 38807 Posted September 1, 2018 Posted September 1, 2018 There is no way to do this, other than deleting activity.db.
Happy2Play 9140 Posted September 1, 2018 Posted September 1, 2018 That do disappear after x days though.
MarkH99 0 Posted September 1, 2018 Author Posted September 1, 2018 If you are correct Happy2Play - that they will drop off the Dashboard after x Days, do we have control over the value of "x Days"? Is it configurable? Can we change this value to 3 Day or 5 Days?
Happy2Play 9140 Posted September 1, 2018 Posted September 1, 2018 Looks like the script (activitylog.js) is set to 7 days. hasUserId?minDate.setTime(minDate.getTime()-864e5):minDate.setTime(minDate.getTime()-6048e5) Changed system date on my test machine to verify events drop off. But a config to adjust this would be nice, even if hidden. Manual change but overwritten with every update 3 days = change 6048 to 2592 5 days = change 6048 to 4320 3
dochartung 2 Posted April 13, 2019 Posted April 13, 2019 (edited) Looks like the script (activitylog.js) is set to 7 days. hasUserId?minDate.setTime(minDate.getTime()-864e5):minDate.setTime(minDate.getTime()-6048e5) Changed system date on my test machine to verify events drop off. But a config to adjust this would be nice, even if hidden. Manual change but overwritten with every update 3 days = change 6048 to 2592 5 days = change 6048 to 4320 Understand this is an old thread but looking for a solution to this I happened to find it searching. Agreed would be nice to be able to set a time limit for Alerts... Edited April 13, 2019 by dochartung 1
SenatorIvy 17 Posted September 11, 2020 Posted September 11, 2020 Would definitely be nice to have a "clear alerts" link in the upper right of the alerts box. 5
PenkethBoy 2066 Posted September 11, 2020 Posted September 11, 2020 shut the emby server down and delete the activity.db file restart server activity.db will be recreated (blank) Repeat as often as you need or setup a simple script to do it Not perfect but as a work around will work fine. 2 1 1
SenatorIvy 17 Posted September 11, 2020 Posted September 11, 2020 Mm. Would definitely be nice to have a "clear alerts" link in the upper right of the alerts box. 2 1
ChateauPlex 0 Posted January 24, 2021 Posted January 24, 2021 I can find: activitylog.db (>30 days old) 972KB activitylog.db-shm (<48hrs old) 32KB activitylog.db-wal (<90min old) 1,751KB No activity.db Delete all three?
ChateauPlex 0 Posted January 24, 2021 Posted January 24, 2021 Merci! Looks like the -shm and -wal are temp, and activitylog.db is only updated/saved on shutdown/restart, as on shutdown the two disappeared and the one is bigger and has new Modified timestamp. Also, as a CYA I moved the extant activitylog then restarted the whole machine. Previously my Activity Log went back to 1969 (headtilt), now clear for the future. Much appreciate the info.
Mick_K 7 Posted August 24, 2021 Posted August 24, 2021 This is significantly harder to do now with Synology DSM 7 upgrade as I no longer have direct access to Emby Server files without having to PuTTy. Having a "Clear Alerts" button on the Emby Dashboard would make things much easier. 3
Kianouch 1 Posted April 9, 2022 Posted April 9, 2022 (edited) In any case, I tried this and then restored the file. It clears all activity, not only errors. A clear alerts button would be nice Edited April 9, 2022 by Kianouch 1
GrimReaper 3791 Posted April 9, 2022 Posted April 9, 2022 15 minutes ago, Kianouch said: A clear alerts button would be nice Lend your support here: 1
Sparker 36 Posted November 20, 2024 Posted November 20, 2024 On 9/1/2018 at 4:15 PM, Luke said: There is no way to do this, other than deleting activity.db. Does this also wipe the play state of my libraries? I had a look in the file and could see a lot of activity relating to playing media as well. I have migrated to a new NAS by following the directions to move data over to the new server, and the activity log has months of alerts and errors from more than two years ago. example of the bottom of my activity page. In addition I wouldn't mind reducing the alerts to something more manageable, like a month or something if possible. My Emby is installed on a Synology DSM 7.2.2 (I can access the EmbyServer files).
Luke 38807 Posted November 20, 2024 Posted November 20, 2024 12 hours ago, Sparker said: Does this also wipe the play state of my libraries? I had a look in the file and could see a lot of activity relating to playing media as well. I have migrated to a new NAS by following the directions to move data over to the new server, and the activity log has months of alerts and errors from more than two years ago. example of the bottom of my activity page. In addition I wouldn't mind reducing the alerts to something more manageable, like a month or something if possible. My Emby is installed on a Synology DSM 7.2.2 (I can access the EmbyServer files). Hi, no. Deleting that database file will not affect user data.
Sparker 36 Posted November 21, 2024 Posted November 21, 2024 8 hours ago, Luke said: Hi, no. Deleting that database file will not affect user data. Thanks! 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now