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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. App Packaging & Development
  3. Strapi on Cloudron — Content-Type Builder Blocked by Read-Only Filesystem

Strapi on Cloudron — Content-Type Builder Blocked by Read-Only Filesystem

Scheduled Pinned Locked Moved App Packaging & Development
strapicloudronpackaging
1 Posts 1 Posters 10 Views 1 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.
  • L Offline
    L Offline
    LoudLemur
    wrote last edited by
    #1

    Strapi on Cloudron — Content-Type Builder Blocked by Read-Only Filesystem
    Hi all — posting this to save others the troubleshooting time we spent.
    We installed the Strapi package on Cloudron and ran into a fundamental blocker: the /app/code directory is read-only, which means Strapi's Content-Type Builder cannot write schema files and is effectively unusable in production mode. The strapi transfer CLI tool also cannot push content types to the destination for the same reason.
    We tried mount -o remount,rw, cloudron push, and exec shell workarounds. None work due to how Cloudron isolates app filesystems.

    For packagers: Would it be feasible to add a hook in start.sh that copies schema files from /app/data/src/api/ into the build at startup? Something like:
    bashif [ -d /app/data/extensions/src/api ]; then
    cp -r /app/data/extensions/src/api /app/code/src/api
    fi
    This would allow users to drop schema files into the persistent data volume and have them picked up on restart, making the package genuinely usable without rebuilding the Docker image.

    For users: If you need a Cloudron-hosted CMS with full schema management, Directus (available as an official Cloudron package, v11.16.0) stores its schema in PostgreSQL rather than the filesystem, so it works perfectly within Cloudron's model. We're switching to it.
    Thanks to the Cloudron team for a great platform. This is a packaging-level fix rather than a Cloudron core issue.

    1 Reply Last reply
    0

    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