usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.48k stars 577 forks source link

findBWUsage.py script gets "list index out of range [calculateBandwidth]" exception in error-logs.txt #1158

Open mgonzcast opened 7 months ago

mgonzcast commented 7 months ago

I have reported this as a bug in the forum but I might think it´s better to do it here at github

I have Ubuntu 22.04. Everytime I run manually the findBWUsage.py script I get that exception logged in the error-logs.txt log.

I get the logs sents to me, so It´s full of those messages every hour. I have disabled the script in the crontab

I have another server running Ubuntu 20.04 and it seems no exception is logged.

usmannasir commented 7 months ago

Did you by chance change how the web server logs are generated?

mgonzcast commented 7 months ago

Did you by chance change how the web server logs are generated?

No, why? I just use the SMTP google option for sending emails. I get other emails just fine

mgonzcast commented 7 months ago

@usmannasir Have you had the chance to look at this?