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

<div class="post-metadata">

**Author:** ![ulysses4ever](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ulysses4ever/32/122522_2.png) [@ulysses4ever](https://meta.discourse.org/u/ulysses4ever)\
**Post date:** [17 ביולי,‏ 2020,‏ 2:39pm UTC](https://meta.discourse.org/t/how-to-upgrade-if-var-discourse-has-only-shared-and-is-not-git-repo/157982/9 "2020-07-17T14:39:03Z")

</div>

> [@Stephen](#):
>
> Now install on a different machine.

Unfortunately, I don’t have a different machine.

> [@jomaxro](#):
>
> Oh my…that’s from late mid 2018. You _definitely_ want to update.

Thank you for the feedback, but that’s not being questioned: I am trying to update. I wasn’t the admin of this instance before yesterday and I know the importance of updates.

Thanks all for the answers! I asked the old guy, and he helped. The Git repo was inside `/var/docker` instead of `/var/discourse` for some reason. From there, it was possible to apply the standard procedure. We are now at the latest release (2.6), yay! 🎉

---

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