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. Support
  3. Help with Wasabi mounting

Help with Wasabi mounting

Scheduled Pinned Locked Moved Solved Support
rclonewasabifuse
68 Posts 6 Posters 23.0k Views 5 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.
  • marcusquinnM Offline
    marcusquinnM Offline
    marcusquinn
    wrote on last edited by
    #54

    From reading the above article, is sounds like it might need to be that Cloudron has 2 x versions of Nextcloud packaged, or at least an option in installing to make it setup for S3 storage.

    Probably needs one of the @appdev team to have a read and confirm or deny.

    I agree it would be interesting and our past experience might have been what this article above solves.

    Let's get more opinions on this, someone else might also have a need and interest and be willing to try themselves too.

    Web Design https://www.evergreen.je
    Development https://brandlight.org
    Life https://marcusquinn.com

    P fbartelsF 2 Replies Last reply
    0
    • marcusquinnM marcusquinn

      From reading the above article, is sounds like it might need to be that Cloudron has 2 x versions of Nextcloud packaged, or at least an option in installing to make it setup for S3 storage.

      Probably needs one of the @appdev team to have a read and confirm or deny.

      I agree it would be interesting and our past experience might have been what this article above solves.

      Let's get more opinions on this, someone else might also have a need and interest and be willing to try themselves too.

      P Offline
      P Offline
      privsec
      wrote on last edited by
      #55

      @marcusquinn Ill have to give that article above a read.

      Anything I can do to help make launching costs low is sought after, while keeping user experience high

      1 Reply Last reply
      1
      • marcusquinnM marcusquinn

        From reading the above article, is sounds like it might need to be that Cloudron has 2 x versions of Nextcloud packaged, or at least an option in installing to make it setup for S3 storage.

        Probably needs one of the @appdev team to have a read and confirm or deny.

        I agree it would be interesting and our past experience might have been what this article above solves.

        Let's get more opinions on this, someone else might also have a need and interest and be willing to try themselves too.

        fbartelsF Offline
        fbartelsF Offline
        fbartels
        App Dev
        wrote on last edited by
        #56

        @marcusquinn said in Help with Wasabi mounting:

        From reading the above article, is sounds like it might need to be that Cloudron has 2 x versions of Nextcloud packaged, or at least an option in installing to make it setup for S3 storage

        Ihmo no second app necessary, the drawback is though that the s3 backend can only be enabled before any data is added to the app.

        I am however sceptical if adding network latency for file access is such a smart idea. Especially for a php application.

        P 1 Reply Last reply
        0
        • fbartelsF fbartels

          @marcusquinn said in Help with Wasabi mounting:

          From reading the above article, is sounds like it might need to be that Cloudron has 2 x versions of Nextcloud packaged, or at least an option in installing to make it setup for S3 storage

          Ihmo no second app necessary, the drawback is though that the s3 backend can only be enabled before any data is added to the app.

          I am however sceptical if adding network latency for file access is such a smart idea. Especially for a php application.

          P Offline
          P Offline
          privsec
          wrote on last edited by
          #57

          So after reviewing this article, Cloudron does not respect the nextcloud config in this manner.

          When I include that piece of info in the config file, nextcloud either error's out or it does not use the S3 bucket as its primary storage.

          1 Reply Last reply
          0
          • P privsec

            @robi But wouldnt that be un-ideal as S3 isnt a FS, and that is what I am wanting?

            robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #58

            @privsec
            I am giving you advanced options, as you already know what is ideal.

            ie. Get a VPS with a large amount of disk mounted locally.

            Conscious tech

            1 Reply Last reply
            0
            • marcusquinnM Offline
              marcusquinnM Offline
              marcusquinn
              wrote on last edited by
              #59

              TBH I can see the advantages for having a separate Nextcloud instance with just the Files app enabled as web interface for S3 to allow users to have it available as a slower cold-storage option, with having a faster standard NC setup for their daily hot-storage needs.

              So, I wouldn't dismiss this aim, just with speed cautions, and the cautions in the article that the storage would then be unbrowsable directly without the NC database metadata interface, so it also has mass disruption risks if that were lost.

              Web Design https://www.evergreen.je
              Development https://brandlight.org
              Life https://marcusquinn.com

              1 Reply Last reply
              0
              • marcusquinnM marcusquinn

                @privsec Just reading this, not sure if you've read? I'm not saying i can't be done, just that we gave up. Maybe this helps? I'm still reading: https://autoize.com/s3-compatible-storage-for-nextcloud/

                robiR Offline
                robiR Offline
                robi
                wrote on last edited by
                #60

                @marcusquinn said in Help with Wasabi mounting:

                @privsec Just reading this, not sure if you've read? I'm not saying i can't be done, just that we gave up. Maybe this helps? I'm still reading: https://autoize.com/s3-compatible-storage-for-nextcloud/

                This is along the same lines as my advanced object store usage option above.

                I didn't know this was possible from within NC, but it appears they engineered it in. Very smart & clever.

                They are essentially caching everything recent in /tmp and background syncing to the object store over time.
                The user experience is good as it's all mostly local, and the capacity is greatly extended as the Object Store is vast.

                I've designed this for other use cases at IBM, and wrote their Redbook on it, hence advanced prior knowledge.

                For this article to be applied in Cloudron, we'd need a new packaged NC App that is configured for this before the setup/install. Then one can point it at a local Minio instance or external S3 object store.

                Conscious tech

                girishG 1 Reply Last reply
                1
                • robiR robi

                  @marcusquinn said in Help with Wasabi mounting:

                  @privsec Just reading this, not sure if you've read? I'm not saying i can't be done, just that we gave up. Maybe this helps? I'm still reading: https://autoize.com/s3-compatible-storage-for-nextcloud/

                  This is along the same lines as my advanced object store usage option above.

                  I didn't know this was possible from within NC, but it appears they engineered it in. Very smart & clever.

                  They are essentially caching everything recent in /tmp and background syncing to the object store over time.
                  The user experience is good as it's all mostly local, and the capacity is greatly extended as the Object Store is vast.

                  I've designed this for other use cases at IBM, and wrote their Redbook on it, hence advanced prior knowledge.

                  For this article to be applied in Cloudron, we'd need a new packaged NC App that is configured for this before the setup/install. Then one can point it at a local Minio instance or external S3 object store.

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

                  @robi We have tried the setup of using S3 as objectstorage before in nextcloud and it just doesn't perform well. It also makes a very large number of s3 requests and for things like AWS this costs some real $$$. Other services like DO Spaces will promptly rate limit. Overall, the whole setup is unstable. It looks good on paper but doesn't work reliably for serious use.

                  for example: https://help.nextcloud.com/t/high-aws-s3-costs-due-to-nextcloud-requests/68687 and https://help.nextcloud.com/t/high-traffic-to-primary-storage-s3-from-nextcloud/83185 .

                  robiR marcusquinnM 2 Replies Last reply
                  0
                  • girishG girish

                    @robi We have tried the setup of using S3 as objectstorage before in nextcloud and it just doesn't perform well. It also makes a very large number of s3 requests and for things like AWS this costs some real $$$. Other services like DO Spaces will promptly rate limit. Overall, the whole setup is unstable. It looks good on paper but doesn't work reliably for serious use.

                    for example: https://help.nextcloud.com/t/high-aws-s3-costs-due-to-nextcloud-requests/68687 and https://help.nextcloud.com/t/high-traffic-to-primary-storage-s3-from-nextcloud/83185 .

                    robiR Offline
                    robiR Offline
                    robi
                    wrote on last edited by
                    #62

                    @girish yes, the article explicitly warns about this, pointing out that AWS is not a good place to do this as it's not a part of the bandwidth alliance.

                    This is not a problem with NC, but of the underlying architecture chosen.

                    There is a way to make this work well, but one must understand all the pieces, as if you ignore one, it will be the lowest common denominator and bottleneck.

                    It is an Enterprise Deployment afterall.

                    Conscious tech

                    1 Reply Last reply
                    0
                    • girishG girish

                      @robi We have tried the setup of using S3 as objectstorage before in nextcloud and it just doesn't perform well. It also makes a very large number of s3 requests and for things like AWS this costs some real $$$. Other services like DO Spaces will promptly rate limit. Overall, the whole setup is unstable. It looks good on paper but doesn't work reliably for serious use.

                      for example: https://help.nextcloud.com/t/high-aws-s3-costs-due-to-nextcloud-requests/68687 and https://help.nextcloud.com/t/high-traffic-to-primary-storage-s3-from-nextcloud/83185 .

                      marcusquinnM Offline
                      marcusquinnM Offline
                      marcusquinn
                      wrote on last edited by
                      #63

                      @girish This article suggests there's an old and a new way to do this, so I wonder if we're all talking about the same thing?

                      • https://autoize.com/s3-compatible-storage-for-nextcloud/

                      Web Design https://www.evergreen.je
                      Development https://brandlight.org
                      Life https://marcusquinn.com

                      robiR 1 Reply Last reply
                      0
                      • marcusquinnM marcusquinn

                        @girish This article suggests there's an old and a new way to do this, so I wonder if we're all talking about the same thing?

                        • https://autoize.com/s3-compatible-storage-for-nextcloud/
                        robiR Offline
                        robiR Offline
                        robi
                        wrote on last edited by
                        #64

                        @marcusquinn said in Help with Wasabi mounting:

                        @girish This article suggests there's an old and a new way to do this, so I wonder if we're all talking about the same thing?

                        • https://autoize.com/s3-compatible-storage-for-nextcloud/

                        old = adding an additional S3 store from within NC running locally.
                        new = setting up NC with S3 as primary storage.

                        Conscious tech

                        girishG C 2 Replies Last reply
                        1
                        • robiR robi

                          @marcusquinn said in Help with Wasabi mounting:

                          @girish This article suggests there's an old and a new way to do this, so I wonder if we're all talking about the same thing?

                          • https://autoize.com/s3-compatible-storage-for-nextcloud/

                          old = adding an additional S3 store from within NC running locally.
                          new = setting up NC with S3 as primary storage.

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

                          @robi @marcusquinn Both methods have been there for a some time. I have investigated this a year or so ago, for example, this and this. Back then, it was not really stable. It will create a lot of oid:xx files in the object backend and AFAIK there is no easy way to change an installation from one storage to another (it's setup once at install time). All this means, that as @robi pointed out, this is really targeted at enterprises and people having full time dedicated sysadmins and nextcloud support contract. Don't get me wrong, I am sure it can be made to work but it's not something we want to support (best to pay nextcloud for this) 🙂

                          marcusquinnM 1 Reply Last reply
                          3
                          • girishG girish

                            @robi @marcusquinn Both methods have been there for a some time. I have investigated this a year or so ago, for example, this and this. Back then, it was not really stable. It will create a lot of oid:xx files in the object backend and AFAIK there is no easy way to change an installation from one storage to another (it's setup once at install time). All this means, that as @robi pointed out, this is really targeted at enterprises and people having full time dedicated sysadmins and nextcloud support contract. Don't get me wrong, I am sure it can be made to work but it's not something we want to support (best to pay nextcloud for this) 🙂

                            marcusquinnM Offline
                            marcusquinnM Offline
                            marcusquinn
                            wrote on last edited by
                            #66

                            @girish Fair enough. Thanks.

                            Web Design https://www.evergreen.je
                            Development https://brandlight.org
                            Life https://marcusquinn.com

                            1 Reply Last reply
                            1
                            • robiR robi

                              @marcusquinn said in Help with Wasabi mounting:

                              @girish This article suggests there's an old and a new way to do this, so I wonder if we're all talking about the same thing?

                              • https://autoize.com/s3-compatible-storage-for-nextcloud/

                              old = adding an additional S3 store from within NC running locally.
                              new = setting up NC with S3 as primary storage.

                              C Offline
                              C Offline
                              cdolson
                              wrote on last edited by
                              #67

                              @robi I've managed to get this working using Digital Ocean Spaces on my Cloudron Nextcloud installation by following the instructions at this resource. This involved simply editing the config/config.php file to include the following:

                              'objectstore' => 
                              array (
                                'class' => '\\OC\\Files\\ObjectStore\\S3',
                                'arguments' => 
                                array (
                                  'bucket' => 'yourbucketname',
                                  'key' => 'YOURKEY',
                                  'secret' => 'YOURSECRET',
                                  'hostname' => 'nyc3.digitaloceanspaces.com',
                                  'region' => 'nyc3',
                                  'port' => 443,
                                  'use_ssl' => true,
                                  'use_path_style' => true,
                                ),
                              ),
                              );
                              

                              I added this to the very end of my config.php, and before the last closing );

                              Functionality tested and working. Uploads and downloads happen directly within the DO Spaces bucket. Configuration persists between reboots.

                              I am new to Cloudron, so I am not certain if these changes will persist after updates to the Nextcloud app or Cloudron.

                              P 1 Reply Last reply
                              2
                              • C cdolson

                                @robi I've managed to get this working using Digital Ocean Spaces on my Cloudron Nextcloud installation by following the instructions at this resource. This involved simply editing the config/config.php file to include the following:

                                'objectstore' => 
                                array (
                                  'class' => '\\OC\\Files\\ObjectStore\\S3',
                                  'arguments' => 
                                  array (
                                    'bucket' => 'yourbucketname',
                                    'key' => 'YOURKEY',
                                    'secret' => 'YOURSECRET',
                                    'hostname' => 'nyc3.digitaloceanspaces.com',
                                    'region' => 'nyc3',
                                    'port' => 443,
                                    'use_ssl' => true,
                                    'use_path_style' => true,
                                  ),
                                ),
                                );
                                

                                I added this to the very end of my config.php, and before the last closing );

                                Functionality tested and working. Uploads and downloads happen directly within the DO Spaces bucket. Configuration persists between reboots.

                                I am new to Cloudron, so I am not certain if these changes will persist after updates to the Nextcloud app or Cloudron.

                                P Offline
                                P Offline
                                privsec
                                wrote on last edited by
                                #68

                                @cdolson How are the speeds?

                                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