WaitroseCarpark encountered a critical error after updating Discourse via the frontend, which prevented the site from starting. The error occurred during the assets:precompile step, with a Pups::ExecError and failed bootstrap. After attempting a rebuild manually, they ran ./discourse-doctor, which seemingly resolved the issue by successfully restarting the app WaitroseCarpark. JammyDodger asked for the version number (edc6b6f26c, 3.3.0 beta 5 dev) and advised checking earlier logs for root causes, noting that the error shown is often a symptom, not the source. WaitroseCarpark admitted unfamiliarity with Linux logs and confirmed the app had started after the doctor run. Firepup650 urged checking further up the logs if rebuilds fail again. Later, WaitroseCarpark successfully rebuilt the site again without issues, confirming stability and thanking the community for support.
I ran update from frontend as I thought it might fix a onebox embedding issue. Thought I’d run a rebuild, just because. But this is the last message:
Hosted with digitalocean.
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'SKIP_EMBER_CLI_COMPILE=1 bundle exec rake themes:update assets:precompile' failed with return #<Process::Status: pid 788 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `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:update assets:precompile'"]}
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.
90fa3dc632feafe86edf69feca9c1a1a48f166e6368e6503b5768d01af622f3d
Running ./discourse-doctor just runs a rebuild. I’ve already tried that, but it failed. Anyone else experienced this?
I’m afraid I’m not very au fait with Linux so might need some handholding in what to look for/how to fix.