Hi,
I tried to upgrade Ghost from v1.0 to v2.0 and got this error.
Ghost v1.25.8 is not compatible with the current Node version.
My environment is:
OS: Ubuntu, v16.04 Node Version: v10.15.1 Ghost-CLI Version: 1.11.0
and Ghost version is:
ghost version
Ghost-CLI version: 1.11.0
Ghost version: 1.22.2 (at /var/www/ghost)
The error occurred when I tried to update Ghost to latest V1.0 before V2.0 as per the instruction:
ghost update --v1
- sudo systemctl is-active ghost_blackshadowgame-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 v1.25.8
A SystemError occurred.Message: Ghost v1.25.8 is not compatible with the current Node version.
Debug Information:
OS: Ubuntu, v16.04
Node Version: v10.15.1
Ghost-CLI Version: 1.11.0
Environment: production
Command: ‘ghost update --v1’
And everything was fine when running ghost doctor
ghost doctor
Checking system Node.js version
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 operating system compatibility
Checking for a MySQL installation
- sudo systemctl is-active ghost_blackshadowgame-com
Validating config
Checking folder permissions
Checking file permissions
Checking content folder ownership
Checking memory availability
whereis node
node:
/usr/local/bin/node.bk (<=== v10.16.0)
/home/zhangzhibin/.nvm/versions/node/v10.15.1/bin/node (<=== v10.15.1)
Any suggestion?
Thanks,
Devon