Need help upgrading to Ghost 2


#1

I followed the instructions on the documentation but ran into the following issue which I believe it might be easy to be solved, but I am not a developer.

:heavy_check_mark: Checking system Node.js version
:heavy_check_mark: Ensuring user is not logged in as ghost user
:heavy_check_mark: Checking if logged in user is directory owner
:heavy_check_mark: Checking current folder permissions
:heavy_check_mark: Checking folder permissions
:heavy_check_mark: Checking file permissions
:heavy_check_mark: Checking content folder ownership
:heavy_check_mark: Checking memory availability
:heavy_check_mark: Checking for available migrations
:heavy_multiplication_x: Checking for latest Ghost version
A ProcessError occurred.

Message: Command failed: yarn info ghost versions --json
{“type”:“error”,“data”:“An unexpected error occurred: “EACCES: permission denied, scandir ‘/home/alex/.config/yarn/link’”.”}

{“type”:“info”,“data”:“If you think this is a bug, please open a bug report with the information provided in “/var/www/ghost/yarn-error.log”.”}
{“type”:“info”,“data”:“Visit https://yarnpkg.com/en/docs/cli/info for documentation about this command.”}

Exit code: 1

Debug Information:
OS: Ubuntu, v16.04
Node Version: v6.14.3
Ghost-CLI Version: 1.8.1
Environment: production
Command: ‘ghost update’


#2

I solved partially the issue falling into a different problem

:heavy_check_mark: Checking system Node.js version
:heavy_check_mark: Ensuring user is not logged in as ghost user
:heavy_check_mark: Checking if logged in user is directory owner
:heavy_check_mark: Checking current folder permissions
:heavy_check_mark: Checking folder permissions
:heavy_check_mark: Checking file permissions
:heavy_check_mark: Checking content folder ownership
:heavy_check_mark: Checking memory availability
:heavy_check_mark: Checking for available migrations
:heavy_check_mark: Checking for latest Ghost version
:heavy_multiplication_x: Downloading and updating Ghost to v2.1.4
A SystemError occurred.

Message: Ghost v2.1.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’


#3

I run npm install -g ghost-cli@latest
then I get this
/usr/bin/ghost -> /usr/lib/node_modules/ghost-cli/bin/ghost
/usr/lib
└── ghost-cli@1.9.4
and finally when running the command ghost update it gives the same error Message: Ghost v2.1.4 is not compatible with this version of the CLI.


#5

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.