Closed tarebyte closed 1 year ago
Setting the pidfile
caused
Jul 27 06:16:00 soulmedicine--staging app/web.1 Errno::ENOENT: No such file or directory @ rb_sysopen - tmp/pids/server.pid
Jul 27 06:16:00 soulmedicine--staging app/web.1 /app/vendor/bundle/ruby/2.7.0/gems/puma-6.3.0/lib/puma/launcher.rb:312:in `write'
Jul 27 06:16:00 soulmedicine--staging app/web.1 /app/vendor/bundle/ruby/2.7.0/gems/puma-6.3.0/lib/puma/launcher.rb:312:in `write_pid'
Jul 27 06:16:00 soulmedicine--staging app/web.1 /app/vendor/bundle/ruby/2.7.0/gems/puma-6.3.0/lib/puma/launcher.rb:121:in `write_state'
Jul 27 06:16:00 soulmedicine--staging app/web.1 /app/vendor/bundle/ruby/2.7.0/gems/puma-6.3.0/lib/puma/cluster.rb:408:in `run'
Jul 27 06:16:00 soulmedicine--staging app/web.1 /app/vendor/bundle/ruby/2.7.0/gems/puma-6.3.0/lib/puma/launcher.rb:194:in `run'
Jul 27 06:16:00 soulmedicine--staging app/web.1 /app/vendor/bundle/ruby/2.7.0/gems/puma-6.3.0/lib/puma/cli.rb:75:in `run'
Jul 27 06:16:00 soulmedicine--staging app/web.1 /app/vendor/bundle/ruby/2.7.0/gems/puma-6.3.0/bin/puma:10:in `<top (required)>'
Jul 27 06:16:00 soulmedicine--staging app/web.1 /app/vendor/bundle/ruby/2.7.0/bin/puma:23:in `load'
Jul 27 06:16:00 soulmedicine--staging app/web.1 /app/vendor/bundle/ruby/2.7.0/bin/puma:23:in `<top (required)>'
on the staging site.
This updates the puma gem to the latest version, and updates the configuration to match Heroku's recommendation for our dyno configuration.
This will also close the outstanding Dependabot alerts https://github.com/chaynHQ/soulmedicine/security/dependabot?q=puma+is%3Aopen+package%3Apuma