I’m trying to upgrade my AWS / Bitnami hosted Ghost blog from V 1.22.8 to version 2.x
(blog.salesinsider.io)
I’m running the command “ghost update” at /opt/bitnami/apps/ghost/htdocs/
but it is returning the error:
“Ghost v2.1.1 is not compatible with this version of the CLI” (Version 1.7.3 of the CLI)
I have a couple of questions…how do I know if I have the latest version of CLI?
Yes - I did run “sudo npm i -g ghost-cli@latest”
Even when I try to upgrade by using “Ghost Update --v1” I get the same error.
Any ideas would be helpful. Further below is a screenshot if it helps.
I don’t know if you’re comfortable with your package manager on your system.
The path you gave to me, it’s the place where ghost-cli is installed. So what I suggest uninstalling ghost-cli (via npm or yarn), node, (and yarn) on your system via your package manager and install nvm and use the right version of node.js (nvm install 8.9.4 && nvm use 8.9.4). If you use yarn, install it without node (read this).
If ‘command -v ghost’ shows nothing, after uninstall with your package manager, you are in a good way.
If your need help, I can check via a remote session to help you with your problem. I had the same problem a few days ago.