# Theme-Komponenten: Update auf die neueste Version löscht hochgeladene Dateien

**URL:** https://meta.discourse.org/t/theme-components-update-to-latest-deletes-uploads/116006
**Category:** Support
**Created:** [25. April 2019 um 20:11 UTC](https://meta.discourse.org/t/theme-components-update-to-latest-deletes-uploads/116006 "2019-04-25T20:11:53Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Krischan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/krischan/32/47290_2.png) [@Krischan](https://meta.discourse.org/u/Krischan)
#### Post date: [25. April 2019 um 20:11 UTC](https://meta.discourse.org/t/theme-components-update-to-latest-deletes-uploads/116006/1 "2019-04-25T20:11:53Z")

</div>

Maybe this is a normal behaviour, but when I update a theme component from a git repository all uploads for that component are deleted. Is this a bug? Thanks!

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [25. April 2019 um 20:33 UTC](https://meta.discourse.org/t/theme-components-update-to-latest-deletes-uploads/116006/2 "2019-04-25T20:33:02Z")

</div>

This is normal behaviour. Interesting timing, though: I was working on a mini-feature today that warns you before running the update when the theme has local uploads or changes. [PR is here](https://github.com/discourse/discourse/pull/7443).

---

<div class="post-metadata">

### Author: ![Krischan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/krischan/32/47290_2.png) [@Krischan](https://meta.discourse.org/u/Krischan)
#### Post date: [25. April 2019 um 21:06 UTC](https://meta.discourse.org/t/theme-components-update-to-latest-deletes-uploads/116006/3 "2019-04-25T21:06:38Z")

</div>

Thanks! So if a theme component requires eg an image, best practice would be to upload it to a hidden topic?

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [25. April 2019 um 21:08 UTC](https://meta.discourse.org/t/theme-components-update-to-latest-deletes-uploads/116006/4 "2019-04-25T21:08:09Z")

</div>

That used to be the way Discourse managed assets. A media library is planned, but AFAIK has no firm ETA.

---

<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: [15. April 2020 um 10:44 UTC](https://meta.discourse.org/t/theme-components-update-to-latest-deletes-uploads/116006/5 "2020-04-15T10:44:40Z")

</div>

Ist das immer noch so? Ich erhalte keine Warnung, wenn ich Dateien auf eine Remote-Komponente hochlade.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [17. Mai 2024 um 01:53 UTC](https://meta.discourse.org/t/theme-components-update-to-latest-deletes-uploads/116006/6 "2024-05-17T01:53:46Z")

</div>


