PDF Template - Content of Page based on encyclopaedia

Hello @ all,
I using PDF Template to export pages with is working fine.
At top, I have a picture, and after I have a content {{toc/}}

But when I using a Page based on encyclopaedia, the Content is always at the end ob page.
Would you pls. Help me find out how to get the content on top of the page.

Many thanks and nice Weekend
TheBob

GM everyone,
is there any help for me?

Many thanks in advance
TheBob

Hi, it’s either because of a limitation of the PDF export (server-side) or because the PDF export size is too small to contain the layout from the Encyclopedia template (which has 2 columns).

Now, we’ve just developed a first version of a new extension to export as PDF, using the browser PDF feature. You coud try it. See PDF Export Application (XWiki.org)

Thanks for the info,

would like to try the version but unfortunately it is only available for the Xwiki from version 14.2. Unfortunately we are only allowed to use LTS versions.
But thanks for this info, if necessary we will have a look on a test instance if it works.

Thanks a lot

In version 14.5 I cannot find PDF Export Application as an installable add on.
Is there.
What I’m doing wrong?

many thanks

Maybe you’re only checking recommended extensions? Click “advanced” and uncheck it.

Also verify that you’re using a compatible XWiki version. See PDF Export Application (XWiki.org) where it says you need XWiki 14.2+. Best is to use 14.5+ though since important improvements have been made since 14.2.

Many thanks vmassol,

installation re done now.
But now if I export a Document to pdf i get the error Message “Failed to export as pdf”

On localhost_access log i get this informations:

