Hello, I have some issues installing Ghost.
I have a fresh VPS with Ubuntu 22.04. I followed the docs and I have the good node.js 16 version.
My problem is when I run ghost install
.
Apparently I don’t have enough free memory so I do ghost install --no-mem-check
.
The first steps run without any problem, but I have issues with the “Installing dependencies” part.
it say : There appears to be trouble with your network connection. Retrying…
I am online obviously, and I don’t think that the problem is on the dependencies’ end.
I tried installing yarn myself and I even increased the network-timeout but it’s not working either.
Here’s the whole log :
Debug Information:
OS: Ubuntu, v22.04.2 LTS
Node Version: v16.20.0
Ghost-CLI Version: 1.24.0
Environment: production
Command: ‘ghost install --no-mem-check’
Message: Command failed: yarn install --no-emoji --no-progress
warning ghost@5.51.1: The engine “cli” appears to be invalid.
warning Resolution field “@elastic/elasticsearch@8.5.0” is incompatible with requested version “@elastic/elasticsearch@8.6.0”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@^2.29.1”
warning Resolution field “@tryghost/errors@1.2.24” is incompatible with requested version “@tryghost/errors@1.2.21”
warning Resolution field “@tryghost/errors@1.2.24” is incompatible with requested version “@tryghost/errors@^1.2.25”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@2.29.1”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@^2.27.0”
warning Resolution field “moment-timezone@0.5.23” is incompatible with requested version “moment-timezone@^0.5.31”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@2.29.4”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@2.29.4”
warning Resolution field “moment-timezone@0.5.23” is incompatible with requested version “moment-timezone@0.5.34”
warning Resolution field “@tryghost/errors@1.2.24” is incompatible with requested version “@tryghost/errors@1.2.21”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@2.29.1”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@2.29.3”
warning Resolution field “moment-timezone@0.5.23” is incompatible with requested version “moment-timezone@^0.5.33”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@^2.27.0”
warning Resolution field “moment-timezone@0.5.23” is incompatible with requested version “moment-timezone@^0.5.31”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@2.27.0”
warning Resolution field “@tryghost/errors@1.2.24” is incompatible with requested version “@tryghost/errors@1.2.25”
warning Resolution field “@tryghost/logging@2.4.4” is incompatible with requested version “@tryghost/logging@2.4.5”
warning Resolution field “@tryghost/logging@2.4.4” is incompatible with requested version “@tryghost/logging@^2.4.5”
warning Resolution field “@tryghost/errors@1.2.24” is incompatible with requested version “@tryghost/errors@1.2.25”
warning Resolution field “@tryghost/logging@2.4.4” is incompatible with requested version “@tryghost/logging@2.4.5”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@^2.29.1”
error An unexpected error occurred: “ttps://registry.yarnpkg.com/eslint/-/eslint-7.32.0.tgz: ESOCKETTIMEDOUT”.
yarn install v1.22.19
[1/5] Validating package.json…
[2/5] Resolving packages…
[3/5] Fetching packages…
info There appears to be trouble with your network connection. Retrying…
info There appears to be trouble with your network connection. Retrying…
info There appears to be trouble with your network connection. Retrying…
info There appears to be trouble with your network connection. Retrying…
info There appears to be trouble with your network connection. Retrying…
info There appears to be trouble with your network connection. Retrying…
info There appears to be trouble with your network connection. Retrying…
info If you think this is a bug, please open a bug report with the information provided in “/var/www/a/versions/5.51.1/yarn-error.log”.
info Visit ttps://yarnpkg.com/en/docs/cli/install for documentation about this command.
Exit code: 1
--------------- stdout ---------------
yarn install v1.22.19
[1/5] Validating package.json…
[2/5] Resolving packages…
[3/5] Fetching packages…
info There appears to be trouble with your network connection. Retrying…
info There appears to be trouble with your network connection. Retrying…
info There appears to be trouble with your network connection. Retrying…
info There appears to be trouble with your network connection. Retrying…
info There appears to be trouble with your network connection. Retrying…
info There appears to be trouble with your network connection. Retrying…
info There appears to be trouble with your network connection. Retrying…
info If you think this is a bug, please open a bug report with the information provided in “/var/www/a/versions/5.51.1/yarn-error.log”.
info Visit ttps://yarnpkg.com/en/docs/cli/install for documentation about this command.
--------------- stderr ---------------
warning ghost@5.51.1: The engine “cli” appears to be invalid.
warning Resolution field “@elastic/elasticsearch@8.5.0” is incompatible with requested version “@elastic/elasticsearch@8.6.0”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@^2.29.1”
warning Resolution field “@tryghost/errors@1.2.24” is incompatible with requested version “@tryghost/errors@1.2.21”
warning Resolution field “@tryghost/errors@1.2.24” is incompatible with requested version “@tryghost/errors@^1.2.25”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@2.29.1”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@^2.27.0”
warning Resolution field “moment-timezone@0.5.23” is incompatible with requested version “moment-timezone@^0.5.31”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@2.29.4”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@2.29.4”
warning Resolution field “moment-timezone@0.5.23” is incompatible with requested version “moment-timezone@0.5.34”
warning Resolution field “@tryghost/errors@1.2.24” is incompatible with requested version “@tryghost/errors@1.2.21”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@2.29.1”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@2.29.3”
warning Resolution field “moment-timezone@0.5.23” is incompatible with requested version “moment-timezone@^0.5.33”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@^2.27.0”
warning Resolution field “moment-timezone@0.5.23” is incompatible with requested version “moment-timezone@^0.5.31”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@2.27.0”
warning Resolution field “@tryghost/errors@1.2.24” is incompatible with requested version “@tryghost/errors@1.2.25”
warning Resolution field “@tryghost/logging@2.4.4” is incompatible with requested version “@tryghost/logging@2.4.5”
warning Resolution field “@tryghost/logging@2.4.4” is incompatible with requested version “@tryghost/logging@^2.4.5”
warning Resolution field “@tryghost/errors@1.2.24” is incompatible with requested version “@tryghost/errors@1.2.25”
warning Resolution field “@tryghost/logging@2.4.4” is incompatible with requested version “@tryghost/logging@2.4.5”
warning Resolution field “moment@2.24.0” is incompatible with requested version “moment@^2.29.1”
error An unexpected error occurred: “ttps://registry.yarnpkg.com/eslint/-/eslint-7.32.0.tgz: ESOCKETTIMEDOUT”.