# 损坏的图片及其 S3 URL

**URL:** <https://meta.discourse.org/t/broken-images-and-their-s3-urls/155889>\
**Category:** Support\
**Created:** [2020年六月25日 07:46 UTC](https://meta.discourse.org/t/broken-images-and-their-s3-urls/155889 "2020-06-25T07:46:00Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![masterakay](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/masterakay/32/122593_2.png) [@masterakay](https://meta.discourse.org/u/masterakay)\
**Post date:** [2020年六月25日 07:46 UTC](https://meta.discourse.org/t/broken-images-and-their-s3-urls/155889/1 "2020-06-25T07:46:00Z")

</div>

在最近更新到 `2.5.0.beta7` 之后，我论坛上的所有图片都损坏了。  
 ![image](https://cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/meta/optimized/3X/3/8/381b3adc29ea601aaf29832648bef03ce0ee403f_2_690x37.png)

头像也被替换成了默认头像。以下是我在仪表板上的建议：

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/6/1600ac6c79a641106a5def9a0d701cc35725db27.png)

我的“员工帖子资源”：

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/e/1ecdcf4f98cf6c1d0c851b0df4020215e1883e15.png)

其中一张图片：`/original/2X/4/4064b1cc32199de63ad2fa2b5bd2a0c5b6872c6d.png`

然而，我的 S3 中并没有这样的图片：（为什么会发生这种情况？）

 ![image](https://global.discourse-cdn.com/meta/original/3X/0/f/0f1d2dc1e7dcd7b91b7f493acf6784e5531b0c65.png)

我的网站图标和其他标志也丢失了：`/original/1X/b32666bfe0e0eac40aacb178c7430c9f7873b397.png`

然而，我的 S3 中只包含这些文件：

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/8/b814538311627cc445d436efad897338f480a74a.png)

请注意，URL 是错误的，并且 `original` 文件夹内没有 `1X` 文件夹。

我尝试按照这篇帖子的教程操作：

> [@Old image uploads become broken images](https://meta.discourse.org/t/old-image-uploads-become-broken-images/47236):
>
> For the past week or so (after the most recent upgrade?), I’ve noticed that some users’ uploaded images are broken. It is clear that they are pasting an image, as the code in their post looks like that, but the files are missing. For example, [this post](https://literatecomputing.com/t/success-with-social-bookmarking/4317) ([raw version](https://literatecomputing.com/raw/4317) has three broken images in it. I cannot imagine what the user could have done to break them. And stranger still, sometimes a post will have some images that work fine, but others that are missing. I’ve done find in the uploads direct…

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/9/c9d4e7bd0292569e3b0a921227acf82dd5a8a555.png)

但这并没有解决任何问题。

---

_[View the full topic](https://meta.discourse.org/t/broken-images-and-their-s3-urls/155889)._
