Error Removing Attachments if Attachments Folder Is a Symbolic Link

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Despite no visible error in Confluence, removing an attachment results in the following error in atlassian-confluence.log:

2009-07-09 15:48:07,932 ERROR [TP-Processor34] [pages.persistence.dao.FileSystemAttachmentDataDao] removeDataForAttachment Error removing the attachments folder 
for the page with id: 9177303 folder: /local/mnt/confluence/attachments/9177303/10355140 Not writable

Filesystem permissions are configured correctly.

The attachments folder in <confluence-home-directory> is a symbolic link (symlink).

Remove the symbolic link and move back the real attachments directory to <confluence-home-directory>/attachments. See Confluence Home and other important directories.

Last modified on Dec 9, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.