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
Organization SMTP change setting got 500 error #12844
Comments
Are you running Decidim in development or production environment? Can you share your docker configuration? |
Hi @andreslucena The problem was with I use some old docker-compose.yml example without this variable. Everything works. I leave my docker-compose for others.. this works with MailCow server for sending emails .. in admin panel set port to
|
Great, thanks for the confirmation @piotr-sikora-v I'm working in a PR to add a check for this error that's easy to make |
This will be fixed with #12847 by adding a validation, and with #12846 by adding a check in the dashboard, to let users know that you need to define this secret key. Thanks @piotr-sikora-v for reporting this! |
Describe the bug
When I try to change SMTP setting in organization I recive 500 error
To Reproduce
edit organization
set email addres, username, password, smtp host, smtp port
got 500 in log
when back to edit organization settings, all fields are emtpy (like before)
Expected behavior
change smtp settinfs
Screenshots
No response
Stacktrace
Extra data
Additional context
I think this is problem:
I, [2024-05-11T05:47:20.829219 #1] INFO -- : [a3615bef-c40f-445d-8f3b-16548399d6ff] Completed 500 Internal Server Error in 59ms (ActiveRecord: 8.9ms | Allocations: 26336)
F, [2024-05-11T05:47:20.834049 #1] FATAL -- : [a3615bef-c40f-445d-8f3b-16548399d6ff]
[a3615bef-c40f-445d-8f3b-16548399d6ff] TypeError (no implicit conversion of nil into String):
But i'am not RoR develoepr, so I don't know how to fix it :/
The text was updated successfully, but these errors were encountered: