henrygd / beszel

Lightweight server monitoring hub with historical data, docker stats, and alerts.
MIT License
2.42k stars 73 forks source link

The henrygd/beszel image on Docker Hub for linux/arm/v7, after deployment, does not retrieve the IP Address, Published Ports, Gateway, or MAC Address. #133

Open haiyangzhijia opened 2 months ago

haiyangzhijia commented 2 months ago

The henrygd/beszel image on Docker Hub for linux/arm/v7, after deployment, does not retrieve the IP Address, Published Ports, Gateway, or MAC Address.

截屏2024-08-25 01 31 58 截屏2024-08-25 01 32 52

logs: database/sql.(*DB).connectionOpener(0x55d0148, {0x17dca30, 0x55c30e0}) /usr/local/go/src/database/sql/sql.go:1253 +0x9c fp=0x41d3fdc sp=0x41d3fa0 pc=0x1f42ec database/sql.OpenDB.gowrap1() /usr/local/go/src/database/sql/sql.go:833 +0x38 fp=0x41d3fec sp=0x41d3fdc pc=0x1f25a8 runtime.goexit({}) /usr/local/go/src/runtime/asm_arm.s:884 +0x4 fp=0x41d3fec sp=0x41d3fec pc=0x94014 created by database/sql.OpenDB in goroutine 1 /usr/local/go/src/database/sql/sql.go:833 +0x13c goroutine 22 gp=0x4002fc8 m=nil [select]: runtime.gopark(0x16369e0, 0x0, 0x9, 0x3, 0x1) /usr/local/go/src/runtime/proc.go:424 +0x104 fp=0x41d46f4 sp=0x41d46e0 pc=0x8c778 runtime.selectgo(0x41d47cc, 0x41d47c4, 0x0, 0x0, 0x2, 0x1) /usr/local/go/src/runtime/select.go:335 +0xb68 fp=0x41d47a0 sp=0x41d46f4 pc=0x66498 database/sql.(*DB).connectionOpener(0x55d01e8, {0x17dca30, 0x55c3110}) /usr/local/go/src/database/sql/sql.go:1253 +0x9c fp=0x41d47dc sp=0x41d47a0 pc=0x1f42ec database/sql.OpenDB.gowrap1() /usr/local/go/src/database/sql/sql.go:833 +0x38 fp=0x41d47ec sp=0x41d47dc pc=0x1f25a8 runtime.goexit({}) /usr/local/go/src/runtime/asm_arm.s:884 +0x4 fp=0x41d47ec sp=0x41d47ec pc=0x94014 created by database/sql.OpenDB in goroutine 1 /usr/local/go/src/database/sql/sql.go:833 +0x13c goroutine 23 gp=0x40030e8 m=nil [select]: runtime.gopark(0x16369e0, 0x0, 0x9, 0x3, 0x1) /usr/local/go/src/runtime/proc.go:424 +0x104 fp=0x41d4ef4 sp=0x41d4ee0 pc=0x8c778 runtime.selectgo(0x41d4fcc, 0x41d4fc4, 0x0, 0x0, 0x2, 0x1) /usr/local/go/src/runtime/select.go:335 +0xb68 fp=0x41d4fa0 sp=0x41d4ef4 pc=0x66498 database/sql.(*DB).connectionOpener(0x55d0288, {0x17dca30, 0x55c3140}) /usr/local/go/src/database/sql/sql.go:1253 +0x9c fp=0x41d4fdc sp=0x41d4fa0 pc=0x1f42ec database/sql.OpenDB.gowrap1() /usr/local/go/src/database/sql/sql.go:833 +0x38 fp=0x41d4fec sp=0x41d4fdc pc=0x1f25a8 runtime.goexit({}) /usr/local/go/src/runtime/asm_arm.s:884 +0x4 fp=0x41d4fec sp=0x41d4fec pc=0x94014 created by database/sql.OpenDB in goroutine 1 /usr/local/go/src/database/sql/sql.go:833 +0x13c goroutine 24 gp=0x4003208 m=nil [select]: runtime.gopark(0x16369e0, 0x0, 0x9, 0x3, 0x1) /usr/local/go/src/runtime/proc.go:424 +0x104 fp=0x41d56f8 sp=0x41d56e4 pc=0x8c778 runtime.selectgo(0x41d57dc, 0x41d57c8, 0x0, 0x0, 0x2, 0x1) /usr/local/go/src/runtime/select.go:335 +0xb68 fp=0x41d57a4 sp=0x41d56f8 pc=0x66498 github.com/pocketbase/pocketbase/core.(*BaseApp).initLogger.func3() /go/pkg/mod/github.com/pocketbase/pocketbase@v0.22.19/core/base.go:1285 +0x9c fp=0x41d57ec sp=0x41d57a4 pc=0xd853d8 runtime.goexit({}) /usr/local/go/src/runtime/asm_arm.s:884 +0x4 fp=0x41d57ec sp=0x41d57ec pc=0x94014 created by github.com/pocketbase/pocketbase/core.(*BaseApp).initLogger in goroutine 1 /go/pkg/mod/github.com/pocketbase/pocketbase@v0.22.19/core/base.go:1281 +0x328 goroutine 49 gp=0x4003328 m=nil [select, locked to thread]: runtime.gopark(0x16369e0, 0x0, 0x9, 0x3, 0x1) /usr/local/go/src/runtime/proc.go:424 +0x104 fp=0x41d5eec sp=0x41d5ed8 pc=0x8c778 runtime.selectgo(0x41d5fd8, 0x41d5fc0, 0x0, 0x0, 0x2, 0x1) /usr/local/go/src/runtime/select.go:335 +0xb68 fp=0x41d5f98 sp=0x41d5eec pc=0x66498 runtime.ensureSigM.func1() /usr/local/go/src/runtime/signal_unix.go:1060 +0x1b8 fp=0x41d5fec sp=0x41d5f98 pc=0x833ec runtime.goexit({}) /usr/local/go/src/runtime/asm_arm.s:884 +0x4 fp=0x41d5fec sp=0x41d5fec pc=0x94014 created by runtime.ensureSigM in goroutine 27 /usr/local/go/src/runtime/signal_unix.go:1043 +0xf8 goroutine 26 gp=0x4003448 m=nil [select]: runtime.gopark(0x16369e0, 0x0, 0x9, 0x3, 0x1) /usr/local/go/src/runtime/proc.go:424 +0x104 fp=0x404fed8 sp=0x404fec4 pc=0x8c778 runtime.selectgo(0x404ffcc, 0x404ffa8, 0x0, 0x0, 0x2, 0x1) /usr/local/go/src/runtime/select.go:335 +0xb68 fp=0x404ff84 sp=0x404fed8 pc=0x66498 database/sql.(*DB).connectionCleaner(0x55d00a8, 0x29e8d60800) /usr/local/go/src/database/sql/sql.go:1096 +0xe0 fp=0x404ffdc sp=0x404ff84 pc=0x1f3754 database/sql.(*DB).startCleanerLocked.gowrap1() /usr/local/go/src/database/sql/sql.go:1083 +0x38 fp=0x404ffec sp=0x404ffdc pc=0x1f3648 runtime.goexit({}) /usr/local/go/src/runtime/asm_arm.s:884 +0x4 fp=0x404ffec sp=0x404ffec pc=0x94014 created by database/sql.(*DB).startCleanerLocked in goroutine 1 /usr/local/go/src/database/sql/sql.go:1083 +0x20c goroutine 27 gp=0x4003568 m=nil [chan receive]: runtime.gopark(0x163683c, 0x58000b4, 0xe, 0x7, 0x2) /usr/local/go/src/runtime/proc.go:424 +0x104 fp=0x4050770 sp=0x405075c pc=0x8c778 runtime.chanrecv(0x5800080, 0x0, 0x1) /usr/local/go/src/runtime/chan.go:639 +0x4e0 fp=0x40507ac sp=0x4050770 pc=0x18650 runtime.chanrecv1(0x5800080, 0x0) /usr/local/go/src/runtime/chan.go:489 +0x20 fp=0x40507c0 sp=0x40507ac pc=0x18140 github.com/pocketbase/pocketbase.(*PocketBase).Execute.func1() /go/pkg/mod/github.com/pocketbase/pocketbase@v0.22.19/pocketbase.go:162 +0x9c fp=0x40507ec sp=0x40507c0 pc=0xe6038c runtime.goexit({}) /usr/local/go/src/runtime/asm_arm.s:884 +0x4 fp=0x40507ec sp=0x40507ec pc=0x94014 created by github.com/pocketbase/pocketbase.(*PocketBase).Execute in goroutine 1 /go/pkg/mod/github.com/pocketbase/pocketbase@v0.22.19/pocketbase.go:159 +0xb4 goroutine 36 gp=0x4083688 m=4 mp=0x4080008 [syscall]: runtime.notetsleepg(0x2087790, 0xffffffffffffffff) /usr/local/go/src/runtime/lock_futex.go:246 +0x24 fp=0x57cc7c0 sp=0x57cc7a8 pc=0x1da18 os/signal.signal_recv() /usr/local/go/src/runtime/sigqueue.go:152 +0x34 fp=0x57cc7e0 sp=0x57cc7c0 pc=0x8eae0 os/signal.loop() /usr/local/go/src/os/signal/signal_unix.go:23 +0x14 fp=0x57cc7ec sp=0x57cc7e0 pc=0x2253f4 runtime.goexit({}) /usr/local/go/src/runtime/asm_arm.s:884 +0x4 fp=0x57cc7ec sp=0x57cc7ec pc=0x94014 created by os/signal.Notify.func1.1 in goroutine 27 /usr/local/go/src/os/signal/signal.go:151 +0x28

henrygd commented 2 months ago

Thanks for letting me know.

For now you can try installing the binary with the install script.

After the docker image is fixed, you can export / import your data to the container if you want to switch.

I don't have an arm7 device immediately available to me, so it may be a while before I can look at it.