[19/Jul/2022:14:12:03 +0200] “GET /bin/view/Sandbox/ HTTP/1.1” 200 82475
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /webjars/wiki:xwiki/xwiki-platform-tree-webjar/14.5/tree.min.css?evaluate=true HTTP/1.1” 200 42748
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/skin/resources/uicomponents/async/async.min.js?cache-version=1656363234000 HTTP/1.1” 200 928
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/skin/skins/flamingo/flamingo.min.js?cache-version=1656363234000&language=de HTTP/1.1” 200 581
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/skin/resources/uicomponents/widgets/tree.min.js?cache-version=1656363234000 HTTP/1.1” 200 488
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/skin/resources/uicomponents/suggest/suggestPropertyValues.min.js?cache-version=1656363234000&language=de HTTP/1.1” 200 1406
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/skin/resources/uicomponents/hierarchy/hierarchy.min.js?cache-version=1656363234000 HTTP/1.1” 200 1803
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/ssx/XWiki/Mentions/MentionsMacro?language=de&docVersion=4.1 HTTP/1.1” 200 251
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/skin/resources/uicomponents/widgets/upload.min.js?cache-version=1656363234000&language=de HTTP/1.1” 200 11200
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/skin/resources/js/xwiki/viewers/attachments.min.js?cache-version=1656363234000&language=de HTTP/1.1” 200 4818
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/skin/resources/uicomponents/exporter/exporter.min.js?cache-version=1656363234000 HTTP/1.1” 200 7344
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/skin/resources/uicomponents/viewers/tags.min.js?cache-version=1656363234000 HTTP/1.1” 200 3449
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/skin/resources/uicomponents/viewers/comments.min.js?cache-version=1656363234000&language=de HTTP/1.1” 200 11812
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/skin/resources/uicomponents/suggest/suggestUsersAndGroups.min.js?cache-version=1656363234000&language=de HTTP/1.1” 200 2404
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/skin/resources/js/xwiki/viewers/information.min.js?cache-version=1656363234000&language=de HTTP/1.1” 200 1188
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/skin/resources/uicomponents/edit/editableProperty.min.js?cache-version=1656363234000&language=de HTTP/1.1” 200 4819
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/skin/resources/uicomponents/viewers/history.min.js?cache-version=1656363234000 HTTP/1.1” 200 1528
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/jsx/PDFTemplates/Service?language=de&docVersion=1.1 HTTP/1.1” 200 968
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /webjars/wiki:xwiki/xwiki-platform-tree-webjar/14.5/require-config.min.js?evaluate=true&minify=true HTTP/1.1” 200 360
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/jsx/XWiki/QuickSearchUIX?language=de&docVersion=2.1 HTTP/1.1” 200 522
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /asyncrenderer/uix/org.xwiki.platform.wiki.ui.common.contentFooter.authors/author/xwiki%253AXWiki.u012001_l/doc.reference/xwiki%253ASandbox.WebHome%2528%2529/locale/de/secureDocument/xwiki%253AXWiki.PageAuthorsUIX/wiki/xwiki?clientId=6&timeout=500&wiki=xwiki HTTP/1.1” 200 319
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/jsx/Menu/MenuMacro?language=de&docVersion=3.1 HTTP/1.1” 200 713
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /webjars/wiki:xwiki/xwiki-platform-job-webjar/14.5/jobRunner.min.js?r=1 HTTP/1.1” 200 912
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/jsx/XWiki/SharePage?language=de&docVersion=3.1 HTTP/1.1” 200 1975
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/get/TourCode/TourJson?xpage=plain&outputSyntax=plain&tourDoc=Sandbox.WebHome HTTP/1.1” 200 12
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET / HTTP/1.1” 302 -
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/jsx/XWiki/Notifications/Code/Macro/NotificationsMacro?language=de&docVersion=5.1 HTTP/1.1” 200 6852
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /webjars/wiki:xwiki/xwiki-platform-localization-webjar/14.5/l10n.min.js?r=1 HTTP/1.1” 200 840
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/get/Sandbox/WebHome?outputSyntax=plain&sheet=XWiki.ExportDocumentTree&filterHiddenDocuments=false&showAttachments=false&showTranslations=false&root=document%3Axwiki%3ASandbox.WebHome&showRoot=true&data=children&id=%23 HTTP/1.1” 200 604
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/get/Sandbox/WebHome?xpage=xpart&vm=commentsinline.vm HTTP/1.1” 200 3571
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /rest/wikis/xwiki/localization/translations?locale=de&prefix=&key=core.export.pdf.options.title&key=export.pdf.options.template&key=export.pdf.options.template.hint&key=export.pdf.options.loadFailure&key=export.pdf.modal.close&key=export.pdf.inProgress&key=export.pdf.failed HTTP/1.1” 200 642
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /rest/notifications/count?media=json&userId=xwiki%3AXWiki.u012001&useUserPreferences=true&currentWiki=xwiki&async=true&_=1658232723288 HTTP/1.1” 200 22
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/jsx/XWiki/Notifications/Code/BootstrapSwitch?minify=true HTTP/1.1” 200 854
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/get/Sandbox/WebHome?outputSyntax=plain&sheet=XWiki.DocumentTree&showAttachments=false&showTranslations=false&exclusions=document%3Axwiki%3ABlog.WebHome&exclusions=document%3Axwiki%3AAppWithinMinutes.WebHome&exclusions=document%3Axwiki%3ATemplates.WebHome&exclusions=document%3Axwiki%3APanelsCode.WebHome&exclusions=document%3Axwiki%3AScheduler.WebHome&exclusions=document%3Axwiki%3AWikiManager.WebHome&exclusions=document%3Axwiki%3AXWiki.WebHome&exclusions=document%3Axwiki%3AExtension.WebHome&exclusions=document%3Axwiki%3AAnnotationCode.WebHome&exclusions=document%3Axwiki%3ALDAP.WebHome&exclusions=document%3Axwiki%3ARendering.WebHome&exclusions=document%3Axwiki%3AInvitation.WebHome&exclusions=document%3Axwiki%3AFlamingoThemes.WebHome&exclusions=document%3Axwiki%3AExtensionCode.WebHome&exclusions=document%3Axwiki%3ASkinsCode.WebHome&exclusions=document%3Axwiki%3APDFTemplateCustomization.WebHome&exclusions=document%3Axwiki%3ACrypto.WebHome&exclusions=document%3Axwiki%3ASandbox.WebHome&exclusions=document%3Axwiki%3AIndex.WebHome&exclusions=document%3Axwiki%3ASyntaxHighlighting.WebHome&exclusions=document%3Axwiki%3ADashboard.WebHome&exclusions=document%3Axwiki%3AIconThemesCode.WebHome&exclusions=document%3Axwiki%3ANotesCode.WebHome&exclusions=document%3Axwiki%3ATourCode.WebHome&exclusions=document%3Axwiki%3AMacros.WebHome&exclusions=document%3Axwiki%3APDFCustomizationCode.WebHome&exclusions=document%3Axwiki%3ATour.WebHome&exclusions=document%3Axwiki%3APanels.WebHome&exclusions=document%3Axwiki%3AMain.WebHome&exclusions=document%3Axwiki%3APDFTemplates.WebHome&exclusions=document%3Axwiki%3ATaskManager.WebHome&exclusions=document%3Axwiki%3AIconThemes.WebHome&exclusions=document%3Axwiki%3AMail.WebHome&exclusions=document%3Axwiki%3AWebHome.WebHome&exclusions=document%3Axwiki%3ANotes.WebHome&exclusions=document%3Axwiki%3AAttachment.WebHome&exclusions=document%3Axwiki%3AApplications.WebHome&exclusions=document%3Axwiki%3AHelp.WebHome&exclusions=document%3Axwiki%3AFlamingoThemesCode.WebHome&exclusions=document%3Axwiki%3AMenu.WebHome&exclusions=document%3Axwiki%3ACKEditor.WebHome&exclusions=document%3Axwiki%3ARefactoring.WebHome&exclusions=document%3Axwiki%3AExtensionMetadata.WebHome&exclusions=document%3Axwiki%3AImage.WebHome&data=children&id=%23 HTTP/1.1” 200 487
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/jsx/XWiki/InplaceEditing?language=de&docVersion=5.1 HTTP/1.1” 200 16747
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /bin/get/Sandbox/WebHome?outputSyntax=plain&sheet=XWiki.DocumentTree&showAttachments=false&showTranslations=false&exclusions=document%3Axwiki%3ABlog.WebHome&exclusions=document%3Axwiki%3AAppWithinMinutes.WebHome&exclusions=document%3Axwiki%3ATemplates.WebHome&exclusions=document%3Axwiki%3APanelsCode.WebHome&exclusions=document%3Axwiki%3AScheduler.WebHome&exclusions=document%3Axwiki%3AWikiManager.WebHome&exclusions=document%3Axwiki%3AXWiki.WebHome&exclusions=document%3Axwiki%3AExtension.WebHome&exclusions=document%3Axwiki%3AAnnotationCode.WebHome&exclusions=document%3Axwiki%3ALDAP.WebHome&exclusions=document%3Axwiki%3ARendering.WebHome&exclusions=document%3Axwiki%3AInvitation.WebHome&exclusions=document%3Axwiki%3AFlamingoThemes.WebHome&exclusions=document%3Axwiki%3AExtensionCode.WebHome&exclusions=document%3Axwiki%3ASkinsCode.WebHome&exclusions=document%3Axwiki%3APDFTemplateCustomization.WebHome&exclusions=document%3Axwiki%3ACrypto.WebHome&exclusions=document%3Axwiki%3ASandbox.WebHome&exclusions=document%3Axwiki%3AIndex.WebHome&exclusions=document%3Axwiki%3ASyntaxHighlighting.WebHome&exclusions=document%3Axwiki%3ADashboard.WebHome&exclusions=document%3Axwiki%3AIconThemesCode.WebHome&exclusions=document%3Axwiki%3ANotesCode.WebHome&exclusions=document%3Axwiki%3ATourCode.WebHome&exclusions=document%3Axwiki%3AMacros.WebHome&exclusions=document%3Axwiki%3APDFCustomizationCode.WebHome&exclusions=document%3Axwiki%3ATour.WebHome&exclusions=document%3Axwiki%3APanels.WebHome&exclusions=document%3Axwiki%3AMain.WebHome&exclusions=document%3Axwiki%3APDFTemplates.WebHome&exclusions=document%3Axwiki%3ATaskManager.WebHome&exclusions=document%3Axwiki%3AIconThemes.WebHome&exclusions=document%3Axwiki%3AMail.WebHome&exclusions=document%3Axwiki%3AWebHome.WebHome&exclusions=document%3Axwiki%3ANotes.WebHome&exclusions=document%3Axwiki%3AAttachment.WebHome&exclusions=document%3Axwiki%3AApplications.WebHome&exclusions=document%3Axwiki%3AHelp.WebHome&exclusions=document%3Axwiki%3AFlamingoThemesCode.WebHome&exclusions=document%3Axwiki%3AMenu.WebHome&exclusions=document%3Axwiki%3ACKEditor.WebHome&exclusions=document%3Axwiki%3ARefactoring.WebHome&exclusions=document%3Axwiki%3AExtensionMetadata.WebHome&exclusions=document%3Axwiki%3AImage.WebHome&data=path&id=document%3Axwiki%3ASandbox.WebHome HTTP/1.1” 200 507
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /resources/icons/xwiki/favicon.svg?cache-version=1656363234000 HTTP/1.1” 200 1995
192.168.169.81 - - [19/Jul/2022:14:12:03 +0200] “GET /resources/icons/xwiki/favicon144.png?cache-version=1656363234000 HTTP/1.1” 200 17357
192.168.169.81 - - [19/Jul/2022:14:12:04 +0200] “GET /bin/view/Main/ HTTP/1.1” 200 76472
192.168.169.81 - - [19/Jul/2022:14:12:04 +0200] “GET /webjars/wiki:xwiki/xwiki-platform-tree-webjar/14.5/require-config.min.js?evaluate=true HTTP/1.1” 200 360
192.168.169.81 - - [19/Jul/2022:14:12:04 +0200] “GET /bin/get/CKEditor/Translator?outputSyntax=plain&language=de&prefix=resource&key=attach.label&key=attach.placeholder&key=data.label&key=doc.label&key=doc.placeholder&key=icon.label&key=mailto.label&key=mailto.placeholder&key=path.label&key=path.placeholder&key=unc.label&key=unc.placeholder&key=unknown.label&key=url.label&key=url.placeholder&key=user.label&key=user.placeholder HTTP/1.1” 200 530
192.168.169.81 - - [19/Jul/2022:14:12:04 +0200] “GET /bin/get/CKEditor/Translator?outputSyntax=plain&language=de&prefix=resourcePicker&key=attach.hint&key=doc.hint HTTP/1.1” 200 78
192.168.169.81 - - [19/Jul/2022:14:12:04 +0200] “GET /bin/get/Sandbox/?xpage=editactions HTTP/1.1” 200 1811
192.168.169.81 - - [19/Jul/2022:14:12:04 +0200] “GET /webjars/wiki:xwiki/xwiki-platform-tree-webjar/14.5/finder.min.css?evaluate=true HTTP/1.1” 200 753
192.168.169.81 - - [19/Jul/2022:14:12:04 +0200] “GET /webjars/wiki:xwiki/application-ckeditor-webjar/1.64.2/plugins/xwiki-resource/resourcePicker.min.css?evaluate=true HTTP/1.1” 200 12338
192.168.169.81 - - [19/Jul/2022:14:12:04 +0200] “GET /webjars/wiki:xwiki/application-ckeditor-webjar/1.64.2/plugins/xwiki-macro/macroWizard.min.css?evaluate=true HTTP/1.1” 200 14429
192.168.169.81 - - [19/Jul/2022:14:12:08 +0200] “GET /webjars/wiki:xwiki/xwiki-platform-tree-webjar/14.5/32px.png HTTP/1.1” 200 8760
192.168.169.81 - - [19/Jul/2022:14:12:11 +0200] “GET /bin/get/Sandbox/WebHome?outputSyntax=plain&sheet=XWiki.ExportDocumentTree&filterHiddenDocuments=false&showAttachments=false&showTranslations=false&root=document%3Axwiki%3ASandbox.WebHome&showRoot=true&data=children&id=document%3Axwiki%3ASandbox.WebHome HTTP/1.1” 200 3747
192.168.169.81 - - [19/Jul/2022:14:12:16 +0200] “GET /bin/view/Sandbox/?xpage=pdfoptions& HTTP/1.1” 200 68138
192.168.169.81 - - [19/Jul/2022:14:12:17 +0200] “GET /resources/icons/xwiki/favicon144.png?cache-version=1656363234000 HTTP/1.1” 200 17357
192.168.169.81 - - [19/Jul/2022:14:12:19 +0200] “POST /bin/get/Sandbox/ HTTP/1.1” 200 87
192.168.169.81 - - [19/Jul/2022:14:12:20 +0200] “GET /bin/get/Sandbox/?outputSyntax=plain&sheet=XWiki.PDFExport.WebHome&data=jobStatus&jobId=export%2Fpdf%2F1658232738967-525 HTTP/1.1” 200 102

