App for Cloudflare® Pro

App for Cloudflare® Pro 1.8.9

File not displayed on media but it's on the bucket

The 300x118 implies it’s an internal variation of something else. If you search Media for just “logo” does anything come up?
 
If you manually send it to R2, does it give you the orange cloud? Also, if you view the original image in question from the R2 bucket directly, is it a variation of that SVG?
 
If you manually send it to R2
I sent it using rclone, maybe that's why Wordpress didn't re-sync it? I don't trust the CLI script on the plugin because it didn't transfer all the images so I went ahead with rclone instead.

Also, if you view the original image in question from the R2 bucket directly, is it a variation of that SVG?
Not a big deal, I've replaced the image because it didn't worth the effort to troubleshoot it
 
Ya, the plugin relies on the image being where it’s supposed to be (in the local filesystem), so if something else moved it (like rclone) and it’s no longer in the local filesystem, it will skip it when trying to move it (skipping would result in the no orange cloud).

Basically if anything unexpected happens (the file doesn’t exist or if it ended up different on the R2 server), it will err on the side of not flagging it as successfully transferred.
 
Basically if anything unexpected happens (the file doesn’t exist or if it ended up different on the R2 server), it will err on the side of not flagging it as successfully transferred.
It could be great to have some CLI to verify the files and re-sync them
 
Not sure if that would really work unless you wanted to keep the files in both locations (which kind of defeats the purpose if you are trying to offload storage to R2).

As it is, the CLI does sync and verify they landed properly where they were intended to go and then only once they are verified, it deletes them from the source location and flags them in WordPress as being in R2 (or back in local if you are going that direction).
 
Not sure if that would really work unless you wanted to keep the files in both locations (which kind of defeats the purpose if you are trying to offload storage to R2).
Because that would force the verification. It seems the CLI failed at some point so it didn't upload the files. However by using rclone I uploaded the remaining files but there is no way to flags them as being in R2
 
Because that would force the verification. It seems the CLI failed at some point so it didn't upload the files. However by using rclone I uploaded the remaining files but there is no way to flags them as being in R2
Do you still have one that will fail with the CLI? It could be if one of the WordPress internal variations were missing, it would fail. But in that case it would still fail verification even if moved with rclone because one of the many files that make up a single media (including all the variations) would still be missing.
 
Do you still have one that will fail with the CLI? It could be if one of the WordPress internal variations were missing, it would fail. But in that case it would still fail verification even if moved with rclone because one of the many files that make up a single media (including all the variations) would still be missing.
Do you mean you want me to run the CLI script again? even when I've already used rclone to upload them to the bucket?
I'm afraid of causing any problems since R2 is the current media source
 
You could run one individually from web browser/admin area (when drilling down and viewing one of the media items). But if you don't have any that exist in the local filesystem and isn't moving, it's going to be moot anyway. Was just trying to see if there was one that was having a problem moving to R2 still, and could debug that to answer the "why". But if not, then I guess not. :)
 
you already know the answer...because it's Wordpress and not XF ;)
I definitely do not love the internals of WordPress. When shifting between working with XenForo's code to WordPress's code, I swear I lose like 50 IQ points just by looking at WordPress core code.
 
Back
Top