# 手动升级无法完成

**URL:** <https://meta.discourse.org/t/manual-upgrade-fails-to-complete/116030>\
**Category:** Support\
**Created:** [2019年四月26日 04:11 UTC](https://meta.discourse.org/t/manual-upgrade-fails-to-complete/116030 "2019-04-26T04:11:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![eatcodetravel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eatcodetravel/32/94385_2.png) [@eatcodetravel](https://meta.discourse.org/u/eatcodetravel)\
**Post date:** [2019年四月26日 05:17 UTC](https://meta.discourse.org/t/manual-upgrade-fails-to-complete/116030/2 "2019-04-26T05:17:49Z")

</div>

I ran this command in the `after_bundle_exec` hook to make it work.

```plaintext
  after_bundle_exec:
    - exec:
        cd: $home
        cmd:
          - chown -R discourse:www-data /var/www/discourse/tmp

```

I’m sure that shouldn’t be required. What could have gone wrong with the update in first place?

---

_[View the full topic](https://meta.discourse.org/t/manual-upgrade-fails-to-complete/116030)._
