Hi,
I’m trying to upgrade Ghost to v2.x.x by using ghost update. First, it gave me an error that my cli wasn’t up to date, so I’ve run the nvm cli upgrade command which gives me as a result;
**gxxxx@ghost-rikroukens-com** : **/var/www/ghost** $ sudo npm install -g ghost-cli@latest
[sudo] password for ghostie:
/usr/bin/ghost -> /usr/lib/node_modules/ghost-cli/bin/ghost
/usr/lib
└── ghost-cli@1.9.6
Trying to upgrade a second time using ghost update --force I am getting the following error;
**gxxx@ghost-rikroukens-com** : **/var/www/ghost** $ ghost update --force
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.
Running sudo command: systemctl is-active ghost_rikroukens-com
✔ Checking system Node.js version
✔ 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 for available migrations
✔ Checking for latest Ghost version
✖ Downloading and updating Ghost to v2.2.4
A SystemError occurred.
Message: Ghost v2.2.4 is not compatible with this version of the CLI.
Debug Information:
OS: Ubuntu, v16.04
Node Version: v6.14.3
Ghost-CLI Version: 1.8.1
Environment: production
Command: 'ghost update --force'
Try running ghost doctor to check your system for known issues.
Please refer to https://docs.ghost.org/v1/docs/troubleshooting#section-cli-errors for troubleshooting.
This makes me think that the cli upgrade doesn’t work. Next to that the download doesn’t seem to work.
Wondering if anybody has seen this before.
Thanks for the help.
Rik