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] Docker - DASHDOT_FS_DEVICE_FILTER & DASHDOT_FS_VIRTUAL_MOUNTS not working properly anymore #1079

Open
tuxrinku opened this issue Oct 22, 2024 · 0 comments

Comments

@tuxrinku
Copy link

tuxrinku commented Oct 22, 2024

Description of the bug

I use mergerfs for a bunch of disks to display the total storage. But since the 5.8 version, it's not showing at all. I also noticed that the split view isn't available anymore if I use the DASHDOT_FS_DEVICE_FILTER variable. Maybe it's related ?

How to reproduce

Use both DASHDOT_FS_DEVICE_FILTER and DASHDOT_FS_VIRTUAL_MOUNTS. The virtual mounts aren't showing up in the dashboard.

Relevant log output

listening on *:3001
Using default network interface "enp1s0"
Using host os version from "/mnt/host/etc/os-release"
Static Server Info: {
  os: {
    arch: 'x64',
    distro: 'Ubuntu',
    kernel: '6.11.2-1-liquorix-amd64',
    platform: 'linux',
    release: '24.04.1 LTS',
    uptime: 515205,
    dash_version: '5.7.0',
    dash_buildhash: 'f5c63618c9c2b44a6edbbcd2a350cb70d63c3815'
  },
  cpu: {
    brand: 'Intel',
    model: 'Pentium® Silver N6005',
    cores: 4,
    ecores: 0,
    pcores: 4,
    threads: 4,
    frequency: 3.3
  },
  ram: {
    size: 16611901440,
    layout: [
      { brand: 'Samsung', type: 'DDR4', frequency: 2667 },
      { brand: 'Samsung', type: 'DDR4', frequency: 2667 }
    ]
  },
  storage: [
    {
      size: 1000204886016,
      disks: [ { device: 'nvme0n1', brand: '', type: 'NVMe' } ]
    },
    {
      size: 14801959251968,
      virtual: true,
      disks: [
        {
          device: 'SEAGATE:WDElements3:TOSHIBA_EXT3:WDElements',
          brand: 'SEAGATE:WDElements3:TOSHIBA_EXT3:WDElements',
          type: 'VIRTUAL'
        }
      ]
    },
    {
      size: 14759473623040,
      virtual: true,
      disks: [
        {
          device: 'Firecuda:WDB1:WDB2:HGST:TOSHIBA_HDD:TOSHIBA_EXT2:WDElements2',
          brand: 'Firecuda:WDB1:WDB2:HGST:TOSHIBA_HDD:TOSHIBA_EXT2:WDElements2',
          type: 'VIRTUAL'
        }
      ]
    }
  ],
  network: {
    interfaceSpeed: 1000,
    speedDown: 0,
    speedUp: 0,
    lastSpeedTest: 0,
    type: 'Wired',
    publicIp: ''
  },
  gpu: { layout: [] },
  config: {
    port: 3001,
    running_in_docker: true,
    accept_ookla_eula: false,
    use_network_interface: undefined,
    speed_test_from_path: undefined,
    fs_device_filter: [
      'sda', 'sdb', 'sdc',
      'sdd', 'sde', 'sdf',
      'sdg', 'sdh', 'sdi',
      'sdj', 'sdk'
    ],
    fs_type_filter: [
      'cifs',
      '9p',
      'fuse.rclone',
      'fuse.mergerfs',
      'nfs4',
      'iso9660',
      'fuse.shfs'
    ],
    fs_virtual_mounts: [
      'SEAGATE:WDElements3:TOSHIBA_EXT3:WDElements',
      'Firecuda:WDB1:WDB2:HGST:TOSHIBA_HDD:TOSHIBA_EXT2:WDElements2'
    ],
    disable_integrations: false,
    show_dash_version: 'icon_hover',
    show_host: false,
    custom_host: undefined,
    page_title: 'dash.',
    use_imperial: false,
    network_speed_as_bytes: false,
    always_show_percentages: false,
    enable_cpu_temps: true,
    cpu_temps_mode: 'max',
    widget_list: [ 'os', 'cpu', 'storage', 'ram', 'network' ],
    os_label_list: [ 'os', 'arch', 'up_since' ],
    cpu_label_list: [ 'brand', 'model', 'cores', 'threads', 'frequency' ],
    storage_label_list: [ 'brand', 'type', 'size', 'raid' ],
    ram_label_list: [ 'brand', 'type', 'size', '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: {},
      gpu_brands: [],
      gpu_models: [],
      gpu_memories: []
    }
  }
}
Running speed-test (this may take a few minutes)...
First measurement [Network]: { up: 0, down: 0 }
First measurement [RAM]: 7426809856
First measurement [CPU]: [
  { load: 18.628436237592727, temp: 48, core: 0 },
  { load: 12.326287268865958, temp: 48, core: 1 },
  { load: 8.515110168568947, temp: 48, core: 2 },
  { load: 8.022779532117584, temp: 49, core: 3 }
]
First measurement [Storage]: [ 154355499008, 13163649425408, 13335861612544 ]
Error: Command failed: speedtest-cli --json --secure
ERROR: Unable to connect to servers to test latency.

    at ChildProcess.exithandler (node:child_process:422:12)
    at ChildProcess.emit (node:events:518:28)
    at maybeClose (node:internal/child_process:1105:16)
    at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
  code: 1,
  killed: false,
  signal: null,
  cmd: 'speedtest-cli --json --secure',
  stdout: '',
  stderr: 'ERROR: Unable to connect to servers to test latency.\n'
}

Info output of dashdot cli

yarn run v1.22.19
$ node dist/apps/cli/main.js info
INFO
=========
Yarn: 1.22.19
Node: v20.11.0
Dash: 5.7.0

Cwd: /app
Hash: f5c63618c9c2b44a6edbbcd2a350cb70d63c3815
In Docker: true
In Podman: false
In Docker (env): true
Done in 0.40s.

What browsers are you seeing the problem on?

No response

Where is your instance running?

Host : Ubuntu 24.04 / Intel N6005

Additional context

The attached log is currently working on 5.7, but doesn't work on 5.8 or 5.9

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