<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CAST Imaging System - Database - Neo4j - Error on Documentation - V2</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-database-neo4j/cast-imaging-system-database-neo4j-error/</link><description>Recent content in CAST Imaging System - Database - Neo4j - Error on Documentation - V2</description><generator>Hugo</generator><language>en</language><atom:link href="https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-database-neo4j/cast-imaging-system-database-neo4j-error/index.xml" rel="self" type="application/rss+xml"/><item><title>CAST Imaging System - Database - Neo4j - Error - Server error - Java heap space</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-database-neo4j/cast-imaging-system-database-neo4j-error/cast-imaging-system-database-neo4j-error-server-error-java-heap-space/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-database-neo4j/cast-imaging-system-database-neo4j-error/cast-imaging-system-database-neo4j-error-server-error-java-heap-space/</guid><description>&lt;p&gt;&lt;strong&gt;Purpose&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This section provides assistance  when there is a&lt;strong&gt;Memory error&lt;/strong&gt; while Importing into Imaging.&lt;/p&gt;
&lt;p&gt; &lt;strong&gt;Memory error&lt;/strong&gt; can result in a warning and an error in imaging system while importing which maybe seen as one of the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;WARN run: unable getting transactionObjects cypher summary for x_complete error=database returned error[Neo.TransientError.General.OutOfMemoryError]&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;ERROR Import: error while remodeling the graph, aborting import error=subobjectswithgraphrefactor: failed to run queries to import sub-objects and refactor the graph: run: error fetching cypher summary for Removal of .NET Instantiated nodes&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Imaging Version&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>CAST Imaging System - Database - Neo4j - Error - Super Admin not accessible anymore</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-database-neo4j/cast-imaging-system-database-neo4j-error/cast-imaging-system-database-neo4j-error-super-admin-not-accessible-anymore/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-database-neo4j/cast-imaging-system-database-neo4j-error/cast-imaging-system-database-neo4j-error-super-admin-not-accessible-anymore/</guid><description>&lt;p&gt;&lt;strong&gt;Purpose&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This section provides assistance when Super Admin is not accessible in Imaging.  The Super Admin user account may have been removed or is no longer active.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Imaging Version&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Release&lt;/th&gt;
 &lt;th&gt;Yes/No&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;2.x&lt;/td&gt;
 &lt;td&gt;&amp;#x2705;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Details&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Please select the &amp;lsquo;imaging&amp;rsquo; database and run the following:. For using this refer &lt;a href="https://doc.castsoftware.com/export-v2/tg/information-guides/information-guides-by-cast-aip-component/cast-imaging-system-information/cast-imaging-system-information-how-to-access-neo4j/"&gt;CAST Imaging System - Information - How to access Neo4j&lt;/a&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-java" data-lang="java"&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;MATCH (r:Role {Name: &amp;lsquo;Super Admin&amp;rsquo;})&amp;lt;-[:HAS_ROLE]-(k) RETURN k.Name, labels(k)&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt; 2. ```java
