beszel icon indicating copy to clipboard operation
beszel copied to clipboard

[Bug]: TypeError: Cannot read properties of null (reading 'cpu')

Open dtapps opened this issue 4 months ago • 2 comments

Component

Hub

Description

The interface cannot be displayed normally after logging in to the background! The console reported the following error

index-BAaqKLw9.js:9 TypeError: Cannot read properties of null (reading 'cpu') at Object.accessorFn (systems-table-DGvL1PpV.js:2:9422) at Object.getValue (alert-dialog-OoyyRHRC.js:4:6176) at Object.getValue (alert-dialog-OoyyRHRC.js:4:379) at I (systems-table-DGvL1PpV.js:2:12177) at fc (index-BAaqKLw9.js:7:17257) at Fh (index-BAaqKLw9.js:9:44466) at Oh (index-BAaqKLw9.js:9:40090) at Nx (index-BAaqKLw9.js:9:40018) at Vi (index-BAaqKLw9.js:9:39871) at Fc (index-BAaqKLw9.js:9:36186)

Expected Behavior

Display chart normally

Steps to Reproduce

  1. log in

Category

Metrics

Affected Metrics

CPU

OS / Architecture

Debian12 amd64

Beszel version

0.12

Installation method

Docker

Configuration


Hub Logs


Agent Logs


dtapps avatar Aug 21 '25 06:08 dtapps

Thanks for the report. To clarify, is this error on the home page? Do you get an error if you visit a system page (/systems/system-name)?

Is this a new problem after upgrading or is this happening on a new installation?

henrygd avatar Aug 21 '25 18:08 henrygd

that takes a while to happen.

There are other pages that can be displayed normally, except for the page that displays the client.

dtapps avatar Aug 25 '25 03:08 dtapps

I am also running into this issue. It appears on the homepage but not on some specific system pages (can't navigate to them through the UI though, have to manually change the URL). Tried loading beszel latest, 12.5, and 11.0. Error remains.

dmbeta avatar Sep 11 '25 04:09 dmbeta

Not sure exactly why this is happening but I added an additional check in the next release. Hopefully that will fix it.

henrygd avatar Sep 11 '25 19:09 henrygd

Any luck with the latest releases?

henrygd avatar Oct 11 '25 21:10 henrygd

Any luck with the latest releases?

The new version has been displayed normally.

dtapps avatar Oct 12 '25 00:10 dtapps

Thanks, I'll set the issue to resolved but let me know if you see it again 👍

henrygd avatar Oct 12 '25 16:10 henrygd