Report this

What is the reason for this report?

I need to install Discourse in Ubuntu by using Docker

Posted on April 23, 2020

I have installed Discourse in Ubuntu by using Docker . I am unable to get the activation email . Will you provide any guidance. And I’m getting logs like below:

run-parts: executing /etc/runit/1.d/00-ensure-links run-parts: executing /etc/runit/1.d/00-fix-var-logs run-parts: executing /etc/runit/1.d/anacron run-parts: executing /etc/runit/1.d/cleanup-pids Cleaning stale PID files run-parts: executing /etc/runit/1.d/copy-env Started runsvdir, PID is 38 ok: run: redis: (pid 51) 0s ok: run: postgres: (pid 47) 0s chgrp: invalid group: ‘syslog’ rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted. rsyslogd: activation of module imklog failed [v8.1901.0 try https://www.rsyslog.com/e/2145 ] supervisor pid: 48 unicorn pid: 76   
```

And setting in app.yml:

```yaml
--DISCOURSE_SMTP_ADDRESS: smtp.google.com   
DISCOURSE_SMTP_PORT: 587   
DISCOURSE_SMTP_USER_NAME: sample@gmail.com   
DISCOURSE_SMTP_PASSWORD: password   
DISCOURSE_SMTP_ENABLE_START_TLS: false
```


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

Just came across this question, I could suggest a couple of things:

  • As you are using port 587 I believe that you should set the TLS to true
  • Make sure that you are running the latest Docker engine version
  • Make sure that the Discourse image that you are using is also the latest one.

Best, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.