MATCH (r:Role {Name: &amp;#39;Super Admin&amp;#39;})&amp;lt;-[:HAS_ROLE]-(k:User)&amp;lt;-[:CONTAINS_USER]-(sm:SecurityMode) RETURN k.Name, sm.Name
&lt;/code&gt;&lt;/pre&gt;&lt;ol start="2"&gt;
&lt;li&gt;
&lt;p&gt;The first query returns the user name and role.  The second query returns the user name and type of access they are authorized for (such as &amp;lsquo;LDAP&amp;rsquo;)&lt;/p&gt;</description></item><item><title>CAST Imaging System - Database - Neo4j - Error - Database not starting results in errors like applications not loading or internal server error</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-database-neo4j/cast-imaging-system-database-neo4j-error/cast-imaging-system-database-neo4j-error-database-not-starting-results-in-errors-like-applications-not-loading-or-internal-server-error/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-database-neo4j/cast-imaging-system-database-neo4j-error/cast-imaging-system-database-neo4j-error-database-not-starting-results-in-errors-like-applications-not-loading-or-internal-server-error/</guid><description>&lt;p&gt;&lt;strong&gt;Purpose&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When the Neo4j database is not up, you may face several problems such as &lt;strong&gt;&amp;lsquo;Internal server error&amp;rsquo;&lt;/strong&gt; when applying a key, &lt;strong&gt;applications not loading&lt;/strong&gt;, errors like &lt;strong&gt;&amp;lsquo;Index clean jobs can&amp;rsquo;t be added after collector start&amp;rsquo;&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Imaging Version&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Release&lt;/th&gt;
 &lt;th&gt;Yes/No&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;2.x&lt;/td&gt;
 &lt;td&gt;&amp;#x2705;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Details&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;When the Neo4j database is not up, you can have several problems such as &lt;strong&gt;&amp;lsquo;Internal server error&amp;rsquo;&lt;/strong&gt; when applying a key, &lt;strong&gt;applications not loading&lt;/strong&gt;, and errors like &lt;strong&gt;&amp;lsquo;Index clean jobs can&amp;rsquo;t be added after collector start&amp;rsquo;&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>CAST Imaging System - Database - Neo4j - Error - Failed to apply transaction</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-database-neo4j/cast-imaging-system-database-neo4j-error/cast-imaging-system-database-neo4j-error-failed-to-apply-transaction/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-database-neo4j/cast-imaging-system-database-neo4j-error/cast-imaging-system-database-neo4j-error-failed-to-apply-transaction/</guid><description>&lt;p&gt;&lt;strong&gt;Purpose&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When starting imaging the applications are not loading. The following Error  is seen in the neo4j debug.log file : &lt;strong&gt;&amp;ldquo;org.neo4j.internal.kernel.api.exceptions.TransactionApplyKernelException: Failed to apply transaction: Transaction #594571 at log position&amp;rdquo;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Because of this error, database recovery was failing and going to  offline state.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Imaging Version&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Release&lt;/th&gt;
 &lt;th&gt;Yes/No&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;2.x&lt;/td&gt;
 &lt;td&gt;&amp;#x2705;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Details&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Define the following parameter in neo4j.conf file.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-java" data-lang="java"&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;unsupported.dbms.tx_log.fail_on_corrupted_log_files=false&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;2. Restart the neo4j service after adding this parameter
3. If you do not find the information you are looking for or solution for your problem, please contact [CAST Technical Support](https://help.castsoftware.com/hc/en-us/articles/204189137-How-to-contact-CAST-Technical-Support)

**Notes/comments**

**Related Pages**
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>CAST Imaging System - Database - Neo4j - Error - Fail to read transaction log version</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-database-neo4j/cast-imaging-system-database-neo4j-error/cast-imaging-system-database-neo4j-error-fail-to-read-transaction-log-version/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-database-neo4j/cast-imaging-system-database-neo4j-error/cast-imaging-system-database-neo4j-error-fail-to-read-transaction-log-version/</guid><description>&lt;p&gt;&lt;strong&gt;Purpose (problem description)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The neo4j database is not changing its state from offline to online even after using the CALL dbms.quarantineDatabase(&amp;ldquo;neo4j&amp;rdquo;,false) query to un quarantine it. &lt;/p&gt;
&lt;p&gt;Found Fail to read transaction log version xxxx error in debug log&lt;/p&gt;
&lt;p&gt;&lt;img src="https://doc-data.castsoftware.com/TG/attachments/652050595/652050614.png" alt=""&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Observed in CAST Version, CAST Extension Version, CAST Component Version&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Release&lt;/th&gt;
 &lt;th&gt;Yes/No&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&amp;gt;2.x&lt;/td&gt;
 &lt;td&gt;&amp;#x2705;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Step by Step scenario&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Ran command CALL dbms.quarantineDatabase(&amp;ldquo;neo4j&amp;rdquo;,false) query to un quarantine the noe4j database&lt;/li&gt;
&lt;li&gt;neo4j remains in the quarantine (offline) state.&lt;/li&gt;
&lt;li&gt;Checked the debug log.&lt;/li&gt;
&lt;li&gt;Found the error &lt;strong&gt;Fail to read transaction log version xxxx&lt;/strong&gt;,&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;Action Plan&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>CAST Imaging System - Database - Neo4j - Error - Transaction logs are missing and recovery is not possible</title><link>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-database-neo4j/cast-imaging-system-database-neo4j-error/cast-imaging-system-database-neo4j-error-transaction-logs-are-missing-and-recovery-is-not-possible/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://doc.castsoftware.com/export-v2/tg/technical-guides/technical-guides-by-cast-aip-component/cast-imaging-system/cast-imaging-system-database-neo4j/cast-imaging-system-database-neo4j-error/cast-imaging-system-database-neo4j-error-transaction-logs-are-missing-and-recovery-is-not-possible/</guid><description>&lt;p&gt;&lt;strong&gt;Purpose&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;When starting imaging, neo4j does not start and the &lt;strong&gt;debug.log&lt;/strong&gt; shows the error:  &lt;strong&gt;&amp;lsquo;Transaction logs are missing and recovery is not possible&amp;rsquo;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Imaging Version&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Release&lt;/th&gt;
 &lt;th&gt;Yes/No&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;2.x&lt;/td&gt;
 &lt;td&gt;&amp;#x2705;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Details&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This happens if something has happened to the transaction logs, such as they were moved or removed due to space issues.&lt;/p&gt;
&lt;p&gt;However deleting/moving them is not permitted as per neo4j: &lt;a href="https://neo4j.com/docs/operations-manual/current/configuration/transaction-logs"&gt;https://neo4j.com/docs/operations-manual/current/configuration/transaction-logs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Since the transaction logs were missing,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Add below parameter to the neo4j.conf file which forces database to start without recovery in case of missing transaction logs.&lt;/p&gt;</description></item></channel></rss>