# Install discourse error help me?

**URL:** https://meta.discourse.org/t/install-discourse-error-help-me/221469
**Category:** Self-hosting
**Created:** [March 20, 2022, 2:40am UTC](https://meta.discourse.org/t/install-discourse-error-help-me/221469 "2022-03-20T02:40:30Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Dennis19872020](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dennis19872020/32/253668_2.png) [@Dennis19872020](https://meta.discourse.org/u/Dennis19872020)
#### Post date: [March 20, 2022, 2:40am UTC](https://meta.discourse.org/t/install-discourse-error-help-me/221469/1 "2022-03-20T02:40:30Z")

</div>

In ./discourse-setup after：

```plaintext
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && git fetch --depth 1 origin tests-passed failed with return #<Process::Status: pid 157 exit 128>
Location of failure: /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"code", "cmd"=>["git reset --hard", "git clean -f", "git remote set-branches --add origin main", "git remote set-branches origin $version", "git fetch --depth 1 origin $version", "git checkout $version", "mkdir -p tmp", "chown discourse:www-data tmp", "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,sidekiq}.log\"", "bash -c \"ln -s /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log $home/log\"", "bash -c \"mkdir -p /shared/{uploads,backups}\"", "bash -c \"ln -s /shared/{uploads,backups} $home/public\"", "bash -c \"mkdir -p /shared/tmp/{backups,restores}\"", "bash -c \"ln -s /shared/tmp/{backups,restores} $home/tmp\"", "chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp", "find public/plugins/ -maxdepth 1 -xtype l -delete"]}
9cd623510fd924e9a9828bd96b7ccb4d9fba65d020ef8395f6825de6b9d1409c
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
root@iZwz93dgnb87rnpy6iwo0fZ:/var/discourse# 

```

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [March 20, 2022, 4:05am UTC](https://meta.discourse.org/t/install-discourse-error-help-me/221469/2 "2022-03-20T04:05:48Z")

</div>

Can you share more of the install log as said in the message

> [@Dennis19872020](#):
>
> `please scroll up and look for earlier error messages, there may be more than one.`

---

<div class="post-metadata">

### Author: ![Dennis19872020](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dennis19872020/32/253668_2.png) [@Dennis19872020](https://meta.discourse.org/u/Dennis19872020)
#### Post date: [March 20, 2022, 6:42am UTC](https://meta.discourse.org/t/install-discourse-error-help-me/221469/3 "2022-03-20T06:42:17Z")

</div>

```plaintext
I, [2022-03-20T06:38:43.528620 #1] INFO -- : 
I, [2022-03-20T06:38:43.529217 #1] INFO -- : > cd /var/www/discourse && git remote set-branches --add origin main
I, [2022-03-20T06:38:43.533776 #1] INFO -- : 
I, [2022-03-20T06:38:43.534068 #1] INFO -- : > cd /var/www/discourse && git remote set-branches origin tests-passed
I, [2022-03-20T06:38:43.537973 #1] INFO -- : 
I, [2022-03-20T06:38:43.538267 #1] INFO -- : > cd /var/www/discourse && git fetch --depth 1 origin tests-passed
fatal: unable to access 'https://github.com/discourse/discourse.git/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.
I, [2022-03-20T06:40:43.943962 #1] INFO -- : 
I, [2022-03-20T06:40:43.944561 #1] INFO -- : Terminating async processes
I, [2022-03-20T06:40:43.944788 #1] INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid: 42
I, [2022-03-20T06:40:43.945030 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 103
2022-03-20 06:40:43.945 UTC [42] LOG: received fast shutdown request
103:signal-handler (1647758443) Received SIGTERM scheduling shutdown...
2022-03-20 06:40:43.949 UTC [42] LOG: aborting any active transactions
2022-03-20 06:40:43.954 UTC [42] LOG: background worker "logical replication launcher" (PID 51) exited with exit code 1
2022-03-20 06:40:43.954 UTC [46] LOG: shutting down
2022-03-20 06:40:43.996 UTC [42] LOG: database system is shut down
103:M 20 Mar 2022 06:40:44.026 # User requested shutdown...
103:M 20 Mar 2022 06:40:44.027 * Saving the final RDB snapshot before exiting.
103:M 20 Mar 2022 06:40:44.032 * DB saved on disk
103:M 20 Mar 2022 06:40:44.032 # Redis is now ready to exit, bye bye...

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && git fetch --depth 1 origin tests-passed failed with return #<Process::Status: pid 140 exit 128>
Location of failure: /usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"code", "cmd"=>["git reset --hard", "git clean -f", "git remote set-branches --add origin main", "git remote set-branches origin $version", "git fetch --depth 1 origin $version", "git checkout $version", "mkdir -p tmp", "chown discourse:www-data tmp", "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,sidekiq}.log\"", "bash -c \"ln -s /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log $home/log\"", "bash -c \"mkdir -p /shared/{uploads,backups}\"", "bash -c \"ln -s /shared/{uploads,backups} $home/public\"", "bash -c \"mkdir -p /shared/tmp/{backups,restores}\"", "bash -c \"ln -s /shared/tmp/{backups,restores} $home/tmp\"", "chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp", "find public/plugins/ -maxdepth 1 -xtype l -delete"]}
430c1ce31b576b592aa0447e40f5f6636e7f30f3b38ae28904dade87bacba080
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one.

```

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [March 20, 2022, 9:07am UTC](https://meta.discourse.org/t/install-discourse-error-help-me/221469/4 "2022-03-20T09:07:20Z")

</div>

> [@Dennis19872020](#):
>
> `unable to access 'https://github.com/discourse/discourse.git/`

Your vm, or at least docker containers inside it cannot access github..

You need to diagnose networking for your host or docker.

---

<div class="post-metadata">

### Author: ![Dennis19872020](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dennis19872020/32/253668_2.png) [@Dennis19872020](https://meta.discourse.org/u/Dennis19872020)
#### Post date: [March 20, 2022, 9:59am UTC](https://meta.discourse.org/t/install-discourse-error-help-me/221469/5 "2022-03-20T09:59:21Z")

</div>

Thank u I have replaced the US server to get it resolved

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [March 20, 2022, 10:52am UTC](https://meta.discourse.org/t/install-discourse-error-help-me/221469/6 "2022-03-20T10:52:58Z")

</div>

And it’s working now?
