neo4j / docker-neo4j

Docker Images for the Neo4j Graph Database
Apache License 2.0
318 stars 168 forks source link

Error when dumping database neo4j-admin Docker #502

Closed bruno00o closed 1 week ago

bruno00o commented 2 weeks ago

Hi,

Using neo4j-admin, I encountered an error when trying to dump my database.

Steps to reproduce

  1. Stop the neo4j Docker container.
  2. Run neo4j-admin as this page describes it.
docker run --interactive --tty --rm \
   --volume=./data:/data \
   --volume=./backups:/backups \
   neo4j/neo4j-admin:latest \
neo4j-admin database dump neo4j --to-path=/backups

Error encountered

INFO  [o.n.c.d.DumpCommand] Starting dump of database 'neo4j'
ERROR [o.n.c.d.DumpCommand] Failed to dump database 'neo4j': Failure when checking for recovery state: '%s'.java.lang.IllegalArgumentException: Unknown serialization format version: 0
ERROR [o.n.c.d.DumpCommand] Dump failed for databases: 'neo4j'
Dump failed for databases: 'neo4j'

Environment

jennyowen commented 1 week ago

@bruno00o does this work again now that you can use neo4j-admin 5.20?

bruno00o commented 1 week ago

yes! it is working with neo4j-admin:5.20, thank you @jennyowen