# Cannot ./launcher rebuild app

**URL:** https://meta.discourse.org/t/cannot-launcher-rebuild-app/375615
**Category:** Self-hosting
**Created:** [July 24, 2025, 11:22am UTC](https://meta.discourse.org/t/cannot-launcher-rebuild-app/375615 "2025-07-24T11:22:48Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Jeremie\_Leroy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeremie_leroy/32/84427_2.png) [@Jeremie\_Leroy](https://meta.discourse.org/u/Jeremie_Leroy)
#### Post date: [July 24, 2025, 11:22am UTC](https://meta.discourse.org/t/cannot-launcher-rebuild-app/375615/1 "2025-07-24T11:22:48Z")

</div>

Hi All i have the below error any idea on how to fix it ?

```plaintext
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 571 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.3.0/lib/pups/exec_command.rb:131:in `spawn'
exec failed with the params {"cd"=>"$home", "tag"=>"migrate", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
bootstrap failed with exit code 1
**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.
45b3d2e2831f4e090fba5da5f4e3bcfb5cabdb6b8f694b7765676ac9b5b0f6d2
root@forum:/var/discourse#
```

---

_[View the full topic](https://meta.discourse.org/t/cannot-launcher-rebuild-app/375615)._
