Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to upload doc / pdf files

Shai May 6, 2019

Hi,

I am using Confluence server

when i am trying to upload doc / pdf file i am getting the following error:  

1.PNG

and in the Log file:

--------------------------
Parameters
--------------------------
pageId : 6586369
filename : myFile.docx
size : 11821
minorEdit : true
spaceKey : NN
mimeType : application/vnd.openxmlformats-officedocument.wordprocessingml.document
atl_token : 21a1d0c5cb8d6a43c67a3946b53860d7c26e5080
contentType : page
isVFMSupported : true
name : myFile.docx
caused by: javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:238)
caused by: java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.plugins.conversion.convert.image.ImagingConverter
at com.atlassian.confluence.plugins.conversion.impl.DefaultConversionManager.getConverters(DefaultConversionManager.java:156)

 

My attachment settings are:

2.PNG

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 8, 2019

Hello Shai,

Welcome to Community! It's nice to meet you. I have just a few questions for you in order to help understand the situation.

Please let me know which method exactly you're attaching the document to the page. See Upload Files for details on the various methods, and let me know which one you're using. If you can test the other methods, please let me know if the same occurs no matter which method. 

  • In the editor you can:
  • Drag the file directly onto the page. 
  • Go to Insert > Files and images and upload a file.
  • When viewing a page you can:
  • Drag the file directly onto the page.
  • Go to  > Attachments and upload a file.
  1. Does this occur with all Word documents and PDF files, or only specific ones? 
  2. What version of Confluence server are you running?

Looking forward to hearing from you soon!

Regards,

Shannon

Shai May 12, 2019

Hi Shannon,

I am using drag and drop option, i noticed after the fail message the file succeeded to upload and appears in the attachments 

3.PNG

but the page is remain empty

4.PNG

1. Its occurs with all doc / pdf files.

2. Confluence version 6.15.2

 

Thanks,

Shai

 

 

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 13, 2019

Shai,

Thank you for confirming that. Can you please try with Go to Insert > Files and images and upload a file. Let me know if you have the same issue from this menu.

Regards,

Shannon

Shai May 13, 2019

The file uploaded successfully, but can not be viewed.

The following error appear:

Error formatting macro: viewfile: java.lang.NoClassDefFoundError: com.atlassian.plugins.conversion.AsposeAware

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 13, 2019

Shai,

Thank you very much for sharing that error. I've done some research and found that later error might be related to the fonts installed on your server.

One example:

  • CONFSERVER-55321 Adding attachments to Confluence pages fails and 'Error while generating placeholder. Is the server available?' message is displayed

Can you have a look at that and see that you don't have any errors in your logs about missing fonts? If it does, it should let you know the name of the font that is missing. You will also want to make sure that the user you are running Confluence under on your server has permissions to access to the system fonts.

Looking forward to hearing the results!

Regards,

Shannon

Shai May 18, 2019

Hi Shannon,

Thanks for your help, but i still didn't find how to fix this issue

Attached another log after failing upload file using drag and drop

There is no mention about fonts, do you have any other suggestion? 

LogFile

 

Thanks

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 27, 2019

Shai,

Thank you for your patience. I would like to see more of your log files, so I have created a support ticket for this case.

You can check your email now and you will see an email from Atlassian with your ticket number.

If you could kindly reply to that ticket with a copy of your Support Zip so we can have a deeper look.

Thank you for your help!

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events