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
460 stars 32 forks source link

[Bug] Update error #334

Closed A30BL closed 4 months ago

A30BL commented 4 months ago

Is there an existing issue for this?

Current Behavior

My Pi.Alert runs on Proxmox 8.2.2 (LCX container). Today, I tried to update Pi.Alert from version 2024-06-12 to version 2024-07-04. All scan were stopped. I started the update as root, but the update stopped with the message "Pi.Alert directory doesn't exists: /root/pialert". The last update to version 2024-06-12 was without errors.

Environment

Linux pialert 6.8.4-3-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.4-3 (2024-05-02T11:55Z) x86_64 GNU/Linux

Anything else?

No response

leiweibau commented 4 months ago

Which command did you use for the update?

A30BL commented 4 months ago

I created the directory /root/pialert and started the update again. Now it stops a little bit later.

`############################################################ Pi.Alert Update ############################################################ Fri Jul 5 15:53:33 CEST 2024 Logfile: pialert_update_2024-07-05_15-53.log

A30BL commented 4 months ago

Which command did you use for the update?

Update command: bash -c "$(wget -qLO - https://github.com/leiweibau/Pi.Alert/raw/main/install/pialert_update.sh)"

leiweibau commented 4 months ago

Did you use @tteck helper scripts for the installation? If yes, then the correct update command is: bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/pialert.sh)" This should also have been included in the update notes.

In which directory was Pi.Alert installed?

A30BL commented 4 months ago

Thanks for the hint, the cli command "update" did the trick...