# Pups ExecError while rebuilding

**URL:** <https://meta.discourse.org/t/pups-execerror-while-rebuilding/229535>\
**Category:** Self-hosting\
**Tags:** server-resources\
**Created:** [June 9, 2022, 4:20pm UTC](https://meta.discourse.org/t/pups-execerror-while-rebuilding/229535 "2022-06-09T16:20:04Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![OverseersMight](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/overseersmight/32/228719_2.png) [@OverseersMight](https://meta.discourse.org/u/OverseersMight)\
**Post date:** [June 9, 2022, 4:20pm UTC](https://meta.discourse.org/t/pups-execerror-while-rebuilding/229535/1 "2022-06-09T16:20:04Z")

</div>

```plaintext
2022-06-09 15:54:49.619 UTC [42] LOG: background worker "logical replication launcher" (PID 51) exited with exit code 1
2022-06-09 15:54:49.620 UTC [46] LOG: shutting down
2022-06-09 15:54:49.671 UTC [42] LOG: database system is shut down

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle install --deployment --retry 3 --jobs 4 --verbose --without test development' failed with return #<Process:
:Status: pid 268 exit 137>
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"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --retry 3 --jobs 4 --verbose --without test developm
ent'"]}
bootstrap failed with exit code 137

```

I’ve been getting this error when rebuilding, I have no idea what to do.

---

_[View the full topic](https://meta.discourse.org/t/pups-execerror-while-rebuilding/229535)._
