# How to upgrade if \`/var/discourse\` has only \`shared\` and is not git repo

**URL:** <https://meta.discourse.org/t/how-to-upgrade-if-var-discourse-has-only-shared-and-is-not-git-repo/157982>\
**Category:** Product Support\
**Created:** [16 ביולי,‏ 2020,‏ 9:50pm UTC](https://meta.discourse.org/t/how-to-upgrade-if-var-discourse-has-only-shared-and-is-not-git-repo/157982 "2020-07-16T21:50:41Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![michaeld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/michaeld/32/1594_2.png) [@michaeld](https://meta.discourse.org/u/michaeld)\
**Post date:** [24 ביולי,‏ 2020,‏ 11:21pm UTC](https://meta.discourse.org/t/how-to-upgrade-if-var-discourse-has-only-shared-and-is-not-git-repo/157982/13 "2020-07-24T23:21:33Z")

</div>

> [@pfaffman](#):
>
> `ln -s /var/docker discourse`

Not so good idea because `/var/discourse` does exist and contains `shared`

---

_[View the full topic](https://meta.discourse.org/t/how-to-upgrade-if-var-discourse-has-only-shared-and-is-not-git-repo/157982)._
