stat(): stat failed for upload/

HI All,

Can anyone suggest why I am getting below error when working with document module.

"Warning [2]: stat(): stat failed for upload/a9c/04ebda9c-4c31-11e7-a5d1-0250d4f82a21 in /13.1.0/ent/include/upload_file.php on line 1022 Warning [2]: stat(): stat failed for upload/370/e2e9a370-9aea-rrrrr40 in /13.1.0/ent/include/upload_file.php on line 1022 Warning [2]: stat(): stat failed for upload/638/3b013638-aaf9-11e6rrrrrrr1ec1 in /13.1.0/ent/include/upload_file.php on line 1022 Warning [2]: stat(): stat failed for upload/d10/a1427d10-9af0-11e8-9b54-060c6f621ec1 in /13.1.0/ent/include/upload_file.php on line 1022 Warning [2]: stat(): stat failed for upload/e9a/f4d7fe9a-aaf7-11e6-a0d5-060c6f621ec1 in /13.1.0/ent/include/upload_file.php on line 1022 Warning [2]: stat(): stat failed for upload/4d4/4980b4d4-9af5-11e8-abc8-0250d4f82a21 in /13.1.0/ent/include/upload_file.php on line 1022 Warning [2]: stat(): stat failed for upload/8fa/d116a8fa-aa5b-11ea-82e5-02d06230d2dc in /13.1.0/ent/include/upload_file.php on line 1022 Warning [2]: stat(): stat failed for upload/28e/0bcbe28e-0b18-11e8-8e48-0250d4f82a21 in /13.1.0/ent/include/upload_file.php on line 1022 Warning [2]: stat(): stat failed for upload/8ac/115008ac-c417-11e9-ba24-02d06230d2dc in /13.1.0/ent/include/upload_file.php on line 1022 Warning [2]: stat(): stat failed for upload/e60/3ff31e60-aaf7-11e6-9c57-0250d4f82a21 in /13.1.0/ent/include/upload_file.php on line 1022 Warning [2]: stat(): stat failed for upload/468/43f74468-4c2e-11e7-81e3-"

Kindest Regards,

Shreya

Parents
  • I get that a lot when emails with attachments are being processed, it's been happening for years.
    Our sysadmins say it's just because the upload directory is too big, after 12 years, ours is 442G!

    How big is your upload dir?

    I actually need to learn more about what we could purge from that directory.

    There are subdirs:

    deleted
    import
    upgrades
    backups

    which could probably be purged, and probably would be if we kept the uploads dir mounted during upgrades... is that right  ? Can I safely delete those subdirectories and/or their content?

    Francesca

  • Hi   ,

    I did some research and double check with our experts and here's what I got:

    1. deleted - I don't think this is a Sugar folder. Probably something someone created because they wanted to move some stuff but didn't want to really delete it.
    2. import - I don't think I've ever seen anything in here.
    3. upgrades - The only folder we care about in here but it was moved from uploads up one level so if they are on a supported version this shouldn't be there, should be empty, or the contents should be moved to ../upgrades
    4. backups - we pretty much delete this at will. As far as I know these are backups created during upgrades and aren't really needed once the upgrade has been signed off on or is months old.
    Hope this helps,
    rafa

    SugarCRM | Principal Developer Advocate

Reply
  • Hi   ,

    I did some research and double check with our experts and here's what I got:

    1. deleted - I don't think this is a Sugar folder. Probably something someone created because they wanted to move some stuff but didn't want to really delete it.
    2. import - I don't think I've ever seen anything in here.
    3. upgrades - The only folder we care about in here but it was moved from uploads up one level so if they are on a supported version this shouldn't be there, should be empty, or the contents should be moved to ../upgrades
    4. backups - we pretty much delete this at will. As far as I know these are backups created during upgrades and aren't really needed once the upgrade has been signed off on or is months old.
    Hope this helps,
    rafa

    SugarCRM | Principal Developer Advocate

Children