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. Nextcloud
  3. Nextcloud External Storage - mounting external services with Rclone?

Nextcloud External Storage - mounting external services with Rclone?

Scheduled Pinned Locked Moved Nextcloud
12 Posts 6 Posters 3.4k Views 6 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.
  • I Offline
    I Offline
    iqweb
    wrote on last edited by
    #3

    Thanks for the quick reply nebulon. Regarding what I quoted from the docs about mounting an existing server directory as 'external storage' not being supported, - is it not recommended or is that it simply can't be done with a Cloudron Nextcloud install?

    What I mean is - let's say if I use Rclone to mount a Google Drive or Mega account to /mnt/webstorage could I then use the 'local' option in External Storage to 'attach' that drive as External Storage to the relevant users. This can work on a non-Cloudron Nextcloud, is there something that stops it on Cloudron?

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

      The local mount would not work, since Nextcloud runs in its own container and does not have access to folders on the host system. This requires more changes on the platform and is unlikely to happen any time soon.

      The only option is to try the mount options from the external storage addon in nextcloud.

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

        @iqweb Mounting a local volume into an app is part of next release - https://forum.cloudron.io/topic/3205/what-s-coming-in-6-0-take-2

        1 Reply Last reply
        1
        • I Offline
          I Offline
          iqweb
          wrote on last edited by
          #6

          Actually @nebulon - that's what I meant all along - mounting a local folder in the External Storage app - would that work or only as @girish said - after the 6.0 release because of Nextcloud being in a container?

          girishG 1 Reply Last reply
          0
          • I iqweb

            Actually @nebulon - that's what I meant all along - mounting a local folder in the External Storage app - would that work or only as @girish said - after the 6.0 release because of Nextcloud being in a container?

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #7

            @iqweb said in Nextcloud External Storage - mounting external services with Rclone?:

            because of Nextcloud being in a container?

            Yes, correct. It's sandboxed and can't see the host file system.

            D 1 Reply Last reply
            0
            • J Offline
              J Offline
              jagan
              wrote on last edited by
              #8

              @iqweb If you get a solution going, can you please share here?

              1 Reply Last reply
              0
              • girishG girish

                @iqweb said in Nextcloud External Storage - mounting external services with Rclone?:

                because of Nextcloud being in a container?

                Yes, correct. It's sandboxed and can't see the host file system.

                D Offline
                D Offline
                dkdkdkk
                wrote on last edited by
                #9

                @girish

                Though when I look in the documentation (specifically the disk layout): https://docs.cloudron.io/storage/#app-data-directory after installation there is a new folder made in the appsdata folder. Does this mean that the data put in the nextcloud docker instance are stored on the disk/folder itself and are not stored within the docker instance? This would be a good thing, storing all the data inside of the nextcloud instance would seem like bad practice

                girishG 1 Reply Last reply
                0
                • D dkdkdkk

                  @girish

                  Though when I look in the documentation (specifically the disk layout): https://docs.cloudron.io/storage/#app-data-directory after installation there is a new folder made in the appsdata folder. Does this mean that the data put in the nextcloud docker instance are stored on the disk/folder itself and are not stored within the docker instance? This would be a good thing, storing all the data inside of the nextcloud instance would seem like bad practice

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #10

                  @dkdkdkk Yes, correct, on Cloudron, all app data is stored outside the container (for persistence). In Cloudron 6, a new data storage concept is coming up - https://docs.cloudron.io/storage/#volumes

                  D 1 Reply Last reply
                  0
                  • girishG girish

                    @dkdkdkk Yes, correct, on Cloudron, all app data is stored outside the container (for persistence). In Cloudron 6, a new data storage concept is coming up - https://docs.cloudron.io/storage/#volumes

                    D Offline
                    D Offline
                    dkdkdkk
                    wrote on last edited by
                    #11

                    @girish Interesting, any ETA on when 6.0 is coming?

                    Concerning the volume concept. I read another post (maybe you or another dev around here) mentioning that a "shared" folder/volume is not working as it should be. E.g. nextcloud is ignoring files when added to the volume and don't show up inside of the Nextcloud web UI. Is that still the case or is that fixed?

                    necrevistonnezrN 1 Reply Last reply
                    0
                    • D dkdkdkk

                      @girish Interesting, any ETA on when 6.0 is coming?

                      Concerning the volume concept. I read another post (maybe you or another dev around here) mentioning that a "shared" folder/volume is not working as it should be. E.g. nextcloud is ignoring files when added to the volume and don't show up inside of the Nextcloud web UI. Is that still the case or is that fixed?

                      necrevistonnezrN Offline
                      necrevistonnezrN Offline
                      necrevistonnezr
                      wrote on last edited by
                      #12

                      @dkdkdkk 10 days ago:
                      @girish said in What's coming in 6.0 (take 2):

                      Another brief update:

                      • We added auth wall functionality that apps without any notion of login can use
                      • i18n is mostly done, just lots of testing before we let translators do their work. @nebulon can give some updates on how the language is selected etc.
                      • We added httpPaths functionality so that @MooCloud_Matt can work on his OLS app. Also, see https://forum.cloudron.io/topic/3755/apache-ols-and-nginx-custom-benchmarks/5
                      • Reworked a lot of the internal dns stuff, so that we can have apps as dns servers (ad blocker apps)
                      • solr fts search was merged today.

                      Looks like we are set for a release next week!

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