How to recalculate AWStats web-statistics using domain logs for previous months in Plesk

Follow

Comments

6 comments

  • Avatar
    Fouad Ahmed Fouad

    Not working when vhosts place is changed!

    ls: cannot access '/var/www/vhosts/system/exmple.com/statistics/webstat*/': No such file or directory
    ls: cannot access '/var/www/vhosts/system/example.com/statistics/webstat*/': No such file or directory

    0
    Comment actions Permalink
  • Avatar
    Mikhail Shport

    Hello Fouad Ahmed Fouad,

    Thank you for bringing our attention to this fact. The script was modified to follow the virtual hosts' location replacement.

    0
    Comment actions Permalink
  • Avatar
    Linux Infinys

    Hello,

     

    This link is not active.. https://support.plesk.com/hc/en-us/article_attachments/360040067853/rebuild_awstats.tar.gz

     

    We found error when wget from that link.

    0
    Comment actions Permalink
  • Avatar
    Anzhelika Khapaknysh

    @Linux,

    Here is the correct link: https://support.plesk.com/hc/en-us/article_attachments/360015808219/rebuild_awstats.tar.gz
    The article has been updated. Thanks for noticing!

    0
    Comment actions Permalink
  • Avatar
    turgut kalfaoglu (Edited )

    This tool does NOT seem to re-generate the

    /usr/local/psa/etc/awstats/awstats.sitename-*.conf

    files.. So the changes we make to the conf are not propaged to the site-specific config pages.Which, I suspect is the reason why people would want to use this tool mainly.

    Any ideas how to incorporate the regeneration of the /usr/local/psa/etc/awstats/* pages into this tool?

    0
    Comment actions Permalink
  • Avatar
    turgut kalfaoglu (Edited )

    Any ideas how to circumvent this problem?

    # ./rebuild_awstats.sh kalfaoglu.net

    === kalfaoglu.net
    WARNING: domain kalfaoglu.net does not exist or has non-AWstats statistics engine. Skipping...

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request