<?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[Unable to upload PDF]]></title><description><![CDATA[<p dir="auto">Well, that's basically it.</p>
<p dir="auto">I'm trying to upload a single PDF, but there's no message on the GUI. This is what the console log shows, but I'm clueless why this happens. Any thoughts?</p>
<pre><code>Nov 16 16:33:29I, [2023-11-16T19:33:29.830783 #1] INFO -- : [4c36970a-06bc-4061-bd48-3e37fe400482] {"method":"POST","path":"/api/templates/4/documents","format":"json","controller":"Api::TemplatesDocumentsController","action":"create","status":500,"allocations":6659,"duration":8.23,"view":0.0,"db":0.47,"fwd":"186.10.142.40"}
Nov 16 16:33:29F, [2023-11-16T19:33:29.831410 #1] FATAL -- : [4c36970a-06bc-4061-bd48-3e37fe400482]
Nov 16 16:33:29[4c36970a-06bc-4061-bd48-3e37fe400482] NoMethodError (undefined method `filter_map' for #&lt;PDF::Reader::Stream:0x00007f277af5fea8 @hash={:N=&gt;3, :Alternate=&gt;:DeviceRGB, :Length=&gt;2612, :Filter=&gt;:FlateDecode}, @data="[REDACTED]", @udata=nil&gt;):
Nov 16 16:33:29[4c36970a-06bc-4061-bd48-3e37fe400482]
Nov 16 16:33:29[4c36970a-06bc-4061-bd48-3e37fe400482] lib/templates/build_annotations.rb:12:in `block in call'
Nov 16 16:33:29[4c36970a-06bc-4061-bd48-3e37fe400482] lib/templates/build_annotations.rb:10:in `each'
Nov 16 16:33:29[4c36970a-06bc-4061-bd48-3e37fe400482] lib/templates/build_annotations.rb:10:in `flat_map'
Nov 16 16:33:29[4c36970a-06bc-4061-bd48-3e37fe400482] lib/templates/build_annotations.rb:10:in `with_index'
Nov 16 16:33:29[4c36970a-06bc-4061-bd48-3e37fe400482] lib/templates/build_annotations.rb:10:in `call'
Nov 16 16:33:29[4c36970a-06bc-4061-bd48-3e37fe400482] lib/templates/create_attachments.rb:44:in `block in find_or_create_blobs'
Nov 16 16:33:29[4c36970a-06bc-4061-bd48-3e37fe400482] lib/templates/create_attachments.rb:40:in `map'
Nov 16 16:33:29[4c36970a-06bc-4061-bd48-3e37fe400482] lib/templates/create_attachments.rb:40:in `find_or_create_blobs'
Nov 16 16:33:29[4c36970a-06bc-4061-bd48-3e37fe400482] lib/templates/create_attachments.rb:12:in `call'
Nov 16 16:33:29[4c36970a-06bc-4061-bd48-3e37fe400482] app/controllers/api/templates_documents_controller.rb:10:in `create'
Nov 16 16:33:29[4c36970a-06bc-4061-bd48-3e37fe400482] lib/api_path_consider_json_middleware.rb:15:in `call'
Nov 16 16:33:30I, [2023-11-16T19:33:30.053374 #1] INFO -- : [d2b8ba3b-29d3-45db-b1bb-d061cded4296] {"method":"GET","path":"/","format":"html","controller":"DashboardController","action":"index","status":200,"allocations":1662,"duration":7.3,"view":3.85,"db":0.86,"fwd":"172.18.0.1"}
Nov 16 16:33:40I, [2023-11-16T19:33:40.057734 #1] INFO -- : [d4c379a2-2bc9-45f2-a403-7653c3ee3630] {"method":"GET","path":"/","format":"html","controller":"DashboardController","action":"index","status":200,"allocations":1662,"duration":6.35,"view":2.45,"db":0.94,"fwd":"172.18.0.1"}
Nov 16 16:33:40I, [2023-11-16T19:33:40.115568 #1] INFO -- : [bc40b038-42e6-4baf-bdac-0683e10ad431] {"method":"POST","path":"/api/templates/4/documents","format":"json","controller":"Api::TemplatesDocumentsController","action":"create","status":500,"allocations":6658,"duration":10.09,"view":0.0,"db":0.51,"fwd":"186.10.142.40"}
Nov 16 16:33:40F, [2023-11-16T19:33:40.116590 #1] FATAL -- : [bc40b038-42e6-4baf-bdac-0683e10ad431]
Nov 16 16:33:40[bc40b038-42e6-4baf-bdac-0683e10ad431] NoMethodError (undefined method `filter_map' for #&lt;PDF::Reader::Stream:0x00007f2779a9d858 @hash={:N=&gt;3, :Alternate=&gt;:DeviceRGB, :Length=&gt;2612, :Filter=&gt;:FlateDecode}, @data="[REDACTED]", @udata=nil&gt;):
Nov 16 16:33:40[bc40b038-42e6-4baf-bdac-0683e10ad431]
Nov 16 16:33:40[bc40b038-42e6-4baf-bdac-0683e10ad431] lib/templates/build_annotations.rb:12:in `block in call'
Nov 16 16:33:40[bc40b038-42e6-4baf-bdac-0683e10ad431] lib/templates/build_annotations.rb:10:in `each'
Nov 16 16:33:40[bc40b038-42e6-4baf-bdac-0683e10ad431] lib/templates/build_annotations.rb:10:in `flat_map'
Nov 16 16:33:40[bc40b038-42e6-4baf-bdac-0683e10ad431] lib/templates/build_annotations.rb:10:in `with_index'
Nov 16 16:33:40[bc40b038-42e6-4baf-bdac-0683e10ad431] lib/templates/build_annotations.rb:10:in `call'
Nov 16 16:33:40[bc40b038-42e6-4baf-bdac-0683e10ad431] lib/templates/create_attachments.rb:44:in `block in find_or_create_blobs'
Nov 16 16:33:40[bc40b038-42e6-4baf-bdac-0683e10ad431] lib/templates/create_attachments.rb:40:in `map'
Nov 16 16:33:40[bc40b038-42e6-4baf-bdac-0683e10ad431] lib/templates/create_attachments.rb:40:in `find_or_create_blobs'
Nov 16 16:33:40[bc40b038-42e6-4baf-bdac-0683e10ad431] lib/templates/create_attachments.rb:12:in `call'
Nov 16 16:33:40[bc40b038-42e6-4baf-bdac-0683e10ad431] app/controllers/api/templates_documents_controller.rb:10:in `create'
Nov 16 16:33:40[bc40b038-42e6-4baf-bdac-0683e10ad431] lib/api_path_consider_json_middleware.rb:15:in `call'
Nov 16 16:33:50I, [2023-11-16T19:33:50.075077 #1] INFO -- : [ae71e33e-ac64-41a5-a446-e385be88e70c] {"method":"GET","path":"/","format":"html","controller":"DashboardController","action":"index","status":200,"allocations":1662,"duration":7.05,"view":4.07,"db":0.83,"fwd":"172.18.0.1"}
Nov 16 16:34:00I, [2023-11-16T19:34:00.074425 #1] INFO -- : [49bb0de5-f873-42ad-b883-965fd6b42ad6] {"method":"GET","path":"/","format":"html","controller":"DashboardController","action":"index","status":200,"allocations":1662,"duration":7.42,"view":3.84,"db":0.88,"fwd":"172.18.0.1"}
Nov 16 16:34:10I, [2023-11-16T19:34:10.060006 #1] INFO -- : [f0832b67-5509-4a13-9592-e1d721a7f844] {"method":"GET","path":"/","format":"html","controller":"DashboardController","action":"index","status":200,"allocations":1662,"duration":7.69,"view":5.44,"db":0.68,"fwd":"172.18.0.1"}
Nov 16 16:34:20I, [2023-11-16T19:34:20.069267 #1] INFO -- : [5256ac85-04c4-49e1-bee4-2919e9e6cd0e] {"method":"GET","path":"/","format":"html","controller":"DashboardController","action":"index","status":200,"allocations":1662,"duration":13.13,"view":9.53,"db":0.81,"fwd":"172.18.0.1"}
Nov 16 16:34:30I, [2023-11-16T19:34:30.064574 #1] INFO -- : [8f962bf5-8842-4754-b6c7-45a6e8299a4a] {"method":"GET","path":"/","format":"html","controller":"DashboardController","action":"index","status":200,"allocations":1662,"duration":7.15,"view":3.8,"db":1.41,"fwd":"172.18.0.1"}
Nov 16 16:34:40I, [2023-11-16T19:34:40.060929 #1] INFO -- : [7def1e61-295f-413e-b7f9-71120d8767b7] {"method":"GET","path":"/","format":"html","controller":"DashboardController","action":"index","status":200,"allocations":1662,"duration":11.75,"view":4.84,"db":2.02,"fwd":"172.18.0.1"}
Nov 16 16:34:50I, [2023-11-16T19:34:50.085037 #1] INFO -- : [9f68b825-69a3-49aa-88bc-833f2051e3f9] {"method":"GET","path":"/","format":"html","controller":"DashboardController","action":"index","status":200,"allocations":1662,"duration":11.97,"view":4.04,"db":1.36,"fwd":"172.18.0.1"}

</code></pre>
]]></description><link>https://forum.cloudron.io/topic/10446/unable-to-upload-pdf</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 05:28:59 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/10446.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 16 Nov 2023 19:39:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to upload PDF on Thu, 23 Nov 2023 16:31:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/docuseal" aria-label="Profile: docuseal">@<bdi>docuseal</bdi></a> this is great, thanks!</p>
]]></description><link>https://forum.cloudron.io/post/78033</link><guid isPermaLink="true">https://forum.cloudron.io/post/78033</guid><dc:creator><![CDATA[chetbaker]]></dc:creator><pubDate>Thu, 23 Nov 2023 16:31:01 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to upload PDF on Thu, 23 Nov 2023 16:30:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chetbaker" aria-label="Profile: chetbaker">@<bdi>chetbaker</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> it has been fixed in the upstream repo</p>
]]></description><link>https://forum.cloudron.io/post/78032</link><guid isPermaLink="true">https://forum.cloudron.io/post/78032</guid><dc:creator><![CDATA[docuseal]]></dc:creator><pubDate>Thu, 23 Nov 2023 16:30:11 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to upload PDF on Thu, 16 Nov 2023 20:47:43 GMT]]></title><description><![CDATA[<p dir="auto">Yes, please report it upstream with the pdf.</p>
]]></description><link>https://forum.cloudron.io/post/77569</link><guid isPermaLink="true">https://forum.cloudron.io/post/77569</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 16 Nov 2023 20:47:43 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to upload PDF on Thu, 16 Nov 2023 20:29:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chetbaker" aria-label="Profile: chetbaker">@<bdi>chetbaker</bdi></a> that's more of a question for the upstream developers then or whatever you use to generate the PDFs that don't seem to be recognized as PDFs.</p>
<p dir="auto">The upload of PDFs works just fine and is not related to Cloudron.</p>
]]></description><link>https://forum.cloudron.io/post/77567</link><guid isPermaLink="true">https://forum.cloudron.io/post/77567</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Thu, 16 Nov 2023 20:29:46 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to upload PDF on Thu, 16 Nov 2023 20:17:35 GMT]]></title><description><![CDATA[<p dir="auto">still is not solved in strict sense, because I don't know why some PDFs works and some other don't.</p>
]]></description><link>https://forum.cloudron.io/post/77566</link><guid isPermaLink="true">https://forum.cloudron.io/post/77566</guid><dc:creator><![CDATA[chetbaker]]></dc:creator><pubDate>Thu, 16 Nov 2023 20:17:35 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to upload PDF on Thu, 16 Nov 2023 20:17:01 GMT]]></title><description><![CDATA[<p dir="auto">Cool, then you can mark this topic as a question &amp; solved.</p>
]]></description><link>https://forum.cloudron.io/post/77565</link><guid isPermaLink="true">https://forum.cloudron.io/post/77565</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Thu, 16 Nov 2023 20:17:01 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to upload PDF on Thu, 16 Nov 2023 20:15:15 GMT]]></title><description><![CDATA[<p dir="auto">it's a PDF. I just convert it to a couple of JPG pages and it worked</p>
]]></description><link>https://forum.cloudron.io/post/77564</link><guid isPermaLink="true">https://forum.cloudron.io/post/77564</guid><dc:creator><![CDATA[chetbaker]]></dc:creator><pubDate>Thu, 16 Nov 2023 20:15:15 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to upload PDF on Thu, 16 Nov 2023 20:03:30 GMT]]></title><description><![CDATA[<p dir="auto">Is it really a PDF? or a .zip of one?</p>
<p dir="auto">Try the Sterling PDF tools to convert it and go from there.</p>
]]></description><link>https://forum.cloudron.io/post/77563</link><guid isPermaLink="true">https://forum.cloudron.io/post/77563</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Thu, 16 Nov 2023 20:03:30 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to upload PDF on Thu, 16 Nov 2023 20:02:22 GMT]]></title><description><![CDATA[<p dir="auto">it seems it just happen with the PDF I need to be there and not with others!</p>
]]></description><link>https://forum.cloudron.io/post/77562</link><guid isPermaLink="true">https://forum.cloudron.io/post/77562</guid><dc:creator><![CDATA[chetbaker]]></dc:creator><pubDate>Thu, 16 Nov 2023 20:02:22 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to upload PDF on Thu, 16 Nov 2023 20:01:44 GMT]]></title><description><![CDATA[<p dir="auto">I just installed it on the demo server and it uploads a PDF just fine.</p>
<p dir="auto">Try it there.</p>
<p dir="auto">Otherwise a reinstall on your server might be a good idea.</p>
]]></description><link>https://forum.cloudron.io/post/77561</link><guid isPermaLink="true">https://forum.cloudron.io/post/77561</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Thu, 16 Nov 2023 20:01:44 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to upload PDF on Thu, 16 Nov 2023 19:52:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robi" aria-label="Profile: robi">@<bdi>robi</bdi></a> <img src="/assets/uploads/files/1700164286450-2035ab58-6e17-45b5-849b-02446b321e6a-cleanshot-2023-11-16-at-16.50.46.gif" alt="2035ab58-6e17-45b5-849b-02446b321e6a-CleanShot 2023-11-16 at 16.50.46.gif" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/77560</link><guid isPermaLink="true">https://forum.cloudron.io/post/77560</guid><dc:creator><![CDATA[chetbaker]]></dc:creator><pubDate>Thu, 16 Nov 2023 19:52:03 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to upload PDF on Thu, 16 Nov 2023 19:44:20 GMT]]></title><description><![CDATA[<p dir="auto">which action are you using? each is different..<br />
how many have you tried?</p>
]]></description><link>https://forum.cloudron.io/post/77558</link><guid isPermaLink="true">https://forum.cloudron.io/post/77558</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Thu, 16 Nov 2023 19:44:20 GMT</pubDate></item></channel></rss>