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

[BUG] Running into error when follow the instruction #97

Open
tymiao1220 opened this issue Mar 29, 2024 · 0 comments
Open

[BUG] Running into error when follow the instruction #97

tymiao1220 opened this issue Mar 29, 2024 · 0 comments

Comments

@tymiao1220
Copy link

Describe the bug
I was trying to follow the instruction to download the repo and run docker compose up to deploy the app

To Reproduce
Steps to reproduce the behavior:

  1. Clone repository.
  2. Check out branch master.
  3. Keep the configuration as it, and shut down the global httpd to avoid 80 port conflict.
  4. See error.

Screenshots

WARN[0000] /mnt/abcs_ivg/top_level/INFV/xnat-docker-compose/docker-compose.yml: `version` is obsolete
[+] Running 3/0
 ✔ Container xnat-docker-compose-xnat-db-1     Created                                                                                                                                                0.0s
 ✔ Container xnat-docker-compose-xnat-web-1    Created                                                                                                                                                0.0s
 ✔ Container xnat-docker-compose-xnat-nginx-1  Recreated                                                                                                                                              0.1s
Attaching to xnat-db-1, xnat-nginx-1, xnat-web-1
xnat-db-1 exited with code 139
xnat-nginx-1  | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
xnat-nginx-1  | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
xnat-nginx-1  | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
xnat-nginx-1  | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
xnat-nginx-1  | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
xnat-nginx-1  | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
xnat-nginx-1  | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
xnat-nginx-1  | /docker-entrypoint.sh: Configuration complete; ready for start up
xnat-nginx-1  | 2024/03/29 19:18:11 [emerg] 1#1: host not found in upstream "xnat-web" in /etc/nginx/nginx.conf:51
xnat-nginx-1  | nginx: [emerg] host not found in upstream "xnat-web" in /etc/nginx/nginx.conf:51
xnat-nginx-1 exited with code 1
xnat-web-1    | psql: could not translate host name "xnat-db" to address: No address associated with hostname
xnat-web-1    | Postgres is unavailable - sleeping
xnat-web-1    | psql: could not translate host name "xnat-db" to address: No address associated with hostname
xnat-web-1    | Postgres is unavailable - sleeping

Docker server environment (please complete the following information):

  • Host OS: OEL8
  • Docker version: 26.0.0
  • docker compose instead of docker-compose
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

1 participant