alxpanel

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:

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 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:

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.