Post

Proxmox 8 Post Installation

For Homelabers, Proxmox subscription doesn’t make sense. These are the following post install step I use.

Disable ‘pve-enterprise’ repo

Without any active subscription, updating the proxmox with enterprise is not possible. To avoid errors and notices every time update is run, disable the repo.

To disable the pve-enterprise repo, edit /etc/apt/sources.list.d/pve-enterprise.list and comment out the repo URL

1
# deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise

To enable the repo in the future, remove the comment.

Enable ‘pve-no-subscription’ repo

In the absence of enterprise repo, to update the proxmox, pve-no-subscription repo can be used.

To add pve-no-subscription repo, create a pve-no-subscription.list under /etc/apt/sources.list.d. Add following to the file to add and enable the repo.

1
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

Disable ‘No valid subscription’ Notice

No valid subscription notices can be annoying sometimes. It’s bit complicated than the previous once. Proxmox webUI sends the notice. So, we’ll disable that particular code block located in proxmoxlib.js placed at /usr/share/javascript/proxmox-widget-toolkit.

Before proceeding, make sure to backup the original file in the safe place. To copy the file, run cp /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js ~/proxmoxlib.js. If anything goes wrong, just replace the file.

Open /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js file with your favourite file editor and find .data.status.toLowerCase() block

1
2
3
4
 .data.status.toLowerCase()! == 'active') {
    Ext.Msg.show({
        title: gettext('No valid subscription'),
        icon: Ext.Msg.WARNING,

Replace active your choice of word and also remove !. It should look something similar as below

1
2
3
4
 .data.status.toLowerCase() == 'NoWarning') {
    Ext.Msg.show({
        title: gettext('No valid subscription'),
        icon: Ext.Msg.WARNING,

Do not edit any more than you need to. If anything goes wrong, replace the file with backup.

High Availability

If you plan on running single node proxmox instance, disabling High Availability(HA) disables unnecessary services.

disable ha

1
2
3
systemctl disable -q --now pve-ha-lrm
systemctl disable -q --now pve-ha-crm
systemctl disable -q --now corosync

enable ha

In the future if ha is required, simply run following to enable it.

1
2
3
systemctl enable -q --now pve-ha-lrm
systemctl enable -q --now pve-ha-crm
systemctl enable -q --now corosync

Updates

Make sure upgrade all the packages.

1
2
apt update
apt upgrade -y

Conclusion

Any thoughts or feedback, feel free to comment. Au Revoir.

This post is licensed under MIT by the author.