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

ComprefaceUi not starting up #1267

Open
rajdey1 opened this issue Sep 2, 2024 · 1 comment
Open

ComprefaceUi not starting up #1267

rajdey1 opened this issue Sep 2, 2024 · 1 comment

Comments

@rajdey1
Copy link

rajdey1 commented Sep 2, 2024

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):

  • OS: [e.g. iOS] Linux ubuntu 22.04
  • Browser [e.g. chrome, safari] chrome
  • Version [e.g. 22] 22.04

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
Copy link

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)

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

2 participants