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. Discuss
  3. Can Cloudron NextCloud use local external RAID1 storage?

Can Cloudron NextCloud use local external RAID1 storage?

Scheduled Pinned Locked Moved Solved Discuss
7 Posts 4 Posters 1.2k Views 4 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.
    • S Offline
      S Offline
      stoccafisso
      wrote on last edited by stoccafisso
      #1

      Hi all

      I consider some changes for my home theater family computer, that is installing cloudron on it. The plan is to install Ubuntu 18.04 server (+ Ubuntu desktop to let my family browse internet, view netflix, etc.), and install cloudron mainly to have Nextcloud to sync and host some 800GB family members photo/video-collection and various other files.

      In the home theater box the system disk is a 250G HD. In addition I have a 3TB software RAID1 mounted as /mnt/raid1

      Is it possible to have the cloudron Nextcloud to "mount" and use this raid1 "local external" storage? Or even better....have the cloudron NextCloud configured to have the main /data directory located in /mnt/raid1?

      I know I can do most of this without installing Cloudron, but I would really like to have Cloudron as the main "brain" in this setup, also for the option to use other cloudron apps if needed.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        stoccafisso
        wrote on last edited by stoccafisso
        #2

        Another option (if at all possible)?

        Install separate Nextcloud on the system disk, configured to have /data dir located in /mnt/radi1 (domain1.tld).
        Install headless Virtualbox on the system disk to host a cloudron guest OS virtual machine for all the cloudron stuff (domain2.tld).
        Have Nginx as reverse proxy in front of the above two?

        Yes, I admit....I know very little of this tech stuff, but learn by doing (and asking some questions) when something needs to be done 🙂

        1 Reply Last reply
        0
        • fbartelsF Offline
          fbartelsF Offline
          fbartels
          App Dev
          wrote on last edited by
          #3

          I think your question is similar to https://forum.cloudron.io/topic/1770/need-suggestion-on-amazon-s3/3

          I think putting a reverse proxy Infront of cloudron could potentially mess a lot with your setup (since cloudron is dynamically creating subdomains for all apps).

          If it's really local storage I would just mount your data disks into the folder where cloudron is storing it's data.

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

            @stoccafisso sounds like you could make use of https://cloudron.io/documentation/storage/#moving-a-single-apps-data-directory-to-another-location

            S 1 Reply Last reply
            1
            • fbartelsF fbartels

              I think your question is similar to https://forum.cloudron.io/topic/1770/need-suggestion-on-amazon-s3/3

              I think putting a reverse proxy Infront of cloudron could potentially mess a lot with your setup (since cloudron is dynamically creating subdomains for all apps).

              If it's really local storage I would just mount your data disks into the folder where cloudron is storing it's data.

              S Offline
              S Offline
              stoccafisso
              wrote on last edited by
              #5

              @fbartels, thank you

              So, I need to figure out the full path to the cloudron NextCloud data storage, which may be

              "/rootfilesystem/somedockercontainer-id/app/data
              

              ...and mount the local external storage within that "data" folder? Is that possible? Do NextCloud then need to know the full system path for the mounted folder, or is it enough for Nextcloud to just see the mountpoint within docker?

              1 Reply Last reply
              0
              • nebulonN nebulon

                @stoccafisso sounds like you could make use of https://cloudron.io/documentation/storage/#moving-a-single-apps-data-directory-to-another-location

                S Offline
                S Offline
                stoccafisso
                wrote on last edited by
                #6

                @nebulon thank you. just noticed your message the split second I was pushing the submitbutton for my latest comment to jfbartels. Looks like you pointed to the solution. I will test, thank you 🙂

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

                  @stoccafisso I have put this in our 4.1 roadmap - https://forum.cloudron.io/topic/1789/what-s-coming-in-4-1 . The feature is already supported in our backend (dataDir field when calling the configure route) but the UI is hidden. We will work on making it public.

                  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