SamTV12345 / PodFetch

A sleek and efficient podcast downloader.
https://samtv12345.github.io/PodFetch
Apache License 2.0
354 stars 26 forks source link

System information page displays error #935

Closed Ethanol6 closed 2 months ago

Ethanol6 commented 2 months ago

Describe the bug

When navigating to the system information page an error is displayed instead of any system information or the usual graphs.

TypeError: Cannot read properties of undefined (reading 'cpu_usage')
    at xl (http://breakfast.lan:9002/ui/assets/SystemInfoPage-im9YKLjh.js:18:40629)
    at Rv (http://breakfast.lan:9002/ui/assets/index-B-TrhKoQ.js:44:19519)
    at cm (http://breakfast.lan:9002/ui/assets/index-B-TrhKoQ.js:46:3139)
    at nC (http://breakfast.lan:9002/ui/assets/index-B-TrhKoQ.js:46:44804)
    at Z_ (http://breakfast.lan:9002/ui/assets/index-B-TrhKoQ.js:46:39766)
    at BN (http://breakfast.lan:9002/ui/assets/index-B-TrhKoQ.js:46:39694)
    at qd (http://breakfast.lan:9002/ui/assets/index-B-TrhKoQ.js:46:39547)
    at bm (http://breakfast.lan:9002/ui/assets/index-B-TrhKoQ.js:46:35914)
    at X_ (http://breakfast.lan:9002/ui/assets/index-B-TrhKoQ.js:46:34865)
    at _ (http://breakfast.lan:9002/ui/assets/index-B-TrhKoQ.js:31:1567)

Reproduction

Pull and spin up the latest docker image. Navigate to the system information page.

System Info

System:
    OS: Linux 5.15 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
    CPU: (8) x64 Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
    Memory: 17.27 GB / 19.39 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 12.22.9 - /usr/bin/node
    npm: 8.5.1 - /usr/bin/npm

Used Package Manager

n/a

Validations