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

Unfortunately, I don’t have a different machine.

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! :tada: