There are two ways to troubleshoot any problem while using CyberPanel.
There is a global error log file (this file only contains logs generated by CyberPanel). This file can be reached at
Improved and detailed dynamic logging
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.
Find Out What's New: Click to Our Latest Blog
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.
Enhance Your CyerPanel Experience Today!
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:
journalctl -f | grep postfix(For email delivery issues)
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.