awstats.php missing after 2.2.30 upgrade

Discussion in 'General' started by hakans, Mar 30, 2009.

  1. hakans

    hakans New Member

    I noticed that the statistics did not update after I upgraded to 2.2.30.
    When I tried to find awstats.php it was missing

    Code:
    [root@lillis www]# crontab -l | grep awstats
    0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php &> /dev/null
    [root@lillis www]# ll /root/ispconfig/scripts/shell/awstats.php
    ls: /root/ispconfig/scripts/shell/awstats.php: No such file or directory
    
    I guess the solution is just to copy this file to the desired location?

    Code:
    [root@lillis www]# locate awstats.php
    /usr/src/ISPConfig_awstats_pkg/awstats.php
    
    When I write about crontab I also want to ask about two other missing files

    Code:
    [root@lillis www]# crontab -l | grep server
    * * * * * /usr/local/ispconfig/server/server.sh &> /dev/null
    30 00 * * * /usr/local/ispconfig/server/cron_daily.sh &> /dev/null
    
    Code:
    [root@lillis www]# ll /usr/local/ispconfig/server/server.php
    ls: /usr/local/ispconfig/server/server.php: No such file or directory
    [root@lillis www]# ll /usr/local/ispconfig/server/cron_daily.php
    ls: /usr/local/ispconfig/server/cron_daily.php: No such file or directory
    
    Is the crontab wrong or are the files actually missing?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    you have to reinstall the awstats script after an ispconfig update.
     
  3. hakans

    hakans New Member

    Is this information applied to the upgrade information or is it common knowledge?

    I copied the file and thereafter run statistics update successfully.
     

Share This Page