I’m running ghost on a DigitalOcean Ubuntu server.
I was able to upgrade it from 1.x to 3.42.5 but now I’m stuck because upgrading to the latest v4 doesn’t work because of an outdated node version.
However, I followed the instructions at Supported node versions for self-hosted installs of Ghost and installed node v14 and when I enter
nodejs -v at the prompt I do get
v14.17.2 as the answer. But when I enter
node -v I get
v10.16.3 and that’s exactly the version ghost is complaining about when trying to upgrade.
So, apparently the ghost update process wants to use
node and the node upgrade instructions upgraded
nodejs. So what can I do? What’s the difference between
nodejs? On my Ubuntu installation
which node gives
which nodejs gives
I already rebooted the VM and treid to upgrade node again according to the instructions in the link above but it doesn’t update anymore because it’s already at the latest version, 14.17.2.
Any help much appreciated! Thanks so much!