nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

Filename discrepancy , proxy-host-12_access.log vs proxy-host-12.log

Open xavier-hernandez opened this issue 3 years ago • 2 comments

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug

I created a docker image that is related to integrating GoAccess with NPM, https://github.com/xavier-hernandez/goaccess-for-nginxproxymanager . Recently I've had 2 users create issues related to my docker image not working for them and it ended up being that their filenames were incorrect. Since I've used NPM and the jc21 image my file names have always been something like this proxy-host-12_access.log.

These 2 users commented that their filenames are more similar to this format proxy-host-12.log. One user has confirmed that they are using justsky/goaccess-for-nginxproxymanager:latest but it's the ARM version running on a raspberry PI.

Could the difference in filename be related to the underlying architecture?

Nginx Proxy Manager Version

Both I and the user, with the problem, are running v2.9.16

Expected behavior

The filename pattern should be the same.

Screenshots

Me

access.log                            proxy-host-12_access.log.1.gz  proxy-host-16_access.log.1.gz  proxy-host-1_error.log.5.gz    proxy-host-24_error.log.2.gz   proxy-host-4_access.log.2.gz  proxy-host-7_error.log.7.gz
default-host_access.log               proxy-host-12_access.log.2.gz  proxy-host-16_access.log.2.gz  proxy-host-1_error.log.6.gz    proxy-host-25_access.log       proxy-host-4_access.log.3.gz  proxy-host-7_error.log.8.gz
default-host_access.log.1.gz          proxy-host-12_access.log.3.gz  proxy-host-16_access.log.3.gz  proxy-host-1_error.log.7.gz    proxy-host-25_access.log.1.gz  proxy-host-4_access.log.4.gz  proxy-host-7_error.log.9.gz
default-host_access.log.2.gz          proxy-host-12_access.log.4.gz  proxy-host-16_access.log.4.gz  proxy-host-1_error.log.8.gz    proxy-host-25_access.log.2.gz  proxy-host-4_error.log        proxy-host-8_access.log

User having the issue

default.log               proxy_host-10.log  proxy_host-1.log  proxy_host-6.log
error.log                 proxy_host-11.log  proxy_host-2.log  proxy_host-7.log
fallback_access.log       proxy_host-12.log  proxy_host-3.log  proxy_host-8.log
fallback_error.log        proxy_host-13.log  proxy_host-4.log  proxy_host-9.log
letsencrypt-requests.log  proxy_host-14.log  proxy_host-5.log

Operating System

ME Ubuntu 20.04.3 LTS (Focal Fossa)

User having the issue RPI

xavier-hernandez avatar Mar 23 '22 00:03 xavier-hernandez

The file name for logging was changed last year by the looks of it here. I'm guessing here, but as the change is in templates, proxies configured since that change will be the new proxy-host format and older proxies the proxy_host format. Suggests you should handle both file naming schemes.

the1ts avatar Apr 02 '22 08:04 the1ts

Issue is now considered stale. If you want to keep it open, please comment :+1:

github-actions[bot] avatar Feb 21 '24 01:02 github-actions[bot]