Discourse 마이그레이션 및 앱 시작 문제

현재 Discourse 포럼을 한 서버에서 다른 서버로 마이그레이션하고 있습니다. 두 서버 모두 Linux CentOS 7.9를 실행 중입니다.
./launcher bootstrap app를 사용하여 앱을 부트스트랩하는 단계를 따랐지만, 다음 오류가 발생했습니다:

I, [2023-06-17T17:15:58.122571 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2023-06-17T17:16:00.306019 #1]  INFO -- : docker_manager is already at latest compatible version

I, [2023-06-17T17:16:00.307142 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
rake aborted!
[docker_manager] Handlebars templates can no longer be included via `register_asset`.
Any hbs files under `assets/javascripts` will be automatically compiled and included."
/var/www/discourse/lib/plugin/instance.rb:638:in `register_asset'
...

Docker Manager 플러그인과 Handlebars 템플릿 사이에 문제가 있는 것으로 보입니다. 이 오류를 해결하는 방법에 대해 확신이 서지 않습니다. 누군가 이 문제를 수정하는 방법에 대해 안내해 주실 수 있을까요?

그동안 원본 서버의 local_discourse/app 이미지를 새 서버로 복사하기로 결정했습니다. ./launcher start app를 사용하여 애플리케이션을 시작했지만, 또 다른 오류가 발생했습니다:

I, [2023-06-18T11:24:51.537970 #1]  INFO -- : Reading from stdin
/usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups/config.rb:14:in `block in initialize': undefined method `has_key?' for nil:NilClass (NoMethodError)
['env_template', 'env', 'labels', 'params'].each { |key| @config[key] = {} unless @config.has_key?(key) }
                                                                                         
...

env_template, env, labels, params 키와 관련된 Pups 설정에 문제가 있는 것으로 보입니다. 이 오류로 인해 앱이 제대로 시작되지 못하고 있습니다.

막혀 있는 상태이고 어떻게 진행해야 할지 모르겠습니다. Discourse 마이그레이션 또는 앱 시작 과정에서 유사한 문제를 겪어 보신 분이라면, 도움을 주시면 감사하겠습니다. 제안이나 해결책이 있으시면 알려 주시기 바랍니다.

도움 주셔서 감사합니다!

bootstrap 앱:

I, [2023-06-17T17:15:58.122571 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'LOAD_PLUGINS=0 bundle exec rake plugin:pull_compatible_all'
I, [2023-06-17T17:16:00.306019 #1]  INFO -- : docker_manager is already at latest compatible version

I, [2023-06-17T17:16:00.307142 #1]  INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate'
rake aborted!
[docker_manager] Handlebars templates can no longer be included via `register_asset`.
Any hbs files under `assets/javascripts` will be automatically compiled and included."
/var/www/discourse/lib/plugin/instance.rb:638:in `register_asset'
/var/www/discourse/plugins/docker_manager/plugin.rb:29:in `activate!'
/var/www/discourse/lib/plugin/instance.rb:730:in `instance_eval'
/var/www/discourse/lib/plugin/instance.rb:730:in `activate!'
/var/www/discourse/lib/discourse.rb:346:in `block in activate_plugins!'
/var/www/discourse/lib/discourse.rb:343:in `each'
/var/www/discourse/lib/discourse.rb:343:in `activate_plugins!'
/var/www/discourse/config/application.rb:215:in `block in <class:Application>'
/var/www/discourse/lib/plugin.rb:6:in `initialization_guard'
/var/www/discourse/config/application.rb:215:in `<class:Application>'
/var/www/discourse/config/application.rb:75:in `<module:Discourse>'
/var/www/discourse/config/application.rb:74:in `<top (required)>'
/var/www/discourse/Rakefile:7:in `require'
/var/www/discourse/Rakefile:7:in `<top (required)>'
/var/www/discourse/vendor/bundle/ruby/3.2.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
(See full trace by running task with --trace)
I, [2023-06-17T17:16:01.381158 #1]  INFO -- : 
I, [2023-06-17T17:16:01.382053 #1]  INFO -- : Terminating async processes
I, [2023-06-17T17:16:01.382604 #1]  INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/13/bin/postmaster -D /etc/postgresql/13/main pid: 42
I, [2023-06-17T17:16:01.383169 #1]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 103
2023-06-17 17:16:01.383 UTC [42] LOG:  received fast shutdown request
103:signal-handler (1687022161) Received SIGTERM scheduling shutdown...
2023-06-17 17:16:01.396 UTC [42] LOG:  aborting any active transactions
2023-06-17 17:16:01.400 UTC [42] LOG:  background worker "logical replication launcher" (PID 51) exited with exit code 1
2023-06-17 17:16:01.401 UTC [46] LOG:  shutting down
2023-06-17 17:16:01.411 UTC [42] LOG:  database system is shut down
103:M 17 Jun 2023 17:16:01.435 # User requested shutdown...
103:M 17 Jun 2023 17:16:01.436 * Saving the final RDB snapshot before exiting.
103:M 17 Jun 2023 17:16:01.439 * DB saved on disk
103:M 17 Jun 2023 17:16:01.439 # Redis is now ready to exit, bye bye...
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 814 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
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.

앱 시작:

I, [2023-06-18T11:24:51.537970 #1]  INFO -- : Reading from stdin
/usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups/config.rb:14:in `block in initialize': undefined method `has_key?' for nil:NilClass (NoMethodError)

      ['env_template', 'env', 'labels', 'params'].each { |key| @config[key] = {} unless @config.has_key?(key) }
                                                                                               ^^^^^^^^^
	from /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups/config.rb:14:in `each'
	from /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups/config.rb:14:in `initialize'
	from /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups/cli.rb:55:in `new'
	from /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups/cli.rb:55:in `run'
	from /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/bin/pups:9:in `'
	from /usr/local/bin/pups:25:in `load'
	from /usr/local/bin/pups:25:in `

이 문제를 해결해 보셨나요? 저도 같은 문제를 겪고 있습니다.