Troubleshooting PDF Generation
PDF generation is not working on your server/data center version of Jira? ARNR needs Google Chrome installed on the Jira server/data center, for pdf generation. Follow instructions on this page to install Chrome - Support docs
If you have Chrome installed but ARNR is not detecting it, follow instructions below to troubleshoot.
Steps to troubleshoot
If you have already installed Chrome on your Jira server/data center & ARNR is still not detecting it, please help us with the logs. We will investigate further & help you with a solution. Here is how to get the relevant logs & other information:
Jira Administration -> Left navigation "Logging and profiling" -> On right panel locate "Configure" logging level for another package.
Click on "Configure" link and add set values as below
Package name = com.amoeboids.apps.arn.service.file.PdfGenerator
Logging level = DEBUG
Click on Add button, this will enable the debug logs.
Now visit the PDF template edit page
Check the Jira logs and please send us the relevant logs (check for message "generate pdf" or “Exception in pdf generate” in logs)
Once logs are extracted, change the log level for "com.amoeboids.apps.arn.service.file.PdfGenerator" to your default log level.
Additional information
Also share with us following info from server where Jira is running -
What is the version of Chrome installed on that instance, minimum version needed is 59
Is Jira service running using root user or a different user?
Run the command "google-chrome --headless --disable-gpu --remote-debugging-port=9222" this will start headless chrome service
From another command prompt run "wget http://localhost:9222/json/version" it will store the output in file named "version", share the output with us.
Exit the process started in another window
Check if command "google-chrome --headless --disable-gpu --print-to-pdf https://www.google.com" generates the pdf with content from http://www.google.com site