Error when update discourse

Hello, when i update discourse by con sonle ./launcher rebuild app i get error below:

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 457 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development --retry 3 --jobs 4'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
8f228b7827e3d4992298a988ee42caca8f35e1b4f85ef152889592140ad6fdcd
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

How can i update normal?
Thank you!

Try ./discourse-doctor and see if that gives you any useful information.

2 Likes