Comments (14)
Try with puma master.
from capistrano-puma.
@seuros thanks, still slow but working now.
Now the task stops because of the non existent socket file. I've added %w{tmp/pids tmp/sockets log}
to linked_dirs
, is there anything else I'm missing? Cheers.
DEBUG[a23835e0] * Listening on unix:/home/deployer/apps/ensina/shared/tmp/sockets/puma.sock
DEBUG[a23835e0] IOError: bind failed: No such file or directory
from capistrano-puma.
run puma:config to update puma.rb
Try to have the puma.sock in /tmp/puma.sock if that still not work.
Jruby is weird 💤
from capistrano-puma.
U don't say… I'm about to kill myself.
The previous comment I made was already considering the up-to-date puma.rb
from capistrano-puma.
You probably talking about the puma gem.
puma.rb is a file created by this gem, located in config/. You can ssh into your machine and see it.
https://github.com/puma/puma/blob/master/examples/config.rb << this is the file, i renamed it puma.rb
from capistrano-puma.
sorry you will find it in /home/deployer/apps/ensina/shared/
from capistrano-puma.
hmmm, seems like the old one to me: https://gist.github.com/jvalente/04439e0261aa8452fd95 can u confirm?
I'm using the gem via master however…
from capistrano-puma.
Sorry for delay, i had some issues to fix.
You can't preload! and have 0 workers. Please increase the puma workers to at least 1.
from capistrano-puma.
Yeah, I've tried that before. Doing a bit of investigation on why I'm getting ERROR: worker mode not supported on JRuby or Windows
when I increase the workers to be > 0.
from capistrano-puma.
Puma documentation isn't very clear on how to work around. https://github.com/puma/puma#platform-constraints
from capistrano-puma.
then turn off the preloading .
Puma was build for RBX not for jruby.
from capistrano-puma.
Any update ? @jvalente
from capistrano-puma.
Hi @seuros, I am now being able to run the app with a jruby / puma / nginx stack. I believe I was working with a machine that wasn't powerful enough to handle the JVM since I'm now using a 2 CPUs and everything is running fine.
Thank you so much for your help
from capistrano-puma.
Glad it worked for you.
from capistrano-puma.
Related Issues (20)
- `cap production puma:config` results in `Don't know how to build task 'puma:config'` HOT 1
- `Failed to get D-Bus connection: No such file or directory` when trying to deploy HOT 11
- Puma 6.x HOT 4
- Permission denied with puma_access.log HOT 11
- Couple of issues with 6.0.beta HOT 2
- puma:restart service not found during deploy HOT 4
- Multiple X-Forwarded-Proto headers causing issues HOT 1
- WatchdogSec causes error when using Type=simple HOT 2
- Deploying a new app to a staging server won't start/restart puma/systemd HOT 3
- support for Puma v6.0 and upwards HOT 1
- release 5.x with support for Puma v6.0 HOT 1
- v6.0.0.beta.1 breaks Nginx functionality HOT 5
- Failed with result 'watchdog'. HOT 2
- capistrano doesn't support puma:stop task HOT 1
- When 6.0 GA? HOT 1
- after gem updates deploy fails with can't find service HOT 1
- Release 6.0.0 HOT 4
- Capistrano Puma Not Starting HOT 4
- WatchdogSec should be configurable
- Should this be considered abandoned? HOT 4
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-puma.