# 最近的升级尝试失败，重建也出错

**URL:** <https://meta.discourse.org/t/recent-attempts-to-upgrades-failed-and-rebuilding-also-erring/222645>\
**Category:** Product Support\
**Created:** [2022 年3 月 31 日 06:00 UTC](https://meta.discourse.org/t/recent-attempts-to-upgrades-failed-and-rebuilding-also-erring/222645 "2022-03-31T06:00:15Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![Bathinda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bathinda/32/135888_2.png) [@Bathinda](https://meta.discourse.org/u/Bathinda)\
发布日期： [2022 年3 月 31 日 06:00 UTC](https://meta.discourse.org/t/recent-attempts-to-upgrades-failed-and-rebuilding-also-erring/222645/1 "2022-03-31T06:00:16Z")

</div>

在过去的 1-2 天里，我的前端“升级”操作卡住了，我重启了服务器来修复它，但没有成功。

然后我尝试了“Git Pull”和“Rebuild”。  
但是重建“web\_only”失败了，并显示以下消息：

```plaintext
Pups::ExecError: cd /var/www/discourse & su discourse -c 'bundle exec rake db:migrate' failed with return <Process::Status: pid 723 exit 1>
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"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
4454b841c169a9af4f4019b36d647517a7c8624218f9b883ed91
**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.

```

请有人指导一下。

---

_[View the full topic](https://meta.discourse.org/t/recent-attempts-to-upgrades-failed-and-rebuilding-also-erring/222645)._
