ARMアーキテクチャでのOracle Cloudホスティング

ARM の実験的サポートについて拝見しました。

しかし、ARM に関して考慮すべき点がすべて把握できているか確信が持てません。

結局、インストールが停止しました。エラーメッセージは役に立たないようです。

どう思われますか?

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && git fetch --depth 1 origin tests-passed failed with return #<Process::Status: pid 141 exit 128>
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"=>"code", "cmd"=>["git reset --hard", "git clean -f", "git remote set-branches --add origin main", "git remote set-branches origin $version", "git fetch --depth 1 origin $version", "git checkout $version", "mkdir -p tmp", "chown discourse:www-data tmp", "mkdir -p tmp/pids", "mkdir -p tmp/sockets", "touch tmp/.gitkeep", "mkdir -p                    /shared/log/rails", "bash -c \"touch -a           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log\"", "bash -c \"ln    -s           /shared/log/rails/{production,production_errors,unicorn.stdout,unicorn.stderr,sidekiq}.log $home/log\"", "bash -c \"mkdir -p           /shared/{uploads,backups}\"", "bash -c \"ln    -s           /shared/{uploads,backups} $home/public\"", "bash -c \"mkdir -p           /shared/tmp/{backups,restores}\"", "bash -c \"ln    -s           /shared/tmp/{backups,restores} $home/tmp\"", "chown -R discourse:www-data /shared/log/rails /shared/uploads /shared/backups /shared/tmp\"", "find public/plugins/ -maxdepth 1 -xtype l -delete"]}bootstrap failed with exit code 128
** 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.

ネットワークエラーの可能性はありますか? 再度試しましたか? エラーは複数回試行しても一貫していますか?

「いいね!」 1

はい、複数回発生しています。

このヒントをありがとうございます。おそらく、デフォルトのファイアウォール制限が原因だと思います。ログの中に重要なヒントを見つけました…

fatal: ‘GitHub - discourse/discourse: A platform for community discussion. Free, open, simple.’ にアクセスできません: ホスト ‘github.com’ を解決できませんでした

はい、インストーラーがインターネットにアクセスできない場合は、まずい状況になります。

「いいね!」 3

非常に奇妙です。特に、Discourse が正常にダウンロードされたように見えるためです。

これは特別なものであるに違いありません。

Discourse の「インストーラー」は正常にダウンロードできましたが、失敗しているステップで必要となるのは Discourse のダウンロードです。

Oracle の特殊なディストリビューションを使用していますか?私の記憶違いでなければ、コンテナ内の DNS に問題があり、Docker サービスの設定に追加の手順が必要になります。

Debian のような、より一般的な ARM 互換ディストリビューションで試してみてはどうでしょうか?

  • Ampere Altra 80C、RAM 6 GB
  • Canonical Ubuntu 22.04、Image-Build:2022.08.10-0

実際、機能するはずでした。テストのために、Oracle Cloud と Ubuntu のファイアウォールを完全に無効にしました。しかし、成功しませんでした。

プロジェクトは現在、中止されています。

Raspberry Pi でもう一度試してみるかもしれません。

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