By O Y
I have been stuck at the older Ghost version for a while now. I went the rabbit hole of updating the Node via Terminal, wasted hours with no success. Is there any practica way to upgrade my Ghost?
Message: Ghost v5.82.4 is not compatible with the current Node version. Your node version is 16.13.0, but Ghost v5.82.4 requires ^18.12.1 || ^20.11.1
-
+ sudo systemctl is-active ghost_oykun-com
✔ Checking system Node.js version - found v16.13.0
✔ 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
✔ Checking for available migrations
✔ Checking for latest Ghost version
# 5.82.4
This release contains fixes for minor bugs and issues reported by Ghost users.
---
View the changelog for full details: https://github.com/tryghost/ghost/compare/v5.82.3...v5.82.4
✔ Fetched release notes
✖ Downloading and updating Ghost to v5.82.4
A SystemError occurred.
Message: Ghost v5.82.4 is not compatible with the current Node version. Your node version is 16.13.0, but Ghost v5.82.4 requires ^18.12.1 || ^20.11.1
Debug Information:
OS: Ubuntu, v20.04.3 LTS
Node Version: v16.13.0
Ghost Version: 5.46.0
Ghost-CLI Version: 1.26.0
Environment: production
Command: 'ghost update'
Try running ghost doctor to check your system for known issues.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Heya @designo,
You’ll need to update your NodeJS version first and then try the ghost upgrade command.
Since Ghost v5.82.4 requires Node.js version ^18.12.1 or ^20.11.1, you’ll need to upgrade your Node.js installation. You can use Node Version Manager (nvm) to manage multiple Node.js versions easily. Here’s how to do it:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
Restart your terminal or run `source ~/.bashrc` (or your shell's equivalent) to use `nvm`.
nvm install 18.12.1 # You can also use 20.11.1 or the latest in 18.x or 20.x series nvm use 18.12.1
nvm alias default 18.12.1
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.