-
Star
(180)
You must be signed in to star a gist -
Fork
(37)
You must be signed in to fork a gist
-
-
Save whiskerz007/53c6aa5d624154bacbbc54880e1e3b2a to your computer and use it in GitHub Desktop.
# 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 |
Thanks Whiskerz007 @6.4
Has anyone tested this after upgrading to 7.0?
Edit
Did not work for me..... but I don't guarantee my own work.
I had this patch applied and working before upgrading to 7.0, still working afterwards, no nags on my end.
Not a clue if it works on a fresh install.
It started working for me, too. I guess it was a browser cache issue.
Working fine on 7.1-7
Using these commands posted, then issuing
apt upgrade -y
and rebooting, Proxmox 7.1-7 updated to 7.1-12 no issues! Thanks!
The commands above worked for me on Proxmox version 7.2-3
Oh, I rebooted the node, not sure I had to though.
thank you very much
Works on 7.2-7
But after
apt upgrade -y
root@pve:~# dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\.js$'; echo $?
1
root@pve:~# apt policy proxmox-widget-toolkit
proxmox-widget-toolkit:
Installed: 3.5.5
Candidate: 3.5.5
Version table:
*** 3.5.5 500
500 http://download.proxmox.com/debian/pve bullseye/pve-no-subscription amd64 Packages
100 /var/lib/dpkg/status
what hell going on ?
BTW, there are many way to getting rid nag message. I've been writing some of them, in here
Regards
On Proxmox 8.0 need to add this after line 2 in gistfile1.txt above:
sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/ceph.list
Just wanted to stop and say thanks!
Hello everyone I have a little insight that might help I have installed proxmox more that 6 times on a new server over last few days. I have found that if I install fresh proxmox DO NOT UPDATE it from the list on the left hand side just use this script before any thing else. It worked every time if I used the update from the list on the left under proxmox the updates then using this repository failed every time. I also think if you have a fresh install and install a couple of OS's that can cause it to fail can not remember if it did or not. These are my findings only and are from my R720 server your mileage may vary and as always do your own research to confirm