Skip to content

ContainerErr<ParseStats> - Podman containers #946

@Tchiimy

Description

@Tchiimy

Hi,

I get this parsin error when I try to get the containers informations of my podmans services (docker host set to unix:///run/user/1000/podman/podman.sock)

I set the option "Use podman by default" and the try using sudo is disable because I run podman-compose without sudo.

I get this logs:

[11:21][App][WARNING]
Container ps failed: FormatException: Unexpected end of input (at character 2)
[
 ^

[11:21][Debug]: [WARNING] App: Container ps failed
[11:21][App][WARNING]
Parse docker stats: 
[
 {
  "id": "19fafade3e25",
  "name": "jellyseerr",
  "cpu_time": "1h33m30.165671s",
  "cpu_percent": "1.12%",
  "avg_cpu": "1.12%",
  "mem_usage": "220.6MB / 536.9MB",
  "mem_percent": "41.09%",
  "net_io": "85.2MB / 193.7MB",
  "block_io": "0B / 0B",
  "pids": "23"
 },
 {
  "id": "5054600b0b7d",
  "name": "pihole",
  "cpu_time": "1h5m23.546364s",
  "cpu_percent": "0.78%",
  "avg_cpu": "0.78%",
  "mem_usage": "41.79MB / 8.2GB",
  "mem_percent": "0.51%",
  "net_io": "30.32MB / 34.26MB",
  "block_io": "0B / 0B",
  "pids": "15"
 },
 {
  "id": "7bdcb606fe8c",
  "name": "prowlarr",
  "cpu_time": "9h46m27.752805s",
  "cpu_percent": "7.01%",
  "avg_cpu": "7.01%",
  "mem_usage": "78.93MB / 8.2GB",
  "mem_percent": "0.96%",
  "net_io": "26.12MB / 130.9MB",
  "block_io": "0B / 0B",
  "pids": "25"
 },
 {
  "id": "bf844aaed4ef",
  "name": "heimdall",
  "cpu_time": "9m3.164109s",
  "cpu_percent": "0.11%",
  "avg_cpu": "0.11%",
  "mem_usage": "55.69MB / 536.9MB",
  "mem_percent": "10.37%",
  "net_io": "18.94kB / 92.57kB",
  "block_io": "0B / 0B",
  "pids": "21"
 },
 {
  "id": "e38a65cc079c",
  "name": "flaresolverr",
  "cpu_time": "7m48.9883s",
  "cpu_percent": "0.09%",
  "avg_cpu": "0.09%",
  "mem_usage": "119.5MB / 8.2GB",
  "mem_percent": "1.46%",
  "net_io": "2.112MB / 21.1MB",
  "block_io": "0B / 0B",
  "pids": "7"
 },
 {
  "id": "ff6217fdabca",
  "name": "uptime-kuma",
  "cpu_time": "2h20m32.628346s",
  "cpu_percent": "1.68%",
  "avg_cpu": "1.68%",
  "mem_usage": "127MB / 536.9MB",
  "mem_percent": "23.66%",
  "net_io": "122MB / 3.42GB",
  "block_io": "0B / 0B",
  "pids": "19"
 }
]
: Null check operator used on a null value
[11:21][Debug]: [WARNING] App: Parse docker stats: 
[
 {
  "id": "19fafade3e25",
  "name": "jellyseerr",
  "cpu_time": "1h33m30.165671s",
  "cpu_percent": "1.12%",
  "avg_cpu": "1.12%",
  "mem_usage": "220.6MB / 536.9MB",
  "mem_percent": "41.09%",
  "net_io": "85.2MB / 193.7MB",
  "block_io": "0B / 0B",
  "pids": "23"
 },
 {
  "id": "5054600b0b7d",
  "name": "pihole",
  "cpu_time": "1h5m23.546364s",
  "cpu_percent": "0.78%",
  "avg_cpu": "0.78%",
  "mem_usage": "41.79MB / 8.2GB",
  "mem_percent": "0.51%",
  "net_io": "30.32MB / 34.26MB",
  "block_io": "0B / 0B",
  "pids": "15"
 },
 {
  "id": "7bdcb606fe8c",
  "name": "prowlarr",
  "cpu_time": "9h46m27.752805s",
  "cpu_percent": "7.01%",
  "avg_cpu": "7.01%",
  "mem_usage": "78.93MB / 8.2GB",
  "mem_percent": "0.96%",
  "net_io": "26.12MB / 130.9MB",
  "block_io": "0B / 0B",
  "pids": "25"
 },
 {
  "id": "bf844aaed4ef",
  "name": "heimdall",
  "cpu_time": "9m3.164109s",
  "cpu_percent": "0.11%",
  "avg_cpu": "0.11%",
  "mem_usage": "55.69MB / 536.9MB",
  "mem_percent": "10.37%",
  "net_io": "18.94kB / 92.57kB",
  "block_io": "0B / 0B",
  "pids": "21"
 },
 {
  "id": "e38a65cc079c",
  "name": "flaresolverr",
  "cpu_time": "7m48.9883s",
  "cpu_percent": "0.09%",
  "avg_cpu": "0.09%",
  "mem_usage": "119.5MB / 8.2GB",
  "mem_percent": "1.46%",
  "net_io": "2.112MB / 21.1MB",
  "block_io": "0B / 0B",
  "pids": "7"
 },
 {
  "id": "ff6217fdabca",
  "name": "uptime-kuma",
  "cpu_time": "2h20m32.628346s",
  "cpu_percent": "1.68%",
  "avg_cpu": "1.68%",
  "mem_usage": "127MB / 536.9MB",
  "mem_percent": "23.66%",
  "net_io": "122MB / 3.42GB",
  "block_io": "0B / 0B",
  "pids": "19"
 }
]

In the container UI I get this error:

ContainerErr<ParseStats>: Null check operator used on a null value

Any ideas how I could solve this problem ?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions