<h2 dir="auto">Guidelines</h2>
<p dir="auto">Please note that GitHub issues are only meant for bug reports/feature requests.<br>
If you have questions on how to use Neo4j, please ask on <a href="https://stackoverflow.com/questions/tagged/neo4j" rel="nofollow">StackOverflow</a> instead of creating an issue here.</p>
<p dir="auto">Before creating a new issue, please check whether someone else has raised the same issue. You may be able to add context to that issue instead of duplicating the report. However, each issue should also only be focussed on a <em>single</em> problem, so do not describe new problems within an existing thread - these are very hard to track and manage, and your problem may be ignored. Finally, do not append comments to closed issues; if the same problem re-occurs, open a new issue, and include a link to the old one.</p>
<p dir="auto">To help us understand your issue, please specify important details, primarily:</p>
<ul dir="auto">
<li>Neo4j version: X.Y.Z</li>
<li>Operating system: (for example Windows 95/Ubuntu 16.04)</li>
<li>API/Driver: (for example Cypher/Java API/Python driver vX.Y.Z)</li>
<li><strong>Steps to reproduce</strong></li>
<li>Expected behavior</li>
<li>Actual behavior</li>
</ul>
<p dir="auto">Additionally, include (as appropriate) log-files, stacktraces, and other debug output.</p>
<h2 dir="auto">Example bug report</h2>
<p dir="auto">I discovered that when I mount <code class="notranslate">data/</code> to a volume on my host, and then stop the container, the <code class="notranslate">write.lock</code> is not removed as well as a number of other files not being cleaned up properly.</p>
<p dir="auto"><strong>Neo4j Version:</strong> 3.0M03<br>
<strong>Operating System:</strong> Ubuntu 15.10<br>
<strong>API:</strong> Docker</p>
<h3 dir="auto">Steps to reproduce</h3>
<ol dir="auto">
<li>Pull the image: <code class="notranslate">docker pull neo4j/neo4j:3.0.0-M03</code></li>
<li>Create a directory on the host that will be a mount for the data: <code class="notranslate">mkdir /home/neo4j-data</code></li>
<li>Start a new container that mounts to this directory: <code class="notranslate">docker run -d --name neo4j-test -p 7474:7474 -v /home/neo4j-data:/data neo4j/neo4j:3.0.0-M03</code></li>
<li>Navigate to the <code class="notranslate">write.lock</code> file located in the directory: <code class="notranslate">/data/databases/graph.db/schema/label/lucene/labelStore/1/</code></li>
<li>Stop the container: <code class="notranslate">docker stop neo4j-test</code></li>
</ol>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto"><code class="notranslate">write.lock</code> should be removed now.</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto"><code class="notranslate">write.lock</code> is still present and preventing access by other programs.</p>
<p dir="auto">Duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="68479248" data-permission-text="Title is private" data-url="https://github.com/neo4j/neo4j/issues/4434" data-hovercard-type="issue" data-hovercard-url="/neo4j/neo4j/issues/4434/hovercard" href="https://github.com/neo4j/neo4j/issues/4434">#4434</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="68804735" data-permission-text="Title is private" data-url="https://github.com/neo4j/neo4j/issues/4439" data-hovercard-type="issue" data-hovercard-url="/neo4j/neo4j/issues/4439/hovercard" href="https://github.com/neo4j/neo4j/issues/4439">#4439</a> as these are failing again, did it break in 2.2.3? Referred in <a href="http://stackoverflow.com/questions/31547552/neo4j-load-csv-fails-when-multiline-fields-are-encountered" rel="nofollow">StackOverflow</a></p>