# Unable to run /launcher rebuild app \[solved\]

**URL:** https://meta.discourse.org/t/unable-to-run-launcher-rebuild-app-solved/112266
**Category:** Self-hosting
**Created:** [3월 21, 2019, 4:31오후 UTC](https://meta.discourse.org/t/unable-to-run-launcher-rebuild-app-solved/112266 "2019-03-21T16:31:44Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Cosmic](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cosmic/32/120047_2.png) [@Cosmic](https://meta.discourse.org/u/Cosmic)
#### Post date: [3월 21, 2019, 4:31오후 UTC](https://meta.discourse.org/t/unable-to-run-launcher-rebuild-app-solved/112266/1 "2019-03-21T16:31:45Z")

</div>

Hi,  
I have received this while trying to upgrade to latest version. Any help would be appreciated. I tried to run from local username with sudo, and also as root. Nothing helped.

```
` /var/www/discourse/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'`
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
I, [2019-03-21T16:05:48.258104 #13] INFO -- : Purging temp files
Bundling assets

I, [2019-03-21T16:05:48.258334 #13] INFO -- : Terminating async processes
I, [2019-03-21T16:05:48.258551 #13] 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-03-21T16:05:48.258606 #13] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 184
184:signal-handler (1553184348) Received SIGTERM scheduling shutdown...
2019-03-21 16:05:48.258 UTC [68] LOG: received fast shutdown request
184:M 21 Mar 2019 16:05:48.259 # User requested shutdown...
184:M 21 Mar 2019 16:05:48.260 * Saving the final RDB snapshot before exiting.
2019-03-21 16:05:48.324 UTC [68] LOG: aborting any active transactions
2019-03-21 16:05:48.327 UTC [68] LOG: worker process: logical replication launcher (PID 77) exited with exit code 1
184:M 21 Mar 2019 16:05:48.327 * DB saved on disk
184:M 21 Mar 2019 16:05:48.327 # Redis is now ready to exit, bye bye...
2019-03-21 16:05:48.328 UTC [72] LOG: shutting down
2019-03-21 16:05:48.656 UTC [68] LOG: database system is shut down

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile' failed with return #<Process::Status: pid 3963 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'bundle exec rake assets:precompile'"]}
780030a59e8af9ba9f92e7db76051c34c12d99a32a3d6c89aabf4c0e4aacaca2
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one
cosmic@support:/var/discourse$

```

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [3월 21, 2019, 4:45오후 UTC](https://meta.discourse.org/t/unable-to-run-launcher-rebuild-app-solved/112266/2 "2019-03-21T16:45:40Z")

</div>

Are you using any custom plugins?

---

<div class="post-metadata">

### Author: ![Cosmic](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cosmic/32/120047_2.png) [@Cosmic](https://meta.discourse.org/u/Cosmic)
#### Post date: [3월 21, 2019, 4:47오후 UTC](https://meta.discourse.org/t/unable-to-run-launcher-rebuild-app-solved/112266/3 "2019-03-21T16:47:23Z")

</div>

No, this is a 1 year running config with plugins from official plugin repository. I never had issues in past upgrading this.

---

<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: [3월 21, 2019, 4:54오후 UTC](https://meta.discourse.org/t/unable-to-run-launcher-rebuild-app-solved/112266/4 "2019-03-21T16:54:30Z")

</div>

We need a few more lines of that log to be able to help you.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [3월 21, 2019, 5:04오후 UTC](https://meta.discourse.org/t/unable-to-run-launcher-rebuild-app-solved/112266/5 "2019-03-21T17:04:50Z")

</div>

> [@Cosmic](#):
>
> bundle exec rake assets:precompile’ failed

Do you have the custom-wizard plugin installed? There is [an issue with that at the moment](https://meta.discourse.org/t/cannot-load-such-file-sass-in-latest/112218/6). If not, please can you post your list of plugins here - as @Falco said we need some more information before we can help further.

---

<div class="post-metadata">

### Author: ![Cosmic](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cosmic/32/120047_2.png) [@Cosmic](https://meta.discourse.org/u/Cosmic)
#### Post date: [3월 23, 2019, 4:52오전 UTC](https://meta.discourse.org/t/unable-to-run-launcher-rebuild-app-solved/112266/7 "2019-03-23T04:52:43Z")

</div>

what is the more info one needs? yes i have custom-wizzard.

---

<div class="post-metadata">

### Author: ![Cosmic](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cosmic/32/120047_2.png) [@Cosmic](https://meta.discourse.org/u/Cosmic)
#### Post date: [3월 23, 2019, 5:12오전 UTC](https://meta.discourse.org/t/unable-to-run-launcher-rebuild-app-solved/112266/8 "2019-03-23T05:12:00Z")

</div>

problem solved on latest rebuild.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [3월 23, 2019, 5:32오전 UTC](https://meta.discourse.org/t/unable-to-run-launcher-rebuild-app-solved/112266/9 "2019-03-23T05:32:39Z")

</div>


