opf / helm-charts

OPF helm chart repository
https://charts.openproject.org
GNU General Public License v3.0
12 stars 22 forks source link

web server cant restart during failure because of server.pid remaining in tmp mount #108

Closed oliverguenther closed 4 months ago

oliverguenther commented 4 months ago

When puma crashes in the openproject container of the openproject-web-* pod the container is being restarted, likely due to the liveness probe failing. On restart puma does not boot up properly due to the (pre)existance of the server.pid as can be seen in the logs:

=> Booting Puma
=> Rails 7.1.3.2 application starting in production 
=> Run `bin/rails server --help` for more startup options
A server is already running. Check /app/tmp/pids/server.pid.
Exiting

This is likely due to its existence in the container-wide tmp file mount