Is it safe to manually delete files older the 48hr in confuence/temp directory?

This question is in reference to Atlassian Documentation: Too Many Files in the Temp Directory - Change the Backup Directory for a Manual Backup

Is it safe to manually delete files older than 48hr in Confluence/temp directory? The schedule appears to be working in our Confluence version 5.8.9 but does not delete files. It has grown to ~35Gb, with files older than 1year. Once deleted (require to recover capacity quickly) need to resolve why the schedule task is not working.

2 answers

1 accepted

0 vote

Generally, you'll mostly find that it is.  But, there's always a chance that it's not, depending on your usage patterns and add-ons.

If you shut Confluence down first though, then yes, it's safe as it can always rebuild anything it needs from scratch.

Thank you Nic. Need to understand why tmp file accumulating at 2gb a day. In the meantime have purged old files to maintain the service. Ill restart the confluence after installing a fix. Thanks again

I've seen it build (but later delete) very large temporary files when people are (ab)using Confluence for video and other large file storage - check your maximum upload size.

(Note - that's just one thing I remember, there's lots of other stuff that might be doing this, I think)


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...

357 views 20 10
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