Regenerate Reports Completely
Sometimes it might be required to completely re-generate the traffic reports from scratch. For example, this is recommended if you just upgraded from old version of Web Safety and/or uploaded Squid's access logs from the old/other machine to the new one.
The following steps show how to completely re-generate the traffic statistics and reports.
- Remove all folders with names looking like YYYY-MM-DD from
/opt/websafety-ui/var/stats
folder. Remove thehistory.state
file too. - Remove all folders with names looking like YYYY-MM-DD, YYYY-MM and YYYY from
/opt/websafety-ui/var/reports
. Do not remove therealtime
andperiodic
folders! - Wait one day or simply run
sudo bash /etc/cron.daily/websafety_report
command from the console. Depending on the number of collected Squid's access logs it might take a lot of time to complete.