Xwiki Version is for testing now the 14.5

Many thanks for helping
TheBob

GM @all,

I really would like to test the new extension PDF Export Application, but still not running on 14.5.
Also looking for a solution on based problem with document based on encyclopaedia.
The documents itself has about more the 30 Sites, so it should not to small to export.
How can I check if there is a limitation of PDF Export?

Many thanks in advance
TheBob

hi. You should try in 14.6 (with the latest version of the PDF Export app) since there were improvements made. Also the log you’re showing is the request log which is not very useful. We’d need the job logs for the PDF export which is located in the permanent directory.

Could you list the exact steps to reproduce the problem?

Thx

Hello,

I have now installed xwiki 14.6 again on a brand new server with Ubuntu 20.04, MariaDB and LDAP connection.
There installed the appropriate module PDF Export Application and as in the description opened the sandbox via Export as selected in the video of PDF Export Application pdf.
After that the message “Failed to export as pdf” appears.

I hope that one is the right Log file:

<org.xwiki.logging.event.BeginLogEvent>
  <marker class="org.xwiki.logging.marker.BeginTranslationMarker">
    <name>job.log.beginWithId</name>
    <references class="linked-hash-set">
      <org.slf4j.helpers.BasicMarker>
        <name>xwiki.begin</name>
        <referenceList class="java.util.concurrent.CopyOnWriteArrayList" serialization="custom">
          <java.util.concurrent.CopyOnWriteArrayList>
            <default/>
            <int>0</int>
          </java.util.concurrent.CopyOnWriteArrayList>
        </referenceList>
      </org.slf4j.helpers.BasicMarker>
    </references>
    <translationKey>job.log.beginWithId</translationKey>
  </marker>
  <message>Starting job of type [{}] with identifier [{}]</message>
  <argumentArray>
    <string>export/pdf</string>
    <java.util.Arrays_-ArrayList>
      <a class="string-array">
        <string>export</string>
        <string>pdf</string>
        <string>1659688582701-686</string>
      </a>
    </java.util.Arrays_-ArrayList>
  </argumentArray>
  <level>INFO</level>
  <timeStamp>1659688582713</timeStamp>
