Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] DASHDOT_OVERRIDE_STORAGE_TYPES does not rename DASHDOT_FS_VIRTUAL_MOUNTS #1090

Open
leitenky opened this issue Feb 22, 2025 · 0 comments

Comments

@leitenky
Copy link

Description of the bug

When using the variable DASHDOT_FS_VIRTUAL_MOUNTS, to add a virtual mount, and you apply DASHDOT_OVERRIDE_STORAGE_TYPES to the mount, the mount is not renamed in the dashboard

Image

Image

How to reproduce

add a virtual mount using the variable DASHDOT_FS_VIRTUAL_MOUNTS - shfs
rename the virtual mount using DASHDOT_OVERRIDE_STORAGE_TYPES - shfs=Array
The dashboard should show Array, however you still see "shfs

Relevant log output

page_title: 'Jarvis',
    use_imperial: false,
    network_speed_as_bytes: false,
    always_show_percentages: false,
    enable_cpu_temps: true,
    cpu_temps_mode: 'avg',
    widget_list: [ 'os', 'cpu', 'storage', 'ram', 'network' ],
    os_label_list: [ 'os', 'arch', 'up_since' ],
    cpu_label_list: [ 'model', 'cores', 'threads', 'frequency' ],
    storage_label_list: [ 'brand', 'size', 'type' ],
    ram_label_list: [ 'brand', 'size', 'type', 'frequency' ],
    network_label_list: [ 'type', 'speed_up', 'speed_down', 'interface_speed' ],
    gpu_label_list: [ 'brand', ' model', ' memory' ],
    os_widget_grow: 2.5,
    os_widget_min_width: 300,
    cpu_widget_grow: 4,
    cpu_widget_min_width: 500,
    cpu_shown_datapoints: 20,
    cpu_poll_interval: 1000,
    cpu_cores_toggle_mode: 'toggle',
    storage_widget_items_per_page: 3,
    storage_widget_grow: 3.5,
    storage_widget_min_width: 500,
    storage_poll_interval: 60000,
    ram_widget_grow: 4,
    ram_widget_min_width: 500,
    ram_shown_datapoints: 20,
    ram_poll_interval: 1000,
    speed_test_interval: 240,
    speed_test_interval_cron: undefined,
    network_widget_grow: 6,
    network_widget_min_width: 500,
    network_shown_datapoints: 20,
    network_poll_interval: 1000,
    gpu_widget_grow: 6,
    gpu_widget_min_width: 700,
    gpu_shown_datapoints: 20,
    gpu_poll_interval: 1000,
    override: {
      os: undefined,
      arch: undefined,
      cpu_brand: undefined,
      cpu_model: undefined,
      cpu_cores: undefined,
      cpu_threads: undefined,
      cpu_frequency: undefined,
      ram_brand: undefined,
      ram_size: undefined,
      ram_type: undefined,
      ram_frequency: undefined,
      network_type: undefined,
      network_speed_up: undefined,
      network_speed_down: undefined,
      network_interface_speed: undefined,
      network_public_ip: undefined,
      storage_brands: {},
      storage_sizes: {},
      storage_types: { shfs: 'Array', nvme0n1: 'Cache' },
      gpu_brands: [],
      gpu_models: [],
      gpu_memories: []
    }
  }
}
Running speed-test (this may take a few minutes)...
First measurement [Network]: { up: null, down: null }
First measurement [Storage]: [ 609435332608, 38206133084160 ]
First measurement [RAM]: 24119623680
First measurement [CPU]: [
  { load: 6.24778915455257, temp: 31, core: 0 },
  { load: 6.762123832759803, temp: 31, core: 1 },
  { load: 7.355903844904786, temp: 28, core: 2 },
  { load: 5.554912119633569, temp: 28, core: 3 },
  { load: 7.995751873316327, temp: 29, core: 4 },
  { load: 5.221074550946585, temp: 29, core: 5 },
  { load: 8.221897504150956, temp: 34, core: 6 },
  { load: 4.86598536633992, temp: 34, core: 7 },
  { load: 8.736480606687769, temp: 32, core: 8 },
  { load: 5.163905382319902, temp: 32, core: 9 },
  { load: 9.024254059523042, temp: 30, core: 10 },
  { load: 4.938770005886815, temp: 30, core: 11 },
  { load: 7.686522713202981, temp: 29, core: 12 },
  { load: 6.464425096327036, temp: 29, core: 13 },
  { load: 4.8995703941600235, temp: 34, core: 14 },
  { load: 4.229439832670759, temp: 29, core: 15 },
  { load: 4.487850388216499, temp: 28, core: 16 },
  { load: 3.774782071630869, temp: 30, core: 17 },
  { load: 3.1586463472976396, temp: 30, core: 18 },
  { load: 2.8927481123707044, temp: 30, core: 19 }
]
Speed-test completed successfully [ookla] { speedDown: 1906928072, speedUp: 54229688, publicIp: undefined }

Info output of dashdot cli

INFO
=========
Yarn: 3.7.0
Node: v20.17.0
Dash: 5.9.0

Cwd: /app
Hash: 696233f6378f4af6c45bf88144dcec4edb38f8ba
Platform: Linux 7f18dd2a1550 6.6.68-Unraid #1 SMP PREEMPT_DYNAMIC Tue Dec 31 13:42:37 PST 2024 x86_64 GNU/Linux
Docker image: base
In Docker: true
In Docker (env): true
In Podman: false

What browsers are you seeing the problem on?

Chrome

Where is your instance running?

Other (Please specify below)

Additional context

Running on Unraid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant