Closed airblag closed 1 year ago
First thing: I'd recommend you track the stable branch. For now that will work around this issue.
But yeah.. this is a problem to be fixed. I suspect this is something due to our update to Rails 7.0 recently.
You probably know, but we don't write our own SMTP stuff in Loomio, this is just Rails, but maybe we need to improve the config variables to allow you to get the settings right?
As a workaround, I edited the /loomio/config/application.rb in the loomio-worker container replacing
ssl: ENV['SMTP_USE_SSL'].present?,
with
ssl: false,
killing the sidekiq process and it then worked for me.
Now I tried again commenting the SMTP_USE_SSL
in my .env and restarting the containers and it seems to work. I'm not sure what happened, maybe some stuff changed also with docker-compose pull
Great to hear you're back up again.
Since my last update of the docker containers (tag latest), the mails are not sent anymore by my loomio instance.
My setup is running docker inside a lxd container, connecting to another lxd container which is my mail server.
It used to work having SMTP_USE_SSL commented in the .env file. Since the update it seems to ignore this parameter, and I get errors of the loomio-worker like this one when mentioning myself in a comment :
The error_backtrace is base64 but decodes to binary, so I'm not sure how to analyze it.
On my Mailserver, I get
I actually do not need SSL since both containers are running on the same host. Executing an interactive shell in loomio-worker, and trying to
openssl s_connect -starttls smtp mail.fqdn:587
gives me an OK, so the container is trusting the letsencrypt certificate and cann connnect to it.Any idea of changes that might have broken this in the last 2 months ?