Actually, funny thing, i cant clear executions via the website: it just hangs forever.
If to reload the website, it shows 0 executions. But if to restart n8n and reload the website, i see 20k executions again.
Dotenv reads the encryption key from the .env, and cross-env just pushes other env values, e.g. EXECUTIONS_DATA_PRUNE=true (well, at least it supposed to do so). And package.json is used in order to keep other syncing and running scripts in one place.
Here’s full package.json: n8n-workbench-syncer/package.json at main · Systemify-me/n8n-workbench-syncer · GitHub
Have any of the environment options set? It kind of feels like the issue could be with the startup command being used, I would be tempted to just a config file for all the options and pass that in as an option instead and see if that helps.
Actually, I just did that on fresh system - and when i open browser with n8n, i see login and password requirement. That means n8n had missed N8N_USER_MANAGEMENT_DISABLED=true.