01/10/2018, 09:58

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 !

Thành Phạm viết 12:04 ngày 01/10/2018

** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

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

Nam Hoang viết 12:02 ngày 01/10/2018

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

Thành Phạm viết 12:04 ngày 01/10/2018

Pups::ExecError

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ì

Discourse Meta – 29 Jul 16

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...

Nam Hoang viết 12:13 ngày 01/10/2018

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

github.com

discourse/discourse/blob/master/docs/INSTALL-cloud.md

**Set up Discourse in the cloud in under 30 minutes** with zero knowledge of Rails or Linux shell. We recommend [DigitalOcean][do], but these steps will work on any **Docker-compatible** cloud provider or local server.

>  
Bài liên quan
0