mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[GH-ISSUE #1679] Dashboard incorrect number of hosts #1253
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#1253
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jayjupdhig on GitHub (Dec 24, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1679
@chaptergy commented on GitHub (Dec 24, 2021):
So just the dashboard shows 0, but when you go to the proxy hosts list everything is correct?
@jayjupdhig commented on GitHub (Dec 24, 2021):
yes. seems so.
@chaptergy commented on GitHub (Dec 30, 2021):
Have a look at your browsers developer console, whether it shows anything that could be helpful. Also have a look at the network tab in your browsers developer console when refreshing the page. It should contain a network request with file name
hosts, and if you click on it you should see it is a request to<domain>/api/reports/hosts. What is the response of this request?@jayjupdhig commented on GitHub (Jan 3, 2022):
Before holidays, i updated it via apt update && apt upgrade... now i came back and wanted to to i again.
but now i see that ALL space on my ~30gb VM HD is used:
when i enter df i get that:
I don't no what this is...
Maybe the log files?
Which is /var/lib/docker/overlay2/c52a5ad4ec466b99391ce1cb4d5227ff32f215473602df5a722be35be7ea48fa/merged which needs 100% ??
Maybe the server was hacked? (has no ssh connetion to port 22 in public internet)
@jayjupdhig commented on GitHub (Jan 3, 2022):
Is your product using log4j? Was i hacked!?!?
@chaptergy commented on GitHub (Jan 3, 2022):
No, nothing used by npm is Java-based so it has nothing to do with log4j. So if you were actually compromised it was most likely due to weak passwords, an insecurely set up server or (though unlikely) due to some unknown vulnerability.
But must likely you weren't hacked. Is there a specific file which is that large? It could be the logs. It so, you would have to create your own logrotate config and mount it into the container. Also have a look at the original logrotate config to see how it is set up by default, and what you can change to have the log files deleted earlier.
And by the way,
apt update && apt upgradedoes not update npm. You have to do that via docker@jayjupdhig commented on GitHub (Jan 3, 2022):
Makes no sense in investigate close before the "off-topic"-Problem is solved...
@jayjupdhig commented on GitHub (Jan 3, 2022):
I also startet a new installation with must current versions (debian , docker, mariadb), but there fails something with db condig in yml file: https://github.com/jc21/nginx-proxy-manager/issues/1720
@jayjupdhig commented on GitHub (Jan 3, 2022):
closed wrongly - now opend again ;-)
@jayjupdhig commented on GitHub (Jan 4, 2022):
closed
@jayjupdhig commented on GitHub (Jan 5, 2022):
What i see is that when i open developer tools then do a browser refresh:
@jayjupdhig commented on GitHub (Jan 5, 2022):
...but nothing with /api/reports/hosts:
@jayjupdhig commented on GitHub (Jan 5, 2022):
[complete new installation with debian 11 as described above.. ]
@jayjupdhig commented on GitHub (Jan 5, 2022):
After adding one (1) "HTTP only" i see:
Does this only work if http instead of https...? Strange..
@chaptergy commented on GitHub (Jan 5, 2022):
Were your screenshots from the network tab taken after the dashboard was loaded while the network tab was open? Because it seems the proxy host page was loaded, not the dashboard.
So it does work for http only hosts, but it is still not counting the https hosts? Or have you only tried http only hosts?
@jayjupdhig commented on GitHub (Jan 5, 2022):
So it does work for http only hosts, but it is still not counting the https hosts?
Yes.
Or have you only tried http only hosts?
No. I have 4 https and 1 http host
@chaptergy commented on GitHub (Jan 5, 2022):
Hm, I'm really not able to replicate it, no matter what combination of https and http hosts I have.
What database are you using? MySQL or SQLite?
@jayjupdhig commented on GitHub (Jan 5, 2022):
SQLite
@chaptergy commented on GitHub (Jan 5, 2022):
Hm, is the incorrect number still the case after a full refresh of the dashboard page? The only thing I can replicate is the number of proxy hosts on the dashboard staying the same after creating one, but updating / being correct after a page reload. I'm assuming that's what you are seeing as well, or some sort of caching issue if a refresh is not helping either.
@jayjupdhig commented on GitHub (Jan 5, 2022):
Shift-F5 for browser refresh (bypass cache in chrome / chromium [so also edge] engine based rowsers) does also not show all 5 hosts on main (entry) page
@chaptergy commented on GitHub (Jan 5, 2022):
Hm, then I'm really at a loss here, I have no clue what might cause something like this
@jayjupdhig commented on GitHub (Jan 5, 2022):
anyway..
@jayjupdhig commented on GitHub (Jan 11, 2022):
Another question HERE: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1736