Today I was working with a LXC container running Debian 12. While trying to install HestiaCP, I accidentally ran the commands on the node's shell.
My brain borked and now the web interface cannot connect anymore to the local IP on port 8006.
At least SSH works. Is recovering this server doable, or should I aim to back up containers (listed with
My brain borked and now the web interface cannot connect anymore to the local IP on port 8006.
At least SSH works. Is recovering this server doable, or should I aim to back up containers (listed with
pct list) and reinstall Proxmox?- I installed Hestia with multiple PHP versions like this.
wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.shbash hst-install.sh --multiphp yes- I tried deleting Hestia's files and reverting changes from /etc/hosts/ and /etc/hostname/, then reinstalling packages.
sudo systemctl stop hestiasudo systemctl stop apache2sudo systemctl stop nginxsudo systemctl stop mysqldpkg --list | grep hestiasudo apt-get remove --purge hestiasudo apt-get remove --purge apache2 nginx mysql-serversudo apt-get autoremovesudo apt-get remove --purge exim4 dovecot-core dovecot-imapd roundcube roundcube-coresudo apt-get autoremovesudo crontab -ecd /etc/apt/sources.list.d/rm hestia.listrm mariadb.listrm nginx.list php.listrm apache2.listapt updateapt upgrade -ysudo apt --reinstall install proxmox-vesystemctl stop mariadbsystemctl disable mariadbapt remove mariadbapt remove mariadbdapt remove mariadb-serverapt remove mariadb-clientsystemctl stop exim4systemctl disable exim4apt remove exim4 -yapt autoremoveapt remove exim4*systemctl stop spamdsystemctl disable spamdapt remove spamassassin*apt remove amavis*systemctl stop namedsystemctl disable namedapt remove bindapt remove bind9apt autoremoveapt cacheapt-get cleanapt install --reinstall proxmox-vehostname --ip-addressapt update && apt full-upgradeapt install proxmox-ve postfix open-iscsi chrony- /etc/networks show:
default 0.0.0.0loopback 127.0.0.0link-local 169.254.0.0 <- strange IP, maybe related?- My iptables file shows 2 files in /var/tmp/, and received a warning about this file being edited.
vim -r /etc/sysconfig/iptablesSwap files found:
Using specified name:
-- none --
In directory N/tmp:
-- none --
In directory /var/tmp:
1. iptables. swo
owned by: root dated: Thu sep 19 2021.1
file name: /etc/sysconfig/iptables
modified: no
user name: root
host name: server.domain.com
process ID: 47236 (STILL RUNNING)
2. iptables.swp
owned by: root dated: Thu sep 19 2021.1
file name: /etc/sysconfig/iptables
modified: no
user name: root
host name: server.domain.com
process ID: 47201 (STILL RUNNING)
In directory /tmp:
-- none --
- Tried this command too, but I believe my case needs the original network setup.
apt install --reinstall pve-manager proxmox-widget-toolkit libjs-extjs