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

2 votes
Accepted answer
Don Willis Atlassian Team Jun 24, 2014

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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,100 views 17 14
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