# Error after update failed today: \[rake themes:update assets:precompile\]

**URL:** <https://meta.discourse.org/t/error-after-update-failed-today-rake-themes-update-assets-precompile/237960>\
**Category:** Self-hosting\
**Created:** [September 2, 2022, 6:05pm UTC](https://meta.discourse.org/t/error-after-update-failed-today-rake-themes-update-assets-precompile/237960 "2022-09-02T18:05:32Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![TroyaNO](https://avatars.discourse-cdn.com/v4/letter/t/ccd318/32.png) [@TroyaNO](https://meta.discourse.org/u/TroyaNO)\
**Post date:** [September 2, 2022, 6:05pm UTC](https://meta.discourse.org/t/error-after-update-failed-today-rake-themes-update-assets-precompile/237960/1 "2022-09-02T18:05:32Z")

</div>

Today, after performing a standard update via the admin panel, the update was blocked and when trying to perform the procedure manually with `./launcher rebuild app` this did not work for the first time 🫤, and it gave me the following error:

```plaintext
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake themes:update assets:precompile' failed with return #<Process::Status: pid 754 exit 1>

Location of failure: /usr/local/lib/ruby/gems/2.7.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 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.

```

Any suggestion to fix this?

---

_[View the full topic](https://meta.discourse.org/t/error-after-update-failed-today-rake-themes-update-assets-precompile/237960)._
