<?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[hackmd - Read-Only file system when exporting to PDF]]></title><description><![CDATA[<p dir="auto">I  had to export a codiMD markdown document into PDF and got this error so I was wondering If I can't specify the export path to another place or if this require a package update ?</p>
<p dir="auto">Oct 18 18:06:34 2020-10-18T22:06:34.009Z - error: uncaughtException: EROFS: read-only file system, open '/hackmd/tmp/1603058793964.pdf' date=Sun Oct 18 2020 22:06:34 GMT+0000 (UTC), pid=10, uid=1000, gid=1000, cwd=/hackmd, execPath=/usr/local/node-6.9.5/bin/node, version=v6.9.5, argv=[/usr/local/node-6.9.5/bin/node, /hackmd/app.js], rss=94670848, heapTotal=63012864, heapUsed=55211592, loadavg=[2.4560546875, 2.7568359375, 4.48828125], uptime=1502408, trace=[column=null, file=null, function=Error, line=null, method=null, native=true], stack=[Error: EROFS: read-only file system, open '/hackmd/tmp/1603058793964.pdf', at Error (native)]<br />
Oct 18 18:06:34 2020-10-18T22:06:34.010Z - error: An uncaught exception has occured.<br />
Oct 18 18:06:34 2020-10-18T22:06:34.010Z - error: Error: EROFS: read-only file system, open '/hackmd/tmp/1603058793964.pdf'<br />
Oct 18 18:06:34 at Error (native)<br />
Oct 18 18:06:34 2020-10-18T22:06:34.011Z - error: Process will exit now.</p>
]]></description><link>https://forum.cloudron.io/topic/3456/hackmd-read-only-file-system-when-exporting-to-pdf</link><generator>RSS for Node</generator><lastBuildDate>Sun, 09 Aug 2026 19:39:38 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/3456.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 18 Oct 2020 22:10:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to hackmd - Read-Only file system when exporting to PDF on Thu, 22 Oct 2020 10:59:54 GMT]]></title><description><![CDATA[<p dir="auto">I think we can close this since it's irrelevant to the actual codiMD app in the store <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=a3d9da63442" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/16820</link><guid isPermaLink="true">https://forum.cloudron.io/post/16820</guid><dc:creator><![CDATA[rmdes]]></dc:creator><pubDate>Thu, 22 Oct 2020 10:59:54 GMT</pubDate></item><item><title><![CDATA[Reply to hackmd - Read-Only file system when exporting to PDF on Thu, 22 Oct 2020 10:53:52 GMT]]></title><description><![CDATA[<p dir="auto">This is what I see in the dropdown menu when trying to export with PDF enabled to true in the config.json file, I restart the app after making the change to config.json<br />
<img src="/assets/uploads/files/1603364010717-abeff29e-e69f-4dde-b9c3-b1319ebd2f7a-image-resized.png" alt="abeff29e-e69f-4dde-b9c3-b1319ebd2f7a-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/16819</link><guid isPermaLink="true">https://forum.cloudron.io/post/16819</guid><dc:creator><![CDATA[rmdes]]></dc:creator><pubDate>Thu, 22 Oct 2020 10:53:52 GMT</pubDate></item><item><title><![CDATA[Reply to hackmd - Read-Only file system when exporting to PDF on Thu, 22 Oct 2020 10:52:12 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> Correct this was installed via cli at least 2 years ago, at some point there was an upgrade to the package and that was it, it stopped to evolve because the move to CodiMD<br />
since then we have used it without issue, other than PDF exporting now working.</p>
<p dir="auto">Now that I have installed CodiMD, I went to the defauld config.json file and enabled PDFexport to True, I'm not seeing PDF in the export choice but that's maybe another issue ?<br />
<img src="/assets/uploads/files/1603363926877-screenshot_20201022_064556-resized.jpg" alt="Screenshot_20201022_064556.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/16817</link><guid isPermaLink="true">https://forum.cloudron.io/post/16817</guid><dc:creator><![CDATA[rmdes]]></dc:creator><pubDate>Thu, 22 Oct 2020 10:52:12 GMT</pubDate></item><item><title><![CDATA[Reply to hackmd - Read-Only file system when exporting to PDF on Thu, 22 Oct 2020 10:47:35 GMT]]></title><description><![CDATA[<p dir="auto">Looks like you have installed and used ever since a version which was not yet published to the app library as stable or even installed it manually via cli.</p>
]]></description><link>https://forum.cloudron.io/post/16813</link><guid isPermaLink="true">https://forum.cloudron.io/post/16813</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Thu, 22 Oct 2020 10:47:35 GMT</pubDate></item><item><title><![CDATA[Reply to hackmd - Read-Only file system when exporting to PDF on Thu, 22 Oct 2020 10:39:11 GMT]]></title><description><![CDATA[<p dir="auto">Oh sorry, the one I just installed is Package v1.10.0-1<br />
App v1.6.0</p>
<p dir="auto">the one coming from the time this app was called HackMD is  Package v0.0.2<br />
does not give more details than this..<br />
I think I will backup this old app, install CodiMD fresh and restore backup, not sure it will work</p>
]]></description><link>https://forum.cloudron.io/post/16811</link><guid isPermaLink="true">https://forum.cloudron.io/post/16811</guid><dc:creator><![CDATA[rmdes]]></dc:creator><pubDate>Thu, 22 Oct 2020 10:39:11 GMT</pubDate></item><item><title><![CDATA[Reply to hackmd - Read-Only file system when exporting to PDF on Thu, 22 Oct 2020 10:35:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rmdes" aria-label="Profile: rmdes">@<bdi>rmdes</bdi></a> said in <a href="/post/16808">Read-Only file system when exporting to PDF</a>:</p>
<blockquote>
<p dir="auto">I'm on  v5.6.3</p>
</blockquote>
<p dir="auto">I was asking about the version of the app, not cloudron itself. In the Cloudron web ui u can click on the "info" button that becomes visible when hovering with the mouse over the Codimd icon.</p>
]]></description><link>https://forum.cloudron.io/post/16810</link><guid isPermaLink="true">https://forum.cloudron.io/post/16810</guid><dc:creator><![CDATA[fbartels]]></dc:creator><pubDate>Thu, 22 Oct 2020 10:35:32 GMT</pubDate></item><item><title><![CDATA[Reply to hackmd - Read-Only file system when exporting to PDF on Thu, 22 Oct 2020 10:33:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fbartels" aria-label="Profile: fbartels">@<bdi>fbartels</bdi></a> installing now codiMD on another domain, will compare the two apps</p>
]]></description><link>https://forum.cloudron.io/post/16809</link><guid isPermaLink="true">https://forum.cloudron.io/post/16809</guid><dc:creator><![CDATA[rmdes]]></dc:creator><pubDate>Thu, 22 Oct 2020 10:33:25 GMT</pubDate></item><item><title><![CDATA[Reply to hackmd - Read-Only file system when exporting to PDF on Thu, 22 Oct 2020 10:32:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fbartels" aria-label="Profile: fbartels">@<bdi>fbartels</bdi></a> I'm on  v5.6.3<br />
I don't have a code/start.sh in the first place, I don't have a code directory.</p>
]]></description><link>https://forum.cloudron.io/post/16808</link><guid isPermaLink="true">https://forum.cloudron.io/post/16808</guid><dc:creator><![CDATA[rmdes]]></dc:creator><pubDate>Thu, 22 Oct 2020 10:32:51 GMT</pubDate></item><item><title><![CDATA[Reply to hackmd - Read-Only file system when exporting to PDF on Thu, 22 Oct 2020 10:30:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rmdes" aria-label="Profile: rmdes">@<bdi>rmdes</bdi></a> that is strange. because the startup script creates this file if it does not exist.</p>
<p dir="auto">Can you post the output of <code>cat /app/code/start.sh</code>?</p>
<p dir="auto">Which version does Cloudron say you have installed? (mine is v1.10.0-1)</p>
]]></description><link>https://forum.cloudron.io/post/16807</link><guid isPermaLink="true">https://forum.cloudron.io/post/16807</guid><dc:creator><![CDATA[fbartels]]></dc:creator><pubDate>Thu, 22 Oct 2020 10:30:43 GMT</pubDate></item><item><title><![CDATA[Reply to hackmd - Read-Only file system when exporting to PDF on Thu, 22 Oct 2020 10:24:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fbartels" aria-label="Profile: fbartels">@<bdi>fbartels</bdi></a> Thats the thing, I don't have any config.json there, I see a build and upload and build directory, if I try to edit the only config.json.example I see at the root hackmd directory it say I cant edit in a read-only filesystem..</p>
<p dir="auto">I'm wondering if this is because the first time I installed this app was a custom build app that I then upgraded to the official cloudron build release..</p>
]]></description><link>https://forum.cloudron.io/post/16805</link><guid isPermaLink="true">https://forum.cloudron.io/post/16805</guid><dc:creator><![CDATA[rmdes]]></dc:creator><pubDate>Thu, 22 Oct 2020 10:24:10 GMT</pubDate></item><item><title><![CDATA[Reply to hackmd - Read-Only file system when exporting to PDF on Thu, 22 Oct 2020 09:48:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rmdes" aria-label="Profile: rmdes">@<bdi>rmdes</bdi></a> you have to edit <code>/app/data/config.json</code></p>
]]></description><link>https://forum.cloudron.io/post/16803</link><guid isPermaLink="true">https://forum.cloudron.io/post/16803</guid><dc:creator><![CDATA[fbartels]]></dc:creator><pubDate>Thu, 22 Oct 2020 09:48:02 GMT</pubDate></item><item><title><![CDATA[Reply to hackmd - Read-Only file system when exporting to PDF on Thu, 22 Oct 2020 09:44:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> I tried but I may confused I can't find the config for the app ??<br />
if I do cp config.json.example config.json I get :<br />
cp: cannot create regular file 'config.json': Read-only file system<br />
if I go to parent direction, I see the linux tree, I'm confused</p>
]]></description><link>https://forum.cloudron.io/post/16802</link><guid isPermaLink="true">https://forum.cloudron.io/post/16802</guid><dc:creator><![CDATA[rmdes]]></dc:creator><pubDate>Thu, 22 Oct 2020 09:44:44 GMT</pubDate></item><item><title><![CDATA[Reply to hackmd - Read-Only file system when exporting to PDF on Mon, 19 Oct 2020 16:33:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rmdes" aria-label="Profile: rmdes">@<bdi>rmdes</bdi></a> said in <a href="/post/16298">Read-Only file system when exporting to PDF</a>:</p>
<blockquote>
<p dir="auto">tmp</p>
</blockquote>
<p dir="auto">I see this - <a href="https://github.com/codimd/server/blob/3461993ee05d09106e276e606b143d472908b166/lib/config/index.js#L212" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/codimd/server/blob/3461993ee05d09106e276e606b143d472908b166/lib/config/index.js#L212</a></p>
<p dir="auto">Can you set <code>tmpPath</code> to <code>/tmp</code> in your config ?</p>
]]></description><link>https://forum.cloudron.io/post/16336</link><guid isPermaLink="true">https://forum.cloudron.io/post/16336</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 19 Oct 2020 16:33:58 GMT</pubDate></item><item><title><![CDATA[Reply to hackmd - Read-Only file system when exporting to PDF on Mon, 19 Oct 2020 10:01:23 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the info, so from the code it looks like it makes no sense to have it currently enabled? I guess we can revisit this path issue once upstream has fixed this (and then maybe even fixed the path building)</p>
]]></description><link>https://forum.cloudron.io/post/16314</link><guid isPermaLink="true">https://forum.cloudron.io/post/16314</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 19 Oct 2020 10:01:23 GMT</pubDate></item><item><title><![CDATA[Reply to hackmd - Read-Only file system when exporting to PDF on Mon, 19 Oct 2020 09:12:36 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> pdf export was disabled per default a while ago. Therefore you need to enable it manually <a href="https://github.com/codimd/server/blob/a160d81fe33044ca8fbb71addd77c40d55b37251/docs/configuration.md#codimd-basics" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/codimd/server/blob/a160d81fe33044ca8fbb71addd77c40d55b37251/docs/configuration.md#codimd-basics</a></p>
<p dir="auto">Commit disabling it: <a href="https://github.com/codimd/server/commit/c1789474020a6d668d616464cb2da5e90e123f65" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/codimd/server/commit/c1789474020a6d668d616464cb2da5e90e123f65</a></p>
]]></description><link>https://forum.cloudron.io/post/16308</link><guid isPermaLink="true">https://forum.cloudron.io/post/16308</guid><dc:creator><![CDATA[fbartels]]></dc:creator><pubDate>Mon, 19 Oct 2020 09:12:36 GMT</pubDate></item><item><title><![CDATA[Reply to hackmd - Read-Only file system when exporting to PDF on Mon, 19 Oct 2020 08:52:38 GMT]]></title><description><![CDATA[<p dir="auto">Looks like a packaging bug, trying to reproduce this but for some reason I cannot find any kind of pdf export. Do I need to change something in the configs to support that?</p>
]]></description><link>https://forum.cloudron.io/post/16305</link><guid isPermaLink="true">https://forum.cloudron.io/post/16305</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 19 Oct 2020 08:52:38 GMT</pubDate></item><item><title><![CDATA[Reply to hackmd - Read-Only file system when exporting to PDF on Sun, 18 Oct 2020 23:02:21 GMT]]></title><description><![CDATA[<p dir="auto">looks like the problem is /hackmd prefixing /tmp</p>
]]></description><link>https://forum.cloudron.io/post/16299</link><guid isPermaLink="true">https://forum.cloudron.io/post/16299</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Sun, 18 Oct 2020 23:02:21 GMT</pubDate></item></channel></rss>