MauriceNino / dashdot

A simple, modern server dashboard, primarily used by smaller private servers
https://getdashdot.com/
MIT License
2.53k stars 95 forks source link

[Bug] ISCSI drives not populating #1040

Closed darklogiccc closed 6 months ago

darklogiccc commented 6 months ago

Description of the bug

ISCSI drives are not populating on the software. I'm not sure if it's a bug or it just isn't a feature. I am also having false reporting of the amount of RAM (240GB) and my local drives. (doesn't show correct drives, i think its picking up a system drive) image image

How to reproduce

while running it.

Relevant log output

2024-02-06 23:59:21 listening on *:3001
2024-02-06 23:59:26 Using default network interface "eth0"
2024-02-06 23:59:26 Using host os version from "/mnt/host/etc/os-release"
2024-02-06 23:59:26 Static Server Info: {
2024-02-06 23:59:26   os: {
2024-02-06 23:59:26     arch: 'x64',
2024-02-06 23:59:26     distro: 'unknown',
2024-02-06 23:59:26     kernel: '6.4.16-linuxkit',
2024-02-06 23:59:26     platform: 'linux',
2024-02-06 23:59:26     release: 'unknown',
2024-02-06 23:59:26     uptime: 173747.3,
2024-02-06 23:59:26     dash_version: '5.8.3',
2024-02-06 23:59:26     dash_buildhash: 'f7ac2728b89a6c75502c9c736c46a94ff386889b'
2024-02-06 23:59:26   },
2024-02-06 23:59:26   cpu: {
2024-02-06 23:59:26     brand: 'Intel',
2024-02-06 23:59:26     model: 'Xeon® E5-2670 0',
2024-02-06 23:59:26     cores: 16,
2024-02-06 23:59:26     ecores: 0,
2024-02-06 23:59:26     pcores: 16,
2024-02-06 23:59:26     threads: 32,
2024-02-06 23:59:26     frequency: NaN
2024-02-06 23:59:26   },
2024-02-06 23:59:26   ram: {
2024-02-06 23:59:26     size: 2044407808,
2024-02-06 23:59:26     layout: [
2024-02-06 23:59:26       {
2024-02-06 23:59:26         brand: 'Microsoft Corporation',
2024-02-06 23:59:26         type: 'Unknown',
2024-02-06 23:59:26         frequency: NaN
2024-02-06 23:59:26       },
2024-02-06 23:59:26       {
2024-02-06 23:59:26         brand: 'Microsoft Corporation',
2024-02-06 23:59:26         type: 'Unknown',
2024-02-06 23:59:26         frequency: NaN
2024-02-06 23:59:26       }
2024-02-06 23:59:26     ]
2024-02-06 23:59:26   },
2024-02-06 23:59:26   storage: [
2024-02-06 23:59:26     {
2024-02-06 23:59:26       size: 68719476736,
2024-02-06 23:59:26       disks: [ { device: 'sda', brand: 'Msft', type: 'HD' } ]
2024-02-06 23:59:26     }
2024-02-06 23:59:26   ],
2024-02-06 23:59:26   network: {
2024-02-06 23:59:26     interfaceSpeed: 10000,
2024-02-06 23:59:26     speedDown: 0,
2024-02-06 23:59:26     speedUp: 0,
2024-02-06 23:59:26     lastSpeedTest: 0,
2024-02-06 23:59:26     type: 'TAP',
2024-02-06 23:59:26     publicIp: ''
2024-02-06 23:59:26   },
2024-02-06 23:59:26   gpu: { layout: [] },
2024-02-06 23:59:26   config: {
2024-02-06 23:59:26     port: 3001,
2024-02-06 23:59:26     running_in_docker: true,
2024-02-06 23:59:26     accept_ookla_eula: false,
2024-02-06 23:59:26     use_network_interface: undefined,
2024-02-06 23:59:26     speed_test_from_path: undefined,
2024-02-06 23:59:26     fs_device_filter: [],
2024-02-06 23:59:26     fs_type_filter: [
2024-02-06 23:59:26       'cifs',
2024-02-06 23:59:26       '9p',
2024-02-06 23:59:26       'fuse.rclone',
2024-02-06 23:59:26       'fuse.mergerfs',
2024-02-06 23:59:26       'nfs4',
2024-02-06 23:59:26       'iso9660',
2024-02-06 23:59:26       'fuse.shfs',
2024-02-06 23:59:26       'autofs'
2024-02-06 23:59:26     ],
2024-02-06 23:59:26     fs_virtual_mounts: [],
2024-02-06 23:59:26     disable_integrations: false,
2024-02-06 23:59:26     show_dash_version: 'icon_hover',
2024-02-06 23:59:26     show_host: false,
2024-02-06 23:59:26     custom_host: undefined,
2024-02-06 23:59:26     page_title: 'dash.',
2024-02-06 23:59:26     use_imperial: false,
2024-02-06 23:59:26     network_speed_as_bytes: false,
2024-02-06 23:59:26     always_show_percentages: false,
2024-02-06 23:59:26     enable_cpu_temps: false,
2024-02-06 23:59:26     cpu_temps_mode: 'avg',
2024-02-06 23:59:26     widget_list: [ 'os', 'cpu', 'storage', 'ram', 'network' ],
2024-02-06 23:59:26     os_label_list: [ 'os', 'arch', 'up_since' ],
2024-02-06 23:59:26     cpu_label_list: [ 'brand', 'model', 'cores', 'threads', 'frequency' ],
2024-02-06 23:59:26     storage_label_list: [ 'brand', 'type', 'size', 'raid' ],
2024-02-06 23:59:26     ram_label_list: [ 'brand', 'type', 'size', 'frequency' ],
2024-02-06 23:59:26     network_label_list: [ 'type', 'speed_up', 'speed_down', 'interface_speed' ],
2024-02-06 23:59:26     gpu_label_list: [ 'brand', 'model', 'memory' ],
2024-02-06 23:59:26     os_widget_grow: 2.5,
2024-02-06 23:59:26     os_widget_min_width: 300,
2024-02-06 23:59:26     cpu_widget_grow: 4,
2024-02-06 23:59:26     cpu_widget_min_width: 500,
2024-02-06 23:59:26     cpu_shown_datapoints: 20,
2024-02-06 23:59:26     cpu_poll_interval: 1000,
2024-02-06 23:59:26     cpu_cores_toggle_mode: 'toggle',
2024-02-06 23:59:26     storage_widget_items_per_page: 3,
2024-02-06 23:59:26     storage_widget_grow: 3.5,
2024-02-06 23:59:26     storage_widget_min_width: 500,
2024-02-06 23:59:26     storage_poll_interval: 60000,
2024-02-06 23:59:26     ram_widget_grow: 4,
2024-02-06 23:59:26     ram_widget_min_width: 500,
2024-02-06 23:59:26     ram_shown_datapoints: 20,
2024-02-06 23:59:26     ram_poll_interval: 1000,
2024-02-06 23:59:26     speed_test_interval: 240,
2024-02-06 23:59:26     speed_test_interval_cron: undefined,
2024-02-06 23:59:26     network_widget_grow: 6,
2024-02-06 23:59:26     network_widget_min_width: 500,
2024-02-06 23:59:26     network_shown_datapoints: 20,
2024-02-06 23:59:26     network_poll_interval: 1000,
2024-02-06 23:59:26     gpu_widget_grow: 6,
2024-02-06 23:59:26     gpu_widget_min_width: 700,
2024-02-06 23:59:26     gpu_shown_datapoints: 20,
2024-02-06 23:59:26     gpu_poll_interval: 1000,
2024-02-06 23:59:26     override: {
2024-02-06 23:59:26       os: undefined,
2024-02-06 23:59:26       arch: undefined,
2024-02-06 23:59:26       cpu_brand: undefined,
2024-02-06 23:59:26       cpu_model: undefined,
2024-02-06 23:59:26       cpu_cores: undefined,
2024-02-06 23:59:26       cpu_threads: undefined,
2024-02-06 23:59:26       cpu_frequency: undefined,
2024-02-06 23:59:26       ram_brand: undefined,
2024-02-06 23:59:26       ram_size: undefined,
2024-02-06 23:59:26       ram_type: undefined,
2024-02-06 23:59:26       ram_frequency: undefined,
2024-02-06 23:59:26       network_type: undefined,
2024-02-06 23:59:26       network_speed_up: undefined,
2024-02-06 23:59:26       network_speed_down: undefined,
2024-02-06 23:59:26       network_interface_speed: undefined,
2024-02-06 23:59:26       network_public_ip: undefined,
2024-02-06 23:59:26       storage_brands: {},
2024-02-06 23:59:26       storage_sizes: {},
2024-02-06 23:59:26       storage_types: {},
2024-02-06 23:59:26       gpu_brands: [],
2024-02-06 23:59:26       gpu_models: [],
2024-02-06 23:59:26       gpu_memories: []
2024-02-06 23:59:26     }
2024-02-06 23:59:26   }
2024-02-06 23:59:26 }
2024-02-06 23:59:26 Running speed-test (this may take a few minutes)...
2024-02-06 23:59:26 First measurement [CPU]: [
2024-02-06 23:59:26   { load: 0.23294301161451628, temp: 0, core: 0 },
2024-02-06 23:59:26   { load: 0.17709342442937506, temp: 0, core: 1 },
2024-02-06 23:59:26   { load: 0.30551400898212683, temp: 0, core: 2 },
2024-02-06 23:59:26   { load: 0.1413438795456654, temp: 0, core: 3 },
2024-02-06 23:59:26   { load: 0.29334885968063623, temp: 0, core: 4 },
2024-02-06 23:59:26   { load: 0.1304803157972634, temp: 0, core: 5 },
2024-02-06 23:59:26   { load: 0.29378269345841296, temp: 0, core: 6 },
2024-02-06 23:59:26   { load: 0.12049715658382354, temp: 0, core: 7 },
2024-02-06 23:59:26   { load: 0.29506107176483337, temp: 0, core: 8 },
2024-02-06 23:59:26   { load: 0.11965661660494102, temp: 0, core: 9 },
2024-02-06 23:59:26   { load: 0.29093231378537143, temp: 0, core: 10 },
2024-02-06 23:59:26   { load: 0.11885256403058808, temp: 0, core: 11 },
2024-02-06 23:59:26   { load: 0.2877307549953608, temp: 0, core: 12 },
2024-02-06 23:59:26   { load: 0.12653405918762634, temp: 0, core: 13 },
2024-02-06 23:59:26   { load: 0.28477586431790913, temp: 0, core: 14 },
2024-02-06 23:59:26   { load: 0.14246788194254442, temp: 0, core: 15 },
2024-02-06 23:59:26   { load: 0.3119009950262801, temp: 0, core: 16 },
2024-02-06 23:59:26   { load: 0.12323447456068605, temp: 0, core: 17 },
2024-02-06 23:59:26   { load: 0.27868504994386606, temp: 0, core: 18 },
2024-02-06 23:59:26   { load: 0.11061348828165507, temp: 0, core: 19 },
2024-02-06 23:59:26   { load: 0.27890594373742034, temp: 0, core: 20 },
2024-02-06 23:59:26   { load: 0.08183601936336712, temp: 0, core: 21 },
2024-02-06 23:59:26   { load: 0.26558509036092515, temp: 0, core: 22 },
2024-02-06 23:59:26   { load: 0.08617705227385533, temp: 0, core: 23 },
2024-02-06 23:59:26   { load: 0.25129229618407656, temp: 0, core: 24 },
2024-02-06 23:59:26   { load: 0.08191522729690803, temp: 0, core: 25 },
2024-02-06 23:59:26   { load: 0.2917452512703971, temp: 0, core: 26 },
2024-02-06 23:59:26   { load: 0.08579136445232137, temp: 0, core: 27 },
2024-02-06 23:59:26   { load: 0.27046250551773243, temp: 0, core: 28 },
2024-02-06 23:59:26   { load: 0.08866595223403943, temp: 0, core: 29 },
2024-02-06 23:59:26   { load: 0.26208312793128197, temp: 0, core: 30 },
2024-02-06 23:59:26   { load: 0.08183981193942393, temp: 0, core: 31 }
2024-02-06 23:59:26 ]
2024-02-06 23:59:26 First measurement [Network]: { up: 0, down: 0 }
2024-02-06 23:59:26 First measurement [Storage]: [ 7299350528 ]
2024-02-06 23:59:26 First measurement [RAM]: 1417330688
2024-02-06 23:59:47 Speed-test completed successfully [speedtest-cli] {
2024-02-06 23:59:47   speedDown: 80307197.92453508,
2024-02-06 23:59:47   speedUp: 160929188.08967724,
2024-02-06 23:59:47   publicIp: undefined
2024-02-06 23:59:47 }