</org.xwiki.logging.event.BeginLogEvent>
<org.xwiki.logging.event.LogEvent>
  <level>ERROR</level>
  <timeStamp>1659688582771</timeStamp>
  <message>Exception thrown during job execution</message>
  <marker class="org.xwiki.logging.marker.TranslationMarker">
    <name>xwiki.translation</name>
    <translationKey>job.log.exception</translationKey>
  </marker>
  <throwable class="java.lang.RuntimeException">
    <detailMessage>Failed to get [role = [org.xwiki.export.pdf.PDFPrinter&lt;java.net.URL&gt;] hint = [docker]]</detailMessage>
    <cause class="org.xwiki.component.manager.ComponentLookupException">
      <detailMessage>Failed to lookup component [org.xwiki.export.pdf.internal.docker.DockerPDFPrinter] identified by type [org.xwiki.export.pdf.PDFPrinter&lt;java.net.URL&gt;] and hint [docker]</detailMessage>
      <cause class="org.xwiki.component.phase.InitializationException">
        <detailMessage>Failed to initialize the Docker container for the PDF export.</detailMessage>
        <cause class="java.lang.RuntimeException">
          <detailMessage>java.io.IOException: com.sun.jna.LastErrorException: [2] No such file or directory</detailMessage>
          <cause class="java.io.IOException">
            <detailMessage>com.sun.jna.LastErrorException: [2] No such file or directory</detailMessage>
            <cause class="com.sun.jna.LastErrorException">
              <detailMessage>[2] No such file or directory</detailMessage>
              <stackTrace>
                <trace>com.github.dockerjava.transport.LinuxDomainSocket.connect(Native Method)</trace>
                <trace>com.github.dockerjava.transport.LinuxDomainSocket.connect(LinuxDomainSocket.java:49)</trace>
                <trace>com.github.dockerjava.transport.DomainSocket.open(DomainSocket.java:69)</trace>
                <trace>com.github.dockerjava.transport.DomainSocket.&lt;init&gt;(DomainSocket.java:59)</trace>
                <trace>com.github.dockerjava.transport.LinuxDomainSocket.&lt;init&gt;(LinuxDomainSocket.java:41)</trace>
                <trace>com.github.dockerjava.transport.DomainSocket.get(DomainSocket.java:140)</trace>
                <trace>com.github.dockerjava.transport.UnixSocket.get(UnixSocket.java:29)</trace>
                <trace>com.github.dockerjava.httpclient5.ApacheDockerHttpClientImpl$2.createSocket(ApacheDockerHttpClientImpl.java:153)</trace>
                <trace>org.apache.hc.client5.http.impl.io.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:125)</trace>
                <trace>org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:396)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.InternalExecRuntime.connectEndpoint(InternalExecRuntime.java:158)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.InternalExecRuntime.connectEndpoint(InternalExecRuntime.java:168)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ConnectExec.execute(ConnectExec.java:136)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ProtocolExec.execute(ProtocolExec.java:175)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.HttpRequestRetryExec.execute(HttpRequestRetryExec.java:96)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ContentCompressionExec.execute(ContentCompressionExec.java:133)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.RedirectExec.execute(RedirectExec.java:115)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.InternalHttpClient.doExecute(InternalHttpClient.java:170)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.CloseableHttpClient.execute(CloseableHttpClient.java:67)</trace>
                <trace>com.github.dockerjava.httpclient5.ApacheDockerHttpClientImpl.execute(ApacheDockerHttpClientImpl.java:191)</trace>
                <trace>com.github.dockerjava.httpclient5.ApacheDockerHttpClient.execute(ApacheDockerHttpClient.java:9)</trace>
                <trace>com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:228)</trace>
                <trace>com.github.dockerjava.core.DefaultInvocationBuilder.get(DefaultInvocationBuilder.java:202)</trace>
                <trace>com.github.dockerjava.core.DefaultInvocationBuilder.get(DefaultInvocationBuilder.java:74)</trace>
                <trace>com.github.dockerjava.core.exec.ListContainersCmdExec.execute(ListContainersCmdExec.java:44)</trace>
                <trace>com.github.dockerjava.core.exec.ListContainersCmdExec.execute(ListContainersCmdExec.java:15)</trace>
                <trace>com.github.dockerjava.core.exec.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:21)</trace>
                <trace>com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:35)</trace>
                <trace>org.xwiki.export.pdf.internal.docker.ContainerManager.exec(ContainerManager.java:303)</trace>
                <trace>org.xwiki.export.pdf.internal.docker.ContainerManager.maybeReuseContainerByName(ContainerManager.java:95)</trace>
                <trace>org.xwiki.export.pdf.internal.docker.DockerPDFPrinter.initializeChromeDockerContainer(DockerPDFPrinter.java:104)</trace>
                <trace>org.xwiki.export.pdf.internal.docker.DockerPDFPrinter.initialize(DockerPDFPrinter.java:91)</trace>
                <trace>org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)</trace>
                <trace>org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:365)</trace>
                <trace>org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451)</trace>
                <trace>org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:201)</trace>
                <trace>org.xwiki.component.embed.GenericProvider.getInstance(GenericProvider.java:111)</trace>
                <trace>org.xwiki.component.embed.GenericProvider.get(GenericProvider.java:100)</trace>
                <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.saveAsPDF(PDFExportJob.java:162)</trace>
                <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.runInternal(PDFExportJob.java:115)</trace>
                <trace>org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:243)</trace>
                <trace>org.xwiki.job.AbstractJob.run(AbstractJob.java:220)</trace>
                <trace>java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)</trace>
                <trace>java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)</trace>
                <trace>java.base/java.lang.Thread.run(Thread.java:829)</trace>
              </stackTrace>
            </cause>
            <stackTrace>
              <trace>com.github.dockerjava.transport.DomainSocket.&lt;init&gt;(DomainSocket.java:63)</trace>
              <trace>com.github.dockerjava.transport.LinuxDomainSocket.&lt;init&gt;(LinuxDomainSocket.java:41)</trace>
              <trace>com.github.dockerjava.transport.DomainSocket.get(DomainSocket.java:140)</trace>
              <trace>com.github.dockerjava.transport.UnixSocket.get(UnixSocket.java:29)</trace>
              <trace>com.github.dockerjava.httpclient5.ApacheDockerHttpClientImpl$2.createSocket(ApacheDockerHttpClientImpl.java:153)</trace>
              <trace>org.apache.hc.client5.http.impl.io.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:125)</trace>
              <trace>org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:396)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.InternalExecRuntime.connectEndpoint(InternalExecRuntime.java:158)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.InternalExecRuntime.connectEndpoint(InternalExecRuntime.java:168)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ConnectExec.execute(ConnectExec.java:136)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ProtocolExec.execute(ProtocolExec.java:175)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.HttpRequestRetryExec.execute(HttpRequestRetryExec.java:96)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ContentCompressionExec.execute(ContentCompressionExec.java:133)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.RedirectExec.execute(RedirectExec.java:115)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.InternalHttpClient.doExecute(InternalHttpClient.java:170)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.CloseableHttpClient.execute(CloseableHttpClient.java:67)</trace>
              <trace>com.github.dockerjava.httpclient5.ApacheDockerHttpClientImpl.execute(ApacheDockerHttpClientImpl.java:191)</trace>
              <trace>com.github.dockerjava.httpclient5.ApacheDockerHttpClient.execute(ApacheDockerHttpClient.java:9)</trace>
              <trace>com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:228)</trace>
              <trace>com.github.dockerjava.core.DefaultInvocationBuilder.get(DefaultInvocationBuilder.java:202)</trace>
              <trace>com.github.dockerjava.core.DefaultInvocationBuilder.get(DefaultInvocationBuilder.java:74)</trace>
              <trace>com.github.dockerjava.core.exec.ListContainersCmdExec.execute(ListContainersCmdExec.java:44)</trace>
              <trace>com.github.dockerjava.core.exec.ListContainersCmdExec.execute(ListContainersCmdExec.java:15)</trace>
              <trace>com.github.dockerjava.core.exec.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:21)</trace>
              <trace>com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:35)</trace>
              <trace>org.xwiki.export.pdf.internal.docker.ContainerManager.exec(ContainerManager.java:303)</trace>
              <trace>org.xwiki.export.pdf.internal.docker.ContainerManager.maybeReuseContainerByName(ContainerManager.java:95)</trace>
              <trace>org.xwiki.export.pdf.internal.docker.DockerPDFPrinter.initializeChromeDockerContainer(DockerPDFPrinter.java:104)</trace>
              <trace>org.xwiki.export.pdf.internal.docker.DockerPDFPrinter.initialize(DockerPDFPrinter.java:91)</trace>
              <trace>org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)</trace>
              <trace>org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:365)</trace>
              <trace>org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451)</trace>
              <trace>org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:201)</trace>
              <trace>org.xwiki.component.embed.GenericProvider.getInstance(GenericProvider.java:111)</trace>
              <trace>org.xwiki.component.embed.GenericProvider.get(GenericProvider.java:100)</trace>
              <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.saveAsPDF(PDFExportJob.java:162)</trace>
              <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.runInternal(PDFExportJob.java:115)</trace>
              <trace>org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:243)</trace>
              <trace>org.xwiki.job.AbstractJob.run(AbstractJob.java:220)</trace>
              <trace>java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)</trace>
              <trace>java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)</trace>
              <trace>java.base/java.lang.Thread.run(Thread.java:829)</trace>
            </stackTrace>
          </cause>
          <stackTrace>
            <trace>com.github.dockerjava.httpclient5.ApacheDockerHttpClientImpl.execute(ApacheDockerHttpClientImpl.java:195)</trace>
            <trace>com.github.dockerjava.httpclient5.ApacheDockerHttpClient.execute(ApacheDockerHttpClient.java:9)</trace>
            <trace>com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:228)</trace>
            <trace>com.github.dockerjava.core.DefaultInvocationBuilder.get(DefaultInvocationBuilder.java:202)</trace>
            <trace>com.github.dockerjava.core.DefaultInvocationBuilder.get(DefaultInvocationBuilder.java:74)</trace>
            <trace>com.github.dockerjava.core.exec.ListContainersCmdExec.execute(ListContainersCmdExec.java:44)</trace>
            <trace>com.github.dockerjava.core.exec.ListContainersCmdExec.execute(ListContainersCmdExec.java:15)</trace>
            <trace>com.github.dockerjava.core.exec.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:21)</trace>
            <trace>com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:35)</trace>
            <trace>org.xwiki.export.pdf.internal.docker.ContainerManager.exec(ContainerManager.java:303)</trace>
            <trace>org.xwiki.export.pdf.internal.docker.ContainerManager.maybeReuseContainerByName(ContainerManager.java:95)</trace>
            <trace>org.xwiki.export.pdf.internal.docker.DockerPDFPrinter.initializeChromeDockerContainer(DockerPDFPrinter.java:104)</trace>
            <trace>org.xwiki.export.pdf.internal.docker.DockerPDFPrinter.initialize(DockerPDFPrinter.java:91)</trace>
            <trace>org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)</trace>
            <trace>org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:365)</trace>
            <trace>org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451)</trace>
            <trace>org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:201)</trace>
            <trace>org.xwiki.component.embed.GenericProvider.getInstance(GenericProvider.java:111)</trace>
            <trace>org.xwiki.component.embed.GenericProvider.get(GenericProvider.java:100)</trace>
            <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.saveAsPDF(PDFExportJob.java:162)</trace>
            <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.runInternal(PDFExportJob.java:115)</trace>
            <trace>org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:243)</trace>
            <trace>org.xwiki.job.AbstractJob.run(AbstractJob.java:220)</trace>
            <trace>java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)</trace>
            <trace>java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)</trace>
            <trace>java.base/java.lang.Thread.run(Thread.java:829)</trace>
          </stackTrace>
        </cause>
        <stackTrace>
          <trace>org.xwiki.export.pdf.internal.docker.DockerPDFPrinter.initializeChromeDockerContainer(DockerPDFPrinter.java:128)</trace>
          <trace>org.xwiki.export.pdf.internal.docker.DockerPDFPrinter.initialize(DockerPDFPrinter.java:91)</trace>
          <trace>org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)</trace>
          <trace>org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:365)</trace>
          <trace>org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451)</trace>
          <trace>org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:201)</trace>
          <trace>org.xwiki.component.embed.GenericProvider.getInstance(GenericProvider.java:111)</trace>
          <trace>org.xwiki.component.embed.GenericProvider.get(GenericProvider.java:100)</trace>
          <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.saveAsPDF(PDFExportJob.java:162)</trace>
          <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.runInternal(PDFExportJob.java:115)</trace>
          <trace>org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:243)</trace>
          <trace>org.xwiki.job.AbstractJob.run(AbstractJob.java:220)</trace>
          <trace>java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)</trace>
          <trace>java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)</trace>
          <trace>java.base/java.lang.Thread.run(Thread.java:829)</trace>
        </stackTrace>
      </cause>
      <stackTrace>
        <trace>org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:204)</trace>
        <trace>org.xwiki.component.embed.GenericProvider.getInstance(GenericProvider.java:111)</trace>
        <trace>org.xwiki.component.embed.GenericProvider.get(GenericProvider.java:100)</trace>
        <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.saveAsPDF(PDFExportJob.java:162)</trace>
        <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.runInternal(PDFExportJob.java:115)</trace>
        <trace>org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:243)</trace>
        <trace>org.xwiki.job.AbstractJob.run(AbstractJob.java:220)</trace>
        <trace>java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)</trace>
        <trace>java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)</trace>
        <trace>java.base/java.lang.Thread.run(Thread.java:829)</trace>
      </stackTrace>
    </cause>
    <stackTrace>
      <trace>org.xwiki.component.embed.GenericProvider.get(GenericProvider.java:103)</trace>
      <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.saveAsPDF(PDFExportJob.java:162)</trace>
      <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.runInternal(PDFExportJob.java:115)</trace>
      <trace>org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:243)</trace>
      <trace>org.xwiki.job.AbstractJob.run(AbstractJob.java:220)</trace>
      <trace>java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)</trace>
      <trace>java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)</trace>
      <trace>java.base/java.lang.Thread.run(Thread.java:829)</trace>
    </stackTrace>
  </throwable>
