Jump to content

Recommended Posts

Posted

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
Posted

I would also like to know how to do this, thank you.

Posted

There is no way to do this, other than deleting activity.db.

Happy2Play
Posted

That do disappear after x days though.

Posted

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
Posted

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
  • 7 months later...
dochartung
Posted (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 by dochartung
  • Like 1
  • 1 year later...
Posted

Would definitely be nice to have a "clear alerts" link in the upper right of the alerts box.

  • Agree 5
PenkethBoy
Posted

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 2
  • Haha 1
  • Thanks 1
Posted

Mm. Would definitely be nice to have a "clear alerts" link in the upper right of the alerts box.

  • Like 2
  • Agree 1
  • 4 months later...
ChateauPlex
Posted

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?

PenkethBoy
Posted

yep - with emby shut down

  • Like 1
ChateauPlex
Posted

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.

  • 6 months later...
Posted

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 3
  • 7 months later...
Posted (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 by Kianouch
  • Agree 1
GrimReaper
Posted
15 minutes ago, Kianouch said:

A clear alerts button would be nice 

Lend your support here:

 

  • Agree 1
  • 2 years later...
Posted
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.

image.png.0b8956fd6cc705738b040b7794094768.png

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).

Posted
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.

image.png.0b8956fd6cc705738b040b7794094768.png

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.

Posted
8 hours ago, Luke said:

Hi, no. Deleting  that database file will not affect user data.

Thanks! 😃

  • Thanks 1

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...