Skip to content

"invalid digit found in string" spamming logs #1

@sbach89

Description

@sbach89

I'm using nut_webgui with docker compose on the same VM that nut is installed.

docker-compose.yml

services:
  nutweb:
    image: ghcr.io/superioone/nut_webgui:latest
    container_name: nutweb
    environment:
      - POLL_FREQ=60
      - POLL_INTERVAL=5
      - UPSD_ADDR=127.0.0.1
      - UPSD_USER=admin
      - UPSD_PASS=xxxxx
      - PORT=9000
    restart: unless-stopped
    network_mode: host

When it's running it's spamming the following error every 30 seconds.

ERROR nut_webgui::ups_service::ups_poll_service: Poll service error occurred: ClientError(ParseError("invalid digit found in string"))

as well as, but not as often:

WARN nut_webgui::ups_service::storage_service: Partial update ignored. Ups APC2 does not exists anymore.

I have 2 UPS's classified as 'APC1' and 'APC2'. The webui works, but only APC1 shows up, after about half an hour APC2 shows up, but the ERROR and WARN logs persist. Both UPS's show up with NUT's default CGI page as well as upsc command.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions