# Failed to fetch attachments after migration from other system

**URL:** https://community.zammad.org/t/failed-to-fetch-attachments-after-migration-from-other-system/19633
**Category:** Technical assistance
**Created:** [February 19, 2026, 6:09am UTC](https://community.zammad.org/t/failed-to-fetch-attachments-after-migration-from-other-system/19633 "2026-02-19T06:09:48Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![swaroopchenchu](https://community.zammad.org/user_avatar/community.zammad.org/swaroopchenchu/32/10668_2.png) [@swaroopchenchu](https://community.zammad.org/u/swaroopchenchu)
#### Post date: [February 19, 2026, 6:09am UTC](https://community.zammad.org/t/failed-to-fetch-attachments-after-migration-from-other-system/19633/1 "2026-02-19T06:09:48Z")

</div>

### Infos:

- Used Zammad version: 6.4
- Used Zammad installation type: zammad -helm (13.0.2)
- Operating system: windows 11
- Browser + version: chrome + Version 144.0.7559.133

### Expected behavior:

- Attachments of tickets also should be fetched.

### Actual behavior:

- I have migrated tickets and attachments from legacy system, but from api i don’t see attachments.  
 ![image](https://community.zammad.org/uploads/default/original/2X/c/c2e9d94f43a9aa236914b1e07922d405271bb629.jpeg).  
probably i am missing some referential integrity  
between public.ticket\_articles, public.store\_provider\_dbs, public.store\_files, public.stores.

### Steps to reproduce the behavior:

- NA  
Can anyone help with ER diagram or explain process of tables involved and relation of placing attachments.

Any help is appreciated.  
Thanks

---

<div class="post-metadata">

### Author: ![Zahooo](https://community.zammad.org/letter_avatar_proxy/v4/letter/z/dfb087/32.png) [@Zahooo](https://community.zammad.org/u/Zahooo)
#### Post date: [February 19, 2026, 8:32am UTC](https://community.zammad.org/t/failed-to-fetch-attachments-after-migration-from-other-system/19633/2 "2026-02-19T08:32:46Z")

</div>

Looking 2 min at the DB, I think the attachments could be stored in `stores` and `store_files`. Also guessing the `states.o_id` might be a soft link to the ticket. Definitely something you want to investigate further. Be careful if you do any changes. Regards.

---

<div class="post-metadata">

### Author: ![swaroopchenchu](https://community.zammad.org/user_avatar/community.zammad.org/swaroopchenchu/32/10668_2.png) [@swaroopchenchu](https://community.zammad.org/u/swaroopchenchu)
#### Post date: [February 19, 2026, 9:15am UTC](https://community.zammad.org/t/failed-to-fetch-attachments-after-migration-from-other-system/19633/3 "2026-02-19T09:15:09Z")

</div>

thanks  
found the issue, its compound field stores.o\_id = ticket\_articles.id  
and stores.store\_object\_id = 3(for ticket\_article attachments)  
I migrated as stores.store\_object\_id = 1 Hence failed to see on ticket attachments.

---

<div class="post-metadata">

### Author: ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)
#### Post date: [February 19, 2026, 9:48am UTC](https://community.zammad.org/t/failed-to-fetch-attachments-after-migration-from-other-system/19633/4 "2026-02-19T09:48:04Z")

</div>

Please note that you‘re not running the latest stable helm and Zammad version. We‘re at 6.5.2 right now.

---

<div class="post-metadata">

### Author: ![system](https://community.zammad.org/uploads/default/original/1X/5c5afaea2d23f811dbec33cd4edb02fa29d3262f.png) [@system](https://community.zammad.org/u/system)
#### Post date: [February 26, 2026, 9:48am UTC](https://community.zammad.org/t/failed-to-fetch-attachments-after-migration-from-other-system/19633/5 "2026-02-26T09:48:54Z")

</div>

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