Skip to content

[Console]: Getting database error while fetching AMT hardware info #733

@amarnath-ac

Description

@amarnath-ac

In console, Getting database error while fetching AMT hardware info.
AMT hardware info output:
curl -s http://localhost:8181/api/v1/amt/hardwareInfo/ | jq .
{
"error": "database error",
"message": "database error"
}
Also, observed same issue with other AMT API's.

curl -s http://localhost:8181/api/v1/amt/features/ | jq .
{
"error": "database error",
"message": "database error"
}

OS: Ubuntu 22.04.5 LTS

Analysis:
Recent database migration added nullable password columns, but the Go code was scanning directly into string types and attempting decryption on empty values which is leading to database error. mpspassword and mebxpassword are empty.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

In Progress

Status

Q1 2026 (Current)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions