Update to 2.0 - Ghost-CLI was unable to load versions from Yarn


#1

Update from Ghost 1.25.5 to latest 2.0 – I’ve already done a migration from 0.11.x, and things seem to be running fine in there, but I get this failure running ghost update:

Running sudo command: systemctl is-active ghost_cookingconcerts-com
: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 CliError occurred.

Message: Ghost-CLI was unable to load versions from Yarn.

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

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.

I’m using a sqlite3 db. Migrating all of this stuff over from a different debian installation to Ubuntu, but this is basically a scratch config after installing a 1.25.5 version via ghost-cli.

I will be running two ghost instances on this server – one of them, already at 2.0.3, was configured already in a separate directory, and it was running fine – that blog didn’t have much content to migrate so I just recreated it by hand.

Has anyone seen this error before? Is it perhaps just a temporary thing with Yarn?


#2

I just got this while trying to update to the latest version.

➜  ghost ghost update
✔ Checking system Node.js version
✔ Checking current folder permissions
✔ Checking memory availability
✔ Checking for available migrations
✖ Checking for latest Ghost version
A CliError occurred.

Message: Ghost-CLI was unable to load versions from Yarn.

Debug Information:
  OS: Mac OS X, v10.13.6
  Node Version: v8.9.1
  Ghost-CLI Version: 1.9.2
  Environment: development
  Command: 'ghost update'

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.

➜  ghost ghost -v
Ghost-CLI version: 1.9.2
Ghost Version (at ~/www/ghost): 2.0.3

#3

Looks like it was a temporary issue. I tried again and it works.


#4

Yep. Works for me now as well. And now I’m up to 2.1.0. :smiley:


#5

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