What errors or information do you see in the console? Cannot remember now
What steps could someone else take to reproduce the issue you’re having? Add new themes through the .zip uploader in Ghost Admin, then activate them as the theme. Try to update with ghost-cli.
ghost-mgr@ghost-s-1vcpu-1gb-lon1-01:/var/www/ghost$ ghost update
+ sudo systemctl is-active ghost_142-93-46-153
✔ 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.0
A ProcessError occurred.
Message: Command failed: yarn install --no-emoji --no-progress
warning ghost@2.10.0: The engine "cli" appears to be invalid.
error An unexpected error occurred: "/var/www/ghost/versions/2.10.0/node_modules/jsonpath: spawn ENOMEM".
warning Error running install script for optional dependency: "/var/www/ghost/versions/2.10.0/node_modules/dtrace-provider: spawn ENOMEM"
warning Error running install script for optional dependency: "/var/www/ghost/versions/2.10.0/node_modules/sharp: spawn ENOMEM"
warning Error running install script for optional dependency: "/var/www/ghost/versions/2.10.0/node_modules/knex-migrator/node_modules/sqlite3: spawn ENOMEM"
warning Error running install script for optional dependency: "/var/www/ghost/versions/2.10.0/node_modules/sqlite3: spawn ENOMEM"
yarn install v1.9.4
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
[5/5] Building fresh packages...
info If you think this is a bug, please open a bug report with the information provided in "/var/www/ghost/versions/2.10.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
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, v18.04
Node Version: v8.10.0
Ghost-CLI Version: 1.9.8
Environment: production
Command: 'ghost update'
Additional log info available in: /home/ghost-mgr/.ghost/logs/ghost-cli-debug-2019-01-08T17_23_37_021Z.log
Try running ghost doctor to check your system for known issues.
You can always refer to https://docs.ghost.org/docs/troubleshooting#section-cli-errors for troubleshooting.
ghost-mgr@ghost-s-1vcpu-1gb-lon1-01:/var/www/ghost$
One thing though, I make a typo on the first line. Is there anything I need to worry about or do I need to do something to fix that? I missed the ‘a’ in swap.