4.4 -> 5 upgrade issues

Nick_D

New Member
Jul 5, 2017
2
0
1
39
I am unable to access the web GUI, nor do I have 'pveversion' or a proxmox-ve package installed. My LVS are still there. I follow the upgrade instructions perfectly. I have network connectivity. All of the pie.services were masked so I unmasked all those after reading that was an issue for someone else. If I try to do a 'apt install proxmox-ve' I get package is not available. I've even tried a version after it from seeing what others output looks like. I'd rather not reinstall so any help would be great.

My sources.list matches exactly what it's supposed to be.


root@pve ~# lvs

LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert

data pve twi-aotz-- 155.73g 65.08 29.77

root pve -wi-ao---- 59.50g

swap pve -wi-ao---- 7.00g

vm-100-disk-1 pve Vwi-a-tz-- 111.00g data 76.76

vm-101-disk-1 pve Vwi-a-tz-- 16.00g data 63.46

vm-102-disk-1 pve Vwi-a-tz-- 6.00g data 98.21

vm-103-disk-1 pve Vwi-a-tz-- 2.00g data 5.20



root@pve ~# apt list --installed | grep prox


WARNING: apt does not have a stable CLI interface. Use with caution in scripts.



root@pve ~# apt list --installed | grep pve


WARNING: apt does not have a stable CLI interface. Use with caution in scripts.


corosync-pve/now 2.4.0-1 amd64 [installed,local]

grub-common/now 2.02-pve5 amd64 [installed,local]

grub-efi-amd64-bin/now 2.02-pve5 amd64 [installed,local]

grub-efi-ia32-bin/now 2.02-pve5 amd64 [installed,local]

grub-pc/now 2.02-pve5 amd64 [installed,local]

grub-pc-bin/now 2.02-pve5 amd64 [installed,local]

grub2-common/now 2.02-pve5 amd64 [installed,local]

libcorosync4-pve/now 2.4.0-1 amd64 [installed,local]

libpve-common-perl/now 4.0-83 all [installed,local]

libpve-storage-perl/now 4.0-70 all [installed,local]

lxc-pve/now 2.0.6-2 amd64 [installed,local]

novnc-pve/now 0.5-8 amd64 [installed,local]

pve-docs/now 4.4-1 all [installed,local]

pve-firmware/now 1.1-10 all [installed,local]

pve-kernel-4.4.35-1-pve/now 4.4.35-76 amd64 [installed,local]

pve-libspice-server1/now 0.12.8-1 amd64 [installed,local]

pve-qemu-kvm/now 2.7.0-9 amd64 [installed,local]

zfsutils/now 0.6.5.8-pve13~bpo80 all [installed,local]

root@pve ~# netstat -an | grep 8006

root@pve ~#
 
Last edited:
Hey, I had the same issue, and you can try to fix it like this:

  1. Comment the CEPH repository.
  2. systemctl unmask pve firewall and manager
  3. Run apt update && apt dist-upgrade
 
Henrique,

I did those before posting. Unfortunately still no luck.There was nothing new to install for the dist-upgrade
 
if i try to install anything i get this

root@pve:~# apt-get install proxmox-ve
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package proxmox-ve is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'proxmox-ve' has no installation candidate
root@pve:~#
 
ok this is what i did, i edited the /etc/apt/sources.list and commented out the lines that were in there and put in this:

deb http://ftp.debian.org/debian stretch main contrib

# 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

# security updates
deb http://security.debian.org stretch/updates main contrib

then i saved that and did a apt-get update
then apt-get upgrade
then apt-get dist-upgrade
and just to make sure all was good i did a apt-get install proxmox-ve
after that I could get into the web page. i rebooted afterwards and all was good.

I am back up and running. WOOHOO
 
  • Like
Reactions: Henrique
ok this is what i did, i edited the /etc/apt/sources.list and commented out the lines that were in there and put in this:

deb http://ftp.debian.org/debian stretch main contrib

# 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

# security updates
deb http://security.debian.org stretch/updates main contrib

then i saved that and did a apt-get update
then apt-get upgrade
then apt-get dist-upgrade
and just to make sure all was good i did a apt-get install proxmox-ve
after that I could get into the web page. i rebooted afterwards and all was good.

I am back up and running. WOOHOO

Are you sure that the line "deb http://download.proxmox.com/debian/pve stretch pve-no-subscription" is correct? I changed jessie to stretch before dist-upgrade. It simply worked. The online problem was that I was asked to add a key, which could be solved in seconds.
 
trying not to have to blow away everything and start fresh. I made the error of not doing backups :( test box became camera server box.
 
I had the same problems when upgrading proxmox 4.4 to 5.0.

I used these steps to fix the problem:
  1. Setup the pve-no-subscription repository by following this guide: serenity-networks.com/how-to-update-proxmox-ve-when-you-do-not-have-a-valid-subscription/ (add https to the link)
  2. Execute apt-get update
  3. Execute apt-get dist-upgrade
  4. Edit /etc/apt/sources.list.d/pve-no-sub.list and replace jessie by stretch
  5. Execute sed -i 's/jessie/stretch/g' /etc/apt/sources.list
  6. Execute apt-get update
  7. Execute apt-get dist-upgrade
  8. Done!
 

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!