마이그레이션 지침에 따라 아래 단계를 수행했습니다:
- 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
재구축이 정상적으로 실행되었습니다. 다른 분들을 위해 해결 방법을 하나의 게시물로 정리해 올립니다.