# Discourse לא מוריד תמונות מרוחקות יותר?

**URL:** https://meta.discourse.org/t/discourse-not-downloading-remote-images-anymore/231275
**Category:** Support
**Created:** [27 ביוני,‏ 2022,‏ 11:30pm UTC](https://meta.discourse.org/t/discourse-not-downloading-remote-images-anymore/231275 "2022-06-27T23:30:52Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [27 ביוני,‏ 2022,‏ 11:30pm UTC](https://meta.discourse.org/t/discourse-not-downloading-remote-images-anymore/231275/1 "2022-06-27T23:30:52Z")

</div>

Hi,

My discourse install (2.9.0.beta5 f73796b258) doesn’t download remote images. It only creates the previews. It seems to be the same on try.discourse, and I _suppose_ it’s the same on meta? Let’s try.

* * *

## ![3h6jg446zn691](https://global.discourse-cdn.com/meta/original/4X/1/a/c/1ac09f6c4001ec74474bb709f0633b7e6989500c.jpeg) ![ff42b485cf705cbb6d76a477e5ad2ebba2fc4834](https://global.discourse-cdn.com/meta/original/4X/f/f/4/ff42b485cf705cbb6d76a477e5ad2ebba2fc4834.jpeg)

After posting the images, the resized, preview images are generated.  
The sidekiq job `UpdateHotlinkedRaw` is scheduled. Once executed, the hotlinked image is still not downloaded.  
I don’t see the usual `PullHotlinkedImages` in the scheduled jobs.

As for my remaining disk space, I have more than enough.

And the hotlinked image doesn’t seem to be downloaded ever. My guess is it’s a bug, but feel free to move it somewhere else if it’s not 🙂

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [28 ביוני,‏ 2022,‏ 7:05am UTC](https://meta.discourse.org/t/discourse-not-downloading-remote-images-anymore/231275/2 "2022-06-28T07:05:39Z")

</div>

This is actually a behavior change that @david introduced to make our system more robust, secure and responsive.

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/9/b/d9b80cf082f318ded925c7b90e0cbfd8dcfb6a66.png)

The image is indeed downloaded to local, as the HTML shows, it is just that we no longer need to fiddle with the post.

---

<div class="post-metadata">

### Author: ![Oni](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oni/32/150745_2.png) [@Oni](https://meta.discourse.org/u/Oni)
#### Post date: [28 ביוני,‏ 2022,‏ 7:13am UTC](https://meta.discourse.org/t/discourse-not-downloading-remote-images-anymore/231275/3 "2022-06-28T07:13:43Z")

</div>

In my opinion this is a bug and not a good behavior

[https://meta.discourse.org/t/oneboxed-image-links-do-not-update-after-being-downloaded-to-local/228612/16](https://meta.discourse.org/t/oneboxed-image-links-do-not-update-after-being-downloaded-to-local/228612/16)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [28 ביוני,‏ 2022,‏ 7:15am UTC](https://meta.discourse.org/t/discourse-not-downloading-remote-images-anymore/231275/4 "2022-06-28T07:15:44Z")

</div>

That is on David’s list to fix, some time in the next few weeks.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [28 ביוני,‏ 2022,‏ 9:56am UTC](https://meta.discourse.org/t/discourse-not-downloading-remote-images-anymore/231275/5 "2022-06-28T09:56:45Z")

</div>

Hi sam!

The hotlinked image isn’t downloaded. The preview is indeed created as your screenshot shows, but the link still points to the external image. There is no lightbox either. Is that because the link points to the external image?

* * *

But I see that [this message of Taylor](https://meta.discourse.org/t/oneboxed-image-links-do-not-update-after-being-downloaded-to-local/228612/12) in Oni’s linked topic points toward the same issue, even if there is no onebox when you just display an image (?).

So I _suppose_ the issue will be resolved “in the next few weeks”.

A question nonetheless: will the existing posts be fixed automatically? If not, how to update only these posts so the links point to the local image?

---

<div class="post-metadata">

### Author: ![Oni](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oni/32/150745_2.png) [@Oni](https://meta.discourse.org/u/Oni)
#### Post date: [28 ביוני,‏ 2022,‏ 11:01am UTC](https://meta.discourse.org/t/discourse-not-downloading-remote-images-anymore/231275/6 "2022-06-28T11:01:23Z")

</div>

> [@Canapin](#):
>
> A question nonetheless: will the existing posts be fixed automatically? If not, how to update only these posts so the links point to the local image?

I think that we will need to rebake all posts…

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [4 ביולי,‏ 2022,‏ 9:53am UTC](https://meta.discourse.org/t/discourse-not-downloading-remote-images-anymore/231275/7 "2022-07-04T09:53:40Z")

</div>

Yeah this is the same issue as

> [@Oneboxed image links do not update after being downloaded to local](https://meta.discourse.org/t/oneboxed-image-links-do-not-update-after-being-downloaded-to-local/228612):
>
> Hi, Suddenly remote images aren’t downloaded on my server anymore even though I didn’t change anything on my config and disk space is also good. I tried to look in the logs but I don’t see anything suspicious. The only thing is that I don’t see sidekiq process for the image download in the sideqik queue job. Am I missing something here ? Best regards

Images **are** downloaded, and the downloaded version is displayed to the user. It’s just the hyperlink that still points to the original.

I’ll try and get to this ASAP, and will update that topic when it’s resolved.

> [@Oni](#):
>
> I think that we will need to rebake all posts…

Yeah, once the issue is fixed you’ll need to rebake posts with the issue. To avoid rebaking absolutely everything, you could only rebake posts created since the issue was introduced.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [3 באוגוסט,‏ 2022,‏ 9:53am UTC](https://meta.discourse.org/t/discourse-not-downloading-remote-images-anymore/231275/8 "2022-08-03T09:53:49Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
