upgrading from 3.1 to 3.2

slifin

New Member
Dec 31, 2013
13
0
1
Hello,
I note that the wiki instructions for upgrading from 3.1 to 3.2 say:
"Make sure that you have uploaded a valid subscription key to your Proxmox VE host"
http://pve.proxmox.com/wiki/Downloads#Update_a_running_Proxmox_Virtual_Environment_3.x_to_latest_3.2

What do you do if you do not have a subscription key?

Also I went to the upgrade tab within the GUI and pressed refresh and it returned the following message:
Failed to fetch https://enterprise.proxmox.com/debian/dists/wheezy/pve-enterprise/binary-amd64/Packages The requested URL returned error: 401
a 401 is I guess a unauthorised request why is Proxmox checking subscription based repos?

how do I proceed to upgrade this Proxmox installation?
 
Greetings for all.

slifin, I managed to update my Proxmox server from the installation CD. Here is the little manual that I did:

Sorry for my bad English.

Manual to update Proxmox from the installation CD.

1.- First of all, make sure the dpkg-dev package is installed on the FTP server, if not, install it using the command:

# apt-get install dpkg-dev

2.- Install CD in a folder as a loop device:

# mount -t loop <File Location>/proxmox-ve_3.2-5a885216-5.iso /media/cdrom

3.- Create a similar structure of Proxmox repo:

# mkdir -p /srv/ftp/linux/distros/proxmox/debian/dists/wheezy/pve-cd/binary-amd64/

4.- Copy the contents of the proxmox/packages folder into the root of the installation CD to the destination above created:

# cp /media/cdrom/proxmox/packages/* /srv/ftp/linux/distros/proxmox/debian/dists/wheezy/pve-cd/binary-amd64/

5.- Copy the GPG key file on the local Proxmox repo:

If you have an Internet connection, the file is downloaded to a local folder

# cd /srv/ftp/linux/distros/proxmox/debian
# wget -O- "http://download.proxmox.com/debian/key.asc"

Otherwise, if you do not have an Internet connection, then the key file is copied to a local folder

# cp <File Location>/key.asc /srv/ftp/linux/distros/proxmox/debian/

6.- Remove the CD:

# umount /media/cdrom

7.- Be located in the folder /srv/ftp/linux/distros/proxmox/debian/ :

cd /srv/ftp/linux/distros/proxmox/debian/

8.- Create the list of packages to be readable and downloadable by APT:

dpkg-scanpackages dists/wheezy/pve-cd/binary-amd64/ /dev/null | gzip > dists/wheezy/pve-cd/binary-amd64/Packages.gz

The resulting file, Packages.gz, will finally be inside the folder

/srv/ftp/linux/distros/proxmox/debian/dists/wheezy/pve-cd/binary-amd64/

At the end, the local repo remain ready for use.

9.- On Proxmox VE Server, I modify the PVE Enterprise file pve-enterprise.list into the folder /etc/apt/sources.list.d. this is the new content:

deb http://<FTP server>/linux/distros/proxmox/debian wheezy pve-cd

If you want to use the PVE test repo, you can add the following line

deb http://<FTP server>/linux/distros/proxmox/debian wheezy pvetest

I this case, my local repo of PVE Test.

NOTE: Well, it worked for me.:p

Best regards:D

HSP
 
Hello slifin,


What do you do if you do not have a subscription key?

You can make a fresh proxmox install. If you want to continue using existing VMs and CTs you can save them (containers - virtual disks + conf files) and restore them after the new install.


how do I proceed to upgrade this Proxmox installation?


If you don´t want to make the steps described above: see http://www.proxmox.com/proxmox-ve/pricing.

Of course, if you start studying the installation media for both 3.1 and 3.2 you may figure out the difference and create your own upgrade process. I never tried and cannot say how complicate it is - but it is the question if the effort for it is it worth ......


kind regards

Mr.Holmes