First-day problems
What the install's notes mean, and where to look when something does not start.
The install refused
The output lists each reason and what to do about it. Before you start explains what the install looks for. Two things to know:
- dnf installed the dependencies before alxpanel refused.
dnf history undo lastremoves them. - firewalld, if it was not on the server before, is now installed and enabled, and would start at the next boot with its default rules, which do not open the web or panel ports. Remove it with the undo above if you are not going ahead.
Notes under "Check:"
The install prints these when it saw something it did not change.
Another firewall filters incoming traffic
alxpanel opens its ports in firewalld only. With iptables, ufw or your own nftables rules in charge, open them there yourself: TCP 80, 443, 8443, 21 and 30000 to 30099.
A firewall outside the server, such as a cloud provider's security group, needs the same ports. The install cannot see those.
firewalld has interfaces outside its default zone
The ports were opened in the default zone only. If the sites or the panel are reached through an interface in another zone, open the ports in that zone too.
SELinux is disabled
alxpanel works, but its policy, which confines the customer sites and its own services, is not active. To enable it: set SELINUX=enforcing in /etc/selinux/config, run touch /.autorelabel, and reboot.
sshd restricts logins
Your sshd_config has AllowUsers or AllowGroups. Customers cannot use SFTP or SSH until the groups alxpanel-sftp and alxpanel-ssh are allowed as well (AllowGroups).
Put your own sshd settings in /etc/ssh/sshd_config.d/80-alxpanel-local.conf. The file 90-alxpanel.conf belongs to alxpanel and is restored on every update.
The panel does not open
- The browser cannot connect. Port 8443 is closed somewhere between you and the server: a provider firewall, or another firewall on the server (see above).
- The browser warns about the certificate. Expected on a new server: the certificate is self-signed until you issue one on the Panel TLS page.
- The install said "installed, but with problems". It names each service that is not running, with the
journalctl -u <unit>command that shows why. After fixing, runalxpanel-setup: it starts the agent and the panel if they are not running, checks the rest again and prints the sign-in.
The sign-in details scrolled away, or never appeared
Run alxpanel-setup as root. It prints the address and a new one-time password.
If both install commands were run as one (dnf install -y …release.rpm alxpanel), the details are printed in the middle of dnf's output, above its package lists, not at the end.
An existing service was changed
On a server that already ran a web or database server and was installed anyway:
- every Apache
Listenline now reads127.0.0.1:8080, and itsssl.confand welcome page are disabled; /etc/proftpd.confnow includes alxpanel's configuration; the original is kept as/etc/proftpd.conf.disabled;- an existing PostgreSQL now requires SCRAM passwords on 127.0.0.1 and ::1. Other roles whose password was stored as md5 cannot log in over loopback until it is set again (
ALTER ROLE name PASSWORD '...').
Where the logs are
| What | Where |
|---|---|
| The install's own warnings | journalctl -t alxpanel |
| The agent (the part that changes the server) | journalctl -u alxpanel-agent |
| Everything the agent was asked to do | /var/log/alxpanel/agent-audit.log |
| Database migrations | journalctl -u alxpanel-panel-migrate |
| The panel's web server | /var/log/alxpanel/panel-nginx-*.log |
| Sites | /var/log/alxpanel/sites/<account>/ |
Files and switches lists the rest.