Eliminar activity logs

Como elimino activity log?

I hope it is ok if I answer in english

Unfortunately, you can’t delete or reset the activities from the UI. In order to reset it you have to truncate the oc_activity table in your database. See here: Can I delete the activities list?

However, it is possible to set a retention policy for activities in the config.php, which deletes entries older than x days automatically: Configuration Parameters — Nextcloud latest Administration Manual latest documentation

Example:

'activity_expire_days' => 30,

Or you can disable the activity app completely, either via UI or via occ command:

occ app:disable activity
2 Likes

Thanks for your help

1 Like