Had a minor hiccup doing the update today, the context was the following:
- ran ghost update on one of the sites, got the ghost-cli latest version warning (but the update worked without errors or warnings)
- did the ghost-cli update (sudo npm install -g ghost-cli@latest) and it seemed to have worked ok
- tried ghost update on the second site, got the errors below (seems like a connection problem, but was strange as it only retried once and exited and seemed to mention/refer 2.10.1 rather than 2.11.0)
- retried ghost update (second time worked)
- last site update worked without any warnings/errors
Log details below:
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 v2.10.1
A ProcessError occurred.
Message: Command failed: yarn install --no-emoji --no-progress
warning ghost@2.10.1: The engine “cli” appears to be invalid.
error https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: “ENOENT: no such file or directory, chmod ‘/home/ubuntu/.cache/yarn/v4/npm-lodash-4.17.11-b39ea6229ef607ecd89e2c8df12536891cac9b8d/node_modules/lodash/fp/functionsIn.js’”
yarn install v1.12.3
[1/5] Validating package.json…
[2/5] Resolving packages…
[3/5] Fetching packages…
info Visit yarn install | Yarn for documentation about this command.
info There appears to be trouble with your network connection. Retrying…
Exit code: 1
Debug Information:
OS: Ubuntu, v16.04
Node Version: v6.16.0
Ghost-CLI Version: 1.9.9
Environment: production
Command: ‘ghost update’