Deleted attachments - directory renamed to "_moved_out_of_the_way"

I attached some files (msi extension) to a page a few days ago, and when I tried to access it this morning I got the deleted attachment error:

"The attachment you were trying to download could not be found in the attachment file store. Either the file has been removed manually or there was an error in removing the record of the attachment from Confluence.

If this attachment is no longer required you can remove it from Confluence on the attachments page. Otherwise, you will need to attach a new copy."

I located the file on my file system (by its file size) and noticed the directory has been copied to "18350104_moved_out_of_the_way". The original "18350104" directory is still there too. The attachment is a zip file (7z file type). The file in the original directory is 30.1 MB but appears to be corrupt (nothing is displayed when I open it in 7zip), while the file in the copied directory is 26.6 MB and opens just fine.

I did a search of the entire attachments directory and found one other folder named "18350101_moved_out_of_the_way". The original directory is still there too. This is a large attachment (an ISO image of Visual Studio). The one in the original directory was 1.43 GB, but in the renamed directory it was only 1.18 GB. They both seem to mount just fine, but I haven't tried to actually install the software from the smaller ISO image to see if it's complete... no idea why it's 250 MB smaller.

I'm really confused by the renamed directories. I've got Microsoft Security Essentials running, but I configured it some time ago to ignore the entire "Atlassian" directory. Did Confluence run some job internally that caused the renaming? Is it encountering some conflict or something?

1 answer

1 accepted

1 vote
Accepted answer

That is not something confluence would do.

One of your admins, or a Windows process has moved and renamed it, and Confluence is simply telling you it's not there any more - it's been removed by something outside confluence.

Thanks Nic. It's my personal home machine, so I'm the admin. :) It seemed like it'd be a weird thing for Confluence to do. But then it seems like it'd be a weird thing for any Windows process to do too.

I wonder if maybe Security Essentials did find something (even a false positive) and renamed the directory, but I can't find anything online to corroborate that, and there's nothing in the "quarantined" section of the app. Plus, if it did do that, I'm not sure how renaming a folder would make anything more secure.

The only other thing worth mentioning is when I uploaded some large files (500MB+) into Confluence, it'd get part way through and then choke, and just sit there in the upload screen with the progress bar not moving. I'd refresh the page and try uploading it again, and it'd work. I wonder if there's any chance that Confluence didn't/couldn't delete the partially uploaded attachment, and it created a new directory with a similar name to the original, and moved the partially uploaded file there?

It's a stretch, I know. It's just that I don't have much running on this machine and I've never encountered that behavior in Windows before. At least if I encounter it again, I'll know to look for a renamed directory...

I don't know of anything in Confluence that would do that, even given your partial uploads.

(by the way, 500Mb files are not something Confluence is for really, it's know not to handle large files brilliantly, and that's why the default limit is 10Mb. For large files, you probably need some other file store system and simple links from Confluence into it)

Okay, I'll look into something like that. I realized after loading some large files into it that creating backups of the home directory is going to be a bear too. Thanks again.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

915 views 45 7
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