Site Tools


tech_public:tp_proxmox (text)

This is an old revision of the document!


Proxmox

Direct connection display

Switch to no subscription

Remove subscription notification

https://techblog.wassenaar.cloud/remove-proxmox-subscription-notice/

1 line code

sed -Ezi.bak "s/(function\(orig_cmd\) \{)/\1\n\torig_cmd\(\);\n\treturn;/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service


Manual instruction:
1. Change to directory

cd /usr/share/javascript/proxmox-widget-toolkit

2. Make a backup

cp proxmoxlib.js proxmoxlib.js.bak

3. Edit the file “proxmoxlib.js”

nano proxmoxlib.js

4. Locate the following code (Use ctrl+w in nano and search for “function(orig_cmd)”

checked_command: function(orig_cmd) {

5. Add “orig_cmd();” and “return;” just after it

checked_command: function(orig_cmd) {
    orig_cmd();
    return;

6. Restart the Proxmox web service (also be sure to clear your browser cache, depending on the browser you may need to open a new tab or restart the browser)

systemctl restart pveproxy.service



revert the changes:

  1. Manually edit proxmoxlib.js to undo the changes you made
  2. Restore the backup file you created from the proxmox-widget-toolkit directory: mv proxmoxlib.js.bak proxmoxlib.js
  3. Reinstall the proxmox-widget-toolkit package from the repository: apt-get install --reinstall proxmox-widget-toolkit



check volume group free space

vgdisplay pve | grep Free

check log size

journalctl --disk-usage

Limit log size

SystemMaxUse=50M in /etc/systemd/journald.conf

Reload conf afterward

systemctl restart systemd-journald
tech_public/tp_proxmox.1739586262.txt.gz · Last modified: by jasonwch (text)

Top ↑