# Upgrading Node.js Version

**URL:** <https://forum.ghost.org/t/upgrading-node-js-version/21016>\
**Category:** Developer help\
**Created:** [March 20, 2021, 11:21pm UTC](https://forum.ghost.org/t/upgrading-node-js-version/21016 "2021-03-20T23:21:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![denvergeeks](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/denvergeeks/32/7401_2.png) [@denvergeeks](https://forum.ghost.org/u/denvergeeks)\
**Post date:** [March 20, 2021, 11:21pm UTC](https://forum.ghost.org/t/upgrading-node-js-version/21016/1 "2021-03-20T23:21:27Z")

</div>

I just updated the Node.js on my Ghosties VPS to version 14.16.0 and thereafter all of my sites were 503 Unavailable and were failing on **ghost start**.

Here is the message I received after running the **ghost start** command:

 ![ghost-update--force-every-instance-after-updating-nodejs-version](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/2/251d19598ddd258d23a4b7f0835850fa9dbd7e4e.jpeg)

Once I ran the below command, everything worked.

**ghost update --force**

or

**ghost update 3 --force** (if the site is running Ghost v3 and I don’t want to update it to v4)

I had to run this for each individual instance of Ghost.

Just a lesson learned. Thought I’d share.

---

<div class="post-metadata">

**Author:** ![Hannah](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/hannah/32/22_2.png) [@Hannah](https://forum.ghost.org/u/Hannah)\
**Post date:** [March 21, 2021, 5:44am UTC](https://forum.ghost.org/t/upgrading-node-js-version/21016/2 "2021-03-21T05:44:24Z")

</div>

Your instructions are not quite correct. Our official docs explain how to do this safely:

> **[Supported node versions for self-hosted installs of Ghost](https://ghost.org/docs/faq/node-versions/#upgrade-nodejs)**
>
> Self-hosted installs of Ghost are recommended to use the supported node versions to ensure you don't run into any common errors. Find out more information.

---

<div class="post-metadata">

**Author:** ![denvergeeks](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/denvergeeks/32/7401_2.png) [@denvergeeks](https://forum.ghost.org/u/denvergeeks)\
**Post date:** [March 21, 2021, 5:54am UTC](https://forum.ghost.org/t/upgrading-node-js-version/21016/3 "2021-03-21T05:54:33Z")

</div>

> [@Hannah](#):
>
> Your instructions are not quite correct. Our official docs explain how to do this safely:

@Hannah I appreciate the link to the official docs – can you please clarify… with regard to the instructions I have posted, what is unsafe and incorrect?

---

<div class="post-metadata">

**Author:** ![Hannah](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/hannah/32/22_2.png) [@Hannah](https://forum.ghost.org/u/Hannah)\
**Post date:** [March 21, 2021, 3:02pm UTC](https://forum.ghost.org/t/upgrading-node-js-version/21016/4 "2021-03-21T15:02:41Z")

</div>

Your instructions will cause Ghost to also update.

As it says in the docs:

> It’s not recommended to update Node and Ghost at the same time. Reinstalling the current version of Ghost ensures that Node is updated correctly first, so that you can be sure that Ghost will update smoothly.

The commands given in the documentation are:

`ghost version` to get the current version  
`ghost update [version] --force`

---

<div class="post-metadata">

**Author:** ![denvergeeks](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/denvergeeks/32/7401_2.png) [@denvergeeks](https://forum.ghost.org/u/denvergeeks)\
**Post date:** [March 21, 2021, 7:16pm UTC](https://forum.ghost.org/t/upgrading-node-js-version/21016/5 "2021-03-21T19:16:16Z")

</div>

Perfect, @Hannah. Thank you.
