leiweibau / Pi.Alert

Scan the devices connected to your WIFI / LAN and alert you the connection of unknown devices. It also warns if a "always connected" device disconnects. In addition, it is possible to check web services for availability. For this purpose HTTP status codes and the response time of the service are evaluated.
https://leiweibau.net
GNU General Public License v3.0
406 stars 28 forks source link

Ongoing Dietpi Install Issues #217

Closed holocronology closed 8 months ago

holocronology commented 9 months ago

I used the script to install on dietpi and it appeared to work correctly.

However, if I then go to http://[IP]/pialert/ I get a 404 Not Found error.

I then tried to run the Uninstall script and saw this:

image

Leads me to believe that the install script isn't working properly.

Do you need to run it as root or the dietpi user?

leiweibau commented 9 months ago

Did you try http://[IP]/pialert/ ?

holocronology commented 9 months ago

Did you try http://[IP]/pialert/ ?

Yeah, I actually wrote that above but formatting made it unclear.

leiweibau commented 9 months ago

I will evaluate the installation process under DietPi again and, if necessary, point out special hints in a readme

leiweibau commented 9 months ago

I just installed with the script provided on Dietpi, which had pihole also installed, and in install script reported everything OK.

If you plan to install Pi-hole and Pi.Alert, please use the script provided by me to install both. The installation via dietpi-software will break the installation.

leiweibau commented 9 months ago

I have just completed an installation on a new DietPi 8.24.1. As the standard DietPi user usually has sudo rights, it was possible to run the installation as user Dietpi. In case of doubt, the installation can also be started with sudo as root. During the installation, I installed both Pi-hole and Pi.Alert. The installation went smoothly and both tools work correctly.

holocronology commented 9 months ago

please use the script provided by me to install both

I had pihole already installed on the dietpi instance. I did not see the pihole script nor any note about the Dietpi based Pihole install. I will take note of that.

leiweibau commented 9 months ago

When you start the installation script, it will ask you if you want to install Pi-hole as well, assuming it is not already installed.

holocronology commented 9 months ago

Yes, it does. However if you have Pihole installed via Dietpi-Software it will indicated that it is already installed and carry on. There is no indication, that I could see, that having PiHole installed via Dietpi-Software, when installing on Dietpi, is NOGO.

leiweibau commented 9 months ago

Okay. I will add a reference to this special behavior when using DietPi in the readme