• Seems with the latest version of W3TC, when uploaded media is sent to S3, it is not getting the “Read” object permission for “Everyone (public access)” group.

    This was working prior to updating W3TC. When testing S3 uploads in “Performance > CDN > Test S3 upload” passes as well. The media objects are making it to S3, just not getting the “Read” set for the object, for the “Everyone” group.

    Known issue?

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

    (@vmarko)

    Hello @sccwjd

    Thank you for reaching out and I am happy to assist you with this.
    Can you please check in the Performance>CDN>Configuration: Objects section what is selected under “Set objects to publicly accessible on upload:”? Enabled/disabled?

    Thanks!

    Thread Starter sccwjd

    (@sccwjd)

    Hi Marko,

    I am on W3TC V: 2.2.3

    Not seeing that checkbox at all. So no option for me to select that.

    Thread Starter sccwjd

    (@sccwjd)

    Just a follow up with more detail..

    On the Performance>CDN>Configuration: Objects section, I only see the following options

    Access key ID:
    Secret key:
    Bucket:
    SSL support:
    Replace site’s hostname with:

    This is the same across 5 sites that I have check and all are on latest version 2.2.3.

    Thread Starter sccwjd

    (@sccwjd)

    Another follow up… The only option to set “Set objects to publicly accessible on upload” is if you use Cloudfront, which we are not.

    Under Performance > General Settings > CDN > CDN Type, we are using…

    Amazon Simple Storage Service (S3)

    We are not using…

    Amazon CloudFront Over S3

    So the question here is, what changed here that Amazon Simple Storage Service (S3) is no longer a viable options if media does not get marked publicly accessible?

    How can I get this addressed quickly? We have several clients using S3 for media storage and have for years using “Amazon Simple Storage Service (S3)” for the CDN type?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @sccwjd

    Thank you for your feedback.
    Yes the option is there if the CDN Type is set to Amazon CloudFront Over S3
    There should be no problem when using Amazon Simple Storage Service (S3)

    Can you please revert back to the 2.2.1 version and let me know if the issue is gone?
    Thanks!

    Thread Starter sccwjd

    (@sccwjd)

    Hi Marko,

    Yes, downgrading to 2.2.1 does resolve the issue and media sent to S3 now getting “Read” set for the object, for the “Everyone” group.

    Looks to be a bug introduced in 2.2.2/2.2.3.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @sccwjd

    Thank you for your feedback and confirmation.
    Let me brig this to the team and make some tests and I’ll get back to you as soon as possible.
    Please make sure to revert back to 2.2.1
    Thanks!

    Thread Starter sccwjd

    (@sccwjd)

    Thanks! I will downgrade in the meantime.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @sccwjd

    Thank you for your patience.

    Can you please try to upgrade to 2.2.3 and add the following to /wp-content/plugins/w3-total-cache/ConfigKeys.php line 1371?

    'cdn.s3.public_objects' => array(
    	'type'    => 'string',
    	'default' => 'enabled',
    ),

    Just after:

    'cdn.s3.ssl' => array(
    		'type' => 'string',
    		'default' => 'auto'
    	),

    Check these changes for reference.

    Let me know if this helps!

    Thread Starter sccwjd

    (@sccwjd)

    Hi Marko,

    With 2.2.3 installed, I added the block of code and no luck. Same issue.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @sccwjd

    Thank you for your feedback.
    Back on more testing then. I’ll get back to you as soon as I have more information.
    Thanks!

    Thread Starter sccwjd

    (@sccwjd)

    Hi Marko,

    Thanks for the update.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @sccwjd

    You are most welcome.
    Is there any chance that you can repeat the procedure and share the wp-content/w3tc-config/master.php file once the code is replaced and the settings are saved in W3TC and the cache is purged?
    You can drop us a note directly via the plugin in Performance>Support and share the file.
    Thanks!

    Thread Starter sccwjd

    (@sccwjd)

    Hello Marko,

    Sent a note through Performance>Support w/ the master.php content.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @sccwjd

    Thank you for your feedback.
    We’ve received your email and I’ll get back to you once we review the content.
    Thanks!

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Media uploads to S3 not getting Read permissions, they were a week before.’ is closed to new replies.