Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Navigation

    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Nextcloud External Storage - mounting external services with Rclone?

    Nextcloud
    6
    12
    145
    Loading More Posts
    • 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
      iqweb last edited by

      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 Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        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 Reply Quote 0
        • girish
          girish Staff last edited by

          @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 Reply Quote 1
          • I
            iqweb last edited by

            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?

            girish 1 Reply Last reply Reply Quote 0
            • girish
              girish Staff @iqweb last edited by

              @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 Reply Quote 0
              • J
                jagan last edited by

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

                1 Reply Last reply Reply Quote 0
                • D
                  dkdkdkk @girish last edited by

                  @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

                  girish 1 Reply Last reply Reply Quote 0
                  • girish
                    girish Staff @dkdkdkk last edited by

                    @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 Reply Quote 0
                    • D
                      dkdkdkk @girish last edited by

                      @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?

                      necrevistonnezr 1 Reply Last reply Reply Quote 0
                      • necrevistonnezr
                        necrevistonnezr @dkdkdkk last edited by

                        @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 Reply Quote 1
                        • First post
                          Last post