NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
23.44k stars 2.72k forks source link

Proxy host (on landing page) does not show number of host configured. #2438

Open riddertommie opened 2 years ago

riddertommie commented 2 years ago

Checklist

Describe the bug

If you go to starting page i see '0' host and I have multiple configured.

UPDATE: i made a stream and that one is also not showing.

Nginx Proxy Manager Version

v2.9.19

To Reproduce Steps to reproduce the behavior:

  1. Go to dashboard page and look at [Proxy Hosts] my url is (http://192.168.2.200:8181/nginx/proxy)

Look at the number, with me its '0'

  1. Click on [Proxy Hosts]

Look at the actual configuration more then 5 in my case.

Expected behavior

That the Proxy host on the starting page represent the number of configuration

Screenshots

afbeelding

afbeelding

Operating System

Ubuntu Server

Additional context

I checked with Edge and with Firefox.

wdhdev commented 1 year ago

@riddertommie It does this for me, but then I just refresh the page after going to the home page and it updates.

riddertommie commented 1 year ago

Sorry for the late reaction.

Above does not work.

16-12-2022, quick edit: it seems that it is related to different users.

i have 2 users lets say admin and user.

if i log in with admin i see host numbers etc. (the one made by admin) if i log in with user i don't see them. (i never made any with user)

i just checked the one created by user are not shown by admin and vice versa (with shown i mean off-course that you don't see the host numbers on the main page.

so they only show there own and not added (cumulative) as i would aspect.

Is this design intended?

p.s. user is a administrator and has all administrator permissions.

quick edit 2 (sorry): i think i broken the complete installation now by removing something via user that was configured/added by admin. I get now following error:

nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/npm-5/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/npm-5/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)

and everything stops

github-actions[bot] commented 10 months ago

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

SystemSpam commented 2 months ago

Hello.

I pulled this up, because we have the same "issue"

The Dashboard shows in the summary only the Hosts, the loggedin User added.

That's best practise for restricted Users.

But maybe it would be able to show all Hosts in the overview for Admin users, because You can edit every Host.

image

Maybe a feature for one of the next Versions?

Best regards Robert