Issues upgrading proxmox 1.9 to 2.0

Dominique

New Member
May 10, 2012
4
0
1
Hi,

We are encountering some issues upgrading proxmox 1.9, please help.

Running: ./pve-upgrade-1.9-to-2.0

Results in:

Setting up pve-manager (2.1-1) ...
insserv: warning: current stop runlevel(s) (0 1 6) of script `pvebanner' overwrites defaults (empty).
Restarting PVE Daemon: pvedaemon.
Restarting PVE Status Daemon: pvestatd.
Restarting web server: apache2Action 'start' failed.
The Apache error log may have more information.
failed!
invoke-rc.d: initscript apache2, action "restart" failed.
dpkg: error processing pve-manager (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reportsdpkg: dependency problems prevent configuration of proxmox-ve-2.6.32:
proxmox-ve-2.6.32 depends on pve-manager; however:
Package pve-manager is not configured yet.
dpkg: error processing proxmox-ve-2.6.32 (--configure):
dependency problems - leaving unconfigured

configured to not write apport reports
Errors were encountered while processing:
pve-manager
proxmox-ve-2.6.32
E: Sub-process /usr/bin/dpkg returned an error code (1)
minimal upgarde failed

And I also see the apache error:
[Thu May 10 15:29:07 2012] [error] Can't locate /usr/share/pve-manager/root/startup.pl in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . /etc/apache2) at (eval 2) line 1.\n
[Thu May 10 15:29:07 2012] [error] Can't load Perl file: /usr/share/pve-manager/root/startup.pl for server localhost:0, exiting...

Commenting out the line to load the file also gives me:

[Thu May 10 15:24:12 2012] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu May 10 15:24:12 2012] [warn] RSA server certificate CommonName (CN) `Proxmox Virtual Environment' does NOT match server name!?
[Thu May 10 15:24:12 2012] [error] Unable to configure RSA server private key
[Thu May 10 15:24:12 2012] [error] SSL Library Error: 185073780 error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch


This is because in another thread it was suggested to remake certs with: pvecm updatecerts
This did not work, and I renamed some other certs to these file names, but now this results in this error ... please help !

Thanks
 
Why is the apache include not being updated ????
I managed to fix the apache errors as follows:

support:~# cp /etc/pve.old-1.9/pve-ssl.pem /etc/pve.old-1.9/pve-ssl.key /etc/pve/
support:~# cp /usr/share/pve-manager/startup.pl /usr/share/pve-manager/root/startup.pl
support:~# /etc/init.d/apache2 restart
Restarting web server: apache2.

Please tell me how I can rebuild the config file for apache.
 
Now I get:
[Thu May 10 16:03:06 2012] [error] [client 192.168.51.60] failed to resolve handler `PVE::URLRewrite': Can't locate PVE/URLRewrite.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . /etc/apache2) at (eval 476) line 3.\n

Already reinstalled pve-manager.
 

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!