Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author atvdev

    (@atvdev)

    Hello,
    if the files are still on your web server, the plugin will serve those files. It won’t upload them, as it finds file with the same name on S3.

    If you are sure that all files are uploaded to S3, then you can delete them manually from your web server, so the files from S3 would be served.

    For a try, you can just delete one file from web server and check it’s source to see if it is served from S3.

    Plugin Author atvdev

    (@atvdev)

    The plugin after each successful upload to S3, deletes the file from your web server.

    Thread Starter saturnus

    (@saturnus)

    Nothing was deleted from my server because I had already had all the files uploaded to s3. And I deleted a file from my web server and it was still serving from wp-content on my server.

    Plugin Author atvdev

    (@atvdev)

    Sorry but I can not make sense of your second sentence. If you deleted a file from your web server (public_html/wp-content/uploads/…), that file can not be served from your web server as it does not exist there.

    Could you check if there is a file named “.htaccess” in public_html/wp-content/uploads/ ?

    Btw, if you check the url of the image in the html, it will not change. But if you try to open image’s url in the browser, it will redirect you to S3 url of that image.

    Thread Starter saturnus

    (@saturnus)

    ok. it’s ok now. except for 1 thing.

    i am noticing when things are being uploaded to the media library, they are going to my local server, and they are never deleted, even after being uploaded to s3. i have to manually delete every time. that is tedious and defeats the purpose. why are they not immediately going to s3?

    Plugin Author atvdev

    (@atvdev)

    The files are not going immediately to S3 because it slows media uploads a lot and can not be done until patch for this bug is released.

    About the files not being deleted after successful upload, please check the your apache/php permissions. I know it is rare to be able to write to a directory, but not delete is the same directory, but it can be done.

    If you can/want to help me debug this, please contact me at [email protected]

    Thread Starter saturnus

    (@saturnus)

    Check the apache/php permissions where exactly and to what directory do you mean?

    Plugin Author atvdev

    (@atvdev)

    Please create a new file “your-blog-path/wp-content/uploads/test-delete.php” with this content, check the url “https://your-blog-url/wp-content/uploads/test-delete.php” and tell me what is the output?

    Thread Starter saturnus

    (@saturnus)

    Never mind! I just checked my server and it looks like all the files are deleted after going to s3. It’s working just as intended now. Not sure what was going on before. Thanks again.

    Plugin Author atvdev

    (@atvdev)

    No probs, you are welcome

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Plug-in not doing anything?’ is closed to new replies.