On Cloudron 10.0.4 with the current n8n package 4.42.3 (n8n 2.38.7), I found that:
/app/data/user/.cache/n8n/public/assets had grown to 4.5 GB and 82,398 files, while the PostgreSQL database was only 15 MB.
After stopping n8n, deleting the generated public cache and restarting:
- app data: 4.5 GB → 76 MB
- cache files: 82,398 → 1,565
- n8n started normally and /healthz returned HTTP 200
It appears that n8n’s generateStaticAssets() copies newly hashed frontend assets into its persistent cache on every update without removing assets from previous versions. Since the Cloudron package persists the user home under /app/data/user, these stale files are also included in every backup.
Could the package clean /app/data/user/.cache/n8n/public before starting n8n, or is there another intended solution?