Help with upgrading Ghost Version 3.41.4 - not compatible with the current Node version

Hi guys, go easy on me I’m a Ghost/Digital Ocean newbie :joy:

I’m running Ghost on Digital Ocean and thought I better perform some maintenance, and well I’ve got myself in a spot of trouble!

Message: Unable to update Ghost directly to v4.37.0. You must be on the latest v3.x to update across major versions.
Help: Run “ghost update v3” to get the latest v3.x version, then run “ghost update” to get to v4.

So I ran “ghost update v3” and got this.

ghost-mgr@ghost-ubuntu-s-1vcpu-2gb-lon1-01:/var/www/ghost$ ghost update v3

  • sudo systemctl is-active ghost_www-echtalker-com
    :heavy_check_mark: Checking system Node.js version - found v16.14.0
    :heavy_check_mark: Ensuring user is not logged in as ghost user
    :heavy_check_mark: Checking if logged in user is directory owner
    :heavy_check_mark: Checking current folder permissions
    :heavy_check_mark: Checking folder permissions
    :heavy_check_mark: Checking file permissions
    :heavy_check_mark: Checking content folder ownership
    :heavy_check_mark: Checking memory availability
    :heavy_check_mark: Checking free space
    :heavy_check_mark: Checking for available migrations
    :heavy_check_mark: Checking for latest Ghost version

3.42.9

No user-visible changes in this release.


View the changelogs for full details:

:heavy_check_mark: Fetched release notes
:heavy_multiplication_x: Downloading and updating Ghost to v3.42.9
A SystemError occurred.

Message: Ghost v3.42.9 is not compatible with the current Node version. Your node version is 16.14.0, but Ghost v3.42.9 requires ^10.13.0 || ^12.10.0 || ^14.15.0

I’ve got a json export and made a copy of the full /var/www/ghost folder.

Thanks in advance

Matt