Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 28th September 2009, 15:54
pssara pssara is offline
Junior Member
Join Date: Jan 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Webalizer changed path, stats were losts

I am using ISPconfig for several years now and I had extensive statistics for my sites, using Webalizer. When I upgraded from 2.2.29 to 2.2.33 the Webalizer path changed from $web_path . "/stats" to $web_path . "/webalizer". This change was not graceful and the statistics on the old path didn't move on the new path. Now, I only have statistics for September 2009.
Is there an automatic way to move all statistics to the new folder ?
Should I use something like this :
find /var/www/ -maxdepth 1 -name "web*" -type d -exec rm -rf {}/web/webalizer/ \;
find /var/www/ -maxdepth 1 -name "web*" -type d -exec mv -f {}/web/stats {}/web/webalizer \;

Last edited by pssara; 28th September 2009 at 16:29.
Reply With Quote
Sponsored Links
Old 28th September 2009, 22:22
jnsc jnsc is offline
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 531
Thanks: 11
Thanked 175 Times in 79 Posts

I would use something like that :
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webalizer stats only showing 1 or 2 days? TimeRider General 1 17th August 2009 14:30
missing webalizer stats bolero Installation/Configuration 15 12th November 2008 17:28
Disable Webalizer stats bixtro General 2 10th September 2008 10:09
Failover with VMWare Server - /var/vm isn't the right size.. Bart van Kleef HOWTO-Related Questions 24 30th August 2008 12:00
again on webalizer stats gilas Installation/Configuration 6 6th October 2006 17:16

All times are GMT +2. The time now is 13:34.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.