[SOLVED] No GUI

kebek

New Member
Dec 14, 2021
2
1
3
37
Hello, I didnt change the hostname and still have no GUI

Code:
 pveproxy.service - PVE API Proxy Server
     Loaded: loaded (/lib/systemd/system/pveproxy.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2022-01-18 15:44:33 -03; 3min 39s ago
    Process: 657537 ExecStartPre=/usr/bin/pvecm updatecerts --silent (code=exited, status=0/SUCCESS)
    Process: 657540 ExecStart=/usr/bin/pveproxy start (code=exited, status=0/SUCCESS)
   Main PID: 657573 (pveproxy)
      Tasks: 4 (limit: 38238)
     Memory: 131.9M
        CPU: 16.581s
     CGroup: /system.slice/pveproxy.service
             ├─657573 pveproxy
             ├─659282 pveproxy worker
             ├─659283 pveproxy worker
             └─659284 pveproxy worker

Jan 18 15:48:07 debian pveproxy[659282]: /etc/pve/local/pveproxy-ssl.key: failed to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEve>
Jan 18 15:48:07 debian pveproxy[657573]: worker 659214 finished
Jan 18 15:48:07 debian pveproxy[657573]: starting 1 worker(s)
Jan 18 15:48:07 debian pveproxy[657573]: worker 659283 started
Jan 18 15:48:07 debian pveproxy[659215]: worker exit
Jan 18 15:48:07 debian pveproxy[659283]: /etc/pve/local/pveproxy-ssl.key: failed to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEve>
Jan 18 15:48:07 debian pveproxy[657573]: worker 659215 finished
Jan 18 15:48:07 debian pveproxy[657573]: starting 1 worker(s)
Jan 18 15:48:07 debian pveproxy[657573]: worker 659284 started
Jan 18 15:48:08 debian pveproxy[659284]: /etc/pve/local/pveproxy-ssl.key: failed to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEve

the file (/etc/pve/local/pveproxy-ssl.key) exist and its not empty
-rw-r----- 1 root www-data 215 Jan 3 23:12 /etc/pve/local/pveproxy-ssl.key

any ideas whats going on?
 
hi,

any ideas whats going on?
i guess you were trying to put a custom certificate right?

you could try:
Code:
pvecm updatecerts --force
systemctl restart pveproxy

also take a look here [0], there are some other hints:

3.11.2. Certificates for API and Web GUI​


The REST API and web GUI are provided by the pveproxy service, which runs on each node.

You have the following options for the certificate used by pveproxy:

  1. By default the node-specific certificate in /etc/pve/nodes/NODENAME/pve-ssl.pem is used. This certificate is signed by the cluster CA and therefore not automatically trusted by browsers and operating systems.
  2. use an externally provided certificate (e.g. signed by a commercial CA).
  3. use ACME (Let’s Encrypt) to get a trusted certificate with automatic renewal, this is also integrated in the Proxmox VE API and Webinterface.

For options 2 and 3 the file /etc/pve/local/pveproxy-ssl.pem (and /etc/pve/local/pveproxy-ssl.key, which needs to be without password) is used.
do you have a password set for the key? (should be without pass)

hope this helps!

[0]: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysadmin_certificate_management
 
i guess you were trying to put a custom certificate right?
you are correct.

you could try:
Code:
pvecm updatecerts --force
systemctl restart pveproxy
I already did before posting in here, nothing changed

do you have a password set for the key? (should be without pass)
no I don't.

It did, when I ran
Code:
pvenode cert info

it help me to identify the problem.
 
  • Like
Reactions: oguz
It did, when I ran
Code:
pvenode cert info
it help me to identify the problem.
thanks for sharing the solution! please mark the thread [SOLVED] for others ;)