Unable to access mirror registry on port 8443 due to an error "open() "/var/log/nginx/error.log" failed (13: Permission denied")

Solution Verified - Updated -

Issue

  • Attempting to access the registry using curl returned a "Connection refused" error.
     # curl -Ikv  https://<registry-name>:8443
     ...
     ...
     ...
     curl: (7) Failed to connect to <registry-name> port 8443: Connection refused
  • The quay-app container would start, but soon the nginx process inside it would crash with "Permission denied" errors trying to access its log file.
nginx stderr | nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
nginx stderr | 2025/04/05 17:49:50 [emerg] 72#0: open() "/var/log/nginx/error.log" failed (13: Permission denied)
nginx stderr | nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
nginx stderr | 2025/04/05 17:49:51 [emerg] 100#0: open() "/var/log/nginx/error.log" failed (13: Permission denied)

Environment

  • Red Hat Quay

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content