NginxProxyManager / NginxProxyManager/nginx-proxy-manager
Dashboard shows 0 proxy hosts for new admin user, while lists shows all as expected
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 34.2k
- Forks
- 3.9k
- Avg merge
- 21h 12m
- Merged PRs (30d)
- 20
Description
Checklist
- Have you pulled and found the error with
jc21/nginx-proxy-manager:latestdocker 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: #1679 exists but was closed probably due to inability to reproduce
Describe the bug
After adding a new admin user account, and logging in with it, the proxy host count on the dashboard is 0, while there are indeed defined proxy hosts. Clicking the icon gets us to the correct list, however, with all hosts shown. Just the dashboard view count is wrong. This has happened on 2/2 deployments within the last week. It might be important to note the following to reproduce: In both cases, the new admin user was added and then immediately a password was set by the original admin user, then logout, login with the new one and the issue appears.
Nginx Proxy Manager Version
v2.9.18
To Reproduce
Steps to reproduce the behavior:
When some proxy hosts are defined and you are logged in with the original admin account and no other users yet exist:
- Add a new admin account
- Set a password for the new admin account
- Log out
- Log in with the new admin account
- The problem should be visible: The Proxy hosts count is 0 when some other number is expected.
- Click on Proxy Hosts
- You should now see what you expect to see in this view - the correct list of defined proxy hosts.
Expected behavior
The expected behavior would be to see the correct count of defined proxy hosts in the dashboard view and not 0.
Screenshots


Here are the two defined admin users: Norbert is the original admin defined after installation.

Operating System
Docker image on Ubuntu (18.04 and 20.04) x86-64
Additional context
Using latest Chrome browser. Did not feel the need to try with others.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by following the listed user-creation and login steps, then compare the dashboard proxy-host count with the Proxy Hosts list. Trace how the dashboard obtains its count and verify the fix by confirming that a new admin sees the correct count while the full list remains accessible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, nginx, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100