tteck / Proxmox

Proxmox VE Helper-Scripts
https://Helper-Scripts.com
MIT License
11.68k stars 1.81k forks source link

Add Peanut script #3185

Closed remz1337 closed 2 weeks ago

remz1337 commented 2 weeks ago

I wanted to make you aware that I am meticulous when it comes to merging code into the main branch, so please don't take it personally if I reject your request.

Description

This PR adds script for the Peanut app (web dashboard for NUT) https://github.com/Brandawg93/PeaNUT

Type of change

remz1337 commented 2 weeks ago

Thanks for the feedback. Addressed and tested successfully

OddSquirrel commented 2 weeks ago

Working just fine, but maybe a quick hint on the website would be in order that additional settings need to be made in /etc/systemd/system/peanut.service. Otherwise, folks might end up being confused when they only get an error message after visiting the proposed URL. 😎

OddSquirrel commented 2 weeks ago

Thanks for the feedback. Addressed and tested successfully

@remz1337 Did you ever manage to see a persistent graph? For some reason, that window is always blank when I open the website—just like with the original Docker version, which is the reason I switched to this LXC in the first place. 🙈

remz1337 commented 2 weeks ago

No, the data is not persisted. I think there's already a discussion about that on the official repo

remz1337 commented 2 weeks ago

Working just fine, but maybe a quick hint on the website would be in order that additional settings need to be made in /etc/systemd/system/peanut.service. Otherwise, folks might end up being confused when they only get an error message after visiting the proposed URL. 😎

@tteck One would need to configure NUT (files in /etc/nut) and update the peanut service environment variables (in /etc/systemd/system/peanut.service). Can I help you update the installation instruction on your website?