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 docker image fails on nginx -t with error - unknown directive "root" #10328

Closed
chapsuk opened this issue Aug 18, 2023 · 2 comments
Closed
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-priority needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@chapsuk
Copy link

chapsuk commented Aug 18, 2023

Last few ingress-nginx/nginx docker images cant start and fails test

≻ docker run -it registry.k8s.io/ingress-nginx/nginx:v20230722-86c00a231 nginx -t
nginx: [emerg] unknown directive "root" in /etc/nginx/nginx.conf:44
nginx: configuration file /etc/nginx/nginx.conf test failed

≻ docker run -it registry.k8s.io/ingress-nginx/nginx:v20230623-427f3d2fb nginx -t
nginx: [emerg] unknown directive "root" in /etc/nginx/nginx.conf:44
nginx: configuration file /etc/nginx/nginx.conf test failed

≻ docker run -it registry.k8s.io/ingress-nginx/nginx:v20230527 nginx -t
nginx: [emerg] unknown directive "root" in /etc/nginx/nginx.conf:44
nginx: configuration file /etc/nginx/nginx.conf test failed

≻ docker run -it registry.k8s.io/ingress-nginx/nginx:v20230526 nginx -t
nginx: [emerg] unknown directive "root" in /etc/nginx/nginx.conf:44
nginx: configuration file /etc/nginx/nginx.conf test failed

Last healthy image which i found

≻ docker run -it registry.k8s.io/ingress-nginx/nginx:v20210926-g5662db450 nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

≻ docker run -it registry.k8s.io/ingress-nginx/nginx:v20210926-g5662db450 nginx -v
nginx version: nginx/1.19.9
@chapsuk chapsuk added the kind/bug Categorizes issue or PR as related to a bug. label Aug 18, 2023
@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-priority labels Aug 18, 2023
@chapsuk
Copy link
Author

chapsuk commented Aug 18, 2023

My bad. it's expected for that image
#8624

@chapsuk chapsuk closed this as completed Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-priority needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
Archived in project
Development

No branches or pull requests

2 participants