{"id":6535,"date":"2022-01-06T14:45:59","date_gmt":"2022-01-06T14:45:59","guid":{"rendered":"https:\/\/www.geekdecoder.com\/?p=6535"},"modified":"2022-01-06T14:45:59","modified_gmt":"2022-01-06T14:45:59","slug":"how-to-remove-you-do-not-have-a-valid-subscription-for-this-server-on-proxmox","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2022\/01\/06\/how-to-remove-you-do-not-have-a-valid-subscription-for-this-server-on-proxmox\/","title":{"rendered":"How to Remove &#8220;You do not have a valid subscription for this server.&#8221;"},"content":{"rendered":"\n<p>Proxmox VE is a complete open-source platform for enterprise virtualization. It&#8217;s a great application for virtualization that can compete with VMware, Hyper-V, KVM and Xen.<\/p>\n\n\n\n<p>Once installed, you would login to the built-in web interface to manage VMs and containers. So, you have installed Proxmox and when you login you see a pop-up error message:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/linuxandotherstuff.net\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-06-084314.png\"><img loading=\"lazy\" decoding=\"async\" width=\"697\" height=\"260\" src=\"https:\/\/linuxandotherstuff.net\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-06-084314.png\" alt=\"\" class=\"wp-image-6536\" srcset=\"https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-06-084314.png 697w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-06-084314-300x112.png 300w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/a><\/figure>\n\n\n\n<p>PVE provides free version. The Paid versions offer support and are highly recommended if you are using Proxmox for production. To see the paid version go here: <a href=\"https:\/\/www.proxmox.com\/en\/proxmox-ve\/pricing\" target=\"_blank\" rel=\"noopener\">https:\/\/www.proxmox.com\/en\/proxmox-ve\/pricing<\/a><\/p>\n\n\n\n<p>This pop-up can get a bit annoying. So, to remove we have researched and put together this article to remove it so we can be pop-up free.:<\/p>\n\n\n\n<p>To start, backup the file &#8220;\/usr\/share\/javascript\/proxmox-widget-toolkit\/proxmoxlib.js&#8221; with the following command:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\ncp \/usr\/share\/javascript\/proxmox-widget-toolkit\/proxmoxlib.js \/usr\/share\/javascript\/proxmox-widget-toolkit\/proxmoxlib.js.backup\n<\/pre><\/div>\n\n\n<p>Now lets edit the file.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nnano \/usr\/share\/javascript\/proxmox-widget-toolkit\/proxmoxlib.js\n<\/pre><\/div>\n\n\n<p>You can use crtl-w if using nano to search. Search for &#8220;No valid subscription.&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linuxandotherstuff.net\/wp-content\/uploads\/2023\/03\/2023-03-29-15-59-57.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"50\" src=\"https:\/\/linuxandotherstuff.net\/wp-content\/uploads\/2023\/03\/2023-03-29-15-59-57-1024x50.png\" alt=\"\" class=\"wp-image-8760\" srcset=\"https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2023\/03\/2023-03-29-15-59-57-1024x50.png 1024w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2023\/03\/2023-03-29-15-59-57-300x15.png 300w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2023\/03\/2023-03-29-15-59-57-768x38.png 768w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2023\/03\/2023-03-29-15-59-57.png 1202w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Look around for the following string:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nif (res === null || res === undefined || !res || res\n                        .data.status.toLowerCase() !== 'active') {\n                        Ext.Msg.show({\n                            title: gettext('No valid subscription'),\n<\/pre><\/div>\n\n\n<p>In this instance:<\/p>\n\n\n\n<p><br><a href=\"https:\/\/linuxandotherstuff.net\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-06-090817.png\"><img loading=\"lazy\" decoding=\"async\" width=\"835\" height=\"436\" class=\"alignnone size-full wp-image-6539\" src=\"https:\/\/linuxandotherstuff.net\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-06-090817.png\" alt=\"\" srcset=\"https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-06-090817.png 835w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-06-090817-300x157.png 300w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-06-090817-768x401.png 768w\" sizes=\"auto, (max-width: 835px) 100vw, 835px\" \/><\/a><\/p>\n\n\n\n<p>Also, you can check the line where the code starts with the following command Alt + Shift + # will give you line numbers. This will be on line 546 on Proxmox version 7.4-3 -Thank you RELLEK!<\/p>\n\n\n\n<p>Replace the following string with the string below:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nif (res === null || res === undefined || !res || res\n                        .data.status.toLowerCase() !== 'active') {\n<\/pre><\/div>\n\n\n<p>Replace with this:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nif (false) {\n<\/pre><\/div>\n\n\n<p>Here is what it should look like:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/linuxandotherstuff.net\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-06-091506.png\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"418\" src=\"https:\/\/linuxandotherstuff.net\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-06-091506.png\" alt=\"\" class=\"wp-image-6542\" srcset=\"https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-06-091506.png 768w, https:\/\/www.qbytes.cloud\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-06-091506-300x163.png 300w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><\/figure>\n\n\n\n<p>Now, restart Proxmox service:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsystemctl restart pveproxy.service\n<\/pre><\/div>\n\n\n<p>Log out of Proxmox, clear the browser cache and restart the browser then login again. The popup should be gone.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Proxmox VE is a complete open-source platform for enterprise virtualization. It&#8217;s a great application for virtualization that can compete with VMware, Hyper-V, KVM and Xen. Once installed, you would login to the built-in web interface to manage VMs and containers. So, you have installed Proxmox and when you login you see a pop-up error message: &#8230; <a title=\"How to Remove &#8220;You do not have a valid subscription for this server.&#8221;\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2022\/01\/06\/how-to-remove-you-do-not-have-a-valid-subscription-for-this-server-on-proxmox\/\" aria-label=\"Read more about How to Remove &#8220;You do not have a valid subscription for this server.&#8221;\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[90],"tags":[],"class_list":["post-6535","post","type-post","status-publish","format-standard","hentry","category-proxmox"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/6535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=6535"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/6535\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=6535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=6535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=6535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}