Troubleshooting CyberPanel

< All Topics
Print

Troubleshooting CyberPanel

There are two ways to troubleshoot any problem while using CyberPanel.

First Way

There is a global error log file (this file only contains logs generated by CyberPanel). This file can be reached at

https://<IP Address>:8090/serverstatus/cyberCPMainLogFile

Improved and detailed dynamic logging

/usr/local/CyberCP/debug

Run command touch /usr/local/CyberCP/debug, this will start generating more debug logs. If you find any issue with CyberPanel, you can run this command and then capture the output of /home/cyberpanel/error-logs.txt and share it with our support team.

/usr/local/CyberCP/emailDebug

If you want logs in /home/cyberpanel/error-logs.txt to be emailed to you, please run touch /usr/local/CyberCP/emailDebug, you will get logs in your email. (Email of admin account will be used to send these notifications). This also includes notification if CyberPanel fails to obtain SSL for any domain.

Second Way

If you can not find anything reasonable using the first way, then open your command-line terminal and run

journalctl -f | grep lscpd

After running this command, go back to CyberPanel and do the same thing causing issues, and then come back to terminal and capture the output.


Find errors in email problems

If for some reason your emails are not going through, you can use below commands to capture the output and get to the bottom of the issue:

  1. journalctl -f | grep postfix (For email delivery issues)
  2. journalctl -f | grep dovecot (For issues related to Rainloop Webmail)

Run these commands and then perform the operation that was causing the error, that will get you to the bottom of the problem. If need our help, make sure to share the output logs depending upon your support request.

Table of Contents