Upgrading and ended up killing my install is it fixable?

bjamm

New Member
Nov 26, 2023
4
0
1
Hello, I was attempting to finally update my server as I was running 6.x and was upgrading to 7.4 in order to do the 8.x upgrade.

However it didnt make it from 6 to 7 properly and now nothing is working. I can still SSH into the server but the webhost doesnt work at all.

I'm not sure where to start but if I can get back and save my VM for OpnSense I dont mind reinstalling from scratch if I have to but I gotta get back into the server to save it first. I've messed with it for the past few hours and am making no progress and probably made it worse. Any advise on where to start?



Code:
root@bjamm:~# pveversion
-bash: pveversion: command not found

Code:
root@bjamm:~# apt update
Hit:1 http://download.proxmox.com/debian/pve bullseye InRelease
Hit:2 http://download.proxmox.com/debian/ceph-luminous buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
31 packages can be upgraded. Run 'apt list --upgradable' to see them.

Code:
root@bjamm:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  proxmox-archive-keyring proxmox-backup-client proxmox-kernel-helper
  pve-kernel-5.4.174-2-pve
Use 'apt autoremove' to remove them.
The following packages have been kept back:
  zfs-initramfs zfs-zed
The following packages will be upgraded:
  libpve-http-server-perl
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/26.1 kB of archives.
After this operation, 2,048 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs... Done
(Reading database ... 66649 files and directories currently installed.)
Preparing to unpack .../libpve-http-server-perl_4.2-3_all.deb ...
Unpacking libpve-http-server-perl (4.2-3) over (3.2-5) ...
Setting up libpve-http-server-perl (4.2-3) ...

Code:
root@bjamm:~# cat /etc/apt/sources.list
#deb http://ftp.debian.org/debian bullseye main contrib
#deb http://ftp.debian.org/debian buster-updates main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

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

Code:
root@bjamm:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  proxmox-archive-keyring proxmox-backup-client proxmox-kernel-helper
  pve-kernel-5.4.174-2-pve
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded.
 
Why did you comment all the debian repositories? They are needed and should all be set to bullseye.
Trying to get it to install something wasn't working so I've changed it back and forth a few times trying to go back to 6 if it didnt take to 7.
 
Does nbody read the instructions any more?

Changing stuff randomly is usually not a good method. Instead try to understand what you do. Put the debian repositories back and make sure they all refer tothe same release, which for PVE 7.x would be bullseye. You have some buster still in there which is likely the root problem.
 
  • Like
Reactions: andlil

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!