# Discourse shell update is failing constantly

**URL:** <https://meta.discourse.org/t/discourse-shell-update-is-failing-constantly/155395>\
**Category:** Self-hosting\
**Created:** [June 19, 2020, 9:40pm UTC](https://meta.discourse.org/t/discourse-shell-update-is-failing-constantly/155395 "2020-06-19T21:40:21Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [June 19, 2020, 10:12pm UTC](https://meta.discourse.org/t/discourse-shell-update-is-failing-constantly/155395/2 "2020-06-19T22:12:44Z")

</div>

> [@hosna](#):
>
> ```plaintext
> FAILED
> --------------------
> Pups::ExecError: cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+ failed with return #<Process::Status: pid 380 exit 1>
> Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
> exec failed with the params {"cd"=>"$home", "hook"=>"web", "cmd"=>["gem update bundler", "find $home ! -user discourse -exec chown discourse {} \\+"]}
> dc549257e8d02983198546b61c39fbd9bc1f0a5c2f348f5c6d291eb3def69d18
> **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.
> 
> ```

You looked up too far (admittedly, easy to miss if you were just looking for `ERROR`) - if you look for the failed command you’ll see:

```plaintext
I, [2020-06-19T21:29:53.405123 #1] INFO -- : > cd /var/www/discourse && find /var/www/discourse ! -user discourse -exec chown discourse {} \+
chown: cannot dereference '/var/www/discourse/public/plugins/discourse-internet-explorer': No such file or directory

```

This should be fixed in a later version of `discourse_docker` - can you `git pull` inside `/var/discourse` and try again?

---

_[View the full topic](https://meta.discourse.org/t/discourse-shell-update-is-failing-constantly/155395)._
