[Cdash] cdash backup directory not being cleaned up

clinton at elemtech.com clinton at elemtech.com
Mon Mar 30 14:10:48 UTC 2015



----- Original Message -----
> Dave, Clinton,
> 
> I'm guessing the asynchronous call is not working properly.
> Are you getting daily file changed at the top of the dashboard?

No, I'm not.  I get this message at the top every day.
"No update data as of Thursday, March 26 2015 - 20:00 MDT"
even while there were changes.

I had assumed that was because I didn't enter the repository information in the project settings.


> 
> Can you try to call the dailyupdates directly from your browser?
> Something like:
> 
>    http://localhost/CDash/cdash/dailyupdatescurl.php?projectid=1
> 
> with the projectid being the id of your project.

That did clean up most of the files except for the new ones.

Clint

> 
> Let me know if that works (or not),
> Julien
> 
> On 27/03/2015 19:50, David Cole via Cdash wrote:
> > Ah ha! I just checked mine, and I have 3.8 G worth of *.xml files
> > dating all the way back to May 22, 2013 in my backup folder: the week
> > that I set it up...
> >
> > I have this in my config.local.php, intending to keep things around for a
> > week:
> > $CDASH_BACKUP_TIMEFRAME = '168'; // in hours
> >
> > Good thing it's not a high-volume CDash server!
> >
> > Looking forward to a fix for this one. ;-)
> >
> >
> >
> > On Fri, Mar 27, 2015 at 1:19 PM, Clinton Stimpson <clinton at elemtech.com>
> > wrote:
> >> Hi,
> >>
> >> I have another problem with cdash.
> >>
> >> The backup directory contains the submitted .xml files.
> >> I have in my cdash/config.php file
> >> $CDASH_BACKUP_TIMEFRAME = '48'; // 48 hours
> >>
> >> According to this, the .xml files older than 48 hours are supposed to be
> >> cleaned up when new submissions arrive.
> >> http://www.vtk.org/Wiki/CDash:Administration#Backup_mechanism
> >>
> >> This is not the case for me.  My backup directory is accumulating and
> >> contains
> >> files from the distant past.  Much more than 48 hours ago.
> >>
> >> Is anyone else seeing this, or could it be specific to my setup?
> >> For example, I install cdash in a version specific folder, and then make a
> >> softlink for apache.  I don't know if something like that would prevent
> >> the
> >> cleanup.  Permissions shouldn't be a problem because apache can put the
> >> files
> >> there, so it should be able to remove them.
> >>
> >> Clint
> >> _______________________________________________
> >> Cdash mailing list
> >> Cdash at public.kitware.com
> >> http://public.kitware.com/mailman/listinfo/cdash
> > _______________________________________________
> > Cdash mailing list
> > Cdash at public.kitware.com
> > http://public.kitware.com/mailman/listinfo/cdash
> >
> 



More information about the CDash mailing list