exadel-inc / CompreFace

Leading free and open-source face recognition system
https://exadel.com/accelerator-showcase/compreface/
Apache License 2.0
5.71k stars 775 forks source link

ComprefaceUi not starting up #1267

Open rajdey1 opened 2 months ago

rajdey1 commented 2 months ago

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

1) Download CompreFace_1.1.0.zip archive or run: wget -q -O tmp.zip 'https://github.com/exadel-inc/CompreFace/releases/download/v1.1.0/CompreFace_1.1.0.zip' && unzip tmp.zip && rm tmp.zip

2) To start CompreFace run: docker-compose up -d

3) Open in your browser: http://localhost:8000/login' (Site not found)

  1. run command docker logs compreface-ui See error in [emerg] 1#1: host not found in upstream "compreface-core:3000" in /etc/nginx/conf.d/nginx.conf:10 nginx: [emerg] host not found in upstream "compreface-core:3000" in /etc/nginx/conf.d/nginx.conf:10 /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh 20-envsubst-on-templates.sh: Running envsubst on /etc/nginx/templates/nginx.conf.template to /etc/nginx/conf.d/nginx.conf /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh /docker-entrypoint.sh: Configuration complete; ready for start up

Expected behavior

login page should open

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Logs [emerg] 1#1: host not found in upstream "compreface-core:3000" in /etc/nginx/conf.d/nginx.conf:10 nginx: [emerg] host not found in upstream "compreface-core:3000" in /etc/nginx/conf.d/nginx.conf:10 /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh 10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf is not a file or does not exist /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh 20-envsubst-on-templates.sh: Running envsubst on /etc/nginx/templates/nginx.conf.template to /etc/nginx/conf.d/nginx.conf /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh /docker-entrypoint.sh: Configuration complete; ready for start up Run those commands and attach result to the ticket:

FOREVEREALIZE commented 1 month ago

As a note, I had a similar issue, and it just happened that CompreFace took REALLY long to start (upwards of 10 minutes on a 4-core VPS)