# 最近のアップグレードの試みは失敗し、再構築もエラーが発生しています

**URL:** https://meta.discourse.org/t/recent-attempts-to-upgrades-failed-and-rebuilding-also-erring/222645
**Category:** Support
**Created:** [2022 年 3 月 31 日午前 6: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:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Bathinda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bathinda/32/135888_2.png) [@Bathinda](https://meta.discourse.org/u/Bathinda)
#### Post date: [2022 年 3 月 31 日午前 6: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'"]}
4454b841c169a9af4f4019b36d647517a711304d2f72a7c8624218f9b883ed91
**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.

```

どなたかご指導ください。

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2022 年 3 月 31 日午前 6:11 UTC](https://meta.discourse.org/t/recent-attempts-to-upgrades-failed-and-rebuilding-also-erring/222645/2 "2022-03-31T06:11:21Z")

</div>

もっと詳しいエラーがないか、上にスクロールして確認してもらえますか？

---

<div class="post-metadata">

### Author: ![Bathinda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bathinda/32/135888_2.png) [@Bathinda](https://meta.discourse.org/u/Bathinda)
#### Post date: [2022 年 3 月 31 日午前 6:17 UTC](https://meta.discourse.org/t/recent-attempts-to-upgrades-failed-and-rebuilding-also-erring/222645/3 "2022-03-31T06:17:32Z")

</div>

丁寧な返信ありがとうございます。

しかし、これらのプラグインを無効にすることで、このエラーを解決することができました（これから各プラグインを一つずつ有効にして確認します）。

```plaintext
discourse-telegram-notifications
discourse-locations
discourse-formatting-toolbar
discourse-legal-tools

```

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2022 年 3 月 31 日午前 6:19 UTC](https://meta.discourse.org/t/recent-attempts-to-upgrades-failed-and-rebuilding-also-erring/222645/4 "2022-03-31T06:19:03Z")

</div>

心配いりません。 🙂 すぐに解決できてよかったです。👍

legal-tools がそれかもしれません：

> [@LoadError: cannot load such file -- jobs/regular/export\_csv\_file](https://meta.discourse.org/t/loaderror-cannot-load-such-file-jobs-regular-export-csv-file/222425/5?u=jammydodger):
>
> Thanks for the report. Files have changed in core discourse which has broken the legal tools plugin. I’ll have time to update it early next week.

---

<div class="post-metadata">

### Author: ![Bathinda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bathinda/32/135888_2.png) [@Bathinda](https://meta.discourse.org/u/Bathinda)
#### Post date: [2022 年 3 月 31 日午前 6:23 UTC](https://meta.discourse.org/t/recent-attempts-to-upgrades-failed-and-rebuilding-also-erring/222645/5 "2022-03-31T06:23:21Z")

</div>

> [@JammyDodger](#):
>
> legal-tools がその一つかもしれません。

ああ！これで、各プラグインを検討してから再構築するのにかかる時間が大幅に短縮されます。ありがとうございます。

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2022 年 4 月 30 日午前 6:23 UTC](https://meta.discourse.org/t/recent-attempts-to-upgrades-failed-and-rebuilding-also-erring/222645/6 "2022-04-30T06:23:22Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
