Hi everyone,
I tried to update Ghost from 3.40.5 to the latest version (3.41.3), but I encountered an error.
I first ran sudo npm install -g ghost-cli@latest
to update Ghost-CLI, then I ran ghost update
while being in the Ghost folder as usual.
And I ended up with the following:
- sudo systemctl is-active ghost_ghost-site
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 free space
Checking for available migrations
Checking for latest Ghost version
- Fixed default urls for checkout session - Rishabh Garg
View the changelogs for full details:
- Ghost - Comparing 3.41.2...3.41.3 · TryGhost/Ghost · GitHub
- Ghost-Admin - Comparing 3.41.2...3.41.3 · TryGhost/Admin · GitHub
Fetched release notes
Downloading and updating Ghost to v3.41.3
A ProcessError occurred.Message: Command failed: yarn install --no-emoji --no-progress
Usage: yarn [options]yarn: error: no such option: --no-emoji
Exit code: 2
Debug Information:
OS: Ubuntu, v20.04.2 LTS
Node Version: v10.19.0
Ghost Version: 3.40.5
Ghost-CLI Version: 1.15.3
Environment: production
Command: ‘ghost update’Additional log info available in: /home/ghostuser/.ghost/logs/ghost-cli-debug-2021-02-01T20_32_23_186Z.log
Try running ghost doctor to check your system for known issues.
I ran ghost doctor
, but it did not help, it passes all tests.
This is the log file produced after the failure:
Debug Information:
OS: Ubuntu, v20.04.2 LTS
Node Version: v10.19.0
Ghost Version: 3.40.5
Ghost-CLI Version: 1.15.3
Environment: production
Command: ‘ghost update’
Message: Command failed: yarn install --no-emoji --no-progress
Usage: yarn [options]yarn: error: no such option: --no-emoji
Exit code: 2
--------------- stderr ---------------
Usage: yarn [options]yarn: error: no such option: --no-emoji
I tried allowing more RAM to the VM but not luck.
I tried to look up the error online, but what I found did not help much.