# 目前无法重建 - 似乎是TC。在我全部移除之前，这是对的吗？

**URL:** <https://meta.discourse.org/t/unable-to-rebuild-at-the-moment-seems-to-be-tcs-is-this-right-before-i-remove-them-all/219523>\
**Category:** Support\
**Created:** [2022年二月27日 22:48 UTC](https://meta.discourse.org/t/unable-to-rebuild-at-the-moment-seems-to-be-tcs-is-this-right-before-i-remove-them-all/219523 "2022-02-27T22:48:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)\
**Post date:** [2022年二月27日 22:48 UTC](https://meta.discourse.org/t/unable-to-rebuild-at-the-moment-seems-to-be-tcs-is-this-right-before-i-remove-them-all/219523/1 "2022-02-27T22:48:22Z")

</div>

我被卡住了，不确定原因。它似乎与主题组件有关。我确实有一个显示错误的组件，但已经将其删除。但是，重建仍然失败。

这是在使用 2 个容器的设置中，尝试使用 `./launcher bootstrap web_only && ./launcher destroy web_only && ./launcher start web_only` 进行重建。

日志：

> I, [2022-02-27T22:33:50.697946 #1] INFO – : \> cd /var/www/discourse & su discourse -c ‘bundle exec rake themes:update assets:precompile’
> 
> - Building
> - Building
> - building…  
> Killed  
> error Command failed with exit code 137.  
> I, [2022-02-27T22:38:12.876942 #1] INFO – : Checking ‘PDF previews’ for ‘default’… up to date  
> Checking ‘Icon Header Links’ for ‘default’… up to date  
> Checking ‘Discourse Kanban’ for ‘default’… up to date  
> Checking ‘Extended About page’ for ‘default’… up to date  
> Checking ‘Discourse Jitsi’ for ‘default’… up to date  
> Checking ‘Topic Template Placeholder Text’ for ‘default’… up to date  
> Checking ‘Wikified Posts’ for ‘default’… up to date  
> Checking ‘Layouts Category List Widget’ for ‘default’… up to date  
> Checking ‘New PM Dropdown Button’ for ‘default’… up to date  
> Checking ‘Discourse Custom Homepage’ for ‘default’… up to date  
> Checking ‘Category Icons’ for ‘default’… up to date  
> Checking ‘Wizards Dropdown Button’ for ‘default’… up to date  
> Checking ‘Blog Post Styling’ for ‘default’… up to date  
> Checking ‘Layouts Category List Widget - Nathan’s Fork’ for ‘default’… up to date  
> Checking ‘md-composer-extras’ for ‘default’… up to date  
> Checking ‘Land on Group Messages’ for ‘default’… up to date  
> Checking ‘Layouts Groups Widget’ for ‘default’… up to date  
> Checking ‘Topic List Previews’ for ‘default’… up to date  
> Checking ‘discourse-image-annotator’ for ‘default’… up to date  
> Checking ‘Welcome Link Banner’ for ‘default’… up to date  
> Checking ‘DiscoTOC’ for ‘default’… yarn run v1.22.17  
> $ /var/www/discourse/app/assets/javascripts/node\_modules/.bin/ember build -prod  
> WARNING: Node v16.13.2 is not tested against Ember CLI on your platform. We recommend that you use the most-recent “Active LTS” version of Node.js. See [ember-cli/docs/node-support.md at master · ember-cli/ember-cli · GitHub](https://git.io/v7S5n) for details.  
> DEPRECATION: The integration of jQuery into Ember has been deprecated and will be removed with Ember 4.0. You can either opt-out of using jQuery, or install the `@ember/jquery` addon to provide the jQuery integration. Please consult the deprecation guide for further details: [Ember.js - Deprecations](https://emberjs.com/deprecations/v3.x#toc_jquery-apis)  
> Environment: production  
> info Visit [yarn run | Yarn](https://yarnpkg.com/en/docs/cli/run) for documentation about this command.
> 
> ## FAILED
> 
> Pups::ExecError: cd /var/www/discourse & su discourse -c ‘bundle exec rake themes:update \>assets:precompile’ failed with return #\<Process::Status: pid 1257 exit 137\>  
> 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”=\>“assets\_precompile”, “cmd”=\>[“su discourse -c ‘bundle exec rake themes:update assets:precompile’”]}  
> be04c3477dffeff3e9d650532d0037ba735ea41638aa9ca959ec26160930ee08  
> \*\* 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.

有什么建议吗？我担心会弄坏我的网站，所以暂时不打算运行 `./launcher rebuild web_only`。

是的，我删除了 DiscoTOC，但没有起作用——错误只是落到了另一个 TC（无论哪个是最近安装的）。

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2022年二月28日 01:34 UTC](https://meta.discourse.org/t/unable-to-rebuild-at-the-moment-seems-to-be-tcs-is-this-right-before-i-remove-them-all/219523/2 "2022-02-28T01:34:51Z")

</div>

> [@nathank](#):
>
> 退出代码 137。

我相当确定另一个主题说过这表示内存不足。

这是在另一个容器运行时尝试引导的缺点。

检查交换空间？增加内存？在旧容器运行时，执行重建而不是引导。

---

<div class="post-metadata">

**Author:** ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)\
**Post date:** [2022年二月28日 03:20 UTC](https://meta.discourse.org/t/unable-to-rebuild-at-the-moment-seems-to-be-tcs-is-this-right-before-i-remove-them-all/219523/3 "2022-02-28T03:20:10Z")

</div>

谢谢 Jay！我会加强服务器，再试一次。我确实怀疑这与我第一次尝试使用 fancy bootstrap / keep the container running / 等功能有关，而不是与我的主题组件有关！

---

<div class="post-metadata">

**Author:** ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)\
**Post date:** [2022年二月28日 08:27 UTC](https://meta.discourse.org/t/unable-to-rebuild-at-the-moment-seems-to-be-tcs-is-this-right-before-i-remove-them-all/219523/4 "2022-02-28T08:27:09Z")

</div>

是的，这样就解决了——只需要更多的空间。

谢谢 @pfaffman，你太棒了！

---

<div class="post-metadata">

**Author:** ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)\
**Post date:** [2022年三月30日 08:27 UTC](https://meta.discourse.org/t/unable-to-rebuild-at-the-moment-seems-to-be-tcs-is-this-right-before-i-remove-them-all/219523/5 "2022-03-30T08:27:50Z")

</div>

此主题在上次回复后 30 天自动关闭。不再允许回复。
