Error during update to last release 2.25.2

Maybe is caused by this: * 64735693b Replaced keypair with rsa-keypair module (#10758) - Daniel Lockyer

Here is the output:

ghost update

  • sudo systemctl is-active ghost_188-226-129-238
    :heavy_check_mark: Checking system Node.js version
    :heavy_check_mark: Ensuring user is not logged in as ghost user
    :heavy_check_mark: Checking if logged in user is directory owner
    :heavy_check_mark: Checking current folder permissions
    :heavy_check_mark: Checking folder permissions
    :heavy_check_mark: Checking file permissions
    :heavy_check_mark: Checking content folder ownership
    :heavy_check_mark: Checking memory availability
    :heavy_check_mark: Checking for available migrations
    :heavy_check_mark: Checking for latest Ghost version
    :heavy_multiplication_x: Downloading and updating Ghost to v2.25.2
    A ProcessError occurred.

Message: Command failed: yarn install --no-emoji --no-progress
warning ghost@2.25.2: The engine “cli” appears to be invalid.
warning “@tryghost/members-auth-pages > react-stripe-elements@2.0.3” has unmet peer dependency “react@^15.5.4 || ^16.0.0-0”.
warning “@tryghost/members-auth-pages > react-stripe-elements@2.0.3” has unmet peer dependency “react-dom@^15.5.4 || ^16.0.0-0”.
error /var/www/ghost/versions/2.25.2/node_modules/rsa-keypair: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /var/www/ghost/versions/2.25.2/node_modules/rsa-keypair
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@3.8.0
gyp info using node@10.16.0 | linux | x64
gyp info spawn /usr/bin/python2
gyp info spawn args [ ‘/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py’,
gyp info spawn args ‘binding.gyp’,
gyp info spawn args ‘-f’,
gyp info spawn args ‘make’,
gyp info spawn args ‘-I’,
gyp info spawn args ‘/var/www/ghost/versions/2.25.2/node_modules/rsa-keypair/build/config.gypi’,
gyp info spawn args ‘-I’,
gyp info spawn args ‘/usr/local/lib/node_modules/npm/node_modules/node-gyp/addon.gypi’,
gyp info spawn args ‘-I’,
gyp info spawn args ‘/home/velobarplus/.node-gyp/10.16.0/include/node/common.gypi’,
gyp info spawn args ‘-Dlibrary=shared_library’,
gyp info spawn args ‘-Dvisibility=default’,
gyp info spawn args ‘-Dnode_root_dir=/home/velobarplus/.node-gyp/10.16.0’,
gyp info spawn args ‘-Dnode_gyp_dir=/usr/local/lib/node_modules/npm/node_modules/node-gyp’,
gyp info spawn args ‘-Dnode_lib_file=/home/velobarplus/.node-gyp/10.16.0/<(target_arch)/node.lib’,
gyp info spawn args ‘-Dmodule_root_dir=/var/www/ghost/versions/2.25.2/node_modules/rsa-keypair’,
gyp info spawn args ‘-Dnode_engine=v8’,
gyp info spawn args ‘–depth=.’,
gyp info spawn args ‘–no-parallel’,
gyp info spawn args ‘–generator-output’,
gyp info spawn args ‘build’,
gyp info spawn args ‘-Goutput_dir=.’ ]
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/usr/local/lib/node_modules/npm/node_modules/which/which.js:13:12)
gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:68:19)
gyp ERR! stack at E (/usr/local/lib/node_modules/npm/node_modules/which/which.js:80:29)
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/which/which.js:89:16
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/isexe/index.js:42:5
gyp ERR! stack at /usr/local/lib/node_modules/npm/node_modules/isexe/mode.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:153:21)
gyp ERR! System Linux 4.15.0-52-generic
gyp ERR! command “/usr/local/bin/node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
gyp ERR! cwd /var/www/ghost/versions/2.25.2/node_modules/rsa-keypair
gyp ERR! node -v v10.16.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok

yarn install v1.16.0
[1/5] Validating package.json…
[2/5] Resolving packages…
[3/5] Fetching packages…
[4/5] Linking dependencies…
[5/5] Building fresh packages…
info Visit yarn install | Yarn for documentation about this command.

Exit code: 1

Debug Information:
OS: Ubuntu, v18.04
Node Version: v10.16.0
Ghost-CLI Version: 1.11.0
Environment: production
Command: ‘ghost update’

Same here,
From console:

From debug.log:

same here, I think I followed install instructions correctly

Likewise - I’m seeing the exact same error messages :frowning:

Ghost team is currently working out the best approach to solve this issue. The progress can be tracked here:

Ghost 2.25.3 has been released which should fix the installation problems.

I confirm it’s now building normally using 2.25.3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.