# 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:** 10

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [17 ביולי,‏ 2020,‏ 4:55pm UTC](https://meta.discourse.org/t/how-to-upgrade-if-var-discourse-has-only-shared-and-is-not-git-repo/157982/10 "2020-07-17T16:55:35Z")

</div>

> [@ulysses4ever](#):
>
> . The Git repo was inside `/var/docker` instead of `/var/discourse` for some reason

Aha! That was the recommended place in a time long, long ago (before I started using Discourse 4 years ago).

Looks like my “ask the old guy” solution really worked!

---

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