[GH-ISSUE #4174] Incorrect number of hosts displayed on dashboard (hosts by other users are ignored) #2707

Open
opened 2026-02-26 07:36:32 +03:00 by kerem · 3 comments
Owner

Originally created by @bakkersjc on GitHub (Nov 20, 2024).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4174

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

The dashboard does not display correct number of hosts.
It only displays the number of hosts that are "owned" by the current user. Entries by other users are not included.

Nginx Proxy Manager Version

2.12.1

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Proxy Hosts'
  2. All hosts are displayed (including those owned by other users)

Expected behavior

Screenshots
image
image

Operating System

Docker version 27.3.1

Additional context

Originally created by @bakkersjc on GitHub (Nov 20, 2024). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4174 <!-- Are you in the right place? - If you are looking for support on how to get your upstream server forwarding, please consider asking the community on Reddit. - If you are writing code changes to contribute and need to ask about the internals of the software, Gitter is the best place to ask. - If you think you found a bug with NPM (not Nginx, or your upstream server or MySql) then you are in the *right place.* --> **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** <!-- A clear and concise description of what the bug is. --> The dashboard does not display correct number of hosts. It only displays the number of hosts that are "owned" by the current user. Entries by other users are not included. **Nginx Proxy Manager Version** <!-- What version of Nginx Proxy Manager is reported on the login page? --> 2.12.1 **To Reproduce** Steps to reproduce the behavior: 1. Go to 'Proxy Hosts' 2. All hosts are displayed (including those owned by other users) **Expected behavior** <!-- A clear and concise description of what you expected to happen. --> **Screenshots** ![image](https://github.com/user-attachments/assets/a53bf377-2282-4048-b0ad-3fdcd76ccfd7) ![image](https://github.com/user-attachments/assets/dedc519b-54b7-4bd4-8f5e-7b5f22ddf160) <!-- If applicable, add screenshots to help explain your problem. --> **Operating System** <!-- Please specify if using a Rpi, Mac, orchestration tool or any other setups that might affect the reproduction of this error. --> Docker version 27.3.1 **Additional context** <!-- Add any other context about the problem here, docker version, browser version, logs if applicable to the problem. Too much info is better than too little. --. Yeah, did the basics: clear cache, icognito, other browser. etc.
Author
Owner

@SystemSpam commented on GitHub (Dec 9, 2024):

I can confirm this behaviour.

However, I would not describe it exclusively as a bug.

It makes perfect sense that users only see their own hosts and therefore only their own hosts are counted in the dashboard.

However, it would be good if administrators (who can see all hosts) could also see all hosts counted in the dashboard.

Perhaps the behaviour of the dashboard for administrator accounts could be adjusted.

<!-- gh-comment-id:2528160825 --> @SystemSpam commented on GitHub (Dec 9, 2024): I can confirm this behaviour. However, I would not describe it exclusively as a bug. It makes perfect sense that users only see their own hosts and therefore only their own hosts are counted in the dashboard. However, it would be good if administrators (who can see all hosts) could also see all hosts counted in the dashboard. Perhaps the behaviour of the dashboard for administrator accounts could be adjusted.
Author
Owner

@github-actions[bot] commented on GitHub (Jun 25, 2025):

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

<!-- gh-comment-id:3002400115 --> @github-actions[bot] commented on GitHub (Jun 25, 2025): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@derRichter commented on GitHub (Sep 18, 2025):

same problem here, the new user hast no count from hosts from other user in his dashboard

<!-- gh-comment-id:3306769934 --> @derRichter commented on GitHub (Sep 18, 2025): same problem here, the new user hast no count from hosts from other user in his dashboard
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#2707
No description provided.