Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitLab Email not sending?

GitLab should automatically send email to a new user with their password when their account is created.

I have checked the mail.log file and I see no records of sending or attempts to send.
I can send mail via postfix command line with no problems.

In the gitlab ui, I get no fails or anything. When I look at mailer I see this pending:

 Class      Args 

 Notify     ["new_user_email", 8, "qrnq1kSQ"]

I've modified gitlab.yml to have the correct from address: [email protected]

like image 800
mightcouldb1 Avatar asked Nov 03 '22 16:11

mightcouldb1


1 Answers

So I found out that I had to run the resque process manually on my server in order for it to process the jobs in the queue. I'm going to ask another question elsewhere to see how to make that automatic.

The command was:

sudo -u gitlab bundle exec rake environment resque:work QUEUE=* RAILS_ENV=production BACKGROUND=yes
like image 50
mightcouldb1 Avatar answered Nov 13 '22 22:11

mightcouldb1