User Elvis_Hernandez encountered a bootstrap error while installing Discourse on their Ubuntu 18.04 VPS. Despite following the installation instructions on Github, the process failed with a Pups::ExecError.
Falco suggested scrolling up to look for earlier error messages, but Elvis_Hernandez reported not seeing any errors. pfaffman recommended running ./discourse-doctor to save the output to a file for easier reading.
Eventually, Elvis_Hernandez reinstalled Discourse from scratch, resolving the issue. However, they encountered another problem with content translation, as most of the content remained in English despite installing the Spanish version. Falco clarified that Discourse is 99.4% translated to Spanish and that some content, like welcome topics, is meant to be customized.
I am trying to install Discourse on my VPS with Ubuntu 18.04. I follow the instructions given in Github and it allways end with the following error:
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile' failed with return #<Process::Status: pid 1571 exit 137>
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'"]}
0f8bdf09ca3b6599fd8ea88682c50d48016fc94240c7431dc7a73a2b4c5db56f
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one
I was wasting too much time trying to make the site work, so I decided to just start on my VPS with a new installation from scratch.
I use this VPS only to test Python programs and I had other things running in the background, and I think some kind of conflicts existed and that I would not be able to locate the problem in a reasonable amount of time. 72 hours just trying to install the program was enough.
Now it’s working pretty well. It just has a lot of problems with content in English and Spanish. I installed the Spanish version but most of the contents are still in English. It’s disappointing but I’m trying to solve all that nonsense to see if it really is worth using discourse for my new website.