dzomaya / NUTandRpi

A repo for Network UPS Tools and Eaton Tripp Lite UPS demo scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Apache2 not installing (fix)

Minituff opened this issue · comments

Hello,
Thanks for creating this script. It saved me a ton of time setting up NUT server.

I did run into one issue where apache was not installed with the script, this was verified because the command a2enmod cgi was not found.

To fix, here is what I did:

upsd -c stop

sudo apt-get update
sudo apt-get install apache2

sudo ./nutinstall.sh

I hope this helps anyone who comes across it, or the fix can be added directly into the script.

Thanks for posting the tip and using the project @Minituff !
It's strange that the Apache install didn't work but the rest of the install did. Can you confirm what operating system this occurred on?

I installed this on my Raspberry PI 4 running DietPI (debian)

Thanks! Strange that it didn't work from the script, but I really appreciate you posting the tip!
Others using the project: please comment if you see a similar issue!