Variables - Retention failed

Hello,
We set the environment variable ‘RETENTION_ENABLED’ to true in order to delete old activities. However, an error appears in the log when the flow runs. Does anyone know what the problem is and how to solve it? It’s an old project, so we are using Directus 11.7.2.
Best,
Steffen

Hi. How are you running Direcuts? Have you enabled Redis? You may need to manually do it in the database the first time because it looks like it's trying to delete a huge number entries and it's timing out.

Hi Alex, Thanks for your quick reply. We are running Direcuts as self-hosted. OK, we'll try deleting the entries manually and running the flow again. Best, Steffen