# Failing to rebuild app on Discourse since May 7

**URL:** <https://meta.discourse.org/t/failing-to-rebuild-app-on-discourse-since-may-7/117121>\
**Category:** Self-hosting\
**Created:** [May 7, 2019, 8:21pm UTC](https://meta.discourse.org/t/failing-to-rebuild-app-on-discourse-since-may-7/117121 "2019-05-07T20:21:47Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![lmcthjo](https://avatars.discourse-cdn.com/v4/letter/l/67e7ee/32.png) [@lmcthjo](https://meta.discourse.org/u/lmcthjo)\
**Post date:** [May 8, 2019, 4:01pm UTC](https://meta.discourse.org/t/failing-to-rebuild-app-on-discourse-since-may-7/117121/6 "2019-05-08T16:01:35Z")

</div>

Hi Michael,

It is not related to the update of our app.yml, because we are using 2 discourse installations.  
One installation was not touched, the other installation was updated with the new plugin ([GitHub - discourse/discourse-linkify-words: theme to auto linkify urls in discourse · GitHub](https://github.com/discourse/discourse-linkify-words)).  
But unfortunately the rebuild app is now failing on both Discourse installations.

Here is the error message:

> An error occurred while installing mini\_racer (0.2.3), and Bundler cannot  
> continue.  
> Make sure that `gem install mini_racer -v '0.2.3' --source 'https://rubygems.org/'` succeeds before bundling.

> In Gemfile:  
> mini\_racer

> I, [2019-05-08T15:07:05.470695 #14] INFO – : Terminating async processes  
> I, [2019-05-08T15:07:05.470756 #14] 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/10/bin/postmaster -D /etc/postgresql/10/main pid: 68  
> I, [2019-05-08T15:07:05.470823 #14] INFO – : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 184  
> 184:signal-handler (1557328025) Received SIGTERM scheduling shutdown…  
> 2019-05-08 15:07:05.473 UTC [68] LOG: received fast shutdown request  
> 2019-05-08 15:07:05.475 UTC [68] LOG: aborting any active transactions  
> 2019-05-08 15:07:05.479 UTC [68] LOG: worker process: logical replication launcher (PID 77) exited with exit code 1  
> 2019-05-08 15:07:05.479 UTC [72] LOG: shutting down  
> 184:M 08 May 2019 15:07:05.499 # User requested shutdown…  
> 184:M 08 May 2019 15:07:05.499 \* Saving the final RDB snapshot before exiting.  
> 184:M 08 May 2019 15:07:05.565 \* DB saved on disk  
> 184:M 08 May 2019 15:07:05.565 # Redis is now ready to exit, bye bye…  
> 2019-05-08 15:07:05.573 UTC [68] 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 355 exit 5\>  
> Location of failure: /pups/lib/pups/exec\_command.rb:112: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 development’”]}  
> 9868b72c446c79ff2b617f4e2cb15547084bc6d6fc47fcf68b820ed3655a1a3f  
> \*\* FAILED TO BOOTSTRAP \*\* please scroll up and look for earlier error messages, there may be more than one

---

_[View the full topic](https://meta.discourse.org/t/failing-to-rebuild-app-on-discourse-since-may-7/117121)._
