Panel: Panel is not reading disk usage for servers correctly

Created on 4 Oct 2020  路  4Comments  路  Source: pterodactyl/panel

Background (please complete the following information):

  • Panel or Daemon: Panel
  • Version of Panel/Daemon: 1.0.0-rc.7
  • Server's OS: Debian 10 (buster)
  • Your Computer's OS & Browser: Brave V1.14.84

Describe the bug
Frontend of the panel is showing a disk usage of 0kb for server when they do have data on and have been installed.
PHP version: 7.4.10
Image

To Reproduce
Go to any server on the frontend of the panel and it will display wrong disk usage.

Expected behavior
Panel should be showing disk usage for the server.

bug

Most helpful comment

Yes, I am aware of this. It simply got forgotten in the big filesystem change to wings. Literally anything requesting server disk usage will get 0 as the response.

All 4 comments

I have a similar issue where some of my servers are showing incorrect disk usage, example ~10GB instead of the 65GB it actually is. And because of the wrong reporting the can exceed the hard limit.

Running Linux based, Pterodactyl panel version 0.7.18 and Daemon version 0.6.13

I think its fitting to jump on here.

I am working on an API warpper right now and the Resource usage curl is also giving out 0kB on working and running Servers .

`

    "current_state": "running",
    "is_suspended": false,
    "resources": {
        "memory_bytes": 1352216576,
        "cpu_absolute": 0.253,
        "disk_bytes": 0,
        "network_rx_bytes": 2509690,
        "network_tx_bytes": 2509690
    }

`

Yes, I am aware of this. It simply got forgotten in the big filesystem change to wings. Literally anything requesting server disk usage will get 0 as the response.

I am having a similar issue, However mine seems to be only related to my Centos Installs

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dennorske picture dennorske  路  4Comments

WeatherSquad picture WeatherSquad  路  3Comments

Doc94 picture Doc94  路  4Comments

stijnb1234 picture stijnb1234  路  3Comments

DaneEveritt picture DaneEveritt  路  4Comments