Problem with docker installation

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:// ]
    rsyslogd: imklog: cannot open kernel log (/proc/kmsg): Operation not permitted.
    rsyslogd: activation of module imklog failed [v8.16.0 try htp:// ]
    rsyslogd: Could not open output pipe ‘/dev/xconsole’:: No such file or directory [v8.16.0 try htp:// ]

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

1 Like

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?