Hi,
show us your "cleaning" script. i would guess it removed the active pve kernel. you could reinstall it by booting from a debian rescue mode, mount the proxmox disk, add proxmox repositories and install with apt.
Your questions:
1. no, if you can't boot into that ssd and use apt. another way...