# 运行启动器重建应用程序后引导失败

**URL:** <https://meta.discourse.org/t/failed-to-bootstrap-after-running-launcher-rebuild-app/241303>\
**Category:** Self-hosting\
**Created:** [2022 年10 月 7 日 21:28 UTC](https://meta.discourse.org/t/failed-to-bootstrap-after-running-launcher-rebuild-app/241303 "2022-10-07T21:28:16Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![b4oshany](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/b4oshany/32/176298_2.png) [@b4oshany](https://meta.discourse.org/u/b4oshany)\
发布日期： [2022 年10 月 7 日 21:28 UTC](https://meta.discourse.org/t/failed-to-bootstrap-after-running-launcher-rebuild-app/241303/1 "2022-10-07T21:28:16Z")

</div>

有什么办法解决这个问题吗？

```plaintext
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse &amp;&amp; su discourse -c 'bundle exec rake db:migrate' 失败，返回 #&lt;Process::Status: pid 1262 exit 1&gt;
失败位置：/usr/local/lib/ruby/gems/2.7.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec 失败，参数为 {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
引导失败，退出代码为 1
**引导失败** 请向上滚动查找更早的错误消息，可能不止一个。
./discourse-doctor 可能有助于诊断问题。

```

---

_[View the full topic](https://meta.discourse.org/t/failed-to-bootstrap-after-running-launcher-rebuild-app/241303)._
