Я следовал инструкциям по миграции:
- Скопировал 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
Пересборка прошла успешно. Размещаю это решение в одном посте для других.