WordPress.org

Ready to get started?Download WordPress

Forums

Amazon S3 Uploads
[resolved] Plug-in not doing anything? (11 posts)

  1. saturnus
    Member
    Posted 11 months ago #

    My Amazon credentials are valid and the files are already on my s3.

    But I don't see anything actually working? Everything in my media library is still there, and I don't see my images linking to my media bucket on s3.

    http://wordpress.org/plugins/amazon-s3-uploads/

  2. atvdev
    Member
    Plugin Author

    Posted 11 months ago #

    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.

  3. atvdev
    Member
    Plugin Author

    Posted 11 months ago #

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

  4. saturnus
    Member
    Posted 11 months ago #

    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.

  5. atvdev
    Member
    Plugin Author

    Posted 11 months ago #

    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.

  6. saturnus
    Member
    Posted 11 months ago #

    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?

  7. atvdev
    Member
    Plugin Author

    Posted 11 months ago #

    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 atvdev@gmail.com

  8. saturnus
    Member
    Posted 11 months ago #

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

  9. atvdev
    Member
    Plugin Author

    Posted 11 months ago #

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

  10. saturnus
    Member
    Posted 11 months ago #

    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.

  11. atvdev
    Member
    Plugin Author

    Posted 11 months ago #

    No probs, you are welcome

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.