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

nginx failed to start after run csghub-installer #776

Open
Rader opened this issue Nov 12, 2024 · 1 comment
Open

nginx failed to start after run csghub-installer #776

Rader opened this issue Nov 12, 2024 · 1 comment
Assignees

Comments

@Rader
Copy link
Collaborator

Rader commented Nov 12, 2024

Describe the bug
nginx failed to start after run csghub-installer

Environment
CSGHub Version: latest...
OS: MacOS..
Hardware: 4c8G
Launch: docker compose

To Reproduce
Steps to reproduce the behavior:

  1. clone csghub-install
  2. follow the doc to run startup.sh after change .env
  3. check nginx container health

Expected behavior
nginx start successfully

Screenshots

Additional context
error log of nginx container:

/docker-entrypoint.sh: Configuration complete; ready for start up
nginx: [emerg] host not found in "_CSGHUB_DOMAINPORT" of the "listen" directive in /etc/nginx/nginx.conf:102
@Rader
Copy link
Collaborator Author

Rader commented Nov 12, 2024

i found the startup.sh failed to execute some commands:

[2024-11-12 15:32:57] [NORM] 1.1 Replace server domain and port in nginx.conf for nginx.
./startup.sh: line 76: gsed: command not found
./startup.sh: line 76: gsed: command not found
[2024-11-12 15:32:57] [NORM] 1.2 Replace server domain and port in init_data.json for casdoor.
./startup.sh: line 76: gsed: command not found
./startup.sh: line 76: gsed: command not found
[2024-11-12 15:32:57] [NORM] 1.3 Replace knative gateway host and port in nginx.conf for proxy nginx.
./startup.sh: line 76: gsed: command not found
./startup.sh: line 76: gsed: command not found

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