Skip to content

Commit 3d4e726

Browse files
authored
Fix apache startup (#1467)
* Fix Network Error after PC Restart (#1035) * Update CHANGELOG.md
1 parent fc37800 commit 3d4e726

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3232
- Duplicating keypoints in COCO export (https://github.com/opencv/cvat/pull/1435)
3333
- CVAT new UI: add arrows on a mouse cursor (<https://github.com/opencv/cvat/pull/1391>)
3434
- Delete point bug (in new UI) (<https://github.com/opencv/cvat/pull/1440>)
35+
- Fix apache startup after PC restart (https://github.com/opencv/cvat/pull/1467)
3536

3637
### Security
3738
-

supervisord.conf

+4-2
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,11 @@ numprocs=1
5454
; with docker cache. Thus it is necessary to run collectstatic here for such
5555
; apps.
5656
command=%(ENV_HOME)s/wait-for-it.sh db:5432 -t 0 -- bash -ic \
57-
"/usr/bin/python3 ~/manage.py migrate && \
57+
"rm -f /tmp/cvat-server/httpd.pid && /usr/bin/python3 ~/manage.py migrate && \
5858
/usr/bin/python3 ~/manage.py collectstatic --no-input && \
5959
exec /usr/bin/python3 $HOME/manage.py runmodwsgi --log-to-terminal --port 8080 \
6060
--limit-request-body 1073741824 --log-level INFO --include-file ~/mod_wsgi.conf \
61-
%(ENV_DJANGO_MODWSGI_EXTRA_ARGS)s --locale %(ENV_LC_ALL)s"
61+
%(ENV_DJANGO_MODWSGI_EXTRA_ARGS)s --locale %(ENV_LC_ALL)s \
62+
--server-root /tmp/cvat-server"
63+
6264
environment=SSH_AUTH_SOCK="/tmp/ssh-agent.sock"

0 commit comments

Comments
 (0)