Stats history no data showing

I can’t figure out why the stats history data isn’t showing up in the latest version and on a Debian 12 VPS. what I know is that I’m using a translation proxy in nginx /etc/nginx/conf.d/webadmin.conf server {
server_name webadmin.vypers.hu;
listen 443 ssl;
ssl_certificate /etc/ssl/vypers/fullchain.pem;
ssl_certificate_key /etc/ssl/vypers/privkey.pem;
ssl_protocols TLSv1.3;
ssl_prefer_server_ciphers off;
location ^~ /.well-known/ {
try_files $uri /;
}
location / {
proxy_pass https://localhost:10000/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $host;
proxy_buffering off;
proxy_request_buffering off;
client_max_body_size 64g;
}
}

I see cloudflare there, are you proxying the server? I ping a differnent ip for webadmin.

You’re using multiple proxies. The IP addresses for that hostname are Cloudflare, which is a proxy.

I don’t think I would expect that many hops through proxies to work easily. I don’t know if it’s impossible, but it’s certainly not easy, as the headers get stripped and munged at each step, and Cloudflare limits you to only a handful of ports. The stats require a WebSocket connection.

Maybe you should remove one of the proxies from the equation, you’ll certainly find it simpler to make it work.

I managed to solve it without touching anything, I only used 2 commands ln -s /usr/bin/perl /usr/local/bin/perl and systemctl restart webmin so I think that’s why it worked


I have a question, I switched from a VPS to a Dedicated server and there is no login and stats history, how can I provide it if possible?

That indicates something bonkers about your installation. I can’t think of any good reason to need that. You’ve installed one or more things from source rather than packages which isn’t a good idea on a production system.

this is how I installed webmin Downloading and Installing | Webmin

Well, I don’t know what the problem could be, but I couldn’t do it any other way, so it stays like this :confused:

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.