Comments (3)
EPIPE
usually indicates that something like foo | bar
(i.e piping output of foo into bar), which can also happen when a parent child spawns a child process and uses a "pipe" to connect the stdout, or some other stream from the parent into the stdin (or some other stream) in the child.
Your intuition is probably correct, it for sure means that a process you were writing to in the parent died, probably the bundler, and possibly because of OOM.
Depending heavily on your OS, configuration, and the hosting platform you use, there could be a number of ways to find out. I suggest you look for ways to see the kernel logs, systemd journal, or at least the "OOM killer" logs (which may be in the kernel logs, or systemd journal)
Sorry we can't help more, but to confirm your suspiscion that it's a system-specific issue you are facing due to your OS configuration or machine sizing.
from capistrano.
Thank you for your response. Regarding your point about confirming my suspicion on a system-specific level, I'm assuming the remote system I'm deploying to would be the issue and not locally correct?
To trail off that point, I've updated the node version on the remote system and the error I'm receiving is a bit different. Wondering if this changes your speculation
00:11 deploy:assets:precompile
01 /usr/local/rvm/bin/rvm default do bundle exec rake assets:precompile
01
01 yarn install v1.22.5
01
01
01 [1/4] Resolving packages...
01
01
log writing failed. "\xE2" from ASCII-8BIT to UTF-8
01 ⠁
01
log writing failed. "\xE2" from ASCII-8BIT to UTF-8
⠂ call-bind@^1.0.0
log writing failed. "\xE2" from ASCII-8BIT to UTF-8
⠄ has-flag@^4.0.0
01
[2/4] Fetching packages...
01
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
01 warning " > @stripe/[email protected]" has incorrect peer dependency "react@^16.8.0 || ^17.0.0".
01 warning " > @stripe/[email protected]" has incorrect peer dependency "react-dom@^16.8.0 || ^17.0.0".
01 warning " > [email protected]" has incorrect peer dependency "moment-range@^3.0.3".
01 warning " > [email protected]" has incorrect peer dependency "[email protected] || 15.x.x || 16.x.x".
01 warning " > [email protected]" has incorrect peer dependency "[email protected] || 15.x.x || 16.x.x".
01 warning " > [email protected]" has incorrect peer dependency "react@~0.13.x || ~0.14.x || ^15.0.0 || ^16.0.0".
01
warning "react-router-dom > react-router > [email protected]" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0 || ^17…
[4/4] Building fresh packages...
01 Done in 11.78s.
01 Compiling...
01 Compilation failed:
01
#<Thread:0x000000014748b5a0@/Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/runners/parallel.rb:10 run> terminated with exception (report_on_exception is true):
Traceback (most recent call last):
13: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/runners/parallel.rb:12:in `block (2 levels) in execute'
12: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/backends/abstract.rb:31:in `run'
11: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/backends/abstract.rb:31:in `instance_exec'
10: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/capistrano-rails-1.4.0/lib/capistrano/tasks/assets.rake:67:in `block (4 levels) in <top (required)>'
9: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/backends/abstract.rb:92:in `within'
8: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/capistrano-rails-1.4.0/lib/capistrano/tasks/assets.rake:68:in `block (5 levels) in <top (required)>'
7: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/backends/abstract.rb:100:in `with'
6: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/capistrano-rails-1.4.0/lib/capistrano/tasks/assets.rake:69:in `block (6 levels) in <top (required)>'
5: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/backends/abstract.rb:80:in `execute'
4: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/backends/abstract.rb:148:in `create_command_and_execute'
3: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/backends/abstract.rb:148:in `tap'
2: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/backends/abstract.rb:148:in `block in create_command_and_execute'
1: from /Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/backends/netssh.rb:169:in `execute_command'
/Users/jaepark/.rvm/gems/ruby-2.6.6/gems/sshkit-1.19.1/lib/sshkit/command.rb:97:in `exit_status=': rake exit status: 1 (SSHKit::Command::Failed)
yarn install v1.22.5
I have removed node_modules and ran yarn
and also ran bundle install
. May be related to sshkit? I guess that leads to my question of what could've changed with sshkit that is causing this if this is the culprit. I've compared sshkit versions across different commits and it's constant.
Thanks for your time
from capistrano.
Lack of memory space in remote system was the issue. Issue resolved by expanded memory by adding swap space. Thank you @leehambley for your time.
from capistrano.
Related Issues (20)
- Name is get truncate if project name is a little longer.
- Ed25519 Algorithm Compatibility HOT 9
- Ruby 3.1: Can't run rubocop on capistrano repo HOT 1
- Can't continue deploying after for while via capistrano HOT 1
- Authentication failed for user HOT 1
- When I was running this "" command it showing error I don't understand why this error showing I was try to deploy with Jenkins pipeline, and I also add my public key deployment server still this error show (-t for tag)
- When I was running this "bundle exec cap demo deploy -t latest" command it showing error, I was try to deploy with Jenkins pipeline and my public ssh key add deploy server ERROR: SSHKit::Runner::ExecuteError: HOT 1
- Git CVE-2022-24765 and `safe.directory` Exceptions with Multiple Users HOT 6
- Documentation references the deprecated :scm variable HOT 2
- rsync instead of scp? HOT 2
- Default scm branch to "main" HOT 1
- If there is no way deploy with capistrano? [GitHub action] HOT 2
- Connection stale when running a command that takes ~4 hours to finish HOT 1
- Capistrano deletes last working deployment if recovering from too many failures HOT 1
- Deploying a new app to a staging server won't start/restart puma/systemd HOT 1
- Switch from CircleCI to GitHub Actions
- Danger CI job doesn't run on PRs from forks
- Security issue reported to [email protected]
- Docs bug HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capistrano.