Re create stats folder

Discussion in 'General' started by Toucan, Aug 2, 2010.

  1. Toucan

    Toucan Member

    I accidentally deleted the stats folder on a site so now the stats service is no longer working. Is there a way I can recreate this?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The stats folder gets recreated automatically on the next nightly run of the statistics scripts.
     
  3. Toucan

    Toucan Member

    Or at least that's what I thought the problem was. It asks me for the password but returns
    ERROR 500 - Internal Server Error!
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Take a look into the error log of the website to see the reason for the error.
     
  5. Toucan

    Toucan Member

    The filed in the stats folder do appear to be being written as there are entries for the 2nd.

    I found this in the ispconfig log which does relate to the site:
    chmod: cannot access `/var/www/clients/client1/web51/*': No such file or directory

    Where do I find the site log you speak of?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    in the log folder of the website.
     
  7. Toucan

    Toucan Member

    Thanks Till. There didn't seem to be any errors in the site log relating to that - just a load of missing link errors.

    I deleted the stats folder and as promised it was recreated over night and now it works. I'm wondering if as the site was imported from another server, the stats folder had maintained it's original permissions etc. All works now.
     

Share This Page