openproject-deploy icon indicating copy to clipboard operation
openproject-deploy copied to clipboard

Autoheal continuously restarting openproject

Open southeasterntech opened this issue 1 year ago • 1 comments

Is there a way to actually stop this container? I'm trying to do an update, but I can't because I believe I can't disable the autoheal functionality.

southeasterntech avatar Apr 04 '24 14:04 southeasterntech

what helped me was to increase the timeout and start_period parameter in the healthcheck for the time of the upgrade process

    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:8080${OPENPROJECT_RAILS__RELATIVE__URL__ROOT:-}/health_checks/default"]
      interval: 10s
      timeout: 3s
      retries: 3
      start_period: 30s
      ```

tbaden avatar Jun 25 '24 07:06 tbaden