[SOLVED] Web GUI not working (jessie/stretch mixup)

loremipsumdolor

Active Member
Jun 12, 2018
6
0
41
35
Hi there,

I ran into some snags and after searching around for a solution I performed an upgrade. I had originally Proxmox 4.4-76 installed. I performed 'apt update' and 'apt dist-upgrade', after which it started and I couldn't get to the web GUI anymore. I am able to log in via ssh.

After looking around a bit more I saw a mention of pveproxy, pvedaemon, and pve-manager. All of those are masked and inactive.
Loaded: masked (/dev/null)
Active: inactive (dead)[/code]
Also I found out that I cannot run 'pveversion', which seems to be a bit worse?
Code:
root@vivaldi:~# pveversion
-bash: pveversion: command not found

Also:
Code:
root@vivaldi:~# dpkg --list | grep proxmox
rc  proxmox-ve                     4.4-76                             all          The Proxmox Virtual Environment
Code:
root@vivaldi:~# systemctl status pvestatd.service
● pvestatd.service
   Loaded: masked (/dev/null)
   Active: inactive (dead)

If I perform 'lvscan' all seem to be active. If there is any more information required I would gladly give it.

I fear that I screwed up during the update/upgrade and have been trying to fix it for hours now, is there a solution to my problem?

EDIT: Well shit, I just read somewhere you should not use 'apt-get upgrade', I think I did just so in my frustration trying to solve it. I am using the pve-no-subscription repo.

Further problem solving let me to try to run the following:
Code:
root@vivaldi:~# apt install proxmox-ve
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 proxmox-ve : Depends: pve-manager but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

root@vivaldi:~# apt install pve-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 pve-manager : Depends: libtemplate-perl but it is not installable
E: Unable to correct problems, you have held broken packages.

I had good hope that using this post https://forum.proxmox.com/threads/proxmox-not-running-after-upgrade-to-5-0.35455/#post-173820 which directed me to https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Stretch would help me, but alas.

Code:
root@vivaldi:~# apt install proxmox-ve postfix open-iscsi
Reading package lists... Done
Building dependency tree
Reading state information... Done
open-iscsi is already the newest version.
postfix is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 proxmox-ve : Depends: pve-manager but it is not going to be installed
              Depends: qemu-server but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@vivaldi:~# apt install qemu-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 qemu-server : Depends: genisoimage but it is not installable
               Depends: pve-qemu-kvm (>= 2.11.1-4) but 2.9.1-9~pve4 is to be installed
E: Unable to correct problems, you have held broken packages.
root@vivaldi:~# apt install pve-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 pve-manager : Depends: fonts-font-awesome but it is not installable
               Depends: libtemplate-perl but it is not installable
               Depends: pve-cluster (>= 5.0-27) but 4.0-55 is to be installed
               Depends: pve-container (>= 2.0-21) but it is not going to be installed
               Depends: pve-ha-manager but it is not going to be installed
               Depends: qemu-server (>= 5.0-24) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
 
Last edited:
Please check your apt repositories, maybe you mixed Debian Jessie with Stretch packages?
 
Thank you for the replies.
# apt-get install proxmox-ve
Code:
root@vivaldi:~# apt-get install proxmox-ve
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 proxmox-ve : Depends: pve-manager but it is not going to be installed
              Depends: qemu-server but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Please check your apt repositories, maybe you mixed Debian Jessie with Stretch packages?
Coincidentally, this occured to me right before I went to bed and I checked already:
Code:
root@vivaldi:~# cat /etc/*-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
So I have Stretch, but when I changed the repository I did use:
Code:
echo "deb http://download.proxmox.com/debian jessie pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list

So I am now suspecting I screwed up pretty bad there. I already did some searching, but I cannot find how to fix it if indeed this is causing the problem. Any help would be greatly appreciated.

Currently, I have the following:
Code:
root@vivaldi:~# cat /etc/apt/sources.list
deb debianwebsite/debian stretch main contrib

deb proxmoxwebsite/debian/pve stretch pve-no-subscription

# security updates
deb debianwebsite jessie/updates main contrib

root@vivaldi:~# cat /etc/apt/sources.list.d/pve-install-repo.list
deb proxmoxwebsite/debian/pve stretch pve-no-subscription
Changed the actual URLs to descriptions because the spam filter won't let me post otherwise.
 
Last edited:
Please fix your repositories. All should point to stretch.

https://pve.proxmox.com/wiki/Downlo...Proxmox_Virtual_Environment_5.x_to_latest_5.2

> apt update
> apt install proxmox-ve
I performed the steps. /etc/apt/sources.list and /etc/apt/sources.list.d/pve-enterprise.list are exactly the same and I also have /etc/apt/sources.list.d/pve-install-repo.list as per https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Stretch#Install_Proxmox_VE

I then get:
Code:
root@vivaldi:~# apt update
Ign:1 http://ftp.at.debian.org/debian stretch InRelease
Hit:2 http://ftp.at.debian.org/debian stretch-updates InRelease
Hit:3 http://security.debian.org stretch/updates InRelease
Hit:4 http://ftp.at.debian.org/debian stretch Release
Hit:5 http://download.proxmox.com/debian/pve stretch InRelease
Ign:7 https://enterprise.proxmox.com/debian/pve stretch InRelease
Err:8 https://enterprise.proxmox.com/debian/pve stretch Release
  401  Unauthorized
Reading package lists... Done
E: The repository 'https://enterprise.proxmox.com/debian/pve stretch Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@vivaldi:~# cat /etc/apt/sources.list.d/pve-
pve-enterprise.list    pve-install-repo.list
root@vivaldi:~# cat /etc/apt/sources.list.d/pve-enterprise.list
deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise
root@vivaldi:~# apt update
Ign:1 http://ftp.at.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org stretch/updates InRelease
Hit:3 http://ftp.at.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.at.debian.org/debian stretch Release
Hit:6 http://download.proxmox.com/debian/pve stretch InRelease
Ign:7 https://enterprise.proxmox.com/debian/pve stretch InRelease
Err:8 https://enterprise.proxmox.com/debian/pve stretch Release
  401  Unauthorized
Reading package lists... Done
E: The repository 'https://enterprise.proxmox.com/debian/pve stretch Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
 
I was just changing this as you replied, noticed it myself, I overlooked that. Just added the line per https://pve.proxmox.com/wiki/Package_Repositories and it says it's configured multiple times. Removed /etc/apt/sources.list.d/pve-install-repo.list, commented the line in /etc/apt/sources.list.d/pve-enterprise.list and running 'apt update':

Code:
root@vivaldi:~# apt update
Hit:1 http://security.debian.org stretch/updates InRelease
Hit:2 http://download.proxmox.com/debian/pve stretch InRelease
Ign:3 http://ftp.at.debian.org/debian stretch InRelease
Hit:4 http://ftp.at.debian.org/debian stretch-updates InRelease
Hit:5 http://ftp.at.debian.org/debian stretch Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.

root@vivaldi:~# 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:
ebtables g++-4.9 libstdc++-4.9-dev
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[/code]

Then a reboot and then 'pveversion -v':
Code:
root@vivaldi:~# pveversion -v
-bash: pveversion: command not found

EDIT: I am currently able to perform 'apt install pve-manager' and 'apt install proxmox-ve' without any problems. It might be solved...
 
Last edited:
A separate post for visibility. If this is not etiquette I will not do it again.

After being able to install 'pve-manager' and 'proxmox-ve':
Code:
root@vivaldi:~# pveversion
pve-manager/5.2-2/b1d1c7f4 (running kernel: 4.4.128-1-pve)

The web GUI is accessible again, also 'pveproxy' and 'pvedaemon' are both running again. 'pve-manager' is still inactive and masked, not sure if that should be different or that it will be ok as is?

Tom, thank you for your patience and help! I very much appreciate it.
 

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!