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. Formbricks
  3. S3 Compatible Storage

S3 Compatible Storage

Scheduled Pinned Locked Moved Formbricks
7 Posts 3 Posters 296 Views 3 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.
  • D Offline
    D Offline
    Divemasterza
    wrote on last edited by Divemasterza
    #1

    Has anyone had success configuring a S3 (compatible) storage for this.

    The .env route is not not working 😞

    SIGNUP_DISABLED=0
    EMAIL_AUTH_DISABLED=0
    EMAIL_VERIFICATION_DISABLED=1
    PASSWORD_RESET_DISABLED=0
    INVITE_DISABLED=0
    DEFAULT_ORGANIZATION_ROLE=owner
    #DEFAULT_ORGANIZATION_ID=1
    UNSPLASH_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxx
    S3_ACCESS_KEY=xxxxxxxxxxxxxxxxxxx
    S3_SECRET_KEY=xxxxxxxxxxxxxxxxxxx
    S3_BUCKET_NAME=surveys
    #S3_REGION=
    S3_ENDPOINT_URL=https://s3.z1storage.com

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

      I think you have to add these to /app/data/env ? There is no .env in Cloudron deployment.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Divemasterza
        wrote on last edited by
        #3

        correct it is in /app/data/env - unfortunately not working.

        1 Reply Last reply
        0
        • 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

                1 Reply Last reply
                2
                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