</org.xwiki.logging.event.LogEvent>
<org.xwiki.logging.event.EndLogEvent>
  <marker class="org.xwiki.logging.marker.EndTranslationMarker">
    <name>job.log.endWithId</name>
    <references class="linked-hash-set">
      <org.slf4j.helpers.BasicMarker>
        <name>xwiki.end</name>
        <referenceList class="java.util.concurrent.CopyOnWriteArrayList" serialization="custom">
          <java.util.concurrent.CopyOnWriteArrayList>
            <default/>
            <int>0</int>
          </java.util.concurrent.CopyOnWriteArrayList>
        </referenceList>
      </org.slf4j.helpers.BasicMarker>
    </references>
    <translationKey>job.log.endWithId</translationKey>
  </marker>
  <message>Finished job of type [{}] with identifier [{}]</message>
  <argumentArray>
    <string>export/pdf</string>
    <java.util.Arrays_-ArrayList>
      <a class="string-array">
        <string>export</string>
        <string>pdf</string>
        <string>1659688582701-686</string>
      </a>
    </java.util.Arrays_-ArrayList>
  </argumentArray>
  <level>INFO</level>
  <timeStamp>1659688582780</timeStamp>
</org.xwiki.logging.event.EndLogEvent>

Many thanks for helping!

GM @all,

