• Resolved jordanmc

    (@jordanmc)


    Hello,
    I am using the free plugin only to store images on Azure blob storage.

    My images keep getting deleted. I had set CDN purge to be manual purge only. Yet the images were still getting deleted after that.

    Other blobs on my Azure storage account are fine, however, this media blog is the issue.

    What could be causing this?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jordanmc

    Thank you for the information. W3 Total Cache does not delete the images. Its job, in this case, is simply to upload images to CDN.
    the only thing that can happen is if the images are deleted from the server after being uploaded to CDN and once the CDN is purged those images are not there.

    Thank you!

    Thread Starter jordanmc

    (@jordanmc)

    Hi @vmarko . Understood but however I am not deleting the images. It has happened 7 times so far. There is nobody else working on this with me or having access to the server. Only the media blob is getting deleted, which is the folder that the WT3 plugin is manipulating. I just can’t think of anything else that would target the media folder and delete images.

    Thanks

    • This reply was modified 4 years, 7 months ago by jordanmc.
    Thread Starter jordanmc

    (@jordanmc)

    and by the way, the images exist on the WordPress server. They are only deleted from my blob. Therefore, the images on my site are throwing 404s.

    Thread Starter jordanmc

    (@jordanmc)

    @vmarko And now, it seems the images are not uploading to blob at all. In my attempt to get images back onto Azure blob I:

    1. Delete images from WordPress library
    2. Add images to Media library to get them uploaded to blob

    They are not getting uploaded. I have “Host attachments” enabled. Additioanlly, when I click “Test Microsoft Azure Storage upload” button, the test is a success.

    Is there a setting that might be preventing the image upload?

    Thanks

    Thread Starter jordanmc

    (@jordanmc)

    @vmarko – There are a bunch of PHP errors, so I assume this is why upload no longer works
    The logs are filled with this

    Parameter must be an array or an object that implements Countable in D:\home\site\wwwroot\wp-content\plugins\w3-total-cache\lib\Azure\GuzzleHttp\Handler\CurlFactory.php on line 67

    There are 100s of these. BUt it looks like these warnings have been going on a for a fe days now. So I am not sure if this has anything to do with image uploading failing to work at all.

    • This reply was modified 4 years, 7 months ago by jordanmc.
    Thread Starter jordanmc

    (@jordanmc)

    I am deleting the plugin and staring over. Uploading new images via the Media library simply isn’t working any more – images do not get uploaded even tho. If use the media export tool it works fine, but that isn’t what I need.

    And there are so many of these warnings it is taking over my logs.
    D:\home\site\wwwroot\wp-content\plugins\w3-total-cache\lib\Azure\GuzzleHttp\Handler\CurlFactory.php on line 67

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jordanmc

    We are checking this. I’ll get back to you when we investigate more.
    Thank you!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @jordanmc

    Thank you for your patience. We could not replicate this and we can confirm that W3 Total Cache does not delete anything there.
    The issue is within the third-party library that is called by the third-party library, which is then that is called by W3 Total Cache.
    In this case, I can only offer you our Pro support to investigate this in Performance>Support.
    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Images are getting deleted from Azure storage’ is closed to new replies.