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

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Postiz
  3. Local Storage Forced, Image Cache Fails

Local Storage Forced, Image Cache Fails

Scheduled Pinned Locked Moved Postiz
2 Posts 2 Posters 16 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.
  • D Offline
    D Offline
    davidbrrrr
    wrote last edited by
    #1

    Hi all,

    I’m running into a consistent issue with the Postiz app on Cloudron.

    Even when simply loading the Postiz UI (e.g. /launches, /media, /agents, /settings), I get repeated errors like:

    Failed to write image to cache ... mkdir '/app/code/apps/frontend/.next/cache/images'
    ENOENT: no such file or directory
    

    Cloudron mounts /app/code as read‑only, so the Next.js image optimizer cannot create this directory. This happens on every page load, not only during integrations.

    When trying to add a LinkedIn Page, the OAuth flow completes, but the final step fails with:

    LocalStorage.uploadSimple
    Request failed with status code 403
    

    It seems Postiz tries to upload the LinkedIn avatar/logo via the local upload endpoint, but the Cloudron package forces:

    STORAGE_PROVIDER=local
    

    in start.sh, so external storage (S3/R2) cannot be used even if configured in /app/data/env.

    As a result:

    • Next.js cannot write cached images (read‑only filesystem)
    • LocalStorage uploads fail with 403
    • Adding channels like LinkedIn Page becomes impossible

    Am i on the right track here? Can someone else confirm what i described? What are workarounds or possible solutions to this? I really would like to use postiz via cloudron.

    Thanks!

    David

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

      Hello @davidbrrrr
      The first issue you mentioned .next/cache is okay and can be ignored.

      The following issue with 403 seems to be a known issue upstream with localStorage.

      • https://github.com/gitroomhq/postiz-app/issues/972
        and
      • https://github.com/gitroomhq/postiz-app/issues/918#issuecomment-3254171711
        and there even is a PR that fixes this issue: https://github.com/gitroomhq/postiz-app/pull/1085

      This is an upstream issue and can't be fixed by Cloudron sadly.
      The maintainers of Postiz need to add this fix.

      1 Reply Last reply
      0
      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