AWstats not working after upgrade to latest stable

  • Hi,
    I've just noticed after upgrading to the latest stable my awstats is not working. Any ideas how I can troubleshoot it?


    Thanks,
    Rob

  • what do you mean with not working? If the statistics do not run or AWStats can not be displayed?

  • When I open the awstats page for a domain e.g.: mydomain.com/stats I only have stats up to the day I migrated. After that day none of the domains have any stats. e.g.: number of visitors etc etc. its all 0. Does not seem to be collecting for my domains.

  • Hallo,


    by me also AWstats not working.


    imscp 1.1.0.


    Kind regards,
    Viktor

    - Distribution: Debian | Release: 8.10 | Codename: jessie

    - i-MSCP Version: i-MSCP 1.5.3 | Build: 20180516 | Codename: Ennio Morricone

    - Plugins installed: ClamAV (v. 1.3.0), Mailgraph (v 1.1.1), OpenDKIM (v 2.0.0), PanelRedirect (v 1.2.0) & SpamAssassin (v 2.0.1)

    - LetsEncrypt (v 3.6.0), PhpSwitcher (v 5.0.5), RoundcubePlugins (v 2.0.2)

  • Hi Victor.


    please make a Update of the latest Version of I-MSCP 1.1.1.
    So your problem should be solved


    see also https://github.com/i-MSCP/imsc…126159ae3e4233ad037eb5521


    :thumbup: Thumb up :thumbup:

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hallo,


    thank you I have found it and change the cron job.


    I will not upadte to imscp.1.1.1 i must wait for imscp 1.1.2 for my htaccess problem. :D


    Thanks
    Viktor

    - Distribution: Debian | Release: 8.10 | Codename: jessie

    - i-MSCP Version: i-MSCP 1.5.3 | Build: 20180516 | Codename: Ennio Morricone

    - Plugins installed: ClamAV (v. 1.3.0), Mailgraph (v 1.1.1), OpenDKIM (v 2.0.0), PanelRedirect (v 1.2.0) & SpamAssassin (v 2.0.1)

    - LetsEncrypt (v 3.6.0), PhpSwitcher (v 5.0.5), RoundcubePlugins (v 2.0.2)


  • @Viktor


    What have you changed exactly where? Because i have the same Problem?
    Thanks in advance.

  • Hello ;


    Edit your /etc/cron.d/imscp cron file and then change the awstats line as follow:


    Code
    1. 15 3-21/6 * * * root /usr/bin/perl /var/www/imscp/engine/PerlLib/Addons/Webstats/Awstats/Scripts/awstats_updateall.pl now -awstatsprog=/usr/lib/cgi-bin/awstats.pl >/dev/null 2>&1

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206