Upgrading to v3.0

I’m attempting to upgrade to version 3.0 using the ghost-cli and keep getting errors.

I’m using nvm to force use of node 10.13.0

`nvm exec v10.13.0 ghost update
Running node v10.13.0 (npm v6.4.1)
:heavy_multiplication_x: Checking system Node.js version
:information_source: Ensuring user is not logged in as ghost user [skipped]
:information_source: Checking if logged in user is directory owner [skipped]
:heavy_check_mark: Checking current folder permissions
:heavy_check_mark: Checking memory availability
One or more errors occurred.

  1. Checking system Node.js version

Message: The directory /home/shitpickle/.nvm/versions/node/v10.13.0/bin/node is not readable by other users on the system.
This can cause issues with the CLI, you must either make this directory readable by others or install node and Ghost-CLI in another location.

Debug Information:
OS: Debian, v9.9
Node Version: v10.13.0
Ghost-CLI Version: 1.12.0
Environment: production
Command: ‘ghost update’

Try running ghost doctor to check your system for known issues.`

ghost -v
Ghost-CLI version: 1.12.0
Ghost version: 2.30.2 (at /var/www/decentralized-internet.com)

I tried running with GHOST_NODE_VERSION_CHECK=false although it doesn’t appear this works anymore.

Thanks

I found the command to make this work… Not sure where this is hidden in the docs.

nvm exec v10.13.0 ghost update --no-setup-linux-user

FWIW the reason there’s the check in the linux user step is because the CLI creates a ghost system user to run instances of Ghost. Since that’s the case, it must be able to run node, which seems to be why the CLI was complaining.