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.1k 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.
  • P privsec

    Ok, so I went through the s3fs installing and running and now I am getting this

    root@vxxxx:~# s3fs xxxx.xxxx /mnt/volumes/nextcloud -o passwd_file=/etc/passwd-s3fs -o url=https://s3.eu-central-1.wasabisys.com -o use_path_request_style -o dbglevel=info -f -o curldbg
    [CRT] s3fs.cpp:set_s3fs_log_level(257): change debug level from [CRT] to [INF]
    [INF]     s3fs.cpp:set_mountpoint_attribute(4193): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40755)
    [CRT] s3fs.cpp:s3fs_init(3378): init v1.82(commit:unknown) with GnuTLS(gcrypt)
    [INF] s3fs.cpp:s3fs_check_service(3754): check services.
    [INF]       curl.cpp:CheckBucket(2914): check a bucket.
    [INF]       curl.cpp:prepare_url(4205): URL is https://s3.eu-central-1.wasabisys.com/myprivsec.nextcloud/
    [INF]       curl.cpp:prepare_url(4237): URL changed is https://s3.eu-central-1.wasabisys.com/myprivsec.nextcloud/
    [INF]       curl.cpp:insertV4Headers(2267): computing signature [GET] [/] [] []
    [INF]       curl.cpp:url_to_host(100): url is https://s3.eu-central-1.wasabisys.com
    *   Trying 130.117.252.11...
    * TCP_NODELAY set
    * Connected to s3.eu-central-1.wasabisys.com (130.117.252.11) port 443 (#0)
    * found 138 certificates in /etc/ssl/certs/ca-certificates.crt
    * found 414 certificates in /etc/ssl/certs
    * ALPN, offering http/1.1
    * SSL connection using TLS1.2 / ECDHE_RSA_AES_256_GCM_SHA384
    *        server certificate verification OK
    *        server certificate status verification SKIPPED
    *        common name: *.s3.eu-central-1.wasabisys.com (matched)
    *        server certificate expiration date OK
    *        server certificate activation date OK
    *        certificate public key: RSA
    *        certificate version: #3
    *        subject: OU=Domain Control Validated,OU=EssentialSSL Wildcard,CN=*.s3.eu-central-1.wasabisys.com
    *        start date: Thu, 24 Jan 2019 00:00:00 GMT
    *        expire date: Sat, 23 Jan 2021 23:59:59 GMT
    *        issuer: C=GB,ST=Greater Manchester,L=Salford,O=Sectigo Limited,CN=Sectigo RSA Domain Validation Secure Server CA
    *        compression: NULL
    * ALPN, server accepted to use http/1.1
    > GET /myprivsec.nextcloud/ HTTP/1.1
    host: s3.eu-central-1.wasabisys.com
    User-Agent: s3fs/1.82 (commit hash unknown; GnuTLS(gcrypt))
    Accept: */*
    Authorization: AWS4-HMAC-SHA256 Credential=xxxxxx/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=xxxxx
    x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
    x-amz-date: 20201206T014829Z
    
    < HTTP/1.1 200 OK
    < Content-Type: application/xml
    < Date: Sun, 06 Dec 2020 01:48:29 GMT
    < Server: WasabiS3/6.2.3223-2020-10-14-51cd02c (head02)
    < x-amz-bucket-region: eu-central-1
    < x-amz-id-2: xxxxx
    < x-amz-request-id: xxxxx
    < Transfer-Encoding: chunked
    <
    * Connection #0 to host s3.eu-central-1.wasabisys.com left intact
    [INF]       curl.cpp:RequestPerform(1940): HTTP response code 200
    

    However, files are not updating. If I upload directly to wasabi, they are not showing in the cli, and vice versa.

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

    @privsec

    Ok, I never tried moving files with that screenshot above running.

    Now that I have, and I tried moving content over it is looking similar to a packet sniffer as data is transferring over.

    So does that mean I have to always ensure that command runs via ssh session?

    I feel like thats way to manual and too much upkeep, especially if I have to constantly have an SSH session at all times.

    So what am I missing?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      privsec
      wrote on last edited by
      #34

      Ok, well I just dont get it.

      ITs almost as if wasabi and cloudron are only syncing some information and not all. And honestly, its irritating the crap out of me to the point where I might just cancel the subscription I bought banking on getting nextlcoud and wasabi to work.
      This should not be this difficult or problem prone.

      App settings b37b2885-ec38-41ba-a2d0-9bd6ce1712c8-image.png

      The base directory has no data in it. Which is what I told it to do.
      f63f14bb-4695-4704-9742-07e8c3d776a1-image.png

      In this photo, it is evident that there is data inside the /mnt/volumes/nextcloud folder
      b16b8443-bac9-41f2-810c-f6155fc054ac-image.png

      However, in my wasabi bucket, there is no where near as much info b45ecdb6-3a1c-432b-a927-40290ff20807-image.png

      Why is cloudron only syncing a piece of the full app folder?

      P 1 Reply Last reply
      0
      • P privsec

        Ok, well I just dont get it.

        ITs almost as if wasabi and cloudron are only syncing some information and not all. And honestly, its irritating the crap out of me to the point where I might just cancel the subscription I bought banking on getting nextlcoud and wasabi to work.
        This should not be this difficult or problem prone.

        App settings b37b2885-ec38-41ba-a2d0-9bd6ce1712c8-image.png

        The base directory has no data in it. Which is what I told it to do.
        f63f14bb-4695-4704-9742-07e8c3d776a1-image.png

        In this photo, it is evident that there is data inside the /mnt/volumes/nextcloud folder
        b16b8443-bac9-41f2-810c-f6155fc054ac-image.png

        However, in my wasabi bucket, there is no where near as much info b45ecdb6-3a1c-432b-a927-40290ff20807-image.png

        Why is cloudron only syncing a piece of the full app folder?

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

        In addition, I thought maybe it was a folder/directory issue so I create one deeper level folder called wasabi in my server (fulll path /mnt/volumes/nextcloud/wasabi) and then I ran the command s3fs xxxx /mnt/volumes/nextcloud/wasabi -o passwd_file=/etc/passwd-s3fs -o url=https://s3.eu-central-1.wasabisys.com and then I went to the dashboard for nextcloud and moved the directory acf674e7-50c7-4759-9f03-acbca1e43706-image.png

        Then I went to wasabi to see if anything got moved to it, and there is nothing. 5b45cce6-371d-4275-a8ee-a62d71f33994-image.png

        P 1 Reply Last reply
        0
        • P privsec

          In addition, I thought maybe it was a folder/directory issue so I create one deeper level folder called wasabi in my server (fulll path /mnt/volumes/nextcloud/wasabi) and then I ran the command s3fs xxxx /mnt/volumes/nextcloud/wasabi -o passwd_file=/etc/passwd-s3fs -o url=https://s3.eu-central-1.wasabisys.com and then I went to the dashboard for nextcloud and moved the directory acf674e7-50c7-4759-9f03-acbca1e43706-image.png

          Then I went to wasabi to see if anything got moved to it, and there is nothing. 5b45cce6-371d-4275-a8ee-a62d71f33994-image.png

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

          And, I cant do the remaining steps either per
          https://wasabi-support.zendesk.com/hc/en-us/articles/115001744651-How-do-I-use-S3FS-with-Wasabi-
          a08889d8-e861-4484-ba87-de68fd35df45-image.png
          As when I try to follow these steps, I get this
          7da4d0c4-7a46-43ba-8ed7-7f744d6685a7-image.png

          P girishG 2 Replies Last reply
          0
          • P privsec

            And, I cant do the remaining steps either per
            https://wasabi-support.zendesk.com/hc/en-us/articles/115001744651-How-do-I-use-S3FS-with-Wasabi-
            a08889d8-e861-4484-ba87-de68fd35df45-image.png
            As when I try to follow these steps, I get this
            7da4d0c4-7a46-43ba-8ed7-7f744d6685a7-image.png

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

            And probably my final note,
            I cant access the console of nextcloud either. It keeps doing this loop

            First this one 8f2a1ab3-5343-48f0-b63b-60e04e005035-image.png
            And then this one 072e714c-41e9-4c93-afbb-aa5154a73dc0-image.png
            And hen it goes back to 4941f1b7-6ef7-41c8-a72f-209ab31f396e-image.png

            Keep in mind, this is a brand new, fresh install not even logged into yet, my cache is cleared out as well

            girishG 1 Reply Last reply
            0
            • P privsec

              And probably my final note,
              I cant access the console of nextcloud either. It keeps doing this loop

              First this one 8f2a1ab3-5343-48f0-b63b-60e04e005035-image.png
              And then this one 072e714c-41e9-4c93-afbb-aa5154a73dc0-image.png
              And hen it goes back to 4941f1b7-6ef7-41c8-a72f-209ab31f396e-image.png

              Keep in mind, this is a brand new, fresh install not even logged into yet, my cache is cleared out as well

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

              @privsec Does the app say "Running" in the Cloudron dashboard? The Web Terminal won't work until the app is running.

              P 1 Reply Last reply
              0
              • P privsec

                And, I cant do the remaining steps either per
                https://wasabi-support.zendesk.com/hc/en-us/articles/115001744651-How-do-I-use-S3FS-with-Wasabi-
                a08889d8-e861-4484-ba87-de68fd35df45-image.png
                As when I try to follow these steps, I get this
                7da4d0c4-7a46-43ba-8ed7-7f744d6685a7-image.png

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

                @privsec I will probably give s3fs a try tomorrow and see if I can write a guide for it 🙂 (I have never tried s3fs or rclone mount either, so let's see if I am successful).

                P 1 Reply Last reply
                0
                • girishG girish

                  @privsec Does the app say "Running" in the Cloudron dashboard? The Web Terminal won't work until the app is running.

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

                  @girish
                  It is now saying 3507f874-9283-4c84-a722-0d6a60080337-image.png

                  1 Reply Last reply
                  0
                  • girishG girish

                    @privsec I will probably give s3fs a try tomorrow and see if I can write a guide for it 🙂 (I have never tried s3fs or rclone mount either, so let's see if I am successful).

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

                    @girish Is there another mounting solution?

                    It is absolutely pivotal that I get the app directories off my servers drive.

                    girishG 1 Reply Last reply
                    0
                    • P privsec

                      @girish Is there another mounting solution?

                      It is absolutely pivotal that I get the app directories off my servers drive.

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

                      @privsec Is the goal here to have a large amount of space external (at correct price) to the server? If you are hosted on a VPS is there an option for you to attach external storage? For example, many VPS providers like time4vps, hetzner etc have quite cheap external disks that can be attached to a server. The reason I ask is even if s3fs or rclone mount does work, it's probably going to be quite slow - for example, I see posts like https://serverfault.com/questions/396100/s3fs-performance-improvements-or-alternative . We have no experience with how well these mounts work and if they work at all. Maybe files go missing, maybe it's unstable, we don't know.

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

                        There is also https://forum.rclone.org/ , maybe you can ask there about rclone mounting issues.

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

                          So I found some interesting posts:

                          • https://www.reddit.com/r/aws/comments/dplfoa/why_is_s3fs_such_a_bad_idea/
                          • https://www.reddit.com/r/aws/comments/a5jdth/what_are_peoples_thoughts_on_using_s3fs_in/

                          The point of both of them is that S3FS is not a file system and as such file permissions won't work. It's also not consistent (ie. if you write and read back, it may not be the same). This makes it pretty much unsuitable for making it an app data directory. What might work is if you make it as an external storage inside nextcloud - https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/external_storage_configuration_gui.html. I didn't suggest this earlier because I think you said you didn't want this in your initial post. Can you recheck this? Because I think it will provide what you want. You can just add the wasabi storage space inside nextcloud and it will appear as a folder for your users (you can create 1 bucket for each user or something).

                          @privsec So, I think it's best not to go down this s3fs route, it won't work reliably.

                          (If you were banking on s3fs somehow, for refunds etc, not a problem 🙂 , just reach out to us on support@).

                          P 1 Reply Last reply
                          1
                          • girishG girish

                            So I found some interesting posts:

                            • https://www.reddit.com/r/aws/comments/dplfoa/why_is_s3fs_such_a_bad_idea/
                            • https://www.reddit.com/r/aws/comments/a5jdth/what_are_peoples_thoughts_on_using_s3fs_in/

                            The point of both of them is that S3FS is not a file system and as such file permissions won't work. It's also not consistent (ie. if you write and read back, it may not be the same). This makes it pretty much unsuitable for making it an app data directory. What might work is if you make it as an external storage inside nextcloud - https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/external_storage_configuration_gui.html. I didn't suggest this earlier because I think you said you didn't want this in your initial post. Can you recheck this? Because I think it will provide what you want. You can just add the wasabi storage space inside nextcloud and it will appear as a folder for your users (you can create 1 bucket for each user or something).

                            @privsec So, I think it's best not to go down this s3fs route, it won't work reliably.

                            (If you were banking on s3fs somehow, for refunds etc, not a problem 🙂 , just reach out to us on support@).

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

                            @girish

                            Thank you for your detailed responses.

                            Ill have to play around with the external storage options for nextcloud to see if that will work out or not.

                            Its an interesting workaround/hack, lol.

                            1 Reply Last reply
                            0
                            • robiR Offline
                              robiR Offline
                              robi
                              wrote on last edited by
                              #46

                              There may be another "advanced" way via Minio.

                              Minio can be used as a storage gateway.

                              See if you can connect Minio to Wasabi, if you can in gateway mode, then see if you can mount the local Minio instance in Linux, even if s3fs, it would be local.

                              Conscious tech

                              P 1 Reply Last reply
                              0
                              • robiR robi

                                There may be another "advanced" way via Minio.

                                Minio can be used as a storage gateway.

                                See if you can connect Minio to Wasabi, if you can in gateway mode, then see if you can mount the local Minio instance in Linux, even if s3fs, it would be local.

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

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

                                marcusquinnM robiR 2 Replies Last reply
                                0
                                • P privsec

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

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

                                  @privsec We tried this once and it was unbearably slow. Personally I'd look for ways to reduce the Nextcloud storage needs and use a native mounted drive from the host, and just offer an Archive Wasabi S3 bucket for people to move things no longer needed for regular access to that to save space needs on the main NC.

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

                                  marcusquinnM P 2 Replies Last reply
                                  1
                                  • marcusquinnM marcusquinn

                                    @privsec We tried this once and it was unbearably slow. Personally I'd look for ways to reduce the Nextcloud storage needs and use a native mounted drive from the host, and just offer an Archive Wasabi S3 bucket for people to move things no longer needed for regular access to that to save space needs on the main NC.

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

                                    @marcusquinn Cyber Duck/Mountain Duck is very good as a platform to making Wasabi/S3 storage quite accessible to users if they need.

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

                                    1 Reply Last reply
                                    0
                                    • marcusquinnM marcusquinn

                                      @privsec We tried this once and it was unbearably slow. Personally I'd look for ways to reduce the Nextcloud storage needs and use a native mounted drive from the host, and just offer an Archive Wasabi S3 bucket for people to move things no longer needed for regular access to that to save space needs on the main NC.

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

                                      @marcusquinn
                                      I can not get a mounted drive on my host to actually work. I have tried both Rclone and S3FS, both gave me the same result of no errors, but no syncing.

                                      I have decided (atleast for now till I find a better solution) to give each user on nextcloud a wasabi bucket as a external storage drive, and restrict only them to be able to access that bucket.

                                      I am now working on trying to figure out how to remove the built in files for nextcloud to just have the external storage folder listed with the nextcloud folders/files within the wasabi drive.

                                      In regards to Cyber Duck/Mountain Duck, whats the difference between the external storage connection in nextcloud and them ? Is there a performance difference?

                                      marcusquinnM 3 Replies Last reply
                                      0
                                      • P privsec

                                        @marcusquinn
                                        I can not get a mounted drive on my host to actually work. I have tried both Rclone and S3FS, both gave me the same result of no errors, but no syncing.

                                        I have decided (atleast for now till I find a better solution) to give each user on nextcloud a wasabi bucket as a external storage drive, and restrict only them to be able to access that bucket.

                                        I am now working on trying to figure out how to remove the built in files for nextcloud to just have the external storage folder listed with the nextcloud folders/files within the wasabi drive.

                                        In regards to Cyber Duck/Mountain Duck, whats the difference between the external storage connection in nextcloud and them ? Is there a performance difference?

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

                                        @privsec Sorry, I mean just a mounted local host storage, not mounting external S3, which will have such high latency that it makes NC painful to use.

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

                                        1 Reply Last reply
                                        0
                                        • P privsec

                                          @marcusquinn
                                          I can not get a mounted drive on my host to actually work. I have tried both Rclone and S3FS, both gave me the same result of no errors, but no syncing.

                                          I have decided (atleast for now till I find a better solution) to give each user on nextcloud a wasabi bucket as a external storage drive, and restrict only them to be able to access that bucket.

                                          I am now working on trying to figure out how to remove the built in files for nextcloud to just have the external storage folder listed with the nextcloud folders/files within the wasabi drive.

                                          In regards to Cyber Duck/Mountain Duck, whats the difference between the external storage connection in nextcloud and them ? Is there a performance difference?

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

                                          @privsec I realise host local storage isn't cheap, and Wasabi is cheap, which is why we tried doing what you are once. Maybe you'll have a different experience but we just found the juice wasn't worth the squeeze, especially with large numbers of small files.

                                          It might work for something like Video storage where there's fewer files but I just don't fancy the slow user experience costs and would always opt for speed over price since time is so much more expensive if users are spending too much waiting on their file services to show results.

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

                                          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