As the topic says, I’m stuck on Ghost v5.46 and cannot seem to upgrade.
≥5.27.0 < 5.47.0 says that Node ^14.18.0 or ^16.13.0 or ^18.12.1 can be used.
Upgrading node.js to v16x and then running ghost upgrade 5.46.0 --force doesn’t work, saying Ghost v5.46.0 is not compatible with the current Node version.
Rolling back to a snapshot with node 14.x and then trying ghost upgrade 5.47.0 doesn’t work, saying Ghost v5.47.0 is not compatible with the current Node version.
Any hints? I’m assuming that a specific version of ghost-cli is going to need installing, but which version isn’t clear at https://ghost.org/docs/faq/node-versions/.
Upgrading node to v16, skipping the --force install of the current version also does not work, and is contrary to the node version documentation. v16 should be supported, but again, old ghost-cli version.
(Upgrading ghost-cli to latest and then trying v5.47.0, or any later version results in the same v16 not supported.)
[ghostadmin@ghost ghost]$ ghost upgrade 5.47.0
You are running an outdated version of Ghost-CLI.
It is recommended that you upgrade before continuing.
Run `npm install -g ghost-cli@latest` to upgrade.
+ sudo systemctl is-active ghost_www-map59-com
✖ Checking system Node.js version - found v16.20.2
✔ Ensuring user is not logged in as ghost user
✔ Checking if logged in user is directory owner
✔ Checking current folder permissions
✔ Checking folder permissions
✔ Checking file permissions
✔ Checking content folder ownership
✔ Checking memory availability
✔ Checking free space
One or more errors occurred.
1) Checking system Node.js version
Message: The version of Node.js you are using is not supported.
Supported: ^10.13.0 || ^12.10.0 || ^14.15.0
Installed: 16.20.2
See https://ghost.org/docs/faq/node-versions/ for more information
Debug Information:
OS: Rocky Linux, v9.5
Node Version: v16.20.2
Ghost Version: 5.46.0
Ghost-CLI Version: 1.17.4
Environment: production
Command: 'ghost upgrade 5.47.0'
Try running ghost doctor to check your system for known issues.