現在再構築できません - TCのようです。すべて削除する前にこれで正しいですか?

再構築で問題が発生し、原因がわかりません。テーマコンポーネントに関連しているようです。以前はエラーが表示されるコンポーネントがありましたが、削除しました。しかし、再構築は引き続き失敗しています。

これは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 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
    Environment: production
    info Visit yarn run | Yarn 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(最も最近インストールされたもの)に移動しただけです。

「いいね!」 1

それはメモリ不足を意味すると、別のトピックで述べられていたと思います。

古いコンテナを実行したままブートストラップを試みる際の欠点です。

スワップを確認しますか? RAMを増やしますか? 古いコンテナを実行したままブートストラップするのではなく、再構築を実行します。

「いいね!」 6

ジェイ、ありがとう!サーバーを強化して、もう一度試してみます。テーマコンポーネントではなく、初めてブートストラップを試したり、コンテナを実行し続けたりすることに関連していると疑っていました!!!

「いいね!」 1

はい、これで解決しました。もう少し余裕が必要だったようです。

@pfaffman さん、ありがとうございます!最高です!

「いいね!」 4

このトピックは、最後の返信から30日後に自動的にクローズされました。新しい返信は許可されていません。