Como eliminar mensaje de registro en Proxmox v9

Escrito por Sandor el 13 de octubre de 2025.
Categorías • Sincorbata • Informática
Etiquetas • proxmox

Logo de Proxmox

En mi última actualización a Proxmox v9, me ha vuelto a aparecer el molesto mensaje de "You do not have a valid subscription for this server". No es que sea algo muy importante, pero puede ser molesto. Buscando un poco en la red he encontrado este tutorial que lo elimina.

Básicamente consiste en editar el archivo /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js (haciendo una copia previa de seguridad del mismo, por ejemplo en proxmoxlib.js.bak), y eliminar el siguiente código (en torno a la línea 600 del archivo):

    checked_command: function(orig_cmd) {
    Proxmox.Utils.API2Request(
        {
        url: '/nodes/localhost/subscription',
        method: 'GET',
        failure: function(response, opts) {
            Ext.Msg.alert(gettext('Error'), response.htmlStatus);
        },
        success: function(response, opts) {
ELIMINAR ->         let res = response.result;
ELIMINAR ->         if (res === null || res === undefined || !res || res
ELIMINAR ->         .data.status.toLowerCase() !== 'active') {
ELIMINAR ->         Ext.Msg.show({
ELIMINAR ->             title: gettext('No valid subscription'),
ELIMINAR ->             icon: Ext.Msg.WARNING,
ELIMINAR ->             message: Proxmox.Utils.getNoSubKeyHtml(res.data.url),
ELIMINAR ->             buttons: Ext.Msg.OK,
ELIMINAR ->             callback: function(btn) {
ELIMINAR ->             if (btn !== 'ok') {
ELIMINAR ->                 return;
ELIMINAR ->             }
ELIMINAR ->             orig_cmd();
ELIMINAR ->             },
ELIMINAR ->         });
ELIMINAR ->         } else {
            orig_cmd();
ELIMINAR ->         }
        },
        },
    );
    },

Lo acabo de hacer hace un rato y, con la versión 9.0.9 funciona perfectamente. En el enlace original hay publicado también un pequeño script en Perl que automatiza el asunto, y da como idea meterlo en el cron del sistema para que, en caso de actualización, no vuelva a aparecer.

Fuente: https://free-pmx.org/guides/proxmox-nag/


¡Participa y escribe tu comentario! ;-)