Hi @jamby1100 thanks for putting this together. It looks like it was a fair amount of work. I got through it all but at the end I'm having this issue. My service keeps spinning up and then immediately killing tasks. I put the error logs from a stopped task down below. I've spent a number of hours trying to find out more information on why it's happening with no success. Any help would be appreciated.
2020-08-30 13:08:44/usr/local/bundle/gems/puma-4.3.5/lib/puma/dsl.rb:46:in read': No such file or directory @ rb_sysopen - config/docker_puma.rb (Errno::ENOENT)
/usr/local/bundle/gems/puma-4.3.5/lib/puma/dsl.rb:46:inread': No such file or directory @ rb_sysopen - config/docker_puma.rb (Errno::ENOENT)
2020-08-30 13:08:44from /usr/local/bundle/gems/puma-4.3.5/lib/puma/dsl.rb:46:in _load_from'
2020-08-30 13:08:44from /usr/local/bundle/gems/puma-4.3.5/lib/puma/configuration.rb:195:inblock in load'
2020-08-30 13:08:44from /usr/local/bundle/gems/puma-4.3.5/lib/puma/configuration.rb:195:in each'
2020-08-30 13:08:44from /usr/local/bundle/gems/puma-4.3.5/lib/puma/configuration.rb:195:inload'
2020-08-30 13:08:44from /usr/local/bundle/gems/puma-4.3.5/lib/puma/launcher.rb:58:in initialize'
2020-08-30 13:08:44from /usr/local/bundle/gems/puma-4.3.5/lib/puma/cli.rb:71:innew'
2020-08-30 13:08:44from /usr/local/bundle/gems/puma-4.3.5/lib/puma/cli.rb:71:in initialize'
2020-08-30 13:08:44from /usr/local/bundle/gems/puma-4.3.5/bin/puma:8:innew'
2020-08-30 13:08:44from /usr/local/bundle/gems/puma-4.3.5/bin/puma:8:in `'
How embarrassing, spent hours to realize it's docker_puma.rb not docker-puma.rb. Apparently I've been away from ruby for too long. Thanks for the help.
Hi @jamby1100 thanks for putting this together. It looks like it was a fair amount of work. I got through it all but at the end I'm having this issue. My service keeps spinning up and then immediately killing tasks. I put the error logs from a stopped task down below. I've spent a number of hours trying to find out more information on why it's happening with no success. Any help would be appreciated.
2020-08-30 13:08:44/usr/local/bundle/gems/puma-4.3.5/lib/puma/dsl.rb:46:in
read': No such file or directory @ rb_sysopen - config/docker_puma.rb (Errno::ENOENT)
read': No such file or directory @ rb_sysopen - config/docker_puma.rb (Errno::ENOENT)/usr/local/bundle/gems/puma-4.3.5/lib/puma/dsl.rb:46:in
2020-08-30 13:08:44from /usr/local/bundle/gems/puma-4.3.5/lib/puma/dsl.rb:46:in
_load_from'
block in load'2020-08-30 13:08:44from /usr/local/bundle/gems/puma-4.3.5/lib/puma/configuration.rb:195:in
2020-08-30 13:08:44from /usr/local/bundle/gems/puma-4.3.5/lib/puma/configuration.rb:195:in
each'
load'2020-08-30 13:08:44from /usr/local/bundle/gems/puma-4.3.5/lib/puma/configuration.rb:195:in
2020-08-30 13:08:44from /usr/local/bundle/gems/puma-4.3.5/lib/puma/launcher.rb:58:in
initialize'
new'2020-08-30 13:08:44from /usr/local/bundle/gems/puma-4.3.5/lib/puma/cli.rb:71:in
2020-08-30 13:08:44from /usr/local/bundle/gems/puma-4.3.5/lib/puma/cli.rb:71:in
initialize'
new'2020-08-30 13:08:44from /usr/local/bundle/gems/puma-4.3.5/bin/puma:8:in
2020-08-30 13:08:44from /usr/local/bundle/gems/puma-4.3.5/bin/puma:8:in `'
Hi Thom, thank you reading the article and following along the steps.
Based on your stack trace, I think your
config/docker_puma.rb
may be missing.docker_puma.rb
file was referenced properlyCheers, let me know if this helps
How embarrassing, spent hours to realize it's
docker_puma.rb
notdocker-puma.rb
. Apparently I've been away from ruby for too long. Thanks for the help.Hi Thom, no worries! I usually have that problem too