Webdav - able to create folders but not files

Antoine B September 27, 2023

Hello,

In order to migrating our documents from another system to Confluence we wanted to use the webdav plugin for bulk import. But we are not able to create any files using it. We can create folders, but not files.

jira repo.png

 

We followed the instructions detailled here : https://confluence.atlassian.com/doc/configuring-a-webdav-client-for-confluence-148044.html

 

We tried with Windows10 integrated webdav client both methods : 

  • Windows Network Drive
  • Windows Web Folders

In both case we are able to reach the webdav and access to the spaces and subfolders, but not to create any files (using wether drag and drop or right-click/create). Windows is responding an error "0x8000ffff Unexpected Error"

 

erreur windows.png

 

We tried using a different webdav client (WinSCP) and encountered the same behaviour : we are able to access to the spaces, to create folders, but not to create any files. WinSCP is responding a 500 error.

 

erreur winscp.png

Files we tried to create are txt, jpg, pdf, png,...

We connect on the webdav using an account which is members of confluence-administrators group.

We tried with disabling strict path checking and encountered the same behavior.

Logs are returning the following error message :

 

2023-09-27 17:32:22,364 ERROR [https-jsse-nio-8443-exec-8] [extra.webdav.resource.PageResourceImpl] addMember Unable to add/update attachment default/Global/REP/REPRISE HOME/Reprise Teamforge/Nouveau document texte.txt on page page: Reprise Teamforge v.3 (21069829)
-- url: /plugins/servlet/confluence/default/Global/REP/REPRISE%20HOME/Reprise%20Teamforge/Nouveau%20document%20texte.txt | traceId: c394bbd1792ee2b7 | userName: balanea
java.io.IOException: Permission denied

 

2023-09-27 17:32:22,367 ERROR [https-jsse-nio-8443-exec-8] [extra.webdav.servlet.ConfluenceWebdavServlet] service Unexpected error
-- url: /plugins/servlet/confluence/default/Global/REP/REPRISE%20HOME/Reprise%20Teamforge/Nouveau%20document%20texte.txt | traceId: c394bbd1792ee2b7 | userName: balanea
org.apache.jackrabbit.webdav.DavException

 

Does anyone has an idea of this behavior's cause ?

 

Thanks in advance for your help.

2 answers

1 accepted

0 votes
Answer accepted
Antoine B October 18, 2023

Hi,

Finally we noticed that the temp directory used by java to writte the files doesn't have the good authorizaitons defined.

We changed it and it worked.

0 votes
Mirek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 28, 2023

Hi @Antoine B 

I think that unfortunately you might be hitting this bug

https://jira.atlassian.com/browse/CONFSERVER-59737

Could you confirm that by trying to use WebDav on a different machine than Windows (or not Windows 10)?  

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events