aaPanel is a popular Linux hosting control panel that simplifies server management with a web-based interface. But sometimes, the panel may stop loading in your browser — showing a blank page, connection error, or no response at all.
This guide explains the most common causes and step-by-step solutions to get your aaPanel working again, using both the official aapanel_check.sh
repair script and additional troubleshooting methods.
1. Check if the aaPanel service is running
The first step is to ensure the aaPanel service itself is active. Connect via SSH and run:
service bt status
If it’s stopped, restart it:
service bt restart
In many cases, this simple restart resolves the issue.
2. Run the official repair script
aaPanel provides an official script that diagnoses and fixes common issues. Execute:
curl -k https://www.aapanel.com/script/aapanel_check.sh | bash
Code language: JavaScript (javascript)
This script automatically checks:
- Corrupted or missing configuration files
- Status of core processes
- Permissions and system dependencies
It often restores normal operation without further manual steps.
3. Verify the panel port
By default, aaPanel runs on port 8888, but the port may have been changed. To confirm:
cat /www/server/panel/data/port.pl
Use the output port in your browser, e.g.:
http://your-server-ip:8888
Code language: JavaScript (javascript)
4. Check firewall and security rules
If the port is correct but still inaccessible, it may be blocked by the firewall.
With iptables:
iptables -L -n | grep 8888
With firewalld:
firewall-cmd --list-ports
Code language: PHP (php)
If missing, open it:
firewall-cmd --zone=public --add-port=8888/tcp --permanent
firewall-cmd --reload
Code language: PHP (php)
On cloud servers (AWS, Google Cloud, Azure, etc.), also check security group rules.
5. Inspect logs for errors
Logs can reveal deeper issues. Check:
tail -f /www/server/panel/logs/error.log
Look for errors related to permissions, missing Python modules, or system libraries.
6. Update or reinstall aaPanel
If the above steps don’t help, try updating or reinstalling:
Update:
bt update
Reinstall without data loss:
curl -sSO http://www.aapanel.com/script/install_6.0_en.sh && bash install_6.0_en.sh
Code language: JavaScript (javascript)
This reinstalls the control panel while keeping your websites and data intact.
Conclusion
When aaPanel doesn’t load, the issue is usually caused by:
- A stopped service
- A blocked or misconfigured port
- Corrupted configuration files after updates
The aapanel_check.sh
repair script is the fastest way to fix most problems. If the issue persists, logs and a clean reinstall usually restore functionality without losing your data.
FAQs
1. Does aapanel_check.sh
delete my data?
No, it only diagnoses and repairs issues — your sites and data remain safe.
2. How can I recover the panel port if I forgot it?
Check /www/server/panel/data/port.pl
for the current port number.
3. Can aaPanel be accessed over HTTPS?
Yes, you can enable SSL for secure access in the panel settings.
4. What if reinstalling doesn’t work?
It may be a networking or DNS issue. Test connectivity with ping
or telnet
on the aaPanel port.