Node version(s) used


Updating my sites using ghost CLI things work fine. Ghost works after the updates. No issues there.

One of the last messages when updating is a warning… I wonder if it’s an “ok” warning I can safely ignore… Or perhaps I can/should “force” ghost to update the version of node used (I have updated node already). I have tried --force when updating, but the node version remains the same.

Warning: Ghost is running with node v16.20.2. (is this ok? Should I try to update to node 18.X.Y?)
Your current node version is v18.17.1. (this is in fact, correct)

:heavy_check_mark: Fetched release notes
:heavy_check_mark: Downloading and updating Ghost to v5.59.2

  • sudo systemctl stop ghost_www-foobar-org
    :heavy_check_mark: Stopping Ghost
    :heavy_check_mark: Linking latest Ghost and recording versions
  • sudo systemctl start ghost_www-foobar-com
    Warning: Ghost is running with node v16.20.2.
    Your current node version is v18.17.1.
    :heavy_check_mark: Restarting Ghost
    :information_source: Removing old Ghost versions [skipped]

I think it was telling you that you Ghost hadn’t been restarted since you upgraded Node. I don’t think there’s a current problem.

This warning usually comes up when there are multiple node versions in your system. The CLI detects this by comparing the node version used to run Ghost (from the systemd config) with the node version of the cli.

1 Like

Thanks! I wanted to be sure it’s safe to ignore.

Thank you for your response. It appears it’s safe to ignore this warning.