# Updates failed; 'bundle exec rake assets:precompile' failed

**URL:** <https://meta.discourse.org/t/updates-failed-bundle-exec-rake-assets-precompile-failed/147466>\
**Category:** Self-hosting\
**Created:** [April 9, 2020, 8:03pm UTC](https://meta.discourse.org/t/updates-failed-bundle-exec-rake-assets-precompile-failed/147466 "2020-04-09T20:03:43Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![waffleslop](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/waffleslop/32/244974_2.png) [@waffleslop](https://meta.discourse.org/u/waffleslop)\
**Post date:** [April 9, 2020, 8:03pm UTC](https://meta.discourse.org/t/updates-failed-bundle-exec-rake-assets-precompile-failed/147466/1 "2020-04-09T20:03:43Z")

</div>

```
166:M 09 Apr 2020 19:22:49.160 * Saving the final RDB snapshot before exiting.
166:M 09 Apr 2020 19:22:49.183 * DB saved on disk
166:M 09 Apr 2020 19:22:49.183 # Redis is now ready to exit, bye bye...

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake asse ts:precompile' failed with return #<Process::Status: pid 12966 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=> ["su discourse -c 'bundle exec rake assets:precompile'"]}
5148cdd01588a9ec15d9a282a502da071bb6863d127112ea0d1526177593c6ae
**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.
root@lab:/var/discourse# docker update

```

Screenshot of /admin/upgrade#/: [Image 2020-04-09 at 3.58.11 PM](https://shared.cmox.co/Z4uLdGDn)

Any advice?

---

_[View the full topic](https://meta.discourse.org/t/updates-failed-bundle-exec-rake-assets-precompile-failed/147466)._
