Proxmoxve VE V5.x Installation

Proxmox VE 5.x Installation

Proxmox won’t install- “A volume group called pve already exists

Solution:

  1. Boot the proxmox installer USB
  2. Select Debug Mode
  3. Press “CTRL+D” to start the installer wizard.
  4. Click on abort
  5. Run “vgdisplay” to dislay the LVM PG’s.
  6. Run “vgremode pve ” to remove pve PG.

Remove “No valid Subscription” Message

  • shell solution.
1
2
sed -i.bak "s/data.status !== 'Active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
	
  • manual solution:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
cd /usr/share/javascript/proxmox-widget-toolkit
cp proxmoxlib.js proxmoxlib.js.bak
nano proxmoxlib.js

# change 
if (data.status !== 'Active') {

if (false) {

#restart pveproxy.service
systemctl restart pveproxy.service

Change update source

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#chang debian source list
echo "deb https://mirrors.ustc.edu.cn/debian/ stretch main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ stretch main contrib non-free

deb https://mirrors.ustc.edu.cn/debian/ stretch-updates main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ stretch-updates main contrib non-free

deb https://mirrors.ustc.edu.cn/debian/ stretch-backports main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ stretch-backports main contrib non-free

deb https://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free" > /etc/apt/sources.list

#change pve 5.x update source list
echo "deb https://mirrors.ustc.edu.cn/proxmox/debian/pve/ stretch pve-no-subscription" >> /etc/apt/sources.list

#change ceph source list to utsc mirrors
echo "deb https://mirrors.ustc.edu.cn/proxmox/debian/ceph-luminous stretch main" >> /etc/apt/sources.list

# add key
wget http://mirrors.ustc.edu.cn/proxmox/debian/proxmox-ve-release-5.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg

apt update && apt -y dist-upgrade
update-grub

Remove sourcelist of pve enterprise subscription and ceph

1
2
3
4
5
# Delete Enterprise subscription.
rm -rf /etc/apt/sources.list.d/pve-enterprise.list

# Delete proxmox ve offical ceph source. 
rm -rf /etc/apt/sources.list.d/ceph.list

Reference

  1. Proxmox won’t install - “A volume group called pve already exists”.
  2. Remove Proxmox 5.1 or 5.2 Subscription Notice
Licensed under CC BY-NC-SA 4.0
Last updated on Nov 08, 2024 12:49 UTC
Built with Hugo
Theme Stack designed by Jimmy