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

Accepted Answer
0 votes

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
Community showcase
Posted Thursday in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

168 views 0 3
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