Neo4j database offline after deleting some log files (neostore.transaction.db.*)

My disk is full so I deleted some neostore.transaction.db.* files in transactions/neo4j/. Now my neo4j database shows offline.

The status message is ""An error occurred! Unable to start DatabaseId{9ef1b149[neo4j]}.""

Thanks for any suggestions1

Do you have a backup of the database? If so you can restore the database from the backup.

If not, perhaps try the store copy utility. I believe it has some functionality to repair file stores.

Note that manually deleting files from the filestore is not supported: How do I recover from No space left on device - Knowledge Base

2 Likes

Many thanks!

I don't have a backup and I am using a community edition which seems not support the store copy utility. are there any solutions I can try? :+1: +1: +1: :+1: :+1: :+1: :+1: :+1: :+1:

Any update on this issue ?? I have the same issue as well.

@ramlingeshg

you deleted neostore.transaction.db* logs?

but per Transaction logging - Operations Manual

Configure transaction log retention policy
      Manually deleting transaction log files is not supported.

Initially I did not delete any transaction logs. But later I deleted both data and transaction logs. completely and started it again. Later it works.
Now I upload the data again.

Btw, what must be done when this problem again ??
Is it due to the disk size exceeding its limit when we try to write some data ??

I have one question here.
How can we use apoc in community edition ?? how to install it ??

I have apoc-5-17-0-core.jar in var/libs/neo4j/plugins directory.
How to install it and make use of it for data write and read operations ?? My setup is vm with neo4j instance (community edition ) deployed in azure.

@ramlingeshg
certainly a disk full is never good
now is it the cause of the failure to start.. or something else? there is not enough data about the failure to start to make any assessment

@ramlingeshg
APOC and install. see Installation - APOC Documentation

Is it possible to install bloom in community edition ?? I think apoc is working. I did some queries. iI seems like it is working.

@ramlingeshg