Sửa lỗi khi Bootstrapping Discourse
Mình gặp lỗi này khi cài đặt Discourse lần đầu tiên
FAILED
Pups::ExecError: cd /var/www/discourse && su discourse -c ‘bundle install --deployment --verbose --without test --without development’ failed with return #<Process::Status: pid 270 exit 137>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn’
exec failed with the params {“cd”=>"$home", “hook”=>“bundle_exec”, “cmd”=>[“su discourse -c ‘bundle install --deployment --verbose --without test --without development’”, “su discourse -c ‘bundle exec rake db:migrate’”, “su discourse -c ‘bundle exec rake assets:precompile’”]}
cd84c5444de60b36b1da68cf86713257d0d7fe9cd308f34bbc16fd6b16f50357
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one
Bạn nào giúp mình xem lỗi ở đâu !
Nó bảo là kéo lên xem lỗi kìa bạn, tầm này log chưa đủ đoán lôi đâu b
Chỉ có phần này là hiện lỗi như thế, Còn phía trên khi chạy đều thấy bình thường và successfully bạn ah
Mình làm theo hướng dẫn của digitalocean: https://www.digitalocean.com/community/tutorials/how-to-install-discourse-on-ubuntu-14-04#step-4--configure-discourse
Bạn kiểm tra lại xem, ví dụ như ở đây người ta report lỗi này, phần log cần tầm này mới luận ra được lỗi là gì
FAILED TO BOOTSTRAP : 'Pups::ExecError'
Hi! Here is the error I get when I try to rebuild my app (Git revision: beta): Compressing: application-db30cb7af624e44f554adaa4f48e592c263b25627dac6aaded087b41331c3a55.js uglifyjs...
Chắc do cái hướng dẫn cũ quá.
github.com
Mình làm lại theo hướng dẫn của Discourse thì ok rồi
discourse/discourse/blob/master/docs/INSTALL-cloud.md