ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

File Manager Directory Synchronize doesn't generate record for every file EE 2.7.0

September 11, 2013 12:08pm

Subscribe [4]
  • #1 / Sep 11, 2013 12:08pm

    box-head

    177 posts

    For ease and speed we FTP’d up a selection of files, 70 in total (.jpg, .zip, .mov) to a directory on our server. File sizes for these files range from 10KB up to 1GB.

    We gave the directory 777 permissions and set it up in EE as an upload directory, making sure to leave the ‘Allowed File Types’ option set to ‘All file types’ and leaving the ‘Maximum file size’ field left blank.

    We then used the ‘Synchronize’ button on the Upload Preferences Page and watched the progress bar run to the end, and the page then display a summary of the synchronization process, indicating that no errors were found and that all 70 files had synchronized successfully.

    When we viewed the File Manager page however we noticed that only about a third of the files were present (we also check the exp_files table just to be sure).
    Our debugging steps:

    1. Check all the file mime types are accepted in the /system/expressionengine/config/mimes.php file – they were all there.
    2. Check if only the smallest files had records generated? – A 1GB file had a record generated as well as a 550MB file and a 100KB file. So the problem doesn’t appear to related to the filesize.
    3. Do only certain types of file have records generated? – records were made for all 3 types of file .zip, .jpg, .mov
    4. Is the PHP script timing out? – We upped the max_execution_time to 5 minutes (300 seconds)
    5. Is it only happening on a live server? – We found the same on a local server environment

    Our server has these PHP.INI settings:
    max_execution_time 300
    memory_limit 500MB
    upload_max_filesize 500MB
    post_max_size 500MB

    Does anyone have an idea where to look next for a solution?

    Thanks,
    Bh

  • #2 / Sep 13, 2013 3:52am

    verse

    26 posts

    We’re having this issue too, but on a larger scale, we have 4000 images in our image bank and only 1300 are synching, it really isn’t an option to manually add them, any idea when this bug will be fixed?

  • #3 / Sep 13, 2013 5:07am

    Grant Hood

    7 posts

    We’re having this issue too, but on a larger scale, we have 4000 images in our image bank and only 1300 are synching, it really isn’t an option to manually add them, any idea when this bug will be fixed?

    I haven’t got a support package, so I can’t report the bug, but I will email them directly pointing out that several people on here are experiencing the same issue. I’ll let you know how I get on.

    Cheers

    Grant

  • #4 / Sep 13, 2013 5:08am

    verse

    26 posts

    I’ve found that if you sync the images multiple times it seems to gradually add more and more images, i’m guessing it’s simply timing out at a certain amount, I’ve now synced 10+ times and we’ve nearly got everything imported

  • #5 / Sep 13, 2013 6:22am

    moki

    26 posts

    On a semi-related note, is there an ACT associated with synchronizing the File Manager?  For a client’s site, I’d very much like to be able to automatically synchronize what’s displayed in the File Manager, either via cron or triggered by an upload event (external to EE).

  • #6 / Sep 13, 2013 11:53am

    pblackler

    12 posts

    I’m also having this issue, manual upload of all the files is a no go due the volume involved, any one got close the figuring this one out. Syncing multiple times does not work for me.

    I even tried rolling back all the related files still no luck guessing the change is hidden in what would appear to be an un-related file.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases