Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Files table duplicates a folder every time on /dev/tasks/FilesystemSyncTask

Go to End



Community Member, 66 Posts

24 October 2011 at 9:56am

I uploaded a folder via FTP. Fixed permissions. Started adding the images to the pages. All goes fine. Then I noticed that every time I run the FilesystemSyncTask, it adds that whole folder of about 70 images, AGAIN to the mysql table. Ran the FilesystemSyncTask 5, 6 times and my File table went from 250 entries to 1000+, the last 750 being these same files, repeated.

I can't afford this if the site is to grow, does anyone know if there's a CHMOD or something that I need to do for the FilesystemSyncTask to know it already has these files in it?