[SOLVED] Failure in upgrade from 4 to 5

jerry

Renowned Member
Apr 7, 2015
28
2
68
I've just failed (mea culpa) in upgrading from 4.4-1 to 5.2. I followed the instruction from the wiki, however I missed one important (as it turned out to be very important later) of the preconditions - correct repository configuration.
I didn't use enterprise repository and also no-subsrciption repository, so I updated only Debian Jessie packages after executing "apt-get update && apt-get dist-upgrade" commands. After reboot I had only three commands from pve family: pvecm pvesm pveum.
I could not login to GUI, but the "pvecm status" command returned correct information:
Code:
root@pve3:~# pvecm status
Quorum information
------------------
Date:             Fri Oct 26 12:39:33 2018
Quorum provider:  corosync_votequorum
Nodes:            3
Node ID:          0x00000001
Ring ID:          3/348
Quorate:          Yes

Votequorum information
----------------------
Expected votes:   3
Highest expected: 3
Total votes:      3
Quorum:           2
Flags:            Quorate

Membership information
----------------------
    Nodeid      Votes Name
0x00000003          1 AAA.BBB.CCC.1
0x00000002          1 AAA.BBB.CCC.2
0x00000001          1 AAA.BBB.CCC.3 (local)

I decided to add no-subscription repository to the /etc/apt/sources.list file:
Code:
# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve stretch pve-no-subscription
but there was nothing to update or install.
Finally I decided to set up install repository and update repository key:
Code:
echo "deb http://download.proxmox.com/debian/pve stretch pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list
wget http://download.proxmox.com/debian/proxmox-ve-release-5.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg
I successfully updated (rather installed) system by running "apt-get update && apt-get dist-upgrade" commands.
After restart everything seems to be OK - node is visible and operable. Although the goal has been achieved, I wonder if something has been missed?
Could I ask Proxmox support team for confirmation of this method?
 
Last edited:
Could I ask Proxmox support team for confirmation of this method?
When you try to install the package 'proxmox-ve' and nothing comes up, then it's good.
 
  • Like
Reactions: jerry

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!