# Error when installing ssl Let's Encrypt

**URL:** <https://meta.discourse.org/t/error-when-installing-ssl-lets-encrypt/63032>\
**Category:** Product Support\
**Created:** [Mai 19, 2017, 7:35 UTC](https://meta.discourse.org/t/error-when-installing-ssl-lets-encrypt/63032 "2017-05-19T19:35:42Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![wiliamjoaquim](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wiliamjoaquim/32/71571_2.png) [@wiliamjoaquim](https://meta.discourse.org/u/wiliamjoaquim)\
**Post date:** [Mai 19, 2017, 7:35 UTC](https://meta.discourse.org/t/error-when-installing-ssl-lets-encrypt/63032/1 "2017-05-19T19:35:42Z")

</div>

I’m trying to install ssl by following this tutorial

> [@Set up HTTPS support with Let's Encrypt](https://meta.discourse.org/t/setting-up-lets-encrypt/40709):
>
> bookmark This is a guide for enabling HTTPS on an existing Discourse installation using Let’s Encrypt. It assumes prior installation without HTTPS enabled. person_raising_hand Required user level: System Administrator exclamation This guide is only for existing installs where HTTPS is not enabled. Following the [official setup guide](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md) automatically enables HTTPS by default. So you’d like to add https to your Discourse absolutely free, courtesy of our friends at [Let’s Encrypt?](https://letsencrypt.org/)bell I…

But during rebuild of `./launcher rebuild app` the following error occurs at the end of the rebuild

```
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && bash -c "ln -s /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr}.log /var/www/discourse/log" failed with return #<Process::Status: pid 18775 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:108: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 \"touch -a /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr}.log\"", "bash -c \"ln -s /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr}.log $home/log\"", "bash -c \"mkdir -p /shared/{uploads,backups}\"", "bash -c \"ln -s /shared/{uploads,backups} $home/public\"", "chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups"]}
79ac568b42218337eeca4810bb478054b34f762f73ee4b20c1d7e5571520387e
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one

```

Is all set up correctly, what can it be?

---

_[View the full topic](https://meta.discourse.org/t/error-when-installing-ssl-lets-encrypt/63032)._
