I have a discourse installation, installed with standard install steps. For the first time, I tried modifying app.yml to update SMTP settings, and then I ran ./launcher rebuild app and it fails with:
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 ====================
Iām on Ubuntu 14.04.6 LTS (GNU/Linux 3.13.0-57-generic x86_64), with Discourse version 2.4.0.beta8 (e7bd288d7b).
I ran ./discourse-doctor, but that contains the same error with no further information.
Any ideas?
How do I further debug this? Should I manually run cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile' to see what happens?
This is my first time using Discourse. It is a vanilla Discourse installation with no plugins, and I simply tried to update SMTP settings in app.yml then rebuild as mentioned in How to modify email settings.