# Fresh install does not work

**URL:** <https://meta.discourse.org/t/fresh-install-does-not-work/78754>\
**Category:** Self-hosting\
**Created:** [January 23, 2018, 12:49pm UTC](https://meta.discourse.org/t/fresh-install-does-not-work/78754 "2018-01-23T12:49:25Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![nokizorque](https://avatars.discourse-cdn.com/v4/letter/n/e19adc/32.png) [@nokizorque](https://meta.discourse.org/u/nokizorque)\
**Post date:** [January 23, 2018, 12:49pm UTC](https://meta.discourse.org/t/fresh-install-does-not-work/78754/1 "2018-01-23T12:49:25Z")

</div>

Hi,

I’m trying to setup a fresh installation of Discourse, with a fresh installation of Docker. Never installed either before. I’m trying to do this on an Ubuntu 16.04.3 installation with 2GB of RAM (should be enough from what I’ve gathered).

I want to run this alongside nginx, so I follow the official [guide](https://meta.discourse.org/t/running-other-websites-on-the-same-machine-as-discourse/17247/13) on doing so (the only difference was nginx was already installed and Discourse not set up).

I’ve tried to rebuild it, bootstrap it and reinstall it multiple times to no avail. I’ve searched and found nothing so far that has solved my problem.

The final error message is as follows:

```plaintext
    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 6282 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 se t-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 \"mk dir -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"]}
9e5e314a1cc05f72408675a4dee667a7fea3e8b0931a84d21ab9313618a9f396

```

Any help is appreciated. Thank you!

edit: I should add, I’m not using LetsEncrypt. Docker versions are as follows (from `docker version`): ` Version: 18.01.0-ce API version: 1.35`

---

_[View the full topic](https://meta.discourse.org/t/fresh-install-does-not-work/78754)._