Info output of dashdot cli

/app # yarn cli info
INFO
=========
Yarn: 3.7.0
Node: v20.11.0
Dash: 5.8.3

Cwd: /app
Hash: f7ac2728b89a6c75502c9c736c46a94ff386889b
Platform: Linux ee982755daca 6.4.16-linuxkit #1 SMP PREEMPT_DYNAMIC Tue Oct 10 20:42:40 UTC 2023 x86_64 Linux
Docker image: base
In Docker: true
In Docker (env): true
In Podman: false

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

Where is your instance running?

Windows Server

Additional context

Get-WmiObject Win32_Volume | Format-Table Name, Label, FreeSpace, Capacity

Name Label FreeSpace Capacity


\?\Volume{79036556-701b-42b1-9963-8b2eb602e47a}\ Recovery 95522816 523235328 C:\ SSD System 1431762841600 1919069188096 D:\ SAS Movies 2227757584384 2399257227264 F:\ NAS01 3603917950976 3924507488256 G:\ NAS02 2796705595392 9547693420544 I:\ NAS04 62070618128384 70368725286912 J:\ NAS05 68693587329024 70368725286912 K:\ NAS06 70368041762816 70368725286912 H:\ NAS03 3144006422528 7637506715648 E:\ NAS00 211421102080 2935591268352 \?\Volume{ccf3986c-25b1-47ae-b9b7-2e0471b3edb1}\ 73486336 100663296 B:\

MauriceNino commented 6 months ago

It seems like you are using Docker for Desktop on a Windows Machine. That is unfortunately not supported, as it cannot pass all the relevant system information through WSL to the container.

You will have to use from-source installation option (Doc).