Hi,
I’ve attempted to run 3.34 > 3.25 upgrade on my Ubuntu 16.04.6 LTS server, here’s what happened:
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.25.0
A ProcessError occurred.
Message: Command failed: yarn install --no-emoji --no-progress
warning ghost@3.25.0: The engine “cli” appears to be invalid.
warning Resolution field “moment-timezone@0.5.23” is incompatible with requested version “moment-timezone@0.5.28”
warning Resolution field “moment-timezone@0.5.23” is incompatible with requested version “moment-timezone@0.5.28”
warning " > bookshelf@0.15.2" has incorrect peer dependency “knex@>=0.13.0 <0.18.0”.
yarn install v1.22.4
[1/5] Validating package.json…
[2/5] Resolving packages…
[3/5] Fetching packages…
info fsevents@2.1.2: The platform “linux” is incompatible with this module.
info “fsevents@2.1.2” is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies…
[5/5] Building fresh packages…
Debug Information:
OS: Ubuntu, v16.04.6 LTS
Node Version: v10.21.0
Ghost Version: 3.24.0
Ghost-CLI Version: 1.14.1
Environment: production
Command: ‘ghost update’
Additional log info available in: /home/ghost-mgr/.ghost/logs/ghost-cli-debug-2020-07-16T09_12_23_689Z.log
Try running ghost doctor to check your system for known issues.
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
Instance is currently running
Validating config [skipped]
Checking folder permissions
Checking file permissions
Checking content folder ownership
Checking memory availability
Checking binary dependencies
Debug log file contents:
Debug Information:
OS: Ubuntu, v16.04.6 LTS
Node Version: v10.21.0
Ghost Version: 3.24.0
Ghost-CLI Version: 1.14.1
Environment: production
Command: ‘ghost update’
Message: Command failed: yarn install --no-emoji --no-progress
warning ghost@3.25.0: The engine “cli” appears to be invalid.
warning Resolution field “moment-timezone@0.5.23” is incompatible with requested version “moment-timezone@0.5.28”
warning Resolution field “moment-timezone@0.5.23” is incompatible with requested version “moment-timezone@0.5.28”
warning " > bookshelf@0.15.2" has incorrect peer dependency “knex@>=0.13.0 <0.18.0”.
yarn install v1.22.4
[1/5] Validating package.json…
[2/5] Resolving packages…
[3/5] Fetching packages…
info fsevents@2.1.2: The platform “linux” is incompatible with this module.
info “fsevents@2.1.2” is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies…
[5/5] Building fresh packages…
--------------- stdout ---------------
yarn install v1.22.4
[1/5] Validating package.json…
[2/5] Resolving packages…
[3/5] Fetching packages…
info fsevents@2.1.2: The platform “linux” is incompatible with this module.
info “fsevents@2.1.2” is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies…
[5/5] Building fresh packages…
--------------- stderr ---------------
warning ghost@3.25.0: The engine “cli” appears to be invalid.
warning Resolution field “moment-timezone@0.5.23” is incompatible with requested version “moment-timezone@0.5.28”
warning Resolution field “moment-timezone@0.5.23” is incompatible with requested version “moment-timezone@0.5.28”
warning " > bookshelf@0.15.2" has incorrect peer dependency “knex@>=0.13.0 <0.18.0”.
Any ideas welcome, thank you