<?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[Error: EACCES: permission denied, open &#x27;&#x2F;app&#x2F;data&#x2F;fs.lock&#x27;]]></title><description><![CDATA[<p>I updated jsreport/jsreport:2.5.0-full to jsreport/jsreport:2.7.0-full in docker but running into this:  Error: EACCES: permission denied, open '/app/data/fs.lock'</p>
<p>when its trying to initialize the docker container.</p>
<p>Here is the docker file I'm using which worked for 2.5.0:</p>
<pre><code>FROM jsreport/jsreport:2.7.0-full
EXPOSE 5488

COPY ./data /app/data
COPY ./jsreport.config.json /app/jsreport.config.json
COPY ./prod.config.json /app/prod.config.json
COPY ./node_modules /app/node_modules

RUN export NODE_OPTIONS=--max_old_space_size=6096
</code></pre>
]]></description><link>https://forum.jsreport.net/topic/2194/error-eacces-permission-denied-open-app-data-fs-lock</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Nov 2026 03:03:59 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/2194.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 15 Nov 2021 22:03:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error: EACCES: permission denied, open &#x27;&#x2F;app&#x2F;data&#x2F;fs.lock&#x27; on Invalid Date]]></title><description><![CDATA[<p>I updated jsreport/jsreport:2.5.0-full to jsreport/jsreport:2.7.0-full in docker but running into this:  Error: EACCES: permission denied, open '/app/data/fs.lock'</p>
<p>when its trying to initialize the docker container.</p>
<p>Here is the docker file I'm using which worked for 2.5.0:</p>
<pre><code>FROM jsreport/jsreport:2.7.0-full
EXPOSE 5488

COPY ./data /app/data
COPY ./jsreport.config.json /app/jsreport.config.json
COPY ./prod.config.json /app/prod.config.json
COPY ./node_modules /app/node_modules

RUN export NODE_OPTIONS=--max_old_space_size=6096
</code></pre>
]]></description><link>https://forum.jsreport.net/post/9573</link><guid isPermaLink="true">https://forum.jsreport.net/post/9573</guid><dc:creator><![CDATA[rrohan92]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error: EACCES: permission denied, open &#x27;&#x2F;app&#x2F;data&#x2F;fs.lock&#x27; on Invalid Date]]></title><description><![CDATA[<p>Please use the following:</p>
<pre><code>COPY --chown=jsreport:jsreport ./data /app/data
</code></pre>
<p>The user running the node process doesn't have root permissions and you need to <code>chown</code> during copy to the image.<br />
<a href="https://jsreport.net/learn/docker?version=2.11.0#customize-docker-image" rel="nofollow">https://jsreport.net/learn/docker?version=2.11.0#customize-docker-image</a></p>
]]></description><link>https://forum.jsreport.net/post/9574</link><guid isPermaLink="true">https://forum.jsreport.net/post/9574</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error: EACCES: permission denied, open &#x27;&#x2F;app&#x2F;data&#x2F;fs.lock&#x27; on Invalid Date]]></title><description><![CDATA[<p>That worked! Thanks for the quick response.</p>
]]></description><link>https://forum.jsreport.net/post/9575</link><guid isPermaLink="true">https://forum.jsreport.net/post/9575</guid><dc:creator><![CDATA[rrohan92]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error: EACCES: permission denied, open &#x27;&#x2F;app&#x2F;data&#x2F;fs.lock&#x27; on Invalid Date]]></title><description><![CDATA[<p>i have the same issue this is my dockerfile</p>
<pre><code>FROM jsreport/jsreport:2.7.0-full
# Set working directory di dalam container
WORKDIR /app

RUN mkdir -p /app/data

COPY  package*.json ./

RUN npm install --unsafe-perm &amp;&amp; npm cache clean --force

COPY --chown=jsreport:jsreport jsreport.config.json /app/
COPY --chown=jsreport:jsreport /data /app/data

COPY --chown=jsreport:jsreport . .

# Ekspos port jsreport
EXPOSE 5488

CMD [ &quot;sh&quot;, &quot;-c&quot;, &quot;rm -f /app/data/fs.lock &amp;&amp; npm start&quot; ]

</code></pre>
]]></description><link>https://forum.jsreport.net/post/14113</link><guid isPermaLink="true">https://forum.jsreport.net/post/14113</guid><dc:creator><![CDATA[irkhamdivistant]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Error: EACCES: permission denied, open &#x27;&#x2F;app&#x2F;data&#x2F;fs.lock&#x27; on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="https://forum.jsreport.net/uid/3977">@irkhamdivistant</a> Can you upgrade to the latest jsreport version? jsreport 2.7.0 is very old.</p>
]]></description><link>https://forum.jsreport.net/post/14117</link><guid isPermaLink="true">https://forum.jsreport.net/post/14117</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>