• Resolved forthinc

    (@forthinc)


    I have used the Media Cleaner plugin and successfully cleaned up several sites I manage. When it works, it works very well!

    However, I have one site that has a HUGE uploads folder (a big WooCommerce site), hosted on WPEngine, using their LargeFS. When I run a scan, it shows almost all 41,700 media files as file not found. Is there a way to make this work? When I look in the Media Library, the image files are indeed there.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hello,

    It might be the same issue as with S3 Upload. Indeed, when the images are uploaded on another server, they have a different reference. You can “trick” the server to dynamically use another server to serve those static files, but this trick would also need to hack into Media Cleaner and modify the way it works a bit. But by itself, Media Cleaner can’t have a clue on how to process this.

    It would be interesting to know what it “sees”. Can you enable the logs of the Media Cleaner, perform a new scan, and share them? If there is something we can do, I’ll let you know. I can definitely add a WordPress filter in the plugin so that the process can be hacked a bit (by either you or the WPE plugin).

    Plugin Author Jordy Meow

    (@tigroumeow)

    Have a look at the “HARD SERVER PATHS” at https://wpengine.com/support/configuring-largefs-store-transfer-unlimited-data/. Mmm, it’s what I thought, and even though I could make this filter to allow other plugins/persons to hack into the plugin (and modify that static path just for the scan), it will not work for the “removal” part. The plugin can’t access S3 (or remote servers) because it would need information about it, and also a lot of code related to that specific hosting ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Doesn’t work with WPEngine LargeFS’ is closed to new replies.