Formbricks deploy fails

I tried to install and deploy formbrickls like 3x and every time it fails

0 Replies

N/A


brody
EMPLOYEE

2 years ago

that's not ideal, unfortunately I'm away from the computer for the weekend, maybe if it's something simple I could do it on the phone, but I'd need my buddy @Fragly to figure out the root issue for me if he's got the time.


dev
MODERATOR

2 years ago

I have a formbricks deployment running myself

from the error it seems your service variables are invalid
would you mind sending me your service variables?
IMPORTANT: censor the sensitive ones like ENCRYPTION_KEY, NEXTAUTH_SECRET and SMTP_PASSWORD


brody
EMPLOYEE

2 years ago

did you just deploy a new one? I was assuming that formbricks changed something and my template is no longer compatible


dev
MODERATOR

2 years ago

oh no, I deployed this one a month ago, but good point I'll deploy a new one rq and see if i get the same issues


dev
MODERATOR

2 years ago

Deployed a new one, it's working completely fine for me so far


brody
EMPLOYEE

2 years ago

that's odd, @barnabynagy what did you do to have it crash with these errors?


I installed and deployed it completely new after deleting it some days ago


Nothing else


Which variable do you need exactly? There are a lot


dev
MODERATOR

2 years ago

Just copy and paste all of them because I don't know which would be malformed (Only send those from your Formbricks service)
just make sure the censor the ones I mentioned, those are the only sensitive ones that I know of


dev
MODERATOR

2 years ago

we moved to dms for the sake of privacy and security

Solution: The issue ended up being that the SMTP_USER wasn't a valid email, and since MAIL_FROM automatically uses SMTP_USER it used the invalid email as the email address, causing a malformed MAIL_FROM, causing the error

To solve the issue, we specified MAIL_FROM seperately from SMTP_USER


brody
EMPLOYEE

2 years ago

that just leaves me with more questions, why would you have set an invalid email on SMTP_USER


dev
MODERATOR

2 years ago

yeaa, that's what I said
That's apperantly what the SMTP server he's using gave him


brody
EMPLOYEE

2 years ago

I have never not seen an SMTP username not be a valid email, fun edge cases


brody
EMPLOYEE

2 years ago

thanks for solving this one!


dev
MODERATOR

2 years ago

No problemo 🫡


Loading...