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. Issues with bucket/container names in new OVH Object Storage backup method

Issues with bucket/container names in new OVH Object Storage backup method

Scheduled Pinned Locked Moved Solved Support
ovhbackupsstorage
7 Posts 2 Posters 1.3k Views 2 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.
    • d19dotcaD Offline
      d19dotcaD Offline
      d19dotca
      wrote on last edited by girish
      #1

      In my testing, it seems the implementation of the OVH Object Storage backup method has some flaws. It seems to not like anything with an underscore in it, despite it being possible to create one with an underscore in it via the OVH control panel. It also seems to require lowercase characters for some reason. If I use the same one that works "d19-cloudron-backups" and change it to "D19-Cloudron-backups" (while also having that second one created in the control panel), it will still fail stating that the bucket is not valid. So the two limitations seem to be underscores and uppercase characters, this new implementation doesn't like either of those.

      --
      Dustin Dauncey
      www.d19.ca

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

        @d19dotca Thanks for the report. I haven't tested it out yet but I think there is a bug here because we just got another bug report saying that bucket names with underscore does not work on OVH and it gets a BadRequest error in the logs (I guess that's the same error you saw?).

        Just to take a blind guess, I think this is because the node module we use uses s3 domain style paths for bucket names. i.e bucketname.endpoint.com. In this style, _ is not allowed because it is not a valid hostname. Other tricky characters like . have the same limitation. In fact, AWS is deprecating so called path style API access for those tricky characters altogether and such bucket names might go away forever and remain only for some legacy reasons - https://forums.aws.amazon.com/ann.jspa?annID=6776 . I think if your bucket name has a '.' in it, you might even have to accept self-signed certs. I have an open task in our tracker to verify what needs to be done here from Cloudron side since it's deprecating in Sep.

        Same applies for capitalization, host names do not support it. It's probably a bug in the OVH panel that it allows such things (iirc, DO Spaces does not allow this).

        That's just my guess though, I will double check.

        1 Reply Last reply
        2
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

          This is from DO Spaces:

          fb4bc452-68ed-4ece-ac68-326a221ecd0f-image.png

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

            This one is from scaleway:
            bc14d064-6e42-476d-afa0-26b324e8778c-image.png

            This is one from linode:
            899073b9-7c55-4c26-8338-ae06e5bb2521-image.png

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

              I found this https://docs.ovh.com/gb/en/public-cloud/getting_started_with_the_swift_S3_API/#introduction :

              "Virtual hosted-style and path-style access are supported in all regions, but we recommend to use virtual hosted-style since path-style access will be deprecated after September 30, 2020."

              I guess OVH cannot enforce the naming convention properly because they are coming from Swift which probably has different naming restrictions.

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

                I have added a check for not having '_' and capitals in bucket names. I also found that downloads on OVH fail (uploads work!) because the region is not set correctly. Should be in next patch release.

                d19dotcaD 1 Reply Last reply
                1
                • girishG girish

                  I have added a check for not having '_' and capitals in bucket names. I also found that downloads on OVH fail (uploads work!) because the region is not set correctly. Should be in next patch release.

                  d19dotcaD Offline
                  d19dotcaD Offline
                  d19dotca
                  wrote on last edited by
                  #7

                  @girish Ah interesting, yes that definitely seems like an OVH-specific issue then. At least they're heading in the right direction I guess towards the end of this year. 🙂 Thanks for shedding some light on that one for me.

                  --
                  Dustin Dauncey
                  www.d19.ca

                  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