How to rerun AwStats for a single Web

Discussion in 'ISPConfig 3 Priority Support' started by wwweiss, Feb 15, 2018.

  1. wwweiss

    wwweiss Member HowtoForge Supporter

    Hi,
    I had a Website where the mount point for log got lost in fstab (maybe after renaming the websites domain twice - but that doesn't matter).
    Now I would like to rerun the statistics (AwStats) only for this website using the logfiles from the last 4 weeks - is this possible?
    I already deleted everything from the stats directory because everything there was old and not relevant.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no script in ISPConfig to do that. The only way would be to run the commands manually and you will probably have to unpack the already gzipped logfiles first. To get an idea which exact command is run, take a look into the ISPConfig cron plugin that creates the awstats statistics:

    /usr/local/ispconfig/server/lib/classes/cron.d/150-awstats.inc.php
     
  3. wwweiss

    wwweiss Member HowtoForge Supporter

    Thank you very much. This is what I was looking for, because I expected to run some commands manually, but was not able to figure out the correct commands. It is good to know where these cron plugins are located :)
     

Share This Page