any news about that, how to solve the problem?
Many thanks

TheBob

Hello @all,

we need as soon as possible a solution to print / export documents based on encyclopedia because we need to share them with others.
It would be very good if we also find a solution with LTS Version of Xwiki.

How can we solve the problem?

Many thanks TheBob

Hi,

regarding your problem with the PDF Export Application on 14.6, have you checked that all requirements explained in PDF Export Application (XWiki.org) were met, in particular:

  • Docker 20.10+ must be installed on the machine running XWiki (the servlet engine) if XWiki is not itself inside a Docker container (see the following section). The reason is because in this case (XWiki running outside Docker, on the same machine as the Docker daemon) the Chrome browser running inside a Docker container needs to access the XWiki instance running on the Docker host. This is possible thanks to the host-gateway magic host name that was introduced in Docker 20.10 and which we use when creating the Chrome container like this: --add-host=host.xwiki.internal:host-gateway.
  • the OS user running XWiki (e.g. “tomcat”) must be allowed to use Docker (e.g. on Linux this usually means adding the user to the “docker” group so that it has access to the Docker socket)
  • internet access to pull the Docker image

Note that we’re mostly putting our energy on the new application on this subject, so there might not be a solution for your issue on XWiki 13.10.x. However next LTS will definitely support the new PDF export application.

Many thanks surli,
so the main problem is that we using xwiki without any docker!
I assumed that it might work without Docker since we don’t have any applications that need Docker so far.
Is there already a date when the next LTS version will be available?

I have now running latest xwiki under Synology with docker / Portainer all latest version.
After install, PDF Export and test Sandbox under my Firefox or Edge Browser have the same result.

cat log.xml 
<org.xwiki.logging.event.BeginLogEvent>
  <marker class="org.xwiki.logging.marker.BeginTranslationMarker">
    <name>job.log.beginWithId</name>
    <references class="linked-hash-set">
      <org.slf4j.helpers.BasicMarker>
        <name>xwiki.begin</name>
        <referenceList class="java.util.concurrent.CopyOnWriteArrayList" serialization="custom">
          <java.util.concurrent.CopyOnWriteArrayList>
            <default/>
            <int>0</int>
          </java.util.concurrent.CopyOnWriteArrayList>
        </referenceList>
      </org.slf4j.helpers.BasicMarker>
    </references>
    <translationKey>job.log.beginWithId</translationKey>
  </marker>
  <message>Starting job of type [{}] with identifier [{}]</message>
  <argumentArray>
    <string>export/pdf</string>
    <java.util.Arrays_-ArrayList>
      <a class="string-array">
        <string>export</string>
        <string>pdf</string>
        <string>1660823894947-647</string>
      </a>
    </java.util.Arrays_-ArrayList>
  </argumentArray>
  <level>INFO</level>
  <timeStamp>1660823894960</timeStamp>
