Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker containers keeps restarting after last commit #5482

Closed
2 tasks done
DeepBlue27 opened this issue Dec 16, 2022 · 5 comments
Closed
2 tasks done

docker containers keeps restarting after last commit #5482

DeepBlue27 opened this issue Dec 16, 2022 · 5 comments

Comments

@DeepBlue27
Copy link

My actions before raising this issue

BRANCH: develop - release 2.3.0 (both)
ENV: Windows10 + docker desktop

As you can see from the image 2 of the docker containers keeps restarting
image

same error for both:

Error: Format string '%(ENV_HOME)s/wait-for-it.sh %(ENV_CVAT_REDIS_HOST)s:6379 -t 0 -- bash -ic " \\\nif [ \\"%(ENV_CVAT_DEBUG_ENABLED)s\\" = \'yes\' ]; then \\\n_DEBUG_CMD=\\"-m debugpy --listen 0.0.0.0:%(ENV_CVAT_DEBUG_PORT)s\\";\nelse\n_DEBUG_CMD=\\"\\";\nfi && \\\n\\\nexec python3 ${_DEBUG_CMD} %(ENV_HOME)s/manage.py rqworker -v 3 default \\\n"' for 'program:rqworker_default.command' contains names ('ENV_CVAT_DEBUG_ENABLED') which cannot be expanded. Available names: ENV_CVAT_DEBUG_PORT, ENV_CVAT_POSTGRES_HOST, ENV_CVAT_REDIS_HOST, ENV_DJANGO_CONFIGURATION, ENV_HOME, ENV_HOSTNAME, ENV_LANG, ENV_LC_ALL, ENV_NUMPROCS, ENV_PATH, ENV_TERM, ENV_TZ, ENV_USER, ENV_http_proxy, ENV_https_proxy, ENV_no_proxy, ENV_socks_proxy, group_name, here, host_node_name, process_num, program_name in section 'program:rqworker_default' (file: 'supervisord/worker.default.conf')

For help, use /usr/bin/supervisord -h

Error: Format string '%(ENV_HOME)s/wait-for-it.sh %(ENV_CVAT_REDIS_HOST)s:6379 -t 0 -- bash -ic " \\\nif [ \\"%(ENV_CVAT_DEBUG_ENABLED)s\\" = \'yes\' ]; then \\\n_DEBUG_CMD=\\"-m debugpy --listen 0.0.0.0:%(ENV_CVAT_DEBUG_PORT)s\\";\nelse\n_DEBUG_CMD=\\"\\";\nfi && \\\n\\\nexec python3 ${_DEBUG_CMD} %(ENV_HOME)s/manage.py rqworker -v 3 default \\\n"' for 'program:rqworker_default.command' contains names ('ENV_CVAT_DEBUG_ENABLED') which cannot be expanded. Available names: ENV_CVAT_DEBUG_PORT, ENV_CVAT_POSTGRES_HOST, ENV_CVAT_REDIS_HOST, ENV_DJANGO_CONFIGURATION, ENV_HOME, ENV_HOSTNAME, ENV_LANG, ENV_LC_ALL, ENV_NUMPROCS, ENV_PATH, ENV_TERM, ENV_TZ, ENV_USER, ENV_http_proxy, ENV_https_proxy, ENV_no_proxy, ENV_socks_proxy, group_name, here, host_node_name, process_num, program_name in section 'program:rqworker_default' (file: 'supervisord/worker.default.conf')

For help, use /usr/bin/supervisord -h

clean pull and images of 20 min ago --updated before submitting issue,

@zhiltsov-max
Copy link
Contributor

zhiltsov-max commented Dec 16, 2022

Hi, could you please check docker pull cvat/server:dev one more time? It looks the images are still the same on the machine. After downloading, restart the containers with docker-compose down && docker-compose up -d.

Related: #5467 (comment)

@vgoineau
Copy link

same here

@erichhhhho
Copy link

Met the same issue, which can resolve by #5482 (comment)

@nmanovic
Copy link
Contributor

Hi all,

Try to use the command below:

docker-compose down && docker-compose build --pull && docker-compose up -d

Note: https://stackoverflow.com/questions/37685581/how-to-get-docker-compose-to-use-the-latest-image-from-repository

@zhiltsov-max
Copy link
Contributor

I will close the issue, feel free to comment and reopen if the problem persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants