$ ghost update
+ sudo systemctl is-active ghost_app-gapps-blog
✔ 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.12.0
A ProcessError occurred.
Message: Command failed: yarn install --no-emoji --no-progress
warning ghost@2.12.0: The engine "cli" appears to be invalid.
warning Error running install script for optional dependency: "/var/www/tmsapp/versions/2.12.0/node_modules/sqlite3: spawn ENOMEM"
error An unexpected error occurred: "/var/www/tmsapp/versions/2.12.0/node_modules/jsonpath: spawn ENOMEM".
warning Error running install script for optional dependency: "/var/www/tmsapp/versions/2.12.0/node_modules/sharp: spawn ENOMEM"
warning Error running install script for optional dependency: "/var/www/tmsapp/versions/2.12.0/node_modules/dtrace-provider: spawn ENOMEM"
yarn install v1.12.3
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info source-map@0.7.3: The engine "node" is incompatible with this module. Expected version ">= 8". Got "6.16.0"
info "source-map@0.7.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
[5/5] Building fresh packages...
info This module is OPTIONAL, you can safely ignore this error
info If you think this is a bug, please open a bug report with the information provided in "/var/www/tmsapp/versions/2.12.0/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
info This module is OPTIONAL, you can safely ignore this error
info This module is OPTIONAL, you can safely ignore this error
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'
Additional log info available in: /home/gapps/.ghost/logs/ghost-cli-debug-2019-01-23T04_26_32_883Z.log
Try running ghost doctor to check your system for known issues.
You can always refer to https://docs.ghost.org/api/ghost-cli/ for troubleshooting.