• Resolved slui

    (@slui)


    Used Mediasync and the tool literally deleted all media files. Tried to sync over 10K images and the tool crashed causing an error on WP.

    Tested this out on a dedicated instance with its own resources to test capability

    Strongly suggest that you back up your site and media files before proceeding. Highly unfortunate.

    Need help or assistance on how to move forward.

    • This topic was modified 8 months, 1 week ago by slui.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author erolsk8

    (@erolsk8)

    I’m sorry to hear that, but also glad it’s was done on a dedicated test instance.

    But to be clear, this plugin can NOT delete or modify files. There is simply no piece of code or any other way to do so. And everyone is welcome to inspect the code and see for themselves.

    Some users even wanted such a feature, but it was never possible, as it’s been explained in some of the earlier topics:

    Thread Starter slui

    (@slui)

    Thanks for that. We double checked and you are right. Someone else moved the files and we thought it had removed the files.

    So we are consistently having the plugin crash. Every time I press scan files, the plugin crashes. Deleted the plugin and downloaded a fresh copy and still the same result.

    Took a closer look and I’m getting a server 500 error code.

    https://xxx.xxxx.com/wp-admin/upload.php?page=media-sync-page&scan_files=1 500 (Internal Server Error)

    Plugin Author erolsk8

    (@erolsk8)

    Unfortunately, this is to be expected if there are over 10k images. Because this free version of the plugin tries to scan and load all folders at once. So it will crash if server limitations are reached (memory_limit or max_execution_time).

    Alternatively, there is now a completely refactored Pro version: https://mediasyncplugin.com/ that scans directories one by one, so it doesn’t crash. I’ll try to set up a demo environment soon (so it can be tried out easily). But for now, there are “no questions asked” refunds (within 14 days).

    Hope that this helps, and thanks for the update!

    Thread Starter slui

    (@slui)

    Thank you for that. Is there an upper limit to the number of images allowed? Is that upper limit for the entire upload folder or each sub folder?

    Plugin Author erolsk8

    (@erolsk8)

    Not really, it only depends on how your server is configured, if you “give it enough time” (with higher memory_limit?,?max_execution_time, etc.) it should work for any number of files. And in this free version, it doesn’t matter where files are (sub-folder or not) it simply scans all folders at once.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Removed all media files’ is closed to new replies.