Problem with docker installation

AI-generated summary

In a discussion titled “Problem with docker installation” under the Self-hosting category, almaz2018 initially reported issues during manual Discourse installation via Docker: after cloning the repo and configuring discourse-main.yml, they encountered an image-not-found error (resolved via docker tag) and later found no listening HTTP port inside the container, with rsyslog errors in logs. They sought help to expose Discourse’s HTTP port via Nginx. In post 2, almaz2018 mentioned they fixed the initial issue but now face spammy activation emails for an already-activated account. itsbhanusharma advised checking Sidekiq jobs at /sidekiq and deleting any pending activation email jobs. acinonyxjubatus then asked how the original Docker issue was resolved, to which itsbhanusharma requested a clearer description of the current problem. The thread reflects common Docker/Discourse setup pitfalls and post-installation email job misconfigurations.

Hello. I was tryed to do the manual installation of discourse with the following steps:

  1. Cloned the repository.
  2. Created ./container/discourse-main.yml template (from samples), changed port mappings.
  3. Run launcher script (there was first error that image local_discourse/discourse-main is not found, so i used docker tag to fix this).
  4. The container runs successfully, but there is no listened port into it. There is contianer logs:
    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
    Started runsvdir, PID is 26
    rsyslogd: command ‘KLogPermitNonKernelFacility’ is currently not permitted - did you already set it via a RainerScript command (v6+ config)? [v8.16.0 try htp://www.rsyslog.com/e/2222 ]
    rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted.
    rsyslogd: activation of module imklog failed [v8.16.0 try htp://www.rsyslog.com/e/2145 ]
    rsyslogd: Could not open output pipe ‘/dev/xconsole’:: No such file or directory [v8.16.0 try htp://www.rsyslog.com/e/2039 ]

Can you help me please? I wanna access discourse http port (exposed from container on host’s custom port) through nginx.

I just fixed my problem.
But now there’s another problem: discourse is spamming me via email for activating my accout, that was already activated.
Please help.

Check your sidekiq jobs
If there are any that state activation email just delete them

Visit sidekiq from your.discourse.domain/sidekiq

Facing this error now. How did you fix it?

Can you explain in brief what issue are you facing exactly?