[SOLVED] Need Help! Cannot access web interface after accidentally installing on the host

thorleif

New Member
Jul 25, 2024
2
0
1
Hi,

I messed up by accidentally trying to install Pterodactyl (https://pterodactyl.io/panel/1.0/getting_started.html) on the PVE host rather than an LXC that I had created. The installer tries to do some NGINX business and also makes changes to the UFW firewall. Now my PVE host is still running fine with all virtualization intact but I cannot access the web interface on https://192.168.1.100:8006/. Not sure how I could go about fixing this. I have PBS running but only for the LXCs. AFAIK backing up the host itself is not yet possible. Any help would be much appreciated.

Some terminal output on PVE:
Code:
root@pve:~# systemctl status pveproxy.service
● pveproxy.service - PVE API Proxy Server
     Loaded: loaded (/lib/systemd/system/pveproxy.service; enabled; preset: enabled)
     Active: active (running) since Sun 2024-09-15 13:59:06 CEST; 13min ago
   Main PID: 1580 (pveproxy)
      Tasks: 4 (limit: 76472)
     Memory: 149.9M
        CPU: 809ms
     CGroup: /system.slice/pveproxy.service
             ├─1580 pveproxy
             ├─1581 "pveproxy worker"
             ├─1582 "pveproxy worker"
             └─1583 "pveproxy worker"

Sep 15 13:59:05 pve systemd[1]: Starting pveproxy.service - PVE API Proxy Server...
Sep 15 13:59:06 pve pveproxy[1580]: starting server
Sep 15 13:59:06 pve pveproxy[1580]: starting 3 worker(s)
Sep 15 13:59:06 pve pveproxy[1580]: worker 1581 started
Sep 15 13:59:06 pve pveproxy[1580]: worker 1582 started
Sep 15 13:59:06 pve pveproxy[1580]: worker 1583 started
Sep 15 13:59:06 pve systemd[1]: Started pveproxy.service - PVE API Proxy Server.

Code:
root@pve:~# curl -k -v https://192.168.1.100:8006
* Connected to 192.168.1.100 (192.168.1.100) port 8006 (#0)
...
and so on... It gets the login page.

Some terminal output on a different machine:
Code:
❯ curl -k -v https://192.168.1.100:8006

*   Trying 192.168.1.100:8006...
* connect to 192.168.1.100 port 8006 from 192.168.254.2 port 53825 failed: Operation timed out
* Failed to connect to 192.168.1.100 port 8006 after 75001 ms: Couldn't connect to server
* Closing connection
curl: (28) Failed to connect to 192.168.1.100 port 8006 after 75001 ms: Couldn't connect to server
 
Last edited:
I found that UFW had been installed and was blocking port 8006, so I got it working again by uninstalling UWF. I also ran
Code:
iptables -F
iptables -X
in an effort to get rid of any possible `iptables` rules that UFW might have left behind. I hope that didn't purge any important default settings in PVE.
 

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!