Proxmox VE 8.0.3 - Post install (bash) script not working

Eddy_Legend

New Member
Nov 1, 2023
1
0
1
hi all,
I'm quite new to Proxmox and I'm trying to set up a server and I'm trying to use this post install script bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh)", but I can't get any bash script running; it just does nothing. I've read that it might be a network issue probably linked to DNS, but I don't know how to figure out exactly.
Any help would be greatly appreciated.
 
Its generally not a good idea to blindly run shell scripts from internet. You should strive to examine the script and understand what it is doing. Even if the source is generally trusted, history knows precedents when accounts have been taken over and malicious was code inserted.
If you suspect that you have connectivity/DNS issues - split the script execution:
- first download it "wget ......" and remove -q argument (man wget)
- run the script and add -x if you prefer more details

good luck


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Last edited:
  • Like
Reactions: xoligan
Most likely you just need to update your PBS Network settings to have DNS point to your router's IP address.
 
PLEASE HELP - I just ran the 'https://github.com/tteck/Proxmox/raw/main/misc/post-pve-install.sh' script. Seems to run fine. But after the reboot, I can not connect to my SQL container. I can ping the server, but connection not possible via ODBC
Can not connect via MSSM to see what is going on in the VM. Proxmox (7.4-3) shows it is running with green arrow. I have a two node cluster, and lots of clones and backups of my SQL container. There is no firewall enabled on the Cluster, and no settings changed since it was working prior to running the script.
 
I have a clone of the SQL Container I took before the upgrade on the node, and am now using this clone of the container successfully on the non-upgraded node. But I need to somehow get the old node working again.

Upgraded node that is not working: (now showing Linux T330 6.8.8-4-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.8-4 (2024-07-26T11:15Z) x86_64)
Old Node that is working: (Linux serverfsp 5.15.102-1-pve #1)

Seems to be a connectivity thing?
 
I'm still searching and found this error repeating in the syslog:
Aug 02 21:46:52 T330 kernel: operation not supported error, dev loop0, sector 130044160 op 0x9:(WRITE_ZEROES) flags 0x800 phys_seg 0 prio class 0
 
Failed to load config and mount CT 2002 - command 'mount /dev/loop0 /var/lib/lxc/2002/rootfs//' failed: exit code 32
 
Make a backup of your virtual machines, reinstall Proxmox and never use such a script again.
 
I just upgraded Proxmox to
root@T330:~# pveversion
pve-manager/8.2.4/faa83925c9641325 (running kernel: 6.8.8-4-pve).
Hoping this is a short cut to reinstalling it. will check now
 
You have bent something in your system with this script. An update (which keeps the old config files) will not be able to fix this.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!