exadel-inc / exadel-inc/CompreFace

ComprefaceUi not starting up

Open
#1,267 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
8.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

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

4. 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:

Contributor guide

Open the contributing guide

Research direction

Run the documented download and `docker-compose up -d` commands, then inspect `docker logs compreface-ui` and the generated `/etc/nginx/conf.d/nginx.conf` at line 10. Trace why the `compreface-core:3000` upstream cannot be resolved; done means the UI starts and the login page opens at `http://localhost:8000/login` without that Nginx error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose, nginx
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.