cvat-ai / cvat

Annotate better with CVAT, the industry-leading data engine for machine learning. Used and trusted by teams at any scale, for data of any scale.
https://cvat.ai
MIT License
12.25k stars 2.95k forks source link

cvat container RESTAPI doesn't work after abnormal termination #1487

Closed smartnet-club closed 4 years ago

smartnet-club commented 4 years ago

My actions before raising this issue

Unable to login cvat user interface after abnormal computer termination .

Expected Behaviour

After abnormal computer termination all services should restarted correctly.

Current Behaviour

cvat RESTAPI is inaccessible after abnormal computer termination

Possible Solution

The problem is in cvat container. After crash PID files not deleted.

  1. /tmp/mod_wsgi-localhost:8080:1000/httpd.pid
  2. /tmp/supervisord/supervisord.pid

Steps to Reproduce (for bugs)

  1. Hard reset computer

To fix

  1. Remove all *.pid on cvat contained start
nmanovic commented 4 years ago

@smartnet-club , it was fixed in beta.2. Could you please check? I will close the issue. Don't hesitate to reopen it if it isn't fixed in beta.2 and develop branch.