Forums

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

PDF Export Font Upload Error

Engin Sülün
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 24, 2022

When I want to upload a ".ttf" file under "PDF Export Language Support" menu, it returns the following error message with no success.

The following error(s) occurred:

  • Failed to create the font directory /fonts

Confluence Version 6.12.2 running on Docker container.

Any help is greatly appreciated!

1 answer

0 votes
Pramodh M
Community Champion
January 24, 2022

Hi @Engin Sülün 

Are we sure about the character encoding being used here

https://confluence.atlassian.com/doc/create-a-pdf-in-another-language-175473.html

It looks like when you are importing, it's trying to create a folder in root, can you try giving the permission to the root folder and then try importing.

Let me know if it's correct

Thanks,
Pramodh

Engin Sülün
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 25, 2022

Hello @Pramodh M

Thanks for your response.

I try to apply the steps in the article.

I gave permissions to the root folder, but didn't help.

It throws the following log records:

2022-01-25 16:47:12,904 ERROR [http-nio-8090-exec-134] [extra.flyingpdf.config.ConfigurePDFLanguageSupportAction] execute Unable to install language font.
-- referer: http://confluence.onur.net/admin/flyingpdf/doconfigurepdflanguagesupport.action | url: /admin/flyingpdf/doconfigurepdflanguagesupport.action | traceId: 8bfc1cba0f95ab2b | userName: esulun | action: doconfigurepdflanguagesupport
java.io.IOException: Failed to create the font directory /fonts
at com.atlassian.confluence.extra.flyingpdf.config.FontsDirectoryFontDao.getBaseFontsDir(FontsDirectoryFontDao.java:58)
at com.atlassian.confluence.extra.flyingpdf.config.FontsDirectoryFontDao.saveFont(FontsDirectoryFontDao.java:36)
at com.atlassian.confluence.extra.flyingpdf.config.FontsDirectoryFontDao.saveFont(FontsDirectoryFontDao.java:28)
at com.atlassian.confluence.extra.flyingpdf.config.PdfExportFontManager.installFont(PdfExportFontManager.java:66)
at com.atlassian.confluence.extra.flyingpdf.config.ConfigurePDFLanguageSupportAction.execute(ConfigurePDFLanguageSupportAction.java:28)
at sun.reflect.GeneratedMethodAccessor68991.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events