ProxMox VE 8.0.3 Fixing Paid Subscription Issues and Broken Packages

Status
Not open for further replies.

root

Administrator
Staff member
[EN]
This is the very first setting that a system admin should make when setting up ProxMox for their tasks or projects.
ProxMox VE 8.0.3 Fixing Paid Subscription Issues and Broken Packages:

How to get rid of the pop-up window with messages?

Code:
No valid subscription.
You do not have a valid subscription for this server.
Please visit www.proxmox.com to get a list of available options.
Solution to the problem:
Bash:
cp /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js{,.bak}
sed -i 's/Ext.Msg.show({/void({ \/\/Ext.Msg.show({/' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
systemctl restart pveproxy.service
Or one command:
Bash:
cp /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js{,.bak} && sed -i 's/Ext.Msg.show({/void({ \/\/Ext.Msg.show({/' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
Now we got rid of the annoying message at each authorization in proxmox.

Packages are broken and "apt-get update" command doesn't work:


Code:
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://ftp.debian.org/debian bookworm InRelease
Hit:3 http://ftp.debian.org/debian bookworm-updates InRelease
Err:4 https://enterprise.proxmox.com/debian/pve bookworm InRelease
401 Unauthorized [IP: 0.0.0.0 443]
Hit:5 http://download.proxmox.com/debian/pve bookworm InRelease
Hit:6 http://download.proxmox.com/debian/ceph-quincy bookworm InRelease
Reading package lists...
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/bookworm/InRelease 401 Unauthorized [IP: 0.0.0.0 443]
E: The repository 'https://enterprise.proxmox.com/debian/pve bookworm InRelease' is not signed.
Solution to the problem:

Code:
sed -i 's/^deb/#deb/' /etc/apt/sources.list.d/ceph.list
sed -i 's/^deb/#deb/' /etc/apt/sources.list.d/pve-enterprise.list

touch /etc/kernel/proxmox-boot-uuids && pve-efiboot-tool refresh


[not required but i used]: apt-get install proxmox-ve -y

apt-get update
apt-get upgrade -y
 
Status
Not open for further replies.
Top