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 :sweat_smile:

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ì

1 Like

Chắc do cái hướng dẫn cũ quá.
Mình làm lại theo hướng dẫn của Discourse thì ok rồi :frowning:

Cám ơn @Thành Phạm

1 Like
83% thành viên diễn đàn không hỏi bài tập, còn bạn thì sao?