# Problem when updating Discourse Forum

**URL:** https://meta.discourse.org/t/problem-when-updating-discourse-forum/269562
**Category:** Self-hosting
**Tags:** unsupported-install
**Created:** [June 25, 2023, 3:26pm UTC](https://meta.discourse.org/t/problem-when-updating-discourse-forum/269562 "2023-06-25T15:26:28Z")
**Posts on this page:** 1
**Showing post:** 18

<div class="post-metadata">

### Author: ![daemon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/daemon/32/256632_2.png) [@daemon](https://meta.discourse.org/u/daemon)
#### Post date: [June 26, 2023, 8:17am UTC](https://meta.discourse.org/t/problem-when-updating-discourse-forum/269562/18 "2023-06-26T08:17:41Z")

</div>

I have a comparable failure with ruby gems etc.  
It was a fresh install on a new server.

> [@Installation on new server fails](https://meta.discourse.org/t/installation-on-new-server-fails/269495):
>
> I just try a new installation on a new VPS and I get the following error: FAILED -------------------- Pups::ExecError: cd /var/www/discourse && sudo -H -E -u discourse bash -c ' set -o errexit if [$(git rev-parse --is-shallow-repository) == "true"]; then git remote set-branches --add origin main git remote set-branches origin tests-passed git fetch --depth 1 origin tests-passed else git fetch --tags --prune-tags --prune --force origin fi ' failed with return #\<P…

---

_[View the full topic](https://meta.discourse.org/t/problem-when-updating-discourse-forum/269562)._
