help*** cannot log in to proxmox GUI

balcasan

New Member
Nov 26, 2022
4
1
3
I-m new to this of course. I made a mistake. I added Let's Encrypt SSL certificate for my proxmox homelab then I got the great idea to change the ProxmoxVE IP private address and then this just happened. I am unable to access the GUI. I used cloudflare for DNS and already disable everything related to Cloudflare within the cloudflare platform but still. unable to access Proxmox GUI

● pveproxy.service - PVE API Proxy Server
Loaded: loaded (/lib/systemd/system/pveproxy.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2022-12-15 04:30:50 CST; 14min ago
Process: 1157 ExecStartPre=/usr/bin/pvecm updatecerts --silent (code=exited, status=111)
Process: 1164 ExecStart=/usr/bin/pveproxy start (code=exited, status=0/SUCCESS)
Main PID: 1165 (pveproxy)
Tasks: 4 (limit: 3986)
Memory: 135.2M
CPU: 1min 12.512s
CGroup: /system.slice/pveproxy.service
├─1165 pveproxy
├─1713 pveproxy worker
├─1714 pveproxy worker
└─1715 pveproxy worker

Dec 15 04:44:49 pve.space pveproxy[1712]: worker exit
Dec 15 04:44:49 pve.space pveproxy[1713]: /etc/pve/local/pve-ssl.key: failed to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1899.
Dec 15 04:44:49 pve.space pveproxy[1165]: worker 1711 finished
Dec 15 04:44:49 pve.space pveproxy[1165]: starting 1 worker(s)
Dec 15 04:44:49 pve.space pveproxy[1165]: worker 1714 started
Dec 15 04:44:49 pve.space pveproxy[1165]: worker 1712 finished
Dec 15 04:44:49 pve.space pveproxy[1165]: starting 1 worker(s)
Dec 15 04:44:49 pve.space pveproxy[1165]: worker 1715 started
Dec 15 04:44:49 pve.space pveproxy[1714]: /etc/pve/local/pve-ssl.key: failed to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1899.
Dec 15 04:44:49 pve.space pveproxy[1715]: /etc/pve/local/pve-ssl.key: failed to load local private key (key_file or key) at /usr/share/perl5/PVE/APIServer/AnyEvent.pm line 1899.
 
Last edited:
Hi,

did you update /etc/hosts accordingly after changing the IP of your node? What's the status of the pve-cluster service?
 
Last edited:
  • Like
Reactions: balcasan
Hi,

did you update /etc/hosts accordingly after changing the IP of your node? What's the status of the pve-cluster service?
yes sir,

GNU nano 5.4 /etc/hosts *

192.168.1.254 pve.space

# The following lines are desirable for IPv6 capable hosts

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


**********************

● pve-cluster.service - The Proxmox VE cluster filesystem
Loaded: loaded (/lib/systemd/system/pve-cluster.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2022-12-15 19:43:18 CST; 25min ago
Process: 898 ExecStart=/usr/bin/pmxcfs (code=exited, status=255/EXCEPTION)
CPU: 29ms

Dec 15 19:43:18 pve.space systemd[1]: pve-cluster.service: Scheduled restart job, restart counter is at >
Dec 15 19:43:18 pve.space systemd[1]: Stopped The Proxmox VE cluster filesystem.
Dec 15 19:43:18 pve.space systemd[1]: pve-cluster.service: Start request repeated too quickly.
Dec 15 19:43:18 pve.space systemd[1]: pve-cluster.service: Failed with result 'exit-code'.
Dec 15 19:43:18 pve.space systemd[1]: Failed to start The Proxmox VE cluster filesystem.
~
 
Thinking on the steps I followed to somehow block my GUI access to proxmoxVE.
even when I return from private IP 192.168.1.200 to the previous IP address 192.168.1.254 it did not work.

From the errors I see I could say, it is an issue with the Let's Encrypt SSL certificates. and the way I configured those to edit the DNS in Cloudflare.
Now, I realized that deleting what I configured in Cloudflare was not the right thing to do specially under frustration for not having access to ProxmoxVE GUI.

but because Cloudflare configuration required a token and I cannot recreate the same Token. then I am thinking that maybe, I could try deleting the Let's Encrypt SSL Certificate, but I do not seem to be able to find it through SSH. I even WinSCP to it, but I require some guidance there. Well if anyone on this Forum think this make any sense of course I would appreciate any advice towards recovering ProxmoxVE GUI access.
 
try like this
Thinking on the steps I followed to somehow block my GUI access to proxmoxVE.
even when I return from private IP 192.168.1.200 to the previous IP address 192.168.1.254 it did not work.

From the errors I see I could say, it is an issue with the Let's Encrypt SSL certificates. and the way I configured those to edit the DNS in Cloudflare.
Now, I realized that deleting what I configured in Cloudflare was not the right thing to do specially under frustration for not having access to ProxmoxVE GUI.

but because Cloudflare configuration required a token and I cannot recreate the same Token. then I am thinking that maybe, I could try deleting the Let's Encrypt SSL Certificate, but I do not seem to be able to find it through SSH. I even WinSCP to it, but I require some guidance there. Well if anyone on this Forum think this make any sense of course I would appreciate any advice towards recovering ProxmoxVE GUI access.
попробуйте так

Code:
rm /etc/pve/pve-root-ca.pem
rm /etc/pve/priv/pve-root-ca.key
rm /etc/pve/nodes/srv1/pve-ssl.pem
rm /etc/pve/nodes/srv2/pve-ssl.pem
rm /etc/pve/nodes/srv3/pve-ssl.pem
rm /etc/pve/nodes/srv1/pve-ssl.key
rm /etc/pve/nodes/srv2/pve-ssl.key
rm /etc/pve/nodes/srv3/pve-ssl.key
rm /etc/pve/authkey.pub
rm /etc/pve/priv/authkey.key
rm /etc/pve/priv/authorized_keys
rm /root/.ssh/known_hosts

pvecm updatecerts -f

systemctl restart pvedaemon pveproxy
 
  • Like
Reactions: balcasan
I could not thank you enough !!!! :). I have access to ProxmoxVE GUI now.
This has been such a great experience !!!:)
 
  • Like
Reactions: NIKOLYA