Gitlab5.0 does not send email

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.