</org.xwiki.logging.event.BeginLogEvent>
<org.xwiki.logging.event.LogEvent>
  <level>ERROR</level>
  <timeStamp>1660823895396</timeStamp>
  <message>Exception thrown during job execution</message>
  <marker class="org.xwiki.logging.marker.TranslationMarker">
    <name>xwiki.translation</name>
    <translationKey>job.log.exception</translationKey>
  </marker>
  <throwable class="java.lang.RuntimeException">
    <detailMessage>Failed to get [role = [org.xwiki.export.pdf.PDFPrinter&lt;java.net.URL&gt;] hint = [docker]]</detailMessage>
    <cause class="org.xwiki.component.manager.ComponentLookupException">
      <detailMessage>Failed to lookup component [org.xwiki.export.pdf.internal.docker.DockerPDFPrinter] identified by type [org.xwiki.export.pdf.PDFPrinter&lt;java.net.URL&gt;] and hint [docker]</detailMessage>
      <cause class="org.xwiki.component.phase.InitializationException">
        <detailMessage>Failed to initialize the Docker container for the PDF export.</detailMessage>
        <cause class="java.lang.RuntimeException">
          <detailMessage>java.io.IOException: com.sun.jna.LastErrorException: [2] No such file or directory</detailMessage>
          <cause class="java.io.IOException">
            <detailMessage>com.sun.jna.LastErrorException: [2] No such file or directory</detailMessage>
            <cause class="com.sun.jna.LastErrorException">
              <detailMessage>[2] No such file or directory</detailMessage>
              <stackTrace>
                <trace>com.github.dockerjava.transport.LinuxDomainSocket.connect(Native Method)</trace>
                <trace>com.github.dockerjava.transport.LinuxDomainSocket.connect(LinuxDomainSocket.java:49)</trace>
                <trace>com.github.dockerjava.transport.DomainSocket.open(DomainSocket.java:69)</trace>
                <trace>com.github.dockerjava.transport.DomainSocket.&lt;init&gt;(DomainSocket.java:59)</trace>
                <trace>com.github.dockerjava.transport.LinuxDomainSocket.&lt;init&gt;(LinuxDomainSocket.java:41)</trace>
                <trace>com.github.dockerjava.transport.DomainSocket.get(DomainSocket.java:140)</trace>
                <trace>com.github.dockerjava.transport.UnixSocket.get(UnixSocket.java:29)</trace>
                <trace>com.github.dockerjava.httpclient5.ApacheDockerHttpClientImpl$2.createSocket(ApacheDockerHttpClientImpl.java:153)</trace>
                <trace>org.apache.hc.client5.http.impl.io.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:125)</trace>
                <trace>org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:396)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.InternalExecRuntime.connectEndpoint(InternalExecRuntime.java:158)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.InternalExecRuntime.connectEndpoint(InternalExecRuntime.java:168)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ConnectExec.execute(ConnectExec.java:136)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ProtocolExec.execute(ProtocolExec.java:175)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.HttpRequestRetryExec.execute(HttpRequestRetryExec.java:96)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ContentCompressionExec.execute(ContentCompressionExec.java:133)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.RedirectExec.execute(RedirectExec.java:115)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.InternalHttpClient.doExecute(InternalHttpClient.java:170)</trace>
                <trace>org.apache.hc.client5.http.impl.classic.CloseableHttpClient.execute(CloseableHttpClient.java:67)</trace>
                <trace>com.github.dockerjava.httpclient5.ApacheDockerHttpClientImpl.execute(ApacheDockerHttpClientImpl.java:191)</trace>
                <trace>com.github.dockerjava.httpclient5.ApacheDockerHttpClient.execute(ApacheDockerHttpClient.java:9)</trace>
                <trace>com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:228)</trace>
                <trace>com.github.dockerjava.core.DefaultInvocationBuilder.get(DefaultInvocationBuilder.java:202)</trace>
                <trace>com.github.dockerjava.core.DefaultInvocationBuilder.get(DefaultInvocationBuilder.java:74)</trace>
                <trace>com.github.dockerjava.core.exec.ListContainersCmdExec.execute(ListContainersCmdExec.java:44)</trace>
                <trace>com.github.dockerjava.core.exec.ListContainersCmdExec.execute(ListContainersCmdExec.java:15)</trace>
                <trace>com.github.dockerjava.core.exec.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:21)</trace>
                <trace>com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:35)</trace>
                <trace>org.xwiki.export.pdf.internal.docker.ContainerManager.exec(ContainerManager.java:303)</trace>
                <trace>org.xwiki.export.pdf.internal.docker.ContainerManager.maybeReuseContainerByName(ContainerManager.java:95)</trace>
                <trace>org.xwiki.export.pdf.internal.docker.DockerPDFPrinter.initializeChromeDockerContainer(DockerPDFPrinter.java:104)</trace>
                <trace>org.xwiki.export.pdf.internal.docker.DockerPDFPrinter.initialize(DockerPDFPrinter.java:91)</trace>
                <trace>org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)</trace>
                <trace>org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:365)</trace>
                <trace>org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451)</trace>
                <trace>org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:201)</trace>
                <trace>org.xwiki.component.embed.GenericProvider.getInstance(GenericProvider.java:111)</trace>
                <trace>org.xwiki.component.embed.GenericProvider.get(GenericProvider.java:100)</trace>
                <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.saveAsPDF(PDFExportJob.java:162)</trace>
                <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.runInternal(PDFExportJob.java:115)</trace>
                <trace>org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:243)</trace>
                <trace>org.xwiki.job.AbstractJob.run(AbstractJob.java:220)</trace>
                <trace>java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)</trace>
                <trace>java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)</trace>
                <trace>java.base/java.lang.Thread.run(Unknown Source)</trace>
              </stackTrace>
            </cause>
            <stackTrace>
              <trace>com.github.dockerjava.transport.DomainSocket.&lt;init&gt;(DomainSocket.java:63)</trace>
              <trace>com.github.dockerjava.transport.LinuxDomainSocket.&lt;init&gt;(LinuxDomainSocket.java:41)</trace>
              <trace>com.github.dockerjava.transport.DomainSocket.get(DomainSocket.java:140)</trace>
              <trace>com.github.dockerjava.transport.UnixSocket.get(UnixSocket.java:29)</trace>
              <trace>com.github.dockerjava.httpclient5.ApacheDockerHttpClientImpl$2.createSocket(ApacheDockerHttpClientImpl.java:153)</trace>
              <trace>org.apache.hc.client5.http.impl.io.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:125)</trace>
              <trace>org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:396)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.InternalExecRuntime.connectEndpoint(InternalExecRuntime.java:158)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.InternalExecRuntime.connectEndpoint(InternalExecRuntime.java:168)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ConnectExec.execute(ConnectExec.java:136)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ProtocolExec.execute(ProtocolExec.java:175)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.HttpRequestRetryExec.execute(HttpRequestRetryExec.java:96)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ContentCompressionExec.execute(ContentCompressionExec.java:133)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement$1.proceed(ExecChainElement.java:57)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.RedirectExec.execute(RedirectExec.java:115)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.ExecChainElement.execute(ExecChainElement.java:51)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.InternalHttpClient.doExecute(InternalHttpClient.java:170)</trace>
              <trace>org.apache.hc.client5.http.impl.classic.CloseableHttpClient.execute(CloseableHttpClient.java:67)</trace>
              <trace>com.github.dockerjava.httpclient5.ApacheDockerHttpClientImpl.execute(ApacheDockerHttpClientImpl.java:191)</trace>
              <trace>com.github.dockerjava.httpclient5.ApacheDockerHttpClient.execute(ApacheDockerHttpClient.java:9)</trace>
              <trace>com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:228)</trace>
              <trace>com.github.dockerjava.core.DefaultInvocationBuilder.get(DefaultInvocationBuilder.java:202)</trace>
              <trace>com.github.dockerjava.core.DefaultInvocationBuilder.get(DefaultInvocationBuilder.java:74)</trace>
              <trace>com.github.dockerjava.core.exec.ListContainersCmdExec.execute(ListContainersCmdExec.java:44)</trace>
              <trace>com.github.dockerjava.core.exec.ListContainersCmdExec.execute(ListContainersCmdExec.java:15)</trace>
              <trace>com.github.dockerjava.core.exec.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:21)</trace>
              <trace>com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:35)</trace>
              <trace>org.xwiki.export.pdf.internal.docker.ContainerManager.exec(ContainerManager.java:303)</trace>
              <trace>org.xwiki.export.pdf.internal.docker.ContainerManager.maybeReuseContainerByName(ContainerManager.java:95)</trace>
              <trace>org.xwiki.export.pdf.internal.docker.DockerPDFPrinter.initializeChromeDockerContainer(DockerPDFPrinter.java:104)</trace>
              <trace>org.xwiki.export.pdf.internal.docker.DockerPDFPrinter.initialize(DockerPDFPrinter.java:91)</trace>
              <trace>org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)</trace>
              <trace>org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:365)</trace>
              <trace>org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451)</trace>
              <trace>org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:201)</trace>
              <trace>org.xwiki.component.embed.GenericProvider.getInstance(GenericProvider.java:111)</trace>
              <trace>org.xwiki.component.embed.GenericProvider.get(GenericProvider.java:100)</trace>
              <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.saveAsPDF(PDFExportJob.java:162)</trace>
              <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.runInternal(PDFExportJob.java:115)</trace>
              <trace>org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:243)</trace>
              <trace>org.xwiki.job.AbstractJob.run(AbstractJob.java:220)</trace>
              <trace>java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)</trace>
              <trace>java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)</trace>
              <trace>java.base/java.lang.Thread.run(Unknown Source)</trace>
            </stackTrace>
          </cause>
          <stackTrace>
            <trace>com.github.dockerjava.httpclient5.ApacheDockerHttpClientImpl.execute(ApacheDockerHttpClientImpl.java:195)</trace>
            <trace>com.github.dockerjava.httpclient5.ApacheDockerHttpClient.execute(ApacheDockerHttpClient.java:9)</trace>
            <trace>com.github.dockerjava.core.DefaultInvocationBuilder.execute(DefaultInvocationBuilder.java:228)</trace>
            <trace>com.github.dockerjava.core.DefaultInvocationBuilder.get(DefaultInvocationBuilder.java:202)</trace>
            <trace>com.github.dockerjava.core.DefaultInvocationBuilder.get(DefaultInvocationBuilder.java:74)</trace>
            <trace>com.github.dockerjava.core.exec.ListContainersCmdExec.execute(ListContainersCmdExec.java:44)</trace>
            <trace>com.github.dockerjava.core.exec.ListContainersCmdExec.execute(ListContainersCmdExec.java:15)</trace>
            <trace>com.github.dockerjava.core.exec.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:21)</trace>
            <trace>com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:35)</trace>
            <trace>org.xwiki.export.pdf.internal.docker.ContainerManager.exec(ContainerManager.java:303)</trace>
            <trace>org.xwiki.export.pdf.internal.docker.ContainerManager.maybeReuseContainerByName(ContainerManager.java:95)</trace>
            <trace>org.xwiki.export.pdf.internal.docker.DockerPDFPrinter.initializeChromeDockerContainer(DockerPDFPrinter.java:104)</trace>
            <trace>org.xwiki.export.pdf.internal.docker.DockerPDFPrinter.initialize(DockerPDFPrinter.java:91)</trace>
            <trace>org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)</trace>
            <trace>org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:365)</trace>
            <trace>org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451)</trace>
            <trace>org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:201)</trace>
            <trace>org.xwiki.component.embed.GenericProvider.getInstance(GenericProvider.java:111)</trace>
            <trace>org.xwiki.component.embed.GenericProvider.get(GenericProvider.java:100)</trace>
            <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.saveAsPDF(PDFExportJob.java:162)</trace>
            <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.runInternal(PDFExportJob.java:115)</trace>
            <trace>org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:243)</trace>
            <trace>org.xwiki.job.AbstractJob.run(AbstractJob.java:220)</trace>
            <trace>java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)</trace>
            <trace>java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)</trace>
            <trace>java.base/java.lang.Thread.run(Unknown Source)</trace>
          </stackTrace>
        </cause>
        <stackTrace>
          <trace>org.xwiki.export.pdf.internal.docker.DockerPDFPrinter.initializeChromeDockerContainer(DockerPDFPrinter.java:128)</trace>
          <trace>org.xwiki.export.pdf.internal.docker.DockerPDFPrinter.initialize(DockerPDFPrinter.java:91)</trace>
          <trace>org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)</trace>
          <trace>org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:365)</trace>
          <trace>org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:451)</trace>
          <trace>org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:201)</trace>
          <trace>org.xwiki.component.embed.GenericProvider.getInstance(GenericProvider.java:111)</trace>
          <trace>org.xwiki.component.embed.GenericProvider.get(GenericProvider.java:100)</trace>
          <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.saveAsPDF(PDFExportJob.java:162)</trace>
          <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.runInternal(PDFExportJob.java:115)</trace>
          <trace>org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:243)</trace>
          <trace>org.xwiki.job.AbstractJob.run(AbstractJob.java:220)</trace>
          <trace>java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)</trace>
          <trace>java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)</trace>
          <trace>java.base/java.lang.Thread.run(Unknown Source)</trace>
        </stackTrace>
      </cause>
      <stackTrace>
        <trace>org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:204)</trace>
        <trace>org.xwiki.component.embed.GenericProvider.getInstance(GenericProvider.java:111)</trace>
        <trace>org.xwiki.component.embed.GenericProvider.get(GenericProvider.java:100)</trace>
        <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.saveAsPDF(PDFExportJob.java:162)</trace>
        <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.runInternal(PDFExportJob.java:115)</trace>
        <trace>org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:243)</trace>
        <trace>org.xwiki.job.AbstractJob.run(AbstractJob.java:220)</trace>
        <trace>java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)</trace>
        <trace>java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)</trace>
        <trace>java.base/java.lang.Thread.run(Unknown Source)</trace>
      </stackTrace>
    </cause>
    <stackTrace>
      <trace>org.xwiki.component.embed.GenericProvider.get(GenericProvider.java:103)</trace>
      <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.saveAsPDF(PDFExportJob.java:162)</trace>
      <trace>org.xwiki.export.pdf.internal.job.PDFExportJob.runInternal(PDFExportJob.java:115)</trace>
      <trace>org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:243)</trace>
      <trace>org.xwiki.job.AbstractJob.run(AbstractJob.java:220)</trace>
      <trace>java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)</trace>
      <trace>java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)</trace>
      <trace>java.base/java.lang.Thread.run(Unknown Source)</trace>
    </stackTrace>
  </throwable>
