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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Formbricks
  3. S3 Compatible Storage

S3 Compatible Storage

Scheduled Pinned Locked Moved Formbricks
13 Posts 4 Posters 1.9k Views 4 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.
  • scookeS Offline
    scookeS Offline
    scooke
    wrote on last edited by scooke
    #4

    Two examples I've looked at use the S3_REGION parameter, and my personal experience is that it IS required.
    https://formbricks.com/docs/self-hosting/setup/cluster-setup#s3-configuration
    https://github.com/formbricks/formbricks/blob/main/.env.example

    Do any of the other parameters you've set work and its just the S3 deets that aren't working, or is it the entire env/.env file that isn't being read?

    A life lived in fear is a life half-lived

    1 Reply Last reply
    1
    • J Offline
      J Offline
      joseph
      Staff
      wrote on last edited by
      #5

      @scooke S3_REGION you mean 🙂 ?

      1 Reply Last reply
      1
      • scookeS Offline
        scookeS Offline
        scooke
        wrote on last edited by
        #6

        I am Canadian, and I bought a macbook pro in switzerland, with swiss keys, but improperly laid out, so it's a constant battle to type correctly - I use stickers, and of course the proper US keyboard.

        A life lived in fear is a life half-lived

        1 Reply Last reply
        2
        • scookeS Offline
          scookeS Offline
          scooke
          wrote on last edited by scooke
          #7

          OK, since I like doing this kind of stuff, I installed Formbricks just to see where it might be going wrong. I am using a Minio install using runtipi on another server, made a special bucket and user for this test, plugged that info into the /app/date/env file (including REGION), BUT I also added

          # Enable for S3-compatible storage that requires path style
          # 0 for disabled, 1 for enabled
          S3_FORCE_PATH_STYLE=1
          

          I don't know why or how or what, but there is/was some issue in the Minio/S3 world where an update made all future bucket paths virtual_path_style, or maybe it was the other way around? Anyway, I find I need to include this so that my buckets are https://s3.example.com/bucket, rather than https://bucket.s3.example.com.

          I then uploaded an image for a background in a survey, and it did, and it saved, and I can see it in the bucket. SO, it is working. Good luck!

          Screenshot 2025-04-09 at 21.19.27.png

          A life lived in fear is a life half-lived

          andreasduerenA 1 Reply Last reply
          4
          • scookeS scooke

            OK, since I like doing this kind of stuff, I installed Formbricks just to see where it might be going wrong. I am using a Minio install using runtipi on another server, made a special bucket and user for this test, plugged that info into the /app/date/env file (including REGION), BUT I also added

            # Enable for S3-compatible storage that requires path style
            # 0 for disabled, 1 for enabled
            S3_FORCE_PATH_STYLE=1
            

            I don't know why or how or what, but there is/was some issue in the Minio/S3 world where an update made all future bucket paths virtual_path_style, or maybe it was the other way around? Anyway, I find I need to include this so that my buckets are https://s3.example.com/bucket, rather than https://bucket.s3.example.com.

            I then uploaded an image for a background in a survey, and it did, and it saved, and I can see it in the bucket. SO, it is working. Good luck!

            Screenshot 2025-04-09 at 21.19.27.png

            andreasduerenA Offline
            andreasduerenA Offline
            andreasdueren
            wrote last edited by
            #8

            @scooke Which provider are you using? I tried R2 with no luck

            1 Reply Last reply
            0
            • scookeS Offline
              scookeS Offline
              scooke
              wrote last edited by
              #9

              @andreasdueren Provider for minio? AT any rate, I posted the above after just installing formbricks to see if I could help the OP, then I uninstalled it. I'm no help now!

              A life lived in fear is a life half-lived

              1 Reply Last reply
              1
              • D Offline
                D Offline
                Divemasterza
                wrote last edited by
                #10

                Ok, I finally resolved it on my side, and it was caused by the CORS policy on the S3 buckets. The policies were too restrictive, and obviously it wasn't working.

                CleanShot 2026-02-10 at 13.42.18.png

                andreasduerenA 1 Reply Last reply
                4
                • D Divemasterza

                  Ok, I finally resolved it on my side, and it was caused by the CORS policy on the S3 buckets. The policies were too restrictive, and obviously it wasn't working.

                  CleanShot 2026-02-10 at 13.42.18.png

                  andreasduerenA Offline
                  andreasduerenA Offline
                  andreasdueren
                  wrote last edited by andreasdueren
                  #11

                  @Divemasterza Which provider is this? R2 doesn't work, seemingly because it doesn't support the S3 POST Object operation

                  Edit:

                  Got Hetzner working with these Settings:

                  S3_BUCKET_NAME=redacted
                  S3_FORCE_PATH_STYLE=1
                  S3_ENDPOINT_URL=https://fsn1.your-objectstorage.com
                  S3_REGION=fsn1
                  S3_ACCESS_KEY=redacted
                  S3_SECRET_KEY=redacted
                  
                  D 1 Reply Last reply
                  2
                  • andreasduerenA andreasdueren

                    @Divemasterza Which provider is this? R2 doesn't work, seemingly because it doesn't support the S3 POST Object operation

                    Edit:

                    Got Hetzner working with these Settings:

                    S3_BUCKET_NAME=redacted
                    S3_FORCE_PATH_STYLE=1
                    S3_ENDPOINT_URL=https://fsn1.your-objectstorage.com
                    S3_REGION=fsn1
                    S3_ACCESS_KEY=redacted
                    S3_SECRET_KEY=redacted
                    
                    D Offline
                    D Offline
                    Divemasterza
                    wrote last edited by
                    #12

                    @andreasdueren said in S3 Compatible Storage:

                    @Divemasterza Which provider is this? R2 doesn't work, seemingly because it doesn't support the S3 POST Object operation

                    Edit:

                    Got Hetzner working with these Settings:

                    S3_BUCKET_NAME=redacted
                    S3_FORCE_PATH_STYLE=1
                    S3_ENDPOINT_URL=https://fsn1.your-objectstorage.com
                    S3_REGION=fsn1
                    S3_ACCESS_KEY=redacted
                    S3_SECRET_KEY=redacted
                    

                    Glad it sorted, for the info, mine was a S3 compatible supplier

                    andreasduerenA 1 Reply Last reply
                    2
                    • D Divemasterza

                      @andreasdueren said in S3 Compatible Storage:

                      @Divemasterza Which provider is this? R2 doesn't work, seemingly because it doesn't support the S3 POST Object operation

                      Edit:

                      Got Hetzner working with these Settings:

                      S3_BUCKET_NAME=redacted
                      S3_FORCE_PATH_STYLE=1
                      S3_ENDPOINT_URL=https://fsn1.your-objectstorage.com
                      S3_REGION=fsn1
                      S3_ACCESS_KEY=redacted
                      S3_SECRET_KEY=redacted
                      

                      Glad it sorted, for the info, mine was a S3 compatible supplier

                      andreasduerenA Offline
                      andreasduerenA Offline
                      andreasdueren
                      wrote last edited by
                      #13

                      @Divemasterza I really would have preferred R2 for this use case but oh well.

                      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