After Service gitlab restart is used to restart the service, the email will not be sent. Remember that everything is normal after gitlab5.0 is installed.
Sendmail has been installed in the system and functions properly.
Check production. log and find no email sending record.
Check the system again.
Sudo-SCD/home/git/gitlabsudo-u Git-H bundle exec rake gitlab: Check rails_env = Production
Error found:
Checking sidekiq... running? ... No try fixing it: Sudo-u Git-H bundle exec rake sidekiq: Start rails_env = production for more information see: DOC/install/installation. MD in section "Install init script" see log/sidekiq. log for possible errors please fix the error above and rerun the checks. checking sidekiq... finished
Run the recommended command:
Sudo-u Git-H bundle exec rake sidekiq: Start rails_env = Production
Check again, no problem.
The email is also sent successfully.