Disk space / bandwidth totals / statistics not updating

Question:

On the Statistics page, I see the statistics graphs but they are not being updated by Centova Cast. My disk space and bandwidth totals are also not updating. How do I fix this?

Answer:

First, please note that the statistics, bandwidth, and disk space totals are updated only once every 12 hours. If you have not waited at least 12 hours, please do so before attempting to further diagnose this problem.

You can change the update frequency for the statistics by editing /home/centovacast/system/config.php and changing the LOGROTATE_FREQUENCY setting.

If you have waited at least 12 hours and the statistics are still not updating, this indicates that for some reason, your Centova Cast cron job is not running properly. Please check the following, in order:

  1. Is your Centova Cast cron job working properly? Refer to this article to verify that your cron job is working correctly.

  2. Is the log processing job terminating with an error? In some cases, problems with a particular stream can cause the log processing job to exit with an error, which will prevent the remaining accounts from being processed. Try running the following command:

    /home/centovacast/system/runascc/runascc exec ccmanage processlogs all --debug
    

    If the problem is still not obvious, please open a ticket with the support department and provide us the complete output of the above command, and we'll help you to diagnose the problem. Please be sure to send the output as a file attachment -- for example, to create a zip file with the output, run:

    /home/centovacast/system/runascc/runascc exec ccmanage processlogs all --debug > debug.log 2>&1
    gzip -9 debug.log
    

    And then send us debug.log.gz as a file attachment.

Note that if you are not seeing the statistics graphs at all (i.e., if you are seeing no graphs, or red X's where the graphs should be) then this indicates a completely different problem. In that case, please see the following knowledge base article:

Statistics graphs missing (or showing red X's)

NOTE: This article is for Centova Cast v2 only; an alternate version exists for Centova Cast v3.