Topic: awstats not updating ever since install
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: ubuntu 16.04 lts
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx):apache
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello,
Trying to check statistics with awstats tonight and found out that it is not updating. error message at the top of the web page says "Never updated (See 'Build/Update' on awstats_setup.html page)", Reading through the forum seems to indicate an issue with the cron job, which are listed below. All other cron jobs are running without issue. I could not find anything log file wise specific to the cronjob not running.
# iRedMail: update Awstats statistics for web hourly
1 */1 * * * /usr/bin/perl /usr/lib/cgi-bin/awstats.pl -update -config=web >/dev/null
# iRedMail: update Awstats statistics for smtp hourly
1 */1 * * * /usr/bin/perl /usr/lib/cgi-bin/awstats.pl -update -config=smtp >/dev/null
Also as an aside, it seems to be only setup for 1 of my mail domains, how would i get it to recognize all of my domains?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.