Execution logs do not store a large period

Hi everyone, how are you?

I have a problem with my self-hosted n8n installation. My execution logs are not saving long periods. For example, if I configure 7 days in my n8n stack, it does not record the 7 days, it only records between 1 and 2 days. This is having a big impact on errors, etc. Can you tell me what I could do? If there is any parameter I can use to adjust this.

I am using the installation with portainer and traefik, always on the latest version of n8n.

Are you running a high count of workflow executions? Could your executions be limited / pruned by the default value (10000) of EXECUTIONS_DATA_PRUNE_MAX_COUNT?

Yes, it could be because of that. I’ll add this parameter to see if it fits.