Neo4j database failing to start, right after neo4j server starts

Hi,

i have a neo4j server on an azure vm that is scheduled to run from 8am to 6pm everyday.
every morning after vm starts, the neo4j server automatically starts and databases go online. recently i'm facing an issue that neo4j server does start, but databases fail to start.

the error message from neo4j debug.log says

WARN [o.n.k.d.Database] [neo4j/3bd911d8] Exception occurred while starting the database. Trying to stop already started components.
org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.impl.transaction.log.files.TransactionLogFile@5a13a8c' was successfully initialized, but failed to start. Please see the attached cause exception "/var/lib/neo4j/neo4j/data/transactions/neo4j/neostore.transaction.db.1052".

ERROR [o.n.d.d.DatabaseLifecycles] Failed to start DatabaseId{3bd911d8[neo4j]}
java.lang.RuntimeException: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.impl.transaction.log.files.TransactionLogFile@5a13a8c' was successfully initialized, but failed to start. Please see the attached cause exception "/var/lib/neo4j/neo4j/data/transactions/neo4j/neostore.transaction.db.1052".

2024-10-24 22:27:38.582+0000 WARN [o.n.r.QueryRouter] Could not eagerly create kernel transaction due to: org.neo4j.graphdb.DatabaseShutdownException: This database is shutdown.

I have done the following to check/troubleshoot, with no success:

  • checked permissions for neo4j user
  • checked disk availability on the neo4j home
  • ran database consistency check which was normal
  • removed db transaction files and restarted db, but it didn’t recreate them, so I replaced the transactions and db started fine.

Appreciate some hints on where else to look, if you've had a similar experience.

Thanks!