[SOLVED] pve5.4 offline upgrade 6.3

m4ak

New Member
Mar 26, 2021
10
0
1
41
This is a Huawei RH2285 server, version 5.4 installed by ISO, and the server cannot be connected to the Internet. Is there an offline way to upgrade to 6.3?


I have a computer connected to the Internet. You can install a virtual machine. Install pve5.4 in the virtual machine and use the PVE in this virtual machine to update. How do I send the update package to the server to update the PVE? Or the server uses this virtual machine as the update source to update directly?
 
It might be easier to create backups, do a new installation with PVE 6 ISO and restore the backups as outlined in the upgrade guide
In general yes, you're right, but that specific Huawei server does not likes the kernel/environment of the 6.4 ISO that much, IIRC.

How do I send the update package to the server to update the PVE? Or the server uses this virtual machine as the update source to update directly?

Either way, you need a local mirror of the buster repositories.
Then you can either:
  • use the ISO as a repository, download it move it to the server and mount it there, then add the mounted path as file repository:
    Bash:
    mkdir /mnt/iso
    mount proxmox-ve_6.3-1.iso /mnt/iso
    echo 'deb [trusted=yes] file:///mnt/iso/ buster pve' > /etc/apt/sources.list.d/local-iso.list
  • Use also apt mirror for the pve-no-subscription repository and mirror that too locally
What may also be an option is using a trusted HTTP proxy to connect to the internet and let APT pull the updates through there, you can set such a proxy in Datacenter -> Options.

In any way: please test the upgrade path, even if only in a virtual PVE VM test instance, to ensure the chosen method works in your setup.
 
Last edited:
  • Like
Reactions: Dominic
In general yes, you're right, but that specific Huawei server does not likes the kernel/environment of the 6.4 ISO that much, IIRC.



Either way, you need a local mirror of the buster repositories.
Then you can either:
  • use the ISO as a repository, download it move it to the server and mount it there, then add the mounted path as file repository:
    Bash:
    mkdir /mnt/iso
    mount proxmox-ve_6.3-1.iso /mnt/iso
    echo 'deb [trusted=yes] file:///mnt/iso/ buster pve' > /etc/apt/sources.list.d/local-iso.list
  • Use also apt mirror for the pve-no-subscription repository and mirror that too locally
What may also be an option is using a trusted HTTP proxy to connect to the internet and let APT pull the updates through there, you can set such a proxy in Datacenter -> Options.

In any way: please test the upgrade path, even if only in a virtual PVE VM test instance, to ensure the chosen method works in your setup.
thank you ,I'm doing the part about ProxMox on APT Mirror, it looks a little big, about 140G
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!