Error on launcher rebuild app

I tried to rebuild discourse with

/var/discourse/launcher rebuild app

and this happens after a fail upgrade:

Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake themes:update assets:precompile' failed with return #<Process::Status: pid 733 exit 137>
Location of failure: /usr/local/lib/ruby/gems/3.2.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'bundle exec rake themes:update assets:precompile'"]}
bootstrap failed with exit code 137
** 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.

Any option to start the discourse app?


Please post at least the previous 50-100 lines.

It’s likely that you have insufficient RAM+swap: please post the output of

free -m

That’s it. Low memory. I fixed incresing memory and running again rebuild

Thanks @Ed_S


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.