# Trouble updating 10 year old site

**URL:** https://meta.discourse.org/t/trouble-updating-10-year-old-site/384146
**Category:** Support
**Created:** [September 17, 2025, 10:25pm UTC](https://meta.discourse.org/t/trouble-updating-10-year-old-site/384146 "2025-09-17T22:25:42Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![axfelix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/axfelix/32/65166_2.png) [@axfelix](https://meta.discourse.org/u/axfelix)
#### Post date: [September 17, 2025, 10:31pm UTC](https://meta.discourse.org/t/trouble-updating-10-year-old-site/384146/2 "2025-09-17T22:31:16Z")

</div>

Oh wait, the PUPS error might be from this:

```plaintext
error This project's package.json defines "packageManager": "yarn@pnpm@9.15.5". However the current global version of Yarn is 1.22.22.

```

Why in the world…

OK, it looks like this is present in templates/web.template.yml:

> [@Rebuild fails (yarn config set network-timeout 600000 -g)](https://meta.discourse.org/t/rebuild-fails-yarn-config-set-network-timeout-600000-g/353365):
>
> I am running a self-hosted discourse forum at [forum.embeetle.com](http://forum.embeetle.com) Web based update failed, so I logged in to the server and tried ./launcher rebuild app. This also failed. The last part of the output is included below. I tried running git pull before rebuilding, with the same result. What can I do to debug or fix this? I, [2025-02-20T16:04:56.812754 #1] INFO -- : \> cd /var/www/discourse && echo hello world I, [2025-02-20T16:04:56.817855 #1] INFO -- : hello world I, [2025-02-20T16:04:56.81…

```plaintext
  - exec:
      cd: $home
      hook: yarn
      cmd:
        - |-
          if ["$version" != "tests-passed"]; then
            rm -rf app/assets/javascripts/node_modules
          fi
        - su discourse -c 'yarn config set network-timeout 60000 -g'
        - su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'

```

I never added it though… and it looks like there’s a yarn version mismatch in here somehow that’s causing the issue?

---

_[View the full topic](https://meta.discourse.org/t/trouble-updating-10-year-old-site/384146)._
