After upgrade the embedded images are missing ???
Asked by Tushar Mohite:

After Upgrade of Confluence Version from 4.2.3 to 5.4.4. manually the images attached to particular page of particular space is not visible .

Before upgrade

image2015-9-14 16:22:29.png

As shown in above screen the images are attached to the page .

After Upgrade :

image2015-9-14 16:21:28.png

As shown in the above screen the attached image is not available .

When clicked on that image get following error :

image2015-9-14 16:28:51.png

**Note : Attachment Storage Location is Confluence configured database (MS SQL)**

I checked using \<confluence-home\>/admin/findspaceattchments.jsp , it is showing the path of \<confluence-home\>/attachment/... but if i check the attachment folder it is found to be empty??

**image2015-9-14 16:42:39.png**

As per the above screen image is visible.But download/attachment folder it is found to be empty .

Due To Missing images

**image2015-9-14 16:40:56.png**

**How to find and recover the attachment stored in the Database???**

How to resolve this issue ??

Reply as soon as possible .  
[](https://community.atlassian.com/t5/Confluence-questions/After-upgrade-the-embedded-images-are-missing/qaq-p/307821?attachment-id=12549){#link_1187f28b755b40}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/51957/1/image2015-9-14%2016%3A21%3A28.png){#display_1187f28b755b40_0}  
[](https://community.atlassian.com/t5/Confluence-questions/After-upgrade-the-embedded-images-are-missing/qaq-p/307821?attachment-id=12550){#link_1187f28b755b40_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/51957/2/image2015-9-14%2016%3A28%3A51.png){#display_1187f28b755b40_2}  
[](https://community.atlassian.com/t5/Confluence-questions/After-upgrade-the-embedded-images-are-missing/qaq-p/307821?attachment-id=12551){#link_1187f28b755b40_1}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/51957/3/image2015-9-14%2016%3A42%3A39.png){#display_1187f28b755b40_4}  
[](https://community.atlassian.com/t5/Confluence-questions/After-upgrade-the-embedded-images-are-missing/qaq-p/307821?attachment-id=12552){#link_1187f28b755b40_2}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/51957/4/image2015-9-14%2016%3A22%3A29.png){#display_1187f28b755b40_6}  
[](https://community.atlassian.com/t5/Confluence-questions/After-upgrade-the-embedded-images-are-missing/qaq-p/307821?attachment-id=12553){#link_1187f28b755b40_3}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/51957/5/image2015-9-14%2016%3A40%3A56.png){#display_1187f28b755b40_8}  
[](https://community.atlassian.com/t5/Confluence-questions/After-upgrade-the-embedded-images-are-missing/qaq-p/307821?attachment-id=12554){#link_1187f28b755b40_4}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/51957/6/image2015-9-14%2016%3A39%3A25.png){#display_1187f28b755b40_10}  
[](https://community.atlassian.com/t5/Confluence-questions/After-upgrade-the-embedded-images-are-missing/qaq-p/307821?attachment-id=12555){#link_1187f28b755b40_5}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/51957/7/image2015-9-14%2016%3A37%3A40.png){#display_1187f28b755b40_12}


Answers:
author: lavitz slambert
body: If you have a backup of your database prior the upgrade, **yes** (would involve some database sorcery as described in the guide eduardo provided), if you don't have that then **nope** as those lines containing the information might be corrupted or lost during the upgrade process ![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad") (sorry for delivering the bad news).

What I would advise you is to migrate the attachments to file system instead using the database storage that was decommissioned by atlassian.  
Thanks and Regards,  
Lavitz - the guy that uses Confluence on Windows as a Hobby!


author: Mallmann
body: Hi Tushar,

In case of missing attachments we can start by trying two things:

1. Re-indexing of the instance from scratch: <https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch>
2. Following this KB about missing attachments: <https://confluence.atlassian.com/display/CONFKB/How+to+resolve+missing+attachments+in+Confluence>

Can you please try the first solution to see if that helps, and if it doesn't, try the second one?

Let us know if you can see any improvement in there afterwards.

Eduardo


author: Tushar Mohite
body: Is there any way resolve missing attachments with database Storage????