“File … does not exist” in nginx error logs w/ “Remove Files From Server”
-
… but the file *does* get uploaded to GCS… *most* of the time.
Background: been running the plugin “IR Google Cloud Storage” for aeons, which this appears to either be an evolution of or at least “inspired by”, given the UI similarities. Old plugin started behaving like this after a server change, hence me trying out this new plugin, only to discover it doing it too.
Old server: Debian 8.8, nginx 1.6.2, php 7.2.13; no issues, ever, the old plugin just worked
New server: Debian 10.3, nginx 1.14.2, php 7.2.29; issue with both the former, and your current, plugin.
Most of the time the images get uploaded to GCS just fine, but sometimes they appear as broken within the Media Library, despite *actually* making it to GCS – and the “File … does not exist” error gets thrown into /var/log/nginx/error-sitename.log regardless (from line 1203 of ~/classes/amazon-s3-and-cloudfront.php, codeblock commented with “// If not already offloaded in request, check full file exists locally before attempting offload.”). It’s *super* weird, especially as no PHP code has changed. I suspect a race condition somewhere but I’ve no idea where.
Can you offer any pointers?
- The topic ‘“File … does not exist” in nginx error logs w/ “Remove Files From Server”’ is closed to new replies.