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. Surfer
  3. Is it possible to change where files are hosted to another volume?

Is it possible to change where files are hosted to another volume?

Scheduled Pinned Locked Moved Solved Surfer
5 Posts 2 Posters 237 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.
    • ei8fdbE Offline
      ei8fdbE Offline
      ei8fdb
      wrote on last edited by ei8fdb
      #1

      Happy New Year all!

      I've got a question about moving where Surfer app files are stored.

      Context
      (This Cloudron is a home hosted instance. App data directory is on the same disk as Cloudron OS)

      I want to host some large files (e.g. +4GB operating system images) with the Surfer app. The files are too large to host in the Data Directory (Default location /app/data/public on the same physical disk as the machine OS).

      I've added an external Mounts (a large USB disk I use for files) - /media/10tbfilestorage. The surfer app has RW access.

      I can't see a way or a config file to change the storage directory to the 10TB storage. I've checked the app documentation but can't see a way.

      What happens now
      When I upload files to the Surfer app, they're uploaded to the default location /app/data/public.

      What I want to happen
      When I upload files to the Surfer app, they're uploaded to the USB disk mount.

      Is it possible to move that file storage location? Or do I need to move the whole Data Directory from the /appdata/public location to the /media/10tbfilestorage/ location?

      Thanks.

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

        Yes also the config file, but surfer really only has a small json file as config, the rest is just the files it serves up from public/.

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

          Surfer only has one data root, which is set to /app/data/public within the app on Cloudron. To serve up files from other volumes/disks you can just change the data directory of the whole app https://docs.cloudron.io/apps/#data-directory

          ei8fdbE 1 Reply Last reply
          1
          • nebulonN nebulon marked this topic as a question on
          • nebulonN nebulon

            Surfer only has one data root, which is set to /app/data/public within the app on Cloudron. To serve up files from other volumes/disks you can just change the data directory of the whole app https://docs.cloudron.io/apps/#data-directory

            ei8fdbE Offline
            ei8fdbE Offline
            ei8fdb
            wrote on last edited by
            #3

            @nebulon said in Is it possible to change where files are hosted to another volume?:

            Surfer only has one data root, which is set to /app/data/public within the app on Cloudron. To serve up files from other volumes/disks you can just change the data directory of the whole app https://docs.cloudron.io/apps/#data-directory

            Hi @nebulon and that then moves the app config files to the external mount (in my case the USB disk). Right?

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

              Yes also the config file, but surfer really only has a small json file as config, the rest is just the files it serves up from public/.

              ei8fdbE 1 Reply Last reply
              0
              • J joseph has marked this topic as solved on
              • ei8fdbE ei8fdb has marked this topic as solved on
              • nebulonN nebulon

                Yes also the config file, but surfer really only has a small json file as config, the rest is just the files it serves up from public/.

                ei8fdbE Offline
                ei8fdbE Offline
                ei8fdb
                wrote on last edited by
                #5

                @nebulon Thanks thats clear.

                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