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!
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
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.