Month: August 2020

  • Remove Proxmox 6.x/5.1+ Subscription Notice

    (source: https://johnscs.com/remove-proxmox51-subscription-notice/)

    With the release of Proxmox 5.1 and newer (including 6.2) you’ll find the code related to the no subscription message that pops up on login has changed and prior instructions for removing it wont work.

    To remove “You do not have a valid subscription for this server” run the command bellow. You will need to SSH to your Proxmox machine or use the node console through the PVE web interface.

    If you update your Proxmox server and the update includes a new version of the file we are about to edit then you’ll need to run the command again.

    Run the following one line command and then clear your browser cache (depending on the browser you may need to open a new tab or restart the browser):

    sed -i.bak "s/data.status !== 'Active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service

    Here are alternative step by step instructions so you can understand what the above command is doing:

    1. Change to working directory
      cd /usr/share/javascript/proxmox-widget-toolkit
    2. Make backup of file
      cp proxmoxlib.js proxmoxlib.js.bak
    3. Edit the file
      nano proxmoxlib.js
    4. Locate this line of code inside the file (use ctrl+w in nano)
      if (data.status !== 'Active') {
    5. Replace it with this
      if (false) {
    6. Restart the Proxmox 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
  • How to upgrade kernel to latest version on Ubuntu 20.04 Focal Fossa Linux

    (source: https://linuxconfig.org/how-to-upgrade-kernel-to-latest-version-on-ubuntu-20-04-focal-fossa-linux)

    In this tutorial you will learn:

    • How to install kernel upgrade script utility
    • How to to upgrade kernel to latest version
    • How to uninstall previously installed PPA kernels

    Upgrade kernel to latest version on Ubuntu 20.04 Focal Fossa Linux

    Software Requirements and Conventions Used

    CategoryRequirements, Conventions or Software Version Used
    SystemInstalled Ubuntu 20.04 or upgraded Ubuntu 20.04 Focal Fossa
    Softwareubuntu-mainline-kernel.sh
    OtherPrivileged access to your Linux system as root or via the sudo command.
    Conventions# – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
    $ – requires given linux commands to be executed as a regular non-privileged user

    Upgrade kernel to latest version on Ubuntu 20.04 step by step instructions

    1. First step is to download the ubuntu-mainline-kernel.sh Bash script utility. Open up your terminal and enter:
      $ wget https://raw.githubusercontent.com/pimlie/ubuntu-mainline-kernel.sh/master/ubuntu-mainline-kernel.sh
    2. Next, step is to install the previously downloaded script into our executable path:
      $ sudo install ubuntu-mainline-kernel.sh /usr/local/bin/
    3. All is ready to upgrade the Ubuntu kernel to the latest version. To do so run do following command:
      $ ubuntu-mainline-kernel.sh -i

      Finding latest version available on kernel.ubuntu.com Latest version is: v5.4.3, continue? (y/N) The above command will search for the latest kernel version available. To continue with the kernel installation answer y.
    4. Reboot your Ubuntu system and check for the loaded Kernel version:
      $ uname -rs Latest Kernel version upgrade
    5. To uninstall the PPA kernel version execute the following command and follow to wizard:
      $ ubuntu-mainline-kernel.sh -u