How to find confluence page with all the big attachments?

I know all the big attachments are in this directory:

/opt/atlassian/confluence-data/attachments/ver003/113/1/4751363/73/142/17892323/18187909

How do I translate that into a specific confluence page?

Thanks!

3 answers

1 accepted

As (sort-of) described in the document Bruna linked to, the url you want to find the page with the attachment in your example is:

http://yourconfluencebaseincludingcontextpath/pages/viewpage.action?pageId=17892323

Note that 17892323 is the second-last directory in your path

However a better answer to your wider problem is probably the one at: https://answers.atlassian.com/questions/195387/how-can-i-find-very-large-attachments

Hi there,

You might try to find the PageID related to that attachment by checking the attachments table on Confluence database.

To undesrtand what does this path means:

https://confluence.atlassian.com/display/DOC/Hierarchical+File+System+Attachment+Storage

https://confluence.atlassian.com/download/attachments/179442774/attachmentstorage.png?version=4&modificationDate=1234484336367&api=v2

Displaying Attachments:

https://confluence.atlassian.com/display/DOC/Displaying+a+List+of+Attachments

To retrieve an Attachment from FileSystem:

select s.spaceid,c.contentid,a.attachmentid from spaces s inner join content c on s.spaceid=c.spaceid inner join attachments a on a.pageid=c.contentid;

Thanks to both. I actually went in to the database and using that nice pictorial supplied by Bruna, found the name of the project and doc(s) I was looking for.

BUt I love the meta-searches that Don pointed me to.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,925 views 27 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you