[French] email don't go / ActionMailer fail

Hello all !

I’ve a new problem, my mastodon is installed but when i create my account i never receive my account verification by mail.

Here my /home/mastodon/live/.env.production
https://pastebin.com/hdDHNEBy

journalctl -u mastodon-sidekiq.service
https://pastebin.com/Ce4deCb4

vim /var/log/daemon.logvim /var/log/daemon.log
https://pastebin.com/SAbfh44s

Thanks for help :slight_smile:

 Discarded ActionMailer::DeliveryJob due to a ActiveJob::DeserializationError. The original exception was #<ActiveRecord::RecordNotFound: Couldn't find User with 'id'=2>.

Strange: Do you have the user with id number 2 in the database?

Hello Saper,

Thanx for your answer. No i don’t know who is this ID 2.
How can i know it ? Database Request ?

i just discovered the tootctl commands !! So i made a "RAILS_ENV=production bin/tootctl accounts approve " to bypass the pending email validation.
The answer was “Ok”, type of answer i like :slight_smile:
But when i refresh the page of my account in mastodon, nothing change :frowning:
The system wait always i valid my inscription in the email I’m supposed to have received.

looking at those log messages, I’m wondering if it’s possible your sidekiq worker is connecting to a different db then your web worker. how is your postgres connection set up? what environment variables are you using for web and sidekiq?

Hello Nightpool and thanks to join us on this post.

To answer you i followed the tutorial on official mastodon web help page (https://docs.joinmastodon.org/administration/installation)

so i think my postgre bdd is in theory well installed and setup, what tests can i do to verify it ?

(Sorry for my english if you have some difficulties to understand me…)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.