<?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[Nextcloud : PDF does not load correctly if opened from shared folder]]></title><description><![CDATA[<p dir="auto">In the NextCloud, a folder can be shared by generating a link.<br />
Once the shared link is opened, the entire contents of the folder is displayed.<br />
<strong>Expected Behavior:</strong> When a PDF in the shared folder is opened, it opens a preview of the PDF.<br />
<strong>Actual Behavior:</strong> If a PDF is opened in a shared folder, the PDF is not displayed. Instead, an error is displayed as follows:</p>
<pre><code>Invalid or corrupted PDF file. 
PDF.js v2.4.456 (build: 228a591c)
Message: Invalid PDF structure.
</code></pre>
<p dir="auto"><strong>How to replicate the bug.</strong></p>
<ol>
<li>Create a folder in NextCloud and upload some PDF files to the folder.</li>
<li>Share the folder by generating a share link (which is automatically copied to the clipboard)</li>
<li>Open the folder using the share link (in an incognito tab of a browser)</li>
<li>Once the folder is opened and the list of contents of files displayed, click on any PDF to open.</li>
<li>The PDF will load in a preview mode, but instead of displaying the PDF, throw an error stating, 'invalid or corrupted PDF'.</li>
</ol>
<p dir="auto"><strong>Notes</strong>: If the PDF file is shared by generating a link and if the PDF is opened with this link, it loads correctly.<br />
Only when the PDF is opened from the shared folder, the PDF does not load/open correctly.</p>
<p dir="auto">This bug is only in the recent update (Nextcloud 20.0.7). It was not there in the previous versions.</p>
]]></description><link>https://forum.cloudron.io/topic/4398/nextcloud-pdf-does-not-load-correctly-if-opened-from-shared-folder</link><generator>RSS for Node</generator><lastBuildDate>Thu, 17 Sep 2026 03:35:36 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/4398.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 08 Feb 2021 06:02:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Nextcloud : PDF does not load correctly if opened from shared folder on Fri, 26 Feb 2021 06:01:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a></p>
<p dir="auto">The bug has been fixed in the current updated 20.0.8 version of cloudron!</p>
<p dir="auto">Thanks for a delightful experience.</p>
<p dir="auto">Edit: This thread can be marked solved I think.</p>
]]></description><link>https://forum.cloudron.io/post/26594</link><guid isPermaLink="true">https://forum.cloudron.io/post/26594</guid><dc:creator><![CDATA[jagan]]></dc:creator><pubDate>Fri, 26 Feb 2021 06:01:39 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud : PDF does not load correctly if opened from shared folder on Fri, 19 Feb 2021 10:53:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> It is said the fix will come with the next stable update.</p>
<blockquote>
<p dir="auto"><a href="https://github.com/nextcloud/files_pdfviewer/pull/319#issuecomment-780618607" target="_blank" rel="noopener noreferrer nofollow ugc">if you use Nextcloud in production, just wait for the next stable release that may come soon</a>.</p>
</blockquote>
<p dir="auto">So, seems we have no option but to wait for the next release.</p>
]]></description><link>https://forum.cloudron.io/post/26143</link><guid isPermaLink="true">https://forum.cloudron.io/post/26143</guid><dc:creator><![CDATA[jagan]]></dc:creator><pubDate>Fri, 19 Feb 2021 10:53:22 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud : PDF does not load correctly if opened from shared folder on Wed, 17 Feb 2021 14:08:14 GMT]]></title><description><![CDATA[<p dir="auto">Looks like this was fixed upstream in that plugin <a href="https://github.com/nextcloud/files_pdfviewer/pull/319" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/nextcloud/files_pdfviewer/pull/319</a></p>
<p dir="auto">Can someone verify that it works now after updating that plugin in Nextcloud?</p>
]]></description><link>https://forum.cloudron.io/post/26026</link><guid isPermaLink="true">https://forum.cloudron.io/post/26026</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 17 Feb 2021 14:08:14 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud : PDF does not load correctly if opened from shared folder on Mon, 08 Feb 2021 08:38:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> said in <a href="/post/25136">Nextcloud : PDF does not load correctly if opened from shared folder</a>:</p>
<blockquote>
<p dir="auto">Thanks for the elaborate description, I guess that would be good reported upstream. There seems to be a few related issues already, maybe one of them is yours?</p>
<p dir="auto"><a href="https://github.com/nextcloud/server/issues/25117" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/nextcloud/server/issues/25117</a><br />
<a href="https://github.com/nextcloud/files_pdfviewer/issues/286" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/nextcloud/files_pdfviewer/issues/286</a></p>
</blockquote>
<p dir="auto">Thanks, <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a>, <a href="https://github.com/nextcloud/files_pdfviewer/issues/286" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/nextcloud/files_pdfviewer/issues/286</a> matches the issue I am facing, I will follow that thread.</p>
]]></description><link>https://forum.cloudron.io/post/25141</link><guid isPermaLink="true">https://forum.cloudron.io/post/25141</guid><dc:creator><![CDATA[jagan]]></dc:creator><pubDate>Mon, 08 Feb 2021 08:38:09 GMT</pubDate></item><item><title><![CDATA[Reply to Nextcloud : PDF does not load correctly if opened from shared folder on Mon, 08 Feb 2021 08:17:18 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the elaborate description, I guess that would be good reported upstream. There seems to be a few related issues already, maybe one of them is yours?</p>
<p dir="auto"><a href="https://github.com/nextcloud/server/issues/25117" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/nextcloud/server/issues/25117</a><br />
<a href="https://github.com/nextcloud/files_pdfviewer/issues/286" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/nextcloud/files_pdfviewer/issues/286</a></p>
]]></description><link>https://forum.cloudron.io/post/25136</link><guid isPermaLink="true">https://forum.cloudron.io/post/25136</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 08 Feb 2021 08:17:18 GMT</pubDate></item></channel></rss>