</org.xwiki.logging.event.LogEvent>
<org.xwiki.logging.event.EndLogEvent>
  <marker class="org.xwiki.logging.marker.EndTranslationMarker">
    <name>job.log.endWithId</name>
    <references class="linked-hash-set">
      <org.slf4j.helpers.BasicMarker>
        <name>xwiki.end</name>
        <referenceList class="java.util.concurrent.CopyOnWriteArrayList" serialization="custom">
          <java.util.concurrent.CopyOnWriteArrayList>
            <default/>
            <int>0</int>
          </java.util.concurrent.CopyOnWriteArrayList>
        </referenceList>
      </org.slf4j.helpers.BasicMarker>
    </references>
    <translationKey>job.log.endWithId</translationKey>
  </marker>
  <message>Finished job of type [{}] with identifier [{}]</message>
  <argumentArray>
    <string>export/pdf</string>
    <java.util.Arrays_-ArrayList>
      <a class="string-array">
        <string>export</string>
        <string>pdf</string>
        <string>1660823894947-647</string>
      </a>
    </java.util.Arrays_-ArrayList>
  </argumentArray>
  <level>INFO</level>
  <timeStamp>1660823895402</timeStamp>
</org.xwiki.logging.event.EndLogEvent>

Is there anything else what I need to install as xwiki under Docker with portainer and PDF Export application?
I don’t understand what you it meens “chrome docker Container” ist that something what I need to install too?

Many thanks