Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. N8N
  3. n8n persistent frontend cache grows across updates and inflates backups

n8n persistent frontend cache grows across updates and inflates backups

Scheduled Pinned Locked Moved N8N
2 Posts 2 Posters 26 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    P
    pathab
    App Dev
    wrote last edited by pathab
    #1

    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?

    1 Reply Last reply
    2
    • jamesJ
      jamesJ
      james
      Staff
      wrote last edited by
      #2

      Hello @pathab
      Thanks for reporting. We will look into it.

      1 Reply Last reply
      1

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better šŸ’—

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Bookmarks
      • Search