Friday, May 20, 2016

Updating Proxmox from 3.x to 3.4 (no subscription)

Updating proxmox from 3.x to 3.4




Tested with:

Proxmox 3.2
NFS Share configured with vm backups
MS Windows 2008R2 VM

Installation:

!!! ALWAYS MAKE SURE YOU HAVE WORKING BACKUPS OF YOUR VM'S !!!

Stop all your running vm's on the proxmox server you want to update.

Connect to your proxmox server using ssh or use shell in the proxmox interface.

Type: nano /etc/apt/sources.list

Add the following lines at the bottom:
deb http://download.proxmox.com/debian wheezy pve-no-subscription

Prevent errors from the Enterprise repository:

type: nano /etc/apt/sources.list.d/pve-enterprise.list

Change the following line:
deb https://enterprise.proxmox.com/debian wheezy pve-enterprise
into
# deb https://enterprise.proxmox.com/debian wheezy pve-enterprise

type: apt-get update

Update your packages:
type: apt-get dist-upgrade

During the update it will stop and show you which certificates will be added or or removed.
You can press ENTER to continue and eventually press q for quit.

Then after a little while it will ask you:
Restart services during package upgrade without asking?
Select YES

Then it will ask:
Continue without installing GRUB?
Select NO
Press OK

Then select the hdd where proxmox is installed, in my case: /dev/sda
Press OK

If you recieve errors with installing the depencies just roboot the server
and run: apt-get dist-upgrade again.


type: init 6
Your proxmox server will now reboot.

Connect to your proxmox server again with ssh.
type: pveversion -v

the first line should say:
proxmox-ve-2.6.32: 3.4-174 (running kernel: 2.6.32-45-pve)


When the first line is like above proxmox is succesfully updated to proxmox 3.4.


No comments: