재구축 실패: 'bundle exec rake assets:precompile' 실행 오류

표준 설치 단계를 통해 설치한 Discourse 인스턴스가 있습니다. 처음 시도해 보는 것인데, SMTP 설정을 업데이트하기 위해 app.yml을 수정한 후 ./launcher rebuild app을 실행했는데 다음과 같은 오류가 발생합니다:

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile' failed with return #<Process::Status: pid 521 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'bundle exec rake assets:precompile'"]}
13cae1b12cdf902161a5a7e297f2142a6379e6b22b1c6b1d0722d25636f5341c
** 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.
==================== END REBUILD LOG ====================

현재 Ubuntu 14.04.6 LTS (GNU/Linux 3.13.0-57-generic x86_64)를 사용 중이며, Discourse 버전은 2.4.0.beta8 (e7bd288d7b)입니다.

./discourse-doctor를 실행해 보았지만, 추가 정보 없이 동일한 오류만 표시됩니다.

어떤 아이디어가 있을까요?

이 문제를 더 깊이 디버깅하려면 어떻게 해야 하나요? 무슨 일이 일어나는지 확인하기 위해 cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile'을 수동으로 실행해 보는 것이 좋을까요?

저는 처음 Discourse를 사용하는 것입니다. 플러그인 없이 순수한 Discourse 설치 환경이며, https://meta.discourse.org/t/how-to-modify-email-settings/60202에 언급된 대로 app.yml에서 SMTP 설정만 업데이트한 후 재빌드(rebuild)를 시도했을 뿐입니다.

위쪽으로 스크롤하여 이전 오류 메시지를 확인해 주세요.

아, 그렇군요. 원인이 이것인 것 같습니다:

rake aborted!
SocketError: Failed to open TCP connection to geolite.maxmind.com:443 (getaddrinfo: No address associated with hostname)
/var/www/discourse/lib/final_destination.rb:411:in `safe_session'
/var/www/discourse/lib/final_destination.rb:362:in `safe_get'
/var/www/discourse/lib/final_destination.rb:131:in `get'
/var/www/discourse/lib/file_helper.rb:51:in `download'
/var/www/discourse/lib/discourse_ip_info.rb:30:in `mmdb_download'
/var/www/discourse/lib/tasks/assets.rake:220:in `block (3 levels) in <top (required)>'
/var/www/discourse/lib/tasks/assets.rake:219:in `each'
/var/www/discourse/lib/tasks/assets.rake:219:in `block (2 levels) in <top (required)>'

Caused by:
SocketError: getaddrinfo: No address associated with hostname
/var/www/discourse/lib/final_destination.rb:411:in `safe_session'
/var/www/discourse/lib/final_destination.rb:362:in `safe_get'
/var/www/discourse/lib/final_destination.rb:131:in `get'
/var/www/discourse/lib/file_helper.rb:51:in `download'
/var/www/discourse/lib/discourse_ip_info.rb:30:in `mmdb_download'
/var/www/discourse/lib/tasks/assets.rake:220:in `block (3 levels) in <top (required)>'
/var/www/discourse/lib/tasks/assets.rake:219:in `each'
/var/www/discourse/lib/tasks/assets.rake:219:in `block (2 levels) in <top (required)>'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)

Upgrade / Rebuilds Fail due to MaxMind DB EOL - #2 를 확인해 주세요.