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 21.3k 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.
    • 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