Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Hello.

    Check the following:
    – check file permissions for the folder wpp_import_files( I think that issue is related to file permissions, which prevents to remove old attachments ).
    – Also check user permissions. If you are using cron job check also the root user permissions.
    – disable option ‘When updating an existing property, remove all old images before downloading new ones.’. I believe, you should not remove old images every time you run importer. In most cases, images are not being changed. So it will prevent from adding new extra images.
    – step by step remove extra folders from wpp_import_files. See instructions below.

    If the following query returns no results, it means, that folder is not used and it can be removed:

    ?
    SELECT *
    FROM wp_postmeta
    WHERE meta_value LIKE ‘%000000000442000%’
    LIMIT 1 (edited)

    000000000442000 – it’s just example

    Regards

    Thread Starter sawdesigns

    (@sawdesigns)

    Thanks, Maria. I see that all of my import folders are 755, but the JPEGs inside these folders are all 644. Would this keep the cron job from removing these images?

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    This seems to be ok. Check ownership of files on your server. Cron job can be running under different user which do not have ownership of those files, so those files can’t be deleted.

    Regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Importer not removing old images/folders’ is closed to new replies.