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

Reporting an installation update glitch #174

Closed hspindel closed 11 months ago

hspindel commented 11 months ago

Ran the update script on the latest version.

1) Said installing missing packages: libtext-csv-perl aria2 2) Script bombed out when those packages couldn't be found. 3) Ran apt-get update and tried update script again. 4) Script bombed out because pialert-cli could not be found. 5) Tried install script instead of update script but it failed because target directory already exists. 6) Examined the target directory and noticed that (apparently) the previous upgrade attempt deleted all the files. 7) Manually created pialert-cli and pialert.py by downloading from the website. 8) Ran the update script again and it worked.

leiweibau commented 11 months ago

Thank you for reporting.

leiweibau commented 11 months ago

The issue is closed, as there seem to have been no other similar problems since the last update.

hspindel commented 11 months ago

I think it likely that this problem would only be seen if the pialert update process needed a package that apt update had not yet made available. So it's probably a corner case. It was easy to recover from.

Thanks for looking at it.