Proxmox: Remove the “You do not have a valid subscription for this server.”

Every time that you log into Proxmox, you get a warning. “You do not have a valid subscription for this server.” I know that I am unable to pay for a subscription, so this is how I removed that message. 

I do not recommend using the browser console for this, as I have not had good luck.

Start by using a program such as Putty to SSH into your Proxmox server. Your login credentials will be “root” and the password you used during setup.

Once you have SSH into the server, you are going to want to run the following command.

				
					sed -Ezi.bak “s/(Ext.Msg.show\(\{\s+title: gettext\(‘No valid sub)/void\(\{ \/\/\1/g” /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
				
			

Now you are going to want to use nano to replace the text in the following documents. 

File Number: 1
				
					nano /etc/apt/sources.list.d/pve-enterprise.list
				
			
				
					#deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
				
			
File Number: 2
				
					nano /etc/apt/sources.list
				
			
				
					deb http://ftp.debian.org/debian bookworm main contrib
deb http://ftp.debian.org/debian bookworm-updates main contrib

# Proxmox VE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

# security updates
deb http://security.debian.org/debian-security bookworm-security main contrib


				
			
File Number: 3
				
					nano /etc/apt/sources.list.d/ceph.list
				
			
				
					deb http://download.proxmox.com/debian/ceph-reef bookworm no-subscription
				
			

At this point, you should be able to run a reboot command, and your Proxmox server should no longer inform that “You do not have a valid subscription for this server.”

Leave a Reply

Your email address will not be published. Required fields are marked *