Skip to content

[Bug]: Critical error in log after upgrade to 4.0.0 - /var/lib/nginx/state/nginx-mgmt-state failed (2: No such file or directory)Β #7322

@anderius

Description

@anderius

Version

4.0.0

What Kubernetes platforms are you running on?

AKS Azure

Steps to reproduce

We are running Nginx Ingress Controller 4.0.0 with NAP V5, installed with Helm chart 2.0.0.

After upgrading to 4.0.0, we get the following error in the logs on each restart of the container:

2025/02/07 09:56:41 [crit] 40#40: open() "/var/lib/nginx/state/nginx-mgmt-state" failed (2: No such file or directory)

It is marked as critical (so it triggers our alerts), but we have not yet detected a consequence.

What is the consequences? And can we get rid of the error?

There is no folder /var/lib/nginx/state at all inside the container. We run read-only file system, if that is related, but /var/lib/nginx/ is writable.

Metadata

Metadata

Assignees

Labels

backlogPull requests/issues that are backlog itemsbugAn issue reporting a potential bug

Type

No type

Projects

Status

Done πŸš€

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions