移行手順に従いました。
- app.yml を import.yml にコピーしました。
- phpbb3 テンプレートを追加しました。
- アプリを停止しました。
- 再構築インポートアプリを起動しました。
以下のエラーメッセージが表示されました。
FAILED
--------------------
Errno::ENOENT: No such file or directory @ rb_sysopen - /etc/service/unicorn/run
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/replace_command.rb:11:in `read'
replace failed with the params {"tag"=>"precompile", "filename"=>"/etc/service/unicorn/run", "from"=>"# before precompile", "to"=>"PRECOMPILE_ON_BOOT=0"}
bootstrap failed with exit code 1
** 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.
c36434159c67d984490ca9d63ea1162a4a8124f39e8f6cf63328676622
他のユーザーがリストしている手順に従いました。
nano templates/import/phpbb3.template.yml
以下の行をコメントアウトしました。
hooks:
after_web_config:
- exec:
cd: /etc/service
cmd:
#- rm -R unicorn
- rm -R nginx
- rm -R cron
再構築は正常に完了しました。他のユーザーのために、解決策を1つの投稿にまとめます。