[SOLVED] Upgrade not working

Younex

Well-Known Member
Jan 30, 2018
93
22
48
45
Hi.

I get one error when trying to execute upgrade today on pmg:

Setting up pmg-api (5.0-63) ...
Use of uninitialized value $domain in concatenation (.) or string at /usr/share/perl5/PMG/Utils.pm line 501.
Use of uninitialized value $company in concatenation (.) or string at /usr/share/perl5/PMG/Utils.pm line505.
Generating a 4096 bit RSA private key
............................................................++
...................................................................................++
writing new private key to '/etc/pmg/pmg-tls.pem'
-----
problems making Certificate Request
140164439487744:error:0D07A098:asn1 encoding routines:ASN1_mbstring_ncopy:string too short:../crypto/asn1/a_mbstr.c:102:minsize=1
unable to generate proxmox certificate request:
command 'openssl req -batch -x509 -new -sha256 -config /tmp/pmgtlsconf-19600.tmp -days 3650 -nodes -out /etc/pmg/pmg-tls.pem -keyout /etc/pmg/pmg-tls.pem' failed: exit code 1
dpkg: error processing package pmg-api (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
pmg-api
E: Sub-process /usr/bin/dpkg returned an error code (1)
Anybody faced the same problem?
Thanks.
 
Hi Dietmar.

Sure:

nameserver 82.165.70.12
nameserver 82.165.71.12

Thanks.