Proxmox repo fix, remove nag and update to newest version. Easy!


Recommended Posts

Issuing these commands on main PVE node shell, it replaced subscription only repo (paid) to community driven repo (free).

Removes the NO SUBSCRIPTION nag when logging into web gui portal

and updates proxmox to most current version, super easy.

 

# Disable Commercial Repo
sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/pve-enterprise.list
apt-get update

# Add PVE Community Repo
echo "deb http://download.proxmox.com/debian/pve $(grep "VERSION=" /etc/os-release | sed -n 's/.*(\(.*\)).*/\1/p') pve-no-subscription" > /etc/apt/sources.list.d/pve-no-enterprise.list
apt-get update

# Remove nag
echo "DPkg::Post-Invoke { \"dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\.js$'; if [ \$? -eq 1 ]; then { echo 'Removing subscription nag from UI...'; sed -i '/data.status/{s/\!//;s/Active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; }; fi\"; };" > /etc/apt/apt.conf.d/no-nag-script
apt --reinstall install proxmox-widget-toolkit

# Update proxmox pve to newest available version
apt upgrade -y

 

After the update process completes, click the reboot button and you will be updated to newest version. Logout of web ui, refresh and login and you will see no subscription nag screen.

Press the thanks button on this post :)

 

image.png

Edited by phone guy
  • Like 1
  • Thanks 3
Link to post
Share on other sites
11 hours ago, loomes said:

Use ALWAYS "dist-upgrade" not "upgrade" on Proxmox. otherwise it could end badly.

You mean the last command should be this instead?

 

# Update proxmox pve to newest DIST-UPGRADE version
apt dist-upgrade -y

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.