Hi team,
I don’t think I was able to find an answer to my question, so please excuse me if this is a duplicate.
Tried upgrading my ghost (it’s currently 3.0.2) to the latest, i.e. 3.0.3, but received the error below.
Happy to attach full diagnostic log if need be, however am hoping someone knows how to deal with it?
Thanks in advance!
ghost-mgr@ghost:/var/www/ghost$ ghost update
- sudo systemctl is-active ghost_stig-dlugosz-eu
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 v3.0.3
A ProcessError occurred.
Message: Command failed: yarn install --no-emoji --no-progress
warning ghost@3.0.3: The engine “cli” appears to be invalid.
warning " > bookshelf@0.14.2" has incorrect peer dependency “knex@>=0.6.10 <0.15.0”.
yarn install v1.19.1
[1/5] Validating package.json…
[2/5] Resolving packages…
[3/5] Fetching packages…
[4/5] Linking dependencies…
[5/5] Building fresh packages…
Debug Information:
OS: Ubuntu, v16.04.6 LTS
Node Version: v10.17.0
Ghost Version: 3.0.2
Ghost-CLI Version: 1.13.1
Environment: production
Command: ‘ghost update’
Additional log info available in: /home/ghost-mgr/.ghost/logs/ghost-cli-debug-2019-11-21T07_22_41_882Z.log
Try running ghost doctor to check your system for known issues.
You can always refer to Ghost-CLI - A fully loaded tool for installation and configuration for troubleshooting.
ghost-mgr@ghost:/var/www/ghost$ ghost doctor
Checking system Node.js version
Checking logged in user
Ensuring user is not logged in as ghost user
Checking if logged in user is directory owner
Checking current folder permissions
Checking operating system compatibility
Checking for a MySQL installation
- sudo systemctl is-active ghost_stig-dlugosz-eu
Instance is currently running
Validating config [skipped]
Checking folder permissions
Checking file permissions
Checking content folder ownership
Checking memory availability
Checking binary dependencies
ghost-mgr@ghost:/var/www/ghost$