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

Error updating pi.alert #199

Closed BartEngelen closed 10 months ago

BartEngelen commented 10 months ago

Hello,

I am new to pi.alert. When I click on update check it says there is a new update available. When I run the update script it comes with an error: Pi.Alert directory doesn't exists: /root/pialert.

Can someone help me with this?

Kind regards, Bart

leiweibau commented 10 months ago

In what kind of environment do you use Pi.Alert (OS name or LXC container)?

BartEngelen commented 10 months ago

Sorry, LXC container

leiweibau commented 10 months ago

@tteck Didn't you have a separate update script in the container that starts my update script with parameters?

@BartEngelen How did you start the update?

BartEngelen commented 10 months ago

I start the update in the console. (of the container)

leiweibau commented 10 months ago

Which command did you use?

tteck commented 10 months ago

Fixed. To update Pi.Alert, type "update" or execute the command below in the LXC console.

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/pialert.sh)"
BartEngelen commented 10 months ago

Indeed now it works. Thanks for the support.