Skip to content

Cleanup old ActivityLog Entries #3814

Open

Description

@bergerwo

Describe the bug

I would like to clear old activity log entries throughout my whole installation.
But setting environment variables to let them timeout does not work.
https://docs.opencloud.eu/de/docs/dev/server/services/activitylog/environment-variables

Steps to reproduce

  1. set ACTIVITYLOG_STORE_TTL to 60s
  2. set ACTIVITYLOG_MAX_ACTIVITIES to 10

Expected behavior

Old activitylog entries get deleted form default nats backend.

Actual behavior

The entries remain.

Setup

Default Docker-Compose Setup with Traefik and Keycloak

Details

Activity

  1. moved this from Qualification to Prio <= 3 in OpenCloud Team Boardon Oct 28, 2026
  2. bergerwo commented on Oct 28, 2026

    @bergerwo
    Author

    I’ve just updated to newest version of opencloud (9.0.0). Looks like the activitylog is still there. The reason why I want to remove it is because I’ve a lot of entries from my initial bulk data migration. During migration activitylog was turned off. However after enabling again I saw {user} changed file-abc etc in the logs. Please let me know if more information is needed for debugging. Thanks 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions