<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[PDF to Word don't work sudo issue]]></title><description><![CDATA[<p dir="auto">Hello developers,</p>
<p dir="auto">I encountered several errors while trying to convert a PDF to DOCX using the following command on the log.</p>
<p dir="auto">soffice --headless --nologo --infilter=writer_pdf_import --convert-to docx --outdir /tmp/output_8499419009593593499 /tmp/input_6190689326235252714.pdf<br />
The errors included:</p>
<p dir="auto">javaldx failed!<br />
Warning: failed to read path from javaldx<br />
dconf-CRITICAL **: unable to create directory '/root/.cache/dconf': Permission denied. dconf will not work properly.<br />
Fontconfig error: No writable cache directories</p>
<p dir="auto">If im running the command from the terminal with the sudo, that work !</p>
<p dir="auto">sudo soffice --headless --nologo --infilter=writer_pdf_import --convert-to docx --outdir /tmp/output_8499419009593593499 /tmp/input_6190689326235252714.pdf<br />
It seems that the errors were related to permissions. Using sudo allowed the command to execute successfully. However, it would be great if these permission issues could be addressed so that the command can run without requiring sudo.</p>
]]></description><link>https://forum.cloudron.io/topic/13538/pdf-to-word-don-t-work-sudo-issue</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 18:59:31 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/13538.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 26 Mar 2025 15:24:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PDF to Word don't work sudo issue on Thu, 27 Mar 2025 10:00:29 GMT]]></title><description><![CDATA[<p dir="auto">Thank you<br />
Works for me !</p>
]]></description><link>https://forum.cloudron.io/post/104499</link><guid isPermaLink="true">https://forum.cloudron.io/post/104499</guid><dc:creator><![CDATA[Ixapack]]></dc:creator><pubDate>Thu, 27 Mar 2025 10:00:29 GMT</pubDate></item><item><title><![CDATA[Reply to PDF to Word don't work sudo issue on Thu, 27 Mar 2025 09:38:20 GMT]]></title><description><![CDATA[<p dir="auto">Setting the correct <code>HOME</code> value fixed the issue. New package is out.</p>
<p dir="auto">Apparently supervisor does not set <code>HOME</code> automatically, which was the root cause.</p>
]]></description><link>https://forum.cloudron.io/post/104497</link><guid isPermaLink="true">https://forum.cloudron.io/post/104497</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Thu, 27 Mar 2025 09:38:20 GMT</pubDate></item><item><title><![CDATA[Reply to PDF to Word don't work sudo issue on Thu, 27 Mar 2025 08:16:54 GMT]]></title><description><![CDATA[<p dir="auto">Not sure what a <code>none</code> customer user would be in that context. But from a quick glance it seems instead of running soffice as root to solve this, we should see how to configure the required temporary or cache directories correctly.</p>
]]></description><link>https://forum.cloudron.io/post/104485</link><guid isPermaLink="true">https://forum.cloudron.io/post/104485</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Thu, 27 Mar 2025 08:16:54 GMT</pubDate></item><item><title><![CDATA[Reply to PDF to Word don't work sudo issue on Thu, 27 Mar 2025 06:59:42 GMT]]></title><description><![CDATA[<p dir="auto">Hello<br />
If I understand correctly, the issue was resolved by changing the custom user to none on the Docker image. Please Cloudron teams can you make the necessary adjustments to the image package?</p>
]]></description><link>https://forum.cloudron.io/post/104484</link><guid isPermaLink="true">https://forum.cloudron.io/post/104484</guid><dc:creator><![CDATA[Ixapack]]></dc:creator><pubDate>Thu, 27 Mar 2025 06:59:42 GMT</pubDate></item><item><title><![CDATA[Reply to PDF to Word don't work sudo issue on Wed, 26 Mar 2025 22:34:52 GMT]]></title><description><![CDATA[<p dir="auto">FYI to Cloudron guys, Users that have reported this issue often say its some permission issue<br />
<a href="https://github.com/Stirling-Tools/Stirling-PDF/issues/2928" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Stirling-Tools/Stirling-PDF/issues/2928</a></p>
]]></description><link>https://forum.cloudron.io/post/104474</link><guid isPermaLink="true">https://forum.cloudron.io/post/104474</guid><dc:creator><![CDATA[froodle]]></dc:creator><pubDate>Wed, 26 Mar 2025 22:34:52 GMT</pubDate></item></channel></rss>