Disk full n8n 2

Hello, I’m reopening the topic (Disk full n8n) because it’s still relevant, in fact n8n created a file as a database, and I’m afraid given what my workflows do, it keeps all the files that the workflows download and never delete them! Any idea how to make sure it deletes them?

because .n8n currently weighs 25GB and I only have 8 workflows…

Thanks

Hey @Larmier_Anthony, you might want to check out this thread for a first hand report on the topic.

tl;dr would be to set EXECUTIONS_DATA_PRUNE, EXECUTIONS_DATA_MAX_AGE, and DB_SQLITE_VACUUM_ON_STARTUP environment variables as suggested here in our docs and then restart n8n.

Make sure you have space available when doing so as my understanding is that SQLite creates a copy of your database without the data to remove, before removing the old database (so this process will consume space before it frees up space).

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.