Brandawg93 / PeaNUT

A tiny dashboard for Network UPS Tools
Apache License 2.0
323 stars 7 forks source link

Internal Server Error #56

Closed Majoraslayer closed 3 months ago

Majoraslayer commented 3 months ago

I tried following the instructions for install, but get an "Internal Server Error" when accessing it on the assigned port. My Docker run is as follows:

docker run -d \ --name=peanut-monitor \ -e NUT_HOST=192.168.1.40 \ -e NUT_PORT=3493 \ -e WEB_PORT=8080 \ -p 8008:8080 \ --restart unless-stopped \ brandawg93/peanut:latest

The main setting I changed is the port mapping, as I have another service on 8080. I've even tried mapping it to 8008 inside the container as well with the web port matched, but I have the same issue with that. I do have the NUT port 3493 open in my firewall, so that shouldn't be the problem either.

The Reddit post I found announcing this project seems to have other recent comments showing this may not be a unique problem to me. For context, I'm running Debian 12. Webnut uses login info to connect to the UPS stats, is there some way I'm missing that this can be configured for PeaNUT perhaps?

EDIT: I found out it was an issue with my UPS. Linux does NOT like TrippLite, and apparently NUT had stopped polling data while I was working on setting up the docker.