Awstats error after update from RC2 to RC3

  • Hey guys,


    i updated my imscp installation yesterday from i-MSCP 1.1.0-rc2 to i-MSCP 1.1.0-rc3.
    After update i can not use my awstats anymore


    If i click on webstatistics in the control panel it rederects me to http://mydomain.tld/stats


    and there i get an 404. If i use https:// instead it works. But is that the intention?


    Also (but i dont know if bug or normale behavior) there is no awstats for subdomains anymore? Or is that a standard behavior of imscp/awstats?


    any ideas how to fix that issue in a proper way?

    Edited once, last by smokers ().

  • For me, the main domain awstats configuration is correctly working.
    For the subdomain, no configuration is maked and also the subdomain stats is not showed in main root stats.
    Someone know hao to alter the setup of new subdomain to create config file for the awstats, as the root domain?

  • Hello ;


    i-MSCP doesn't create any awstats configuration file for subdomains. This is because subdomain stats are included in main domain


    imscp/configs/debian/awstats/awstats.imscp_tpl.conf

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

  • Hello,
    i'm sorry but the subdomain statistics is not included, the log file is different and the basic configuration check only the root domain log


    LogFile="{APACHE_LOG_DIR}/{DOMAIN_NAME}-combined.log"


    Also is maybe more interesting to have a full domain statistics and a separate statistics for any subdomain (shop.domain.tld, http://www.domain.tld, support.domain.tld ).
    Thank you

    Edited once, last by m4rv1n00 ().


  • Re;


    Ok, in that case, please open a ticket.

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

  • Can you tell me were imscp choose to create awstats configuration only for main domain? I've altered the apache config to create subdomain/stats but i need also to create the template awstats for the subdomain.
    Thank you


  • Can you tell me were imscp choose to create awstats configuration only for main domain? I've altered the apache config to create subdomain/stats but i need also to create the template awstats for the subdomain.
    Thank you


    Hello ;


    You must not modify the templates ! Awstats is an addon. To add support for subdomains, you must know how the engine API works. I'll add support for subdomains today and you'll understand what I mean there.

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

  • Should be fixed in last master. See https://github.com/i-MSCP/imsc…7e2f19786f444c72325e0eaac


    BTW: Login data are same as for the main domain.


    Edit: Small fix here: https://github.com/i-MSCP/imsc…503b6cbcd8d965d7e0ffbc96d

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

    Edited once, last by Nuxwin ().