Issue Summary
Trying to update from 5.22.10 but the update takes an inordinate amount of time and then eventually fails. Previous updates have taken a lot less time to execute.
Steps to Reproduce
I’m using ‘ghost update --no-check-mem’ because updates stopped working due to the memory check at some point. This has worked for a while but now this failure is different.
Setup information
Ghost Version Currently at 5.22.10
Node.js Version v14.20.1
How did you install Ghost? Using Digital Ocean’s install droplet initially
Provide details of your host & operating system Digital Ocean - Linux 4.15.0-194 kernel
Database type MySQL 8
Relevant log / error output
I executed the update with verbose turned on. Here are the last handful of output lines that led to the failure.
[21:56:29] → verbose 1610.269779801 Copying “/home/ghost-mgr/.cache/yarn/v6/npm-@stdlib-random-0.0.12-e819c3abd602ed5559ba800dba751e49c633ff85-integrity/node_modules/@stdlib/random/streams/negative-binomial/package.json” to “/var/www/ghost/versions/5.23.0/node_modules/@stdlib/random/streams/negative-binomial/package.json”.
[21:56:29] → verbose 1610.272255778 Copying “/home/ghost-mgr/.cache/yarn/v6/npm-@stdlib-random-0.0.12-e819c3abd602ed5559ba800dba751e49c633ff85-integrity/node_modules/@stdlib/random/streams/mt19937/README.md” to “/var/www/ghost/versions/5.23.0/node_modules/@stdlib/random/streams/mt19937/README.md”.
[21:56:29] → verbose 1610.273977393 Copying “/home/ghost-mgr/.cache/yarn/v6/npm-@stdlib-random-0.0.12-e819c3abd602ed5559ba800dba751e49c633ff85-integrity/node_modules/@stdlib/random/streams/mt19937/package.json” to “/var/www/ghost/versions/5.23.0/node_modules/@stdlib/random/streams/mt19937/package.json”.
[21:56:29] → verbose 1610.27539612 Copying “/home/ghost-mgr/.cache/yarn/v6/npm-@stdlib-random-0.0.12-e819c3abd602ed5559ba800dba751e49c633ff85-integrity/node_modules/@stdlib/random/streams/normal/README.md” to “/var/www/ghost/versions/5.23.0/node_modules/@stdlib/random/streams/normal/README.md”.
[22:09:35] Installing dependencies [failed]
[22:09:35] → stdout maxBuffer exceeded
[22:09:35] Downloading and updating Ghost to v5.23.0 [failed]
[22:09:35] → stdout maxBuffer exceeded
A ProcessError occurred.
Message: stdout maxBuffer exceeded
Debug Information:
OS: Ubuntu, v18.04.6 LTS
Node Version: v14.20.1
Ghost Version: 5.22.10
Ghost-CLI Version: 1.23.1
Environment: production
Command: ‘ghost update --no-check-mem -V’