# How to solve node problem

**URL:** <https://forum.ghost.org/t/how-to-solve-node-problem/42580>\
**Category:** Self-hosting\
**Created:** [November 9, 2023, 10:54am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580 "2023-11-09T10:54:38Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jasosn88](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jasosn88/32/28986_2.png) [@Jasosn88](https://forum.ghost.org/u/Jasosn88)\
**Post date:** [November 9, 2023, 10:54am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/1 "2023-11-09T10:54:38Z")

</div>

How to solve the issue ?

```auto
Warning: Ghost is running with node v16.20.2.
Your current node version is v18.17.0.
✖ Checking systemd node version - found v16.20.2
One or more errors occurred.

1) SystemError

Message: Ghost v5.72.1 is not compatible with Node v16.20.2
Help: Check the version of Node configured in /lib/systemd/system/ghost_dumup-com.service and update it to a compatible version

Debug Information:
    OS: Ubuntu, v22.04.3 LTS
    Node Version: v18.17.0
    Ghost Version: 5.72.1
    Ghost-CLI Version: 1.25.3
    Environment: production
    Command: 'ghost start'

Try running ghost doctor to check your system for known issues.

You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.
root2@linux:/var/www/dumup_com$ ^C

```

---

<div class="post-metadata">

**Author:** ![jannis](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jannis/32/39718_2.png) [@jannis](https://forum.ghost.org/u/jannis)\
**Post date:** [November 9, 2023, 10:59am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/2 "2023-11-09T10:59:52Z")

</div>

Ghost now requires Node v18. You have Node 16 installed.

> **[Supported node versions for self-hosted installs of Ghost](https://ghost.org/docs/faq/node-versions/)**
>
> 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.

This FAQ also includes an upgrade guide 🙂

---

<div class="post-metadata">

**Author:** ![Jasosn88](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jasosn88/32/28986_2.png) [@Jasosn88](https://forum.ghost.org/u/Jasosn88)\
**Post date:** [November 9, 2023, 11:01am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/3 "2023-11-09T11:01:59Z")

</div>

I install v18

```auto
root2@linux:/var/www/dumup_com$ node --version
v18.17.0
root2@linux:/var/www/dumup_com$

```

---

<div class="post-metadata">

**Author:** ![jannis](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jannis/32/39718_2.png) [@jannis](https://forum.ghost.org/u/jannis)\
**Post date:** [November 9, 2023, 11:04am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/4 "2023-11-09T11:04:22Z")

</div>

> [@Jasosn88](#):
>
> ```auto
> Warning: Ghost is running with node v16.20.2.
> 
> ```

This is what it says in your logs – so if you upgraded node in between, just try installing it again?

---

<div class="post-metadata">

**Author:** ![Jasosn88](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jasosn88/32/28986_2.png) [@Jasosn88](https://forum.ghost.org/u/Jasosn88)\
**Post date:** [November 9, 2023, 11:06am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/5 "2023-11-09T11:06:00Z")

</div>

`Warning: Ghost is running with node v16.20.2.`

---

<div class="post-metadata">

**Author:** ![jannis](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jannis/32/39718_2.png) [@jannis](https://forum.ghost.org/u/jannis)\
**Post date:** [November 9, 2023, 11:08am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/6 "2023-11-09T11:08:59Z")

</div>

How did you install Node?

---

<div class="post-metadata">

**Author:** ![Jasosn88](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jasosn88/32/28986_2.png) [@Jasosn88](https://forum.ghost.org/u/Jasosn88)\
**Post date:** [November 9, 2023, 11:11am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/7 "2023-11-09T11:11:51Z")

</div>

```auto
root2@linux:/var/www/dumup_com$ ghost start 

Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org

+ sudo systemctl is-active ghost_dumup-com
✖ Checking system Node.js version - found v18.17.0
✔ Ensuring user is not logged in as ghost user
✔ Checking if logged in user is directory owner
✔ Checking current folder permissions
+ sudo systemctl is-active ghost_dumup-com
✔ Validating config
✔ Checking folder permissions
✔ Checking file permissions
✔ Checking content folder ownership
✔ Checking memory availability
✔ Checking binary dependencies
✔ Checking systemd unit file
Warning: Ghost is running with node v16.20.2.
Your current node version is v18.17.0.
✖ Checking systemd node version - found v16.20.2
One or more errors occurred.

1) SystemError

Message: The directory /home/root2/ is not readable by other users on the system.
This can cause issues with the CLI, you must either make this directory readable by others or install node and Ghost-CLI in another location.

2) SystemError

Message: Ghost v5.72.1 is not compatible with Node v16.20.2
Help: Check the version of Node configured in /lib/systemd/system/ghost_dumup-com.service and update it to a compatible version

Debug Information:
    OS: Ubuntu, v22.04.3 LTS
    Node Version: v18.17.0
    Ghost Version: 5.72.1
    Ghost-CLI Version: 1.25.3
    Environment: production
    Command: 'ghost start'

Try running ghost doctor to check your system for known issues.

You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.
root2@linux:/var/www/dumup_com$

```

---

<div class="post-metadata">

**Author:** ![jannis](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jannis/32/39718_2.png) [@jannis](https://forum.ghost.org/u/jannis)\
**Post date:** [November 9, 2023, 11:15am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/8 "2023-11-09T11:15:12Z")

</div>

Instead of just posting logs, would be great to get some context from you 😃

I am pretty confused be what’s going on here. It says `Node Version: v18.17.0`, but also `Warning: Ghost is running with node v16.20.2.`. So, without any context, I have to assume that you have (somehow?) installed two node versions?

---

<div class="post-metadata">

**Author:** ![Jasosn88](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jasosn88/32/28986_2.png) [@Jasosn88](https://forum.ghost.org/u/Jasosn88)\
**Post date:** [November 9, 2023, 11:17am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/9 "2023-11-09T11:17:46Z")

</div>

![find solution](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/e/b/eb7a0a5479dc8d772601623ada76e0686f5745ba.png)  
How to find the path of node version and use 18  
I used which node

---

<div class="post-metadata">

**Author:** ![Jasosn88](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jasosn88/32/28986_2.png) [@Jasosn88](https://forum.ghost.org/u/Jasosn88)\
**Post date:** [November 9, 2023, 11:24am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/10 "2023-11-09T11:24:08Z")

</div>

![start ghost](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/0/1/011dd1af9935f1c3755b664ec79ef60e6533b69d.png)  
everything seems correct but the only things is take too long to start  
The error message is clear: Ghost v5.72.1 is not compatible with Node.js v16.20.2. To resolve this issue, you need to update the Node.js version in the systemd service configuration for your Ghost instance. Here’s how you can do that:

1. **Open the systemd service configuration file:**

2. **Find the line that specifies the Node.js version:**

3. **Update the Node.js version in the configuration:**

4. **Save the changes and exit the text editor:**

5. **Reload systemd to apply the changes:**

6. **Restart your Ghost service:**

After completing these steps, your Ghost service should now be running with the compatible Node.js version, and the error should be resolved. You can verify that the service is running with the correct Node.js version by using:

```auto
sudo systemctl is-active ghost_dumup-com

```

This should confirm that the service is running without issues.

---

<div class="post-metadata">

**Author:** ![jannis](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jannis/32/39718_2.png) [@jannis](https://forum.ghost.org/u/jannis)\
**Post date:** [November 9, 2023, 11:26am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/11 "2023-11-09T11:26:06Z")

</div>

Alright, first things first: Never blindly trust what ChatGPT says. It’s completely outdated and a language model – it literally just predicts what the next word could _potentially_ be. Its information can very well be wrong.

Since you’ve mentioned that everything works now, I take it that this is solved. The fact that it takes long can be normal, when you upgrade to a new version, since dependencies need to be installed.

---

<div class="post-metadata">

**Author:** ![Jasosn88](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jasosn88/32/28986_2.png) [@Jasosn88](https://forum.ghost.org/u/Jasosn88)\
**Post date:** [November 9, 2023, 11:27am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/12 "2023-11-09T11:27:27Z")

</div>

How do I solve the start loading time,take hours or minutes

---

<div class="post-metadata">

**Author:** ![jannis](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jannis/32/39718_2.png) [@jannis](https://forum.ghost.org/u/jannis)\
**Post date:** [November 9, 2023, 11:28am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/13 "2023-11-09T11:28:49Z")

</div>

I don’t know. You haven’t really given us any information here. It can be anything from the hardware of your server to wrong configurations.

I am turning off notifications here now, since I cannot help you, without receiving context first, sorry.

---

<div class="post-metadata">

**Author:** ![Jasosn88](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jasosn88/32/28986_2.png) [@Jasosn88](https://forum.ghost.org/u/Jasosn88)\
**Post date:** [November 9, 2023, 11:29am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/14 "2023-11-09T11:29:14Z")

</div>

Context ? Which one! I’m trying to update to the latest version and the pictures show the full details . I use the chatGPT solution but seems not working ?

```auto
[Unit]
Description=Ghost systemd service for blog: dumup-com
Documentation=https://ghost.org/docs/

[Service]
Type=simple
WorkingDirectory=/var/www/dumup_com
User=999
Environment="NODE_ENV=production"
ExecStart=/home/root2/.nvm/versions/node/v18.17.0/bin/node /usr/bin/ghost run
Restart=always

[Install]
WantedBy=multi-user.target

```

CORRECT OR NOT

```auto
 which node 
/home/root2/.nvm/versions/node/v18.17.0/bin/node

```

---

<div class="post-metadata">

**Author:** ![Abed\_Dan](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/abed_dan/32/25640_2.png) [@Abed\_Dan](https://forum.ghost.org/u/Abed_Dan)\
**Post date:** [November 9, 2023, 7:18pm UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/15 "2023-11-09T19:18:09Z")

</div>

It is obvious that you have two node versions installed.  
I would suggest to delete both versions and start from scratch.

are you installing this on ubuntu ?

---

<div class="post-metadata">

**Author:** ![Jasosn88](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jasosn88/32/28986_2.png) [@Jasosn88](https://forum.ghost.org/u/Jasosn88)\
**Post date:** [November 10, 2023, 9:29am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/16 "2023-11-10T09:29:49Z")

</div>

![website_stuck](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/9/b/9b40faaac7bada991f02015e999334159c47028c.png)  
everything seems correct but stuck  
 ![start ghost](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/0/1/011dd1af9935f1c3755b664ec79ef60e6533b69d.png)  
can anyone know the problem

---

<div class="post-metadata">

**Author:** ![Jasosn88](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jasosn88/32/28986_2.png) [@Jasosn88](https://forum.ghost.org/u/Jasosn88)\
**Post date:** [November 10, 2023, 9:35am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/17 "2023-11-10T09:35:02Z")

</div>

any one know How to solve the issues, I’m using ubuntu VPS selfhosted everthing seems correct but the message

```auto
Message: Could not communicate with Ghost
Suggestion: journalctl -u ghost_dumup-com -n 50

Debug Information:
    OS: Ubuntu, v22.04.3 LTS
    Node Version: v18.17.0
    Ghost Version: 5.72.2
    Ghost-CLI Version: 1.25.3
    Environment: production
    Command: 'ghost start'

Additional log info available in: /home/root2/.ghost/logs/ghost-cli-debug-2023-11-10T09_30_31_096Z.log

Try running ghost doctor to check your system for known issues.

You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.
root2@linux:/var/www/dumup_com$ journalctl -u ghost_dumup-com -n 50
Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal' can see all messages.
      Pass -q to turn off this notice.
-- No entries --

```

 ![website_stuck](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/9/b/9b40faaac7bada991f02015e999334159c47028c.png)

---

<div class="post-metadata">

**Author:** ![Jasosn88](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jasosn88/32/28986_2.png) [@Jasosn88](https://forum.ghost.org/u/Jasosn88)\
**Post date:** [November 10, 2023, 10:23am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/18 "2023-11-10T10:23:02Z")

</div>

I’m trying to use the right node.js path for my ghost installation but nothing seems to work. I installed v18.12.1 but nothing appears  
check the error message and NVM list in VPS Ubuntu

```auto
root2@linux:/var/www/dumup_com$ ghost doctor 

Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org

✔ Checking system Node.js version - found v18.12.1
✔ Checking logged in user
✔ Ensuring user is not logged in as ghost user
✔ Checking if logged in user is directory owner
✔ Checking current folder permissions
✔ Checking system compatibility
✔ Checking for a MySQL installation
+ sudo systemctl is-active ghost_dumup-com
✔ Validating config
✔ Checking folder permissions
✔ Checking file permissions
✔ Checking content folder ownership
✔ Checking memory availability
✔ Checking binary dependencies
✔ Checking free space
✔ Checking systemd unit file
Warning: Ghost is running with node v16.20.2.
Your current node version is v18.12.1.
✖ Checking systemd node version - found v16.20.2
One or more errors occurred.

1) SystemError

Message: Ghost v5.72.2 is not compatible with Node v16.20.2
Help: Check the version of Node configured in /lib/systemd/system/ghost_dumup-com.service and update it to a compatible version

Debug Information:
    OS: Ubuntu, v22.04.3 LTS
    Node Version: v18.12.1
    Ghost Version: 5.72.2
    Ghost-CLI Version: 1.25.3
    Environment: production
    Command: 'ghost doctor'

Try running ghost doctor to check your system for known issues.

You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.
root2@linux:/var/www/dumup_com$ 

```

My nvm list

 ![node issue](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/b/d/bdb815e39ffeabc6ed82a8820b6ab01161dfed10.png)

I want to run ghost version in the right path, right node version for example

`nvm -version`  
show v18.12.1 but npm show

```auto
root2@linux:/var/www/dumup_com$ npm -version
8.19.2
root2@linux:/var/www/dumup_com$ 
type or paste code here

```

I tried many solution including using  
ExecStart=/home/yourusername/.nvm/versions/node/v14.x.x/bin/node /usr/bin/ghost run  
nothing change

---

<div class="post-metadata">

**Author:** ![mjw](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mjw/32/30781_2.png) [@mjw](https://forum.ghost.org/u/mjw)\
**Post date:** [November 10, 2023, 10:33am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/19 "2023-11-10T10:33:29Z")

</div>

Since `journalctl -u ghost_dumup-com -n 50` yields no results, I’d suggest you have a permissions issue or there is a problem with Node. Note the location of additional log information, and output from `ghost doctor`. More information is needed to diagnose.

**Edit** : I see you’re posting in another thread about Node. Is this matter resolved or superseded?

---

<div class="post-metadata">

**Author:** ![Jasosn88](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jasosn88/32/28986_2.png) [@Jasosn88](https://forum.ghost.org/u/Jasosn88)\
**Post date:** [November 10, 2023, 10:41am UTC](https://forum.ghost.org/t/how-to-solve-node-problem/42580/20 "2023-11-10T10:41:23Z")

</div>

You can read all the post

```auto
root2@linux:/var/www/dumup_com$ ghost doctor 

Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org

✔ Checking system Node.js version - found v18.12.1
✔ Checking logged in user
✔ Ensuring user is not logged in as ghost user
✔ Checking if logged in user is directory owner
✔ Checking current folder permissions
✔ Checking system compatibility
✔ Checking for a MySQL installation
+ sudo systemctl is-active ghost_dumup-com
✔ Validating config
✔ Checking folder permissions
✔ Checking file permissions
✔ Checking content folder ownership
✔ Checking memory availability
✔ Checking binary dependencies
✔ Checking free space
✔ Checking systemd unit file
✔ Checking systemd node version - found v18.12.1

```

I fixed all the issues seems ghost won’t start

[Next page](https://forum.ghost.org/t/how-to-solve-node-problem/42580.md?page=2)
