Rebuild Stats folder

Discussion in 'Installation/Configuration' started by ataru, Feb 23, 2011.

  1. ataru

    ataru New Member

    I'm in a fresh installation of ISPConfig 3 on a Centos VPS, but configuring my web application, i accidentally deleted the content of stats folder.

    Is there a way to rebuild it?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The stats folder will be rebuild automatically at night when the stats cronjob runs. Additionally you might have to enter the password for stats again in ispconfig.
     
  3. ataru

    ataru New Member

    ok

    pw re-entered

    I'll wait till tonight
     
  4. inside83

    inside83 Member HowtoForge Supporter

    I accidentally deleted stats folder and it does not creates itself.
    Is there a way to recreate it manually?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes, you can create it manually.
     
  6. inside83

    inside83 Member HowtoForge Supporter

    @till
    Could you, please, explain how?
    Just create folder and then what?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Just:
    mkdir stats
    on the shell when you are in the web folder of the site.
     
  8. inside83

    inside83 Member HowtoForge Supporter

    @till
    Ok, I did.
    Now it will populate itself with contents automatically or I should go to the Statistics tab of the website and create a password and select a webstatistics program?
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    The stats should be generated the next day, a web statistics program has to be selected off course in ispconfig for that site.
     
  10. inside83

    inside83 Member HowtoForge Supporter

    Ok, thank you.
     
  11. inside83

    inside83 Member HowtoForge Supporter

    @till
    After several days, only ".htpasswd_stats" file exists in "stats" folder.
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    Is there a access.log file in the log folder of this website?
     
  13. inside83

    inside83 Member HowtoForge Supporter

    no, /var/www/clients/client1/web7/log folder is empty :(
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    run:

    mount -a

    and check again.
     
  15. inside83

    inside83 Member HowtoForge Supporter

    I did.
    Now it's full of date-access.log files (155 of them), one access.log file and one error.log file.
     
  16. till

    till Super Moderator Staff Member ISPConfig Developer

    ok, the stats should show up tomorrow again.
     

Share This Page