upgrade 5 and no web interface

matteu

New Member
Jul 9, 2017
4
0
1
34
Hi,
I was on proxmox 4.4 up to date.
I stop my 2 vm and do each step mentionned on the proxmox documentation for an upgrade.
Each step seems to be ok but after reboot, I can ping the server and connect on ssh but no access on the web page (unavailable).

What I have to look at ?
I can see my vm in /dev/pve

I see qm list is not existing anymore now.
I don't know how to do to have web interface and start my vm because they are not started !

I'm not good in linux OS but if you say me what to do, I will post the result here :)

thanks :)
 
ok I tryed to modify sources.list and now when I do apt-get update it fails
I delete http here but it's ok on my server

root@proxmox:~# apt-get update
Hit:1 ://download.proxmox.com/debian/pve stretch InRelease
Ign:2 ://ftp.debian.org/debian stretch InRelease
Get:3 ://download.proxmox.com/debian jessie InRelease [2,413 B]
Hit:4 ://security.debian.org stretch/updates InRelease
Hit:5 ://ftp.debian.org/debian stretch Release
Ign:3 ://download.proxmox.com/debian jessie InRelease
Ign:6 s://enterprise.proxmox.com/debian stretch InRelease
Ign:8 s://enterprise.proxmox.com/debian stretch Release
Ign:9 s://enterprise.proxmox.com/debian stretch/pve-enterprise all Packages
Ign:10 s://enterprise.proxmox.com/debian stretch/pve-enterprise amd64 Packages
Ign:11 s://enterprise.proxmox.com/debian stretch/pve-enterprise Translation-en
Ign:12 s://enterprise.proxmox.com/debian stretch/pve-enterprise Translation-en_US
Ign:9 s://enterprise.proxmox.com/debian stretch/pve-enterprise all Packages
Ign:10 s://enterprise.proxmox.com/debian stretch/pve-enterprise amd64 Packages
Ign:11 s://enterprise.proxmox.com/debian stretch/pve-enterprise Translation-en
Ign:12 s://enterprise.proxmox.com/debian stretch/pve-enterprise Translation-en_US
Ign:9 s://enterprise.proxmox.com/debian stretch/pve-enterprise all Packages
Ign:10 s://enterprise.proxmox.com/debian stretch/pve-enterprise amd64 Packages
Ign:11 s://enterprise.proxmox.com/debian stretch/pve-enterprise Translation-en
Ign:12 s://enterprise.proxmox.com/debian stretch/pve-enterprise Translation-en_US
Ign:9 s://enterprise.proxmox.com/debian stretch/pve-enterprise all Packages
Ign:10 s://enterprise.proxmox.com/debian stretch/pve-enterprise amd64 Packages
Ign:11 s://enterprise.proxmox.com/debian stretch/pve-enterprise Translation-en
Ign:12 s://enterprise.proxmox.com/debian stretch/pve-enterprise Translation-en_US
Ign:9 s://enterprise.proxmox.com/debian stretch/pve-enterprise all Packages
Ign:10 s://enterprise.proxmox.com/debian stretch/pve-enterprise amd64 Packages
Ign:11 s://enterprise.proxmox.com/debian stretch/pve-enterprise Translation-en
Ign:12 s://enterprise.proxmox.com/debian stretch/pve-enterprise Translation-en_US
Ign:9 s://enterprise.proxmox.com/debian stretch/pve-enterprise all Packages
Err:10 s://enterprise.proxmox.com/debian stretch/pve-enterprise amd64 Packages
server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
Ign:11 s://enterprise.proxmox.com/debian stretch/pve-enterprise Translation-en
Ign:12 s://enterprise.proxmox.com/debian stretch/pve-enterprise Translation-en_US
Fetched 2,413 B in 5s (431 B/s)
Reading package lists... Done
W: GPG error: ://download.proxmox.com/debian jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C23AC7F49887F95A
W: The repository '://download.proxmox.com/debian jessie InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 's://enterprise.proxmox.com/debian stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch s://enterprise.proxmox.com/debian/dists/stretch/pve-enterprise/binary-amd64/Packages server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
E: Some index files failed to download. They have been ignored, or old ones used instead.

my sources.list

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

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

# security updates
deb ://security.debian.org stretch/updates main contrib
 
Last edited:
OK I commented one line in pve-entreprise and it seems to be ok for this.
But I think I will have to restore my environnment.

qm command not recognize
pveversion not recognize
can't access webservice
...

Lot of bad things...

What I would like to know now is :
I have to restore 4.4 and restore my vm
OR
could I install 5 and restore my vm ?
 
I finally solved my issue.

1) I comment the line on /etc/apt/source.list.d/source.list/pve-enterprise.list
2)Then it was ok for the repository !

3) apt-get install pve-kernel-4.10.15-1-pve -> OK
4) apt-get install pve-manager -> failed
Setting up pve-firewall (3.0-1) ...
Failed to reload-or-restart pve-firewall.service: Unit pve-firewall.service is masked.
dpkg: error processing package pve-firewall (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of qemu-server:
qemu-server depends on pve-firewall; however:
Package pve-firewall is not configured yet.

5)apt-get install pve-firewall -> failed

dpkg: error processing package pve-container (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pve-firewall
qemu-server
pve-manager
pve-ha-manager
pve-container
E: Sub-process /usr/bin/dpkg returned an error code (1)

6)systemctl list-unit-files
I saw pve-firewall masked

7)systemctl unmask pve-firewall.service
8)systemctl list-unit-files to verify and pve-firewall unmasked now !
9)apt-get install qemu-server -> ok
10)netstat -a | grep 8006 I can see one line
11) all seems to be ok
12)
pveversion -v
proxmox-ve: not correctly installed (running kernel: 4.10.15-1-pve)
pve-manager: 5.0-23 (running version: 5.0-23/af4267bf)
pve-kernel-4.10.15-1-pve: 4.10.15-15

13)apt-get install proxmox-ve -> ok

14)
pveversion -v
proxmox-ve: 5.0-15 (running kernel: 4.10.15-1-pve)
pve-manager: 5.0-23 (running version: 5.0-23/af4267bf)

15) it's over :)