Go Daddy SSL certificate installation error in D.O. server

I purchased a wildcard SSL certificate from Go Daddy and have followed the blog for SSL installation:

I have a one-click Discourse from Docker image in Digital Ocean. Any help will be appreciated.

Did everything as per the instruction. When I run the command “./launcher rebuild app” I am getting the error below.

What does this mean?


Pups::ExecError: cd /var/www/discourse && bash -c "ln -s /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log /var/www/discourse/log" failed with return #<Process::Status: pid 4279 exit 1>

Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn’

exec failed with the params {"cd"=>"$home", "hook"=>"code", "cmd"=>["git reset --hard", "git clean -f", "git remote set-branches --add origin master", "git pull", "git fetch origin $version", "git checkout $version", "mkdir -p tmp/pids", "mkdir -p tmp/sockets", "touch tmp/.gitkeep", "mkdir -p /shared/log/rails", "bash -c &quot;touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log&quot;", "bash -c &quot;ln -s /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log $home/log&quot;", "bash -c &quot;mkdir -p /shared/{uploads,backups}&quot;", "bash -c &quot;ln -s /shared/{uploads,backups} $home/public&quot;", "bash -c &quot;mkdir -p /shared/tmp/{backups,restores}&quot;", "bash -c &quot;ln -s /shared/tmp/{backups,restores} $home/tmp&quot;", "chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp"]}


** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

Unless you have some reason that you want it to be much harder to configure and that you’ll need to do it again every year then the cert expires, you can instead just run ./discourse-setup and get a free certificate from Let’s Encrypt. The only reason not to that I’m aware of is if you are a bank or something and have a cert that shows that it’s really your company.


I did the free let’s encrypt option and got mixed SSL browser error. After inspecting, it says this:

Mixed Content: The page at ‘https://portal.slccpoa.org/’ was loaded over HTTPS, but requested an insecure image ‘http://portal.slccpoa.org/uploads/default/original/1X/be8d1b2f999b51c2c7895046e80485ac288492fb.jpeg’. This content should also be served over HTTPS.

Can you guide me in how to fix this?


Hi @bobghosh, welcome to meta.discourse.org. :grinning:

The following may be unrelated to your problem but you should know the following as this could save you time in future:

  • The Digital Ocean one-click install is not officially supported here as it does not use the official install instructions:
  • The one-click install may still have these issues:

Mixed content errors are caused by not having “force_https” enabled in the site settings.


Mixed content errors can also be caused by explicitly using an http:// URL that is loaded, for example in a theme, rather than an https:// or a relative URL.


Really? I was sure I had seen URLs rewritten with that setting enabled.

Yep. Take a look at try.discourse.org right now (or before 2019-03-15T10:00:00Z when it resets).

I added an http:// URL in a theme to overwrite the logo.