assets
' failed with return #<Process::Status: pid 1222 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132
`spawn'
exec failed with the params {"cd"=>"$home", "tag"=>"precompile", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'SKIP_EMBER_CLI_COMPILE=1 bundle exec rake themes
assets
'"]}
bootstrap failed with exit code 1
** 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.
I tried this update and ran into this error.
I immediately looked in the logs and found that Nginx was not starting properly and Unicorn was restarting frequently. So I completely restarted the Ubuntu server and tried to rebuild Discourse once again.
I got the following message: “Would you like to attempt to recover space by cleaning docker images and containers in the system? (y/N)”
I pressed Y.
After the command finished working, I rebuilt Discourse again.
It’s working fine now.
I have a few questions.
- if Nginx is not working properly or Unicorn is restarting frequently, what is the problem in general?
- I noticed that the action of the command “Would you like to attempt to recover space by cleaning docker images and containers in the system?” (y/N) → “docker system prune -a” is similar to the action of the command “docker system prune -a”. Is there something about running this command that breaks packages or files related to Discourse?
I have freed up quite a bit of disk space since running this command.
Speaking of freeing up quite a bit, it’s been nagging at me like an obsession…
I’ve looked around the site a bit, and there doesn’t seem to be anything wrong, but it’s keeping me awake at night.