-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing media on Simple Sites after the files.wordpress.com > wp-content/uploads path change #87642
Comments
Just to add, users reported missing images from media or errors while uploading images or "this image has an empty alt attribute" message in their media. |
Support References This comment is automatically generated. Please do not edit it.
|
Here is another report: 7766858-zen
|
I got a report that seems related: 7765648-zd-a8c
Simple site. Theme: Adventure Journal. I can't reproduce the issue when SU. |
7767112-zen |
7765226-zen |
Image issues: Video not loading issue: (could be related) |
7765525-zen |
7765479-zen |
7766596-zd-a8c |
Another report: 7765844-zd-a8c At the time of the chat, I had the user try a different network connection and the media library started working again. |
7767212-zd-a8c Couldn't reproduce while proxied and unproxied on Chrome. User's browser info https://www.whatsmybrowser.org/b/5F39M User cannot reproduce it while using mobile data. |
7766817-zen seems similar to 7766785-zen where the user also mentioned empty
WordPress Starter plan and using the retired MistyLook theme. |
7767210-zen |
7767223-zd-a8c |
7766774-zen
Site is on a WordPress.com Explorer plan |
7766141-zen (Explorer plan) |
7764527-zen |
Another instance here: 8227732-zd-a8c |
8228750-zd-a8c Set the site from Public to Coming Soon. I switched the primary address for a while, and the images started appearing. |
Another report where:
|
In order to solve #87642, we need to proxy any images in the media area via the public API. This solves two main cases: 1) Where the primary redirect is not yet pointed to us via DNS 2) Where a service like Cloudflare is in front of the primary redirect, and blocks "hotlinking" images These cases both used to work fine, as media was served from *.files.wordpress.com regardless of the actual domain being used. Once this was been moved to use wp-content/uploads (in order to fix issues when third party cookies are blocked), the two cases above (and probably some others we don't know about) stopped working.
@pauljacobson, there is a workaround (I am not super sure if we can call it a workaround). Images appear if we set the site's privacy to Coming Soon mode. |
… site. (#90895) * Proxy content via public-api, even when we're on a simple site. In order to solve #87642, we need to proxy any images in the media area via the public API. This solves two main cases: 1) Where the primary redirect is not yet pointed to us via DNS 2) Where a service like Cloudflare is in front of the primary redirect, and blocks "hotlinking" images These cases both used to work fine, as media was served from *.files.wordpress.com regardless of the actual domain being used. Once this was been moved to use wp-content/uploads (in order to fix issues when third party cookies are blocked), the two cases above (and probably some others we don't know about) stopped working.
not done yet, thanks github :) |
8233739-zd-a8c |
This is resolved for users, but will not currently work in support sessions (fixing for that is in progress) |
The fix ended up causing #91136 and was reverted |
zen-8221056 Workaround: Change the site's privacy settings to public, then back again to private. (similar to the workaround shared by @ dev-sabbir above). |
Thank you for the update, @devicenull. I have modified the priority to reflect this. |
The fix has been deployed (again), and as far as I can tell is working properly. |
This seems to be fixed in my testing simple sites (with and without a custom domain). |
Hey, team - regarding 8303289-zd-a8c it looks like the issue is still not resolved (I tested on both Chrome and Firefox and could replicate the issue), and the user is getting quite upset. Is there anything we can tell them at this time? |
@ClassicRKR27 The issue with 8303289-zd-a8c looks to be a different issue. The post is missing images due to Google links being used, which are broken. The media library and other posts look fine. |
Simple site, privacy is set to private. Images can be visible in classic WP Admin dashboard. 8308379-zd-a8c |
@devicenull can you take a look at this recent report above?
|
Are you sure that's actually the issue the user is reporting? Their message doesn't make it super clear to me. There are still issues viewing the media library via support sessions w/ private blogs. |
@devicenull you're right, sorry for the confusion! I simulated a login using a different method and I can't reproduce. Considering the last two reports are unrelated, is it ok to close this? |
Yes, let's consider this resolved. |
UPDATE May 9, 2024: Read before Reporting
Please investigate the missing image issue you're dealing with before reporting on this thread.
Current escalation thread: p1715271974999929/1715265147.089629-slack-C02FMH4G8
(Possible) Current Symptoms
Previous Symptoms:
This is exclusive to the issue triggered by the change of the file paths on Simple Sites from
files.wordpress.com
to/wp-content/uploads/
.files.wordpress.com
X/wp-content/uploads/
)Updates
Quick summary
I noticed that there are a number of reports of missing images or other media on a number of WordPress.com sites. The sites seem not to be plugin-enabled sites. Opening this issue to track reports.
My first encounter of this issue was in 7766785-zen where the user reported that all media save for the most recent two posts are no longer loading, and the relevant media is not displaying in the Media library.
Steps to reproduce
According to @vinnykaur , we haven't been able to reproduce this on our side. See p1708426096835589-slack-C02FMH4G8
What you expected to happen
Media should load consistently.
What actually happened
Media seems to be removed or is not loading for older content.
Impact
Some (< 50%)
Available workarounds?
No and the platform is unusable
Platform (Simple and/or Atomic)
Simple
Logs or notes
Other reports:
The text was updated successfully, but these errors were encountered: