To have at least 2 disks:
Using a web-browser on a separate PC, navigate to the IP Address used for Proxmox with :8006 as the port.
Login.
NOTE: The username is root.
displays:
ssh root@192.168.1.95
cd /usr/share/javascript/proxmox-widget-toolkit/
cp proxmoxlib.js proxmoxlib.js.bak
vi proxmoxlib.js
Ext.Msg.show({ title: gettext('No valid subscription'),
void({ title: gettext('No valid subscription'),
systemctl restart pveproxy.service
grep -n -B 1 'No valid sub' proxmoxlib.js
NOTE: After this clear the browser cache and restart the browser.
Another way to remove the subscription issue:
sed -i.bak "s/me.updateActive(data)/me.updateCommunity(data)/g" /usr/share/pve-manager/js/pvemanagerlib.js
Proxmox, by default, updates from a subscription-based repo.
Change this to a free, Community supported repo:
cd /etc/apt/sources.list.d cp pve-enterprise.list pve-enterprise.list.bak vi pve-enterprise.list
Comment out the line by placing a hash in front.
#deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
Configure the Free Community Repository.
vi /etc/apt/sources.list
and populate as:
deb http://ftp.debian.org/debian buster main contrib deb http://ftp.debian.org/debian buster-updates main contrib # PVE pve-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb http://download.proxmox.com/debian/pve buster pve-no-subscription # security updates deb http://security.debian.org/debian-security buster/updates main contrib
/sbin/modprobe zfs
apt update
apt dist-upgrade
Github Repo for this Project: https://github.com/Weilbyte/PVEDiscordDark
Download the Python Script & Run
wget https://raw.githubusercontent.com/Weilbyte/PVEDiscordDark/master/PVEDiscordDark.py python3 PVEDiscordDark.py
Occasionally the Proxmox install does not configure the locales correctly.
pveversion
returns:
perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US.UTF-8", LC_ALL = (unset), LC_ADDRESS = "en_GB.UTF-8", LC_NAME = "en_GB.UTF-8", LC_MONETARY = "en_GB.UTF-8", LC_PAPER = "en_GB.UTF-8", LC_IDENTIFICATION = "en_GB.UTF-8", LC_TELEPHONE = "en_GB.UTF-8", LC_MEASUREMENT = "en_GB.UTF-8", LC_TIME = "en_GB.UTF-8", LC_NUMERIC = "en_GB.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). pve-manager/6.4-8/185e14db (running kernel: 5.4.106-1-pve)
NOTE: If only the last line in this return is shown, then the locale settings are fine.
Otherwise some warning messages will be seen; and they will need fixing.
export LANGUAGE=en_GB.UTF-8 export LC_ALL=en_GB.UTF-8
NOTE: Do not worry if a warning is seen:
-bash: warning: setlocale: LC_ALL: cannot change locale (en_GB.UTF-8)
Continue fixing…
locale-gen en_GB.UTF-8
returns:
Generating locales (this might take a while)... en_US.UTF-8... done Generation complete.
NOTE: Even though en_GB is wanted, this last return message still shows en_US.
Continue fixing…
dpkg-reconfigure locales
NOTE: This should successfully generate the en_GB-UTF-8 locales.
pveversion
returns:
pve-manager/6.4-8/185e14db (running kernel: 5.4.106-1-pve)
NOTE: Only a single line should be returned.
NOTE: If an error is received about No Disks Unused:
If the disk had an old LVM partition on it and shows /dev/mapper when running lsblk -f, then try these:
wipefs -a -f /dev/sdc partprobe /dev/sdc pvesm scan
sgdisk --zap-all /dev/sdc
A reboot might be needed of Proxmox to show the fresh results.
NOTE: ZFS could be used instead of LVM.
ZFS usually requires more disks to really take advantage of it, and is not easy to add additional disks, so if there is less than 4 drives just for the VMs then probably not ideal to use ZFS.
NOTE: If you only have one unused drive, skip this step and upload your operating system ISOs to the installation drive by navigating to Datacenter → pve → local (pve) → Content → Upload.
One approach is to change the view to the Folder View, and select the local (pve).
NOTE: The ISO storage entry should appear in the main Proxmox menu on the left.
ISO images can be uploaded to this drive by clicking on this storage entry with the name you just created, then going to Content, and then pressing Upload.