[SOLVED] Unable to upgrade from 7.1 to 7.4

maruscya

Active Member
Dec 16, 2016
3
0
41
48
Dear ProxMox users,

I need help about the upgrade my installation.
I'm running proxmox cluster with 2 nodes. I'm plan to add a new node. If I undestand version 7.x is near to EOL.
Now, I try to update my 2 nodes from 7.x to 7.4. Then I'll add a new node with proxmox 8.x and finally I'll upgrade the old 2 nodes to version 8.x

This is my road map to 8.x :)

On the NODE2 all steps goes fine:

Bash:
root@proxmox02:~# pveversion --verbose
proxmox-ve: 7.4-1 (running kernel: 5.15.102-1-pve)
pve-manager: 7.4-3 (running version: 7.4-3/9002ab8a)
pve-kernel-5.15: 7.3-3
pve-kernel-5.15.102-1-pve: 5.15.102-1
ceph-fuse: 15.2.17-pve1
corosync: 3.1.7-pve1
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve2
libproxmox-acme-perl: 1.4.4
libproxmox-backup-qemu0: 1.3.1-1
libproxmox-rs-perl: 0.2.1
libpve-access-control: 7.4-1
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.3-3
libpve-guest-common-perl: 4.2-4
libpve-http-server-perl: 4.2-1
libpve-rs-perl: 0.7.5
libpve-storage-perl: 7.4-2
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.2-2
lxcfs: 5.0.3-pve1
novnc-pve: 1.4.0-1
proxmox-backup-client: 2.3.3-1
proxmox-backup-file-restore: 2.3.3-1
proxmox-kernel-helper: 7.4-1
proxmox-mail-forward: 0.1.1-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.6.3
pve-cluster: 7.3-3
pve-container: 4.4-3
pve-docs: 7.4-2
pve-edk2-firmware: 3.20221111-1
pve-firewall: 4.3-1
pve-firmware: 3.6-4
pve-ha-manager: 3.6.0
pve-i18n: 2.11-1
pve-qemu-kvm: 7.2.0-8
pve-xtermjs: 4.16.0-1
qemu-server: 7.4-2
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.8.0~bpo11+3
vncterm: 1.7-1
zfsutils-linux: 2.1.9-pve1

I run the same command on NODE1, but I got this message.

Bash:
root@proxmox01:~# apt update
Hit:1 http://security.debian.org bullseye-security InRelease
Hit:2 http://ftp.it.debian.org/debian bullseye InRelease
Hit:3 http://ftp.it.debian.org/debian bullseye-updates InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@proxmox01:~#  
root@proxmox01:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

The pveversion -v show version 7.1

Bash:
root@proxmox01:~# pveversion -v
proxmox-ve: 7.1-1 (running kernel: 5.13.19-2-pve)
pve-manager: 7.1-7 (running version: 7.1-7/df5740ad)
pve-kernel-helper: 7.1-6
pve-kernel-5.13: 7.1-5
pve-kernel-5.13.19-2-pve: 5.13.19-4
ceph-fuse: 15.2.15-pve1
corosync: 3.1.5-pve2
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve2
libproxmox-acme-perl: 1.4.0
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 7.1-5
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.0-14
libpve-guest-common-perl: 4.0-3
libpve-http-server-perl: 4.0-4
libpve-storage-perl: 7.0-15
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.11-1
lxcfs: 4.0.11-pve1
novnc-pve: 1.2.0-3
proxmox-backup-client: 2.1.2-1
proxmox-backup-file-restore: 2.1.2-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.4-4
pve-cluster: 7.1-2
pve-container: 4.1-2
pve-docs: 7.1-2
pve-edk2-firmware: 3.20210831-2
pve-firewall: 4.2-5
pve-firmware: 3.3-3
pve-ha-manager: 3.3-1
pve-i18n: 2.6-2
pve-qemu-kvm: 6.1.0-3
pve-xtermjs: 4.12.0-1
qemu-server: 7.1-4
smartmontools: 7.2-1
spiceterm: 3.2-2
swtpm: 0.7.0~rc1+2
vncterm: 1.7-1
zfsutils-linux: 2.1.1-pve3
root@proxmox01:~#

I don't know how to move the NODE1 from 7.1-x to 7.4.x.

Any idea? I'm pretty sure that I do something wrong but I don't know what.


Latest thing: on NODE2 the command pve7to8 doesn't exist. :(

Thanks for your help.
 
I run the same command on NODE1, but I got this message.

Bash:
root@proxmox01:~# apt update
Hit:1 http://security.debian.org bullseye-security InRelease
Hit:2 http://ftp.it.debian.org/debian bullseye InRelease
Hit:3 http://ftp.it.debian.org/debian bullseye-updates InRelease
There is no Proxmox repository in there (and therefore no updates for Proxmox), only Debian ones. Cross reference the repositories (/etc/apt/sources.*) with your NODE2 please.
 
There is no Proxmox repository in there (and therefore no updates for Proxmox), only Debian ones. Cross reference the repositories (/etc/apt/sources.*) with your NODE2 please.

Thanks for your quick response..

The /etc/apt/source.list.d/ contains only 1 file.


NODE1

Bash:
root@proxmox01:~# cat /etc/apt/sources.list
deb http://ftp.it.debian.org/debian bullseye main contrib

deb http://ftp.it.debian.org/debian bullseye-updates main contrib

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

root@proxmox01:~# cat /etc/apt/sources.list.d/pve-enterprise.list  
# deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise

NODE2
Bash:
root@proxmox02:~# cat /etc/apt/sources.list
deb http://ftp.it.debian.org/debian bullseye main contrib

deb http://ftp.it.debian.org/debian bullseye-updates main contrib

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

root@proxmox02:~# cat /etc/apt/sources.list.d/pve-enterprise.list
# deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise

I run md5sum to check the integrity of files

Bash:
root@proxmox01:~# md5sum /etc/apt/sources.list /etc/apt/sources.list.d/pve-enterprise.list
79363c831a191bbfe27ef0857712d0c3  /etc/apt/sources.list
3a8913a714628feb23bd021b7b49dd3d  /etc/apt/sources.list.d/pve-enterprise.list

root@proxmox02:~# md5sum /etc/apt/sources.list /etc/apt/sources.list.d/pve-enterprise.list
79363c831a191bbfe27ef0857712d0c3  /etc/apt/sources.list
3a8913a714628feb23bd021b7b49dd3d  /etc/apt/sources.list.d/pve-enterprise.list

Thanks again.
 
I guess you just installed nodes at different times and disabled the enterprise repository but never added to no-subscription repository (assuming you don't have a support subscription). Please check the manual or search the forum about configuration repositories for updating your Proxmox.

EDIT: https://pve.proxmox.com/wiki/Package_Repositories

You are right.

The no-subscription repository is not set in both servers.
I setup it in the source file and now NODE1 and NODE2 run the same version.

The pve7to8 now is present and I can start to plan the upgrade from 7 to 8.

Thanks a lot for your help.