[Bug]: Missing File to PDF feature when deploy to k8s
Installation Method
Docker
The Problem
Version of Stirling-PDF
0.44.3
Last Working Version of Stirling-PDF
No response
Page Where the Problem Occurred
No response
Docker Configuration
helm charts
Relevant Log Output
Additional Information
No response
Browsers Affected
No response
No Duplicate of the Issue
- [x] I have verified that there are no existing issues raised related to my problem.
Hey @Baron1234! I'm here to help you with any bugs, questions, or contributions. Let's squash this bug together!
A similar closed issue suggests that the missing "weasyprint" dependency, which affects Markdown, URL, and HTML to PDF features, can be resolved by installing the full version of the application, as the lite version does not include "weasyprint" [1]. You might want to check if the full version is being used in your deployment. Additionally, ensure that "unoconvert" is installed to address the File to PDF conversion issue.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
does anyone know the root cause?
Hey @Baron1234! I'm here to help you with any bugs, questions, or contributions. Let's squash this bug together!
A similar closed issue suggests that the missing "weasyprint" dependency, which affects Markdown, URL, and HTML to PDF features, can be resolved by installing the full version of the application, as the lite version does not include "weasyprint" [1]. You might want to check if the full version is being used in your deployment. Additionally, ensure that "unoconvert" is installed to address the File to PDF conversion issue.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
Hi dosubot, I already tried the fat image of 0.44.3-fat, but I still meet this issue.
I tried 0.41.0-fat image, and does not meet this issue.
Can you try the latest 0.45.0?
Can you try the latest 0.45.0?
Using the 74df26d revision, then gradle build then docker build -t stirlingpdf . then docker run -it -p 8080:8080 stirlingpdf, I can confirm that file-to-pdf is enabled, but url-to-pdf is disabled, with no log message explaining why. (Only 08:18:50.254 [main] INFO s.s.S.config.EndpointConfiguration - Total disabled endpoints: 1. Disabled endpoints: url-to-pdf)
Edit: if it is intended, I suggest it added to the documentation somewhere ^^
https://github.com/Stirling-Tools/Stirling-PDF/releases/tag/v0.45.0
This update includes a huge security fix, recommended for all users, as part of this we are disabling URL-TO-PDF as default, to enable a user must specify it within settings.yml
Not on https://docs.stirlingpdf.com/search?q=url-to-pdf ;)