Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Privacy Policy & Imprint links missing despite .env variable set #738

Closed
1 of 2 tasks
jobenjada opened this issue Aug 28, 2023 · 4 comments
Closed
1 of 2 tasks
Assignees
Labels
bug Something isn't working

Comments

@jobenjada
Copy link
Member

Issue Summary

Community Member Sascha is missing the links to the Privacy Policy and the Imprint in link surveys.

He set the corresponding env variables as follows:

`NEXT_PUBLIC_PRIVACY_URL=https://bonn.digital/datenschutz
NEXT_PUBLIC_TERMS_URL=https://bonn.digital/kontakt
NEXT_PUBLIC_IMPRINT_URL=https://bonn.digital/impressum

PRIVACY_URL=https://bonn.digital/datenschutz
TERMS_URL=https://bonn.digital/kontakt
IMPRINT_URL=https://bonn.digital/impressum`

Link to survey without links:

https://formular.bonn.digital/s/clluzn3f60000o32h6jdwkfdp

Pls investigate. Contact @saschafoerster directly in Discord for follow up questions

Steps to Reproduce

  1. Set env variables
  2. Spin up Docker
  3. Check if links are there or not

Expected behavior

Links show up

Other information

No response

Screenshots

No response

Environment

  • Formbricks Cloud (app.formbricks.com)
  • Self-hosted Formbricks

Desktop (please complete the following information)

- OS:
- Node:
- npm:
@jobenjada jobenjada added the bug Something isn't working label Aug 28, 2023
@ShubhamPalriwala ShubhamPalriwala self-assigned this Aug 28, 2023
@ShubhamPalriwala
Copy link
Contributor

@jobenjada as discussed, these are build-time variables that cannot (currently) be overwritten without rebuilding the image! Sascha has been informed about the same and the steps they can take to get it working as they want!

Will soon revisit the env vars and see what can be done! I think we can close this for now? What do you think?

@saschafoerster
Copy link

This is my upgrade procedure:

git pull
git checkout v1.0.2
docker compose build
docker compose up -d

I still can't see the privacy links.

@saschafoerster
Copy link

Okay, I think I got it:
I was still using .env, but you changed it to .env.docker, which didn't get copied:
[formbricks installer 5/8] COPY .env.docker /app/apps/web/.env

33b3887

Now it works. For everyone else: just use .env.docker and not .env, if you are building the container.

@saschafoerster
Copy link

@jobenjada Please close. thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants