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
  • 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. Ghost
  3. Where should I upload static files on Ghost within Cloudron?

Where should I upload static files on Ghost within Cloudron?

Scheduled Pinned Locked Moved Solved Ghost
ghoststatic
3 Posts 3 Posters 765 Views 3 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.
  • exploreE Offline
    exploreE Offline
    explore
    wrote on last edited by girish
    #1

    In my case, I'm looking at a Ghost app installation. I'm wondering is there a place I can upload files via sFTP that would stay there through updates? These are files that are outside of the theme, but aren't supported within the Ghost editor. For instance, a small mp4 video needs to be displayed on a page.

    Right now I'm looking at /home/yellowtent/appsdata/[id]/data/content/images/video as an example. Anything there is nicely available at [domain]/content/images/video/yourfile.mp4 but I want to make sure I'm not hacking something together when there's a better way. Specifically I think the challenge I'm facing is with not understanding Cloudron's security policies (I'm glad they're so tight) and that's probably why I couldn't find a way to put them anywhere else.

    I'd love to hear if there's another solution, and perhaps a more broadly applicable solution (not just with Ghost) for anyone else trying to host static files on a Cloudron server. Perhaps what's needed is a static file server, but ideally it's all within the app for now.

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      Everything within data/content/ should be safe across updates from Cloudron side. I am not sure how Ghost itself is managing that folder though, but I assume it does not start cleaning up those directories.

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        @explore It should be fine to put files there. All data under /app/data is backed up as well.

        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