Jump to content

Clear Alerts from Emby Server Dashboard


MarkH99

Recommended Posts

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?

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

Happy2Play

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

  • Like 3
Link to comment
Share on other sites

  • 7 months later...
dochartung

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 by dochartung
  • Like 1
Link to comment
Share on other sites

  • 1 year later...
PenkethBoy

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.

  • Like 1
  • Haha 1
  • Thanks 1
Link to comment
Share on other sites

  • 4 months later...
ChateauPlex

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?

Link to comment
Share on other sites

ChateauPlex

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.

Link to comment
Share on other sites

  • 6 months later...

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.

  • Agree 2
Link to comment
Share on other sites

  • 7 months later...
Kianouch

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 by Kianouch
Link to comment
Share on other sites

GrimReaper
15 minutes ago, Kianouch said:

A clear alerts button would be nice 

Lend your support here:

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...