Getting an error when trying to update ghost to the latest version.
secdoc@ubuntu2204-kvm-svr:/var/www/secdoc$ ghost update
Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org
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-secdoc-tech
✔ Checking system Node.js version - found v18.19.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.3
* 🎨 Changed TK reminders to be case-insensitive (#20024) - Kevin Ansfield
* 🐛 Fixed admin error when deleting an unsaved or imported post (#20053) - Chris Raible
* 🐛 Fixed file card button not being linked in emails (#20023) - renovate[bot]
* ℹ️ Added support for Node 20 - please report any issues with Node 20 support to GitHub.
---
View the changelog for full details: https://github.com/tryghost/ghost/compare/v5.82.2...v5.82.3
✔ Fetched release notes
✖ Downloading and updating Ghost to v5.82.3
A SystemError occurred.
Message: Ghost v5.82.3 is not compatible with this version of the CLI. Your CLI version is 1.25.3, but Ghost v5.82.3 requires ^1.26.0
Help: Run `npm install -g ghost-cli@latest` to upgrade the CLI, then try again.
Debug Information:
OS: Ubuntu, v22.04.3 LTS
Node Version: v18.19.0
Ghost Version: 5.80.1
Ghost-CLI Version: 1.25.3
Environment: production
Command: 'ghost update'
Try running ghost doctor to check your system for known issues.
You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.
I have tried updating ghost-cli multiple times with no change and not seeing anything from a log perspective…
secdoc@ubuntu2204-kvm-svr:/var/www/secdoc$ sudo npm install -g ghost-cli@latest
changed 599 packages in 9s
156 packages are looking for funding
run `npm fund` for details
Running ghost doctor also provides no error:
secdoc@ubuntu2204-kvm-svr:/var/www/secdoc$ ghost doctor
Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org
✔ Checking system Node.js version - found v18.19.0
✔ Checking logged in user
✔ Ensuring user is not logged in as ghost user
✔ Checking if logged in user is directory owner
✔ Checking current folder permissions
✔ Checking system compatibility
✔ Checking for a MySQL installation
+ sudo systemctl is-active ghost_www-secdoc-tech
✔ Validating config
✔ Checking folder permissions
✔ Checking file permissions
✔ Checking content folder ownership
✔ Checking memory availability
✔ Checking binary dependencies
✔ Checking free space
✔ Checking systemd unit file
✔ Checking systemd node version - found v18.19.0
Any thoughts or ideas would be greatly appreciated…