Jump to content
XPEnology Community

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


phone guy

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 2
  • Thanks 3
Link to comment
Share on other sites

  • 1 year later...
On 4/25/2022 at 11:34 PM, phone guy said:

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

Still Working on Sat, Sept 2nd 2023 8.0.4

Edited by andorra
Wrong version
Link to comment
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.

×
×
  • Create New...