Import db.dump to Aura - Error: something has gone wrong

Hi all,

Trying to import a db.dump into Aura. The dump was created using v5.19.0

I find the error message none informative.

Please, any help will be highly appreciated.

Note: editing the links as there is a limitation on the num links that can be posted

bin\neo4j-admin database upload ctgov --from-path=C:\Users\joanp.Neo4jDesktop\projects\project-fbdfd782-eb8b-4af2-905b-05f15b64b6ba --to-uri=neo4j+s://abb094a6.databases.neo4j.io --overwrite-destination=true --verbose
Executing command line: C:\Users\joanp.Neo4jDesktop\distributions\java\zulu17.44.53-ca-jdk17.0.8.1\bin\java.exe -cp C:\Users\joanp.Neo4jDesktop\relate-data\dbmss\dbms-225b15d9-d04b-4141-80d0-bc1bff8dd00d\plugins*;C:\Users\joanp.Neo4jDesktop\relate-data\dbmss\dbms-225b15d9-d04b-4141-80d0-bc1bff8dd00d\conf*;C:\Users\joanp.Neo4jDesktop\relate-data\dbmss\dbms-225b15d9-d04b-4141-80d0-bc1bff8dd00d\lib* -XX:+UseParallelGC -XX:-OmitStackTraceInFastThrow -XX:+UnlockExperimentalVMOptions -XX:+TrustFinalNonStaticFields -XX:+DisableExplicitGC -Djdk.nio.maxCachedBufferSize=1024 -Dio.netty.tryReflectionSetAccessible=true -XX:+ExitOnOutOfMemoryError -Djdk.tls.ephemeralDHKeySize=2048 -XX:FlightRecorderOptions=stackdepth=256 -XX:+UnlockDiagnosticVMOptions -XX:+DebugNonSafepoints --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED -Dlog4j2.disable.jmx=true -Dfile.encoding=UTF-8 -Xmx1048576k org.neo4j.cli.AdminTool database upload ctgov --from-path=C:\Users\joanp.Neo4jDesktop\projects\project-fbdfd782-eb8b-4af2-905b-05f15b64b6ba --to-uri=neo4j+s://abb094a6.databases.neo4j.io --overwrite-destination=true --verbose
neo4j 5.19.0
VM Name: OpenJDK 64-Bit Server VM
VM Vendor: Azul Systems, Inc.
VM Version: 17.0.8.1+1-LTS
JIT compiler: HotSpot 64-Bit Tiered Compilers
VM Arguments: [-XX:+UseParallelGC, -XX:-OmitStackTraceInFastThrow, -XX:+UnlockExperimentalVMOptions, -XX:+TrustFinalNonStaticFields, -XX:+DisableExplicitGC, -Djdk.nio.maxCachedBufferSize=1024, -Dio.netty.tryReflectionSetAccessible=true, -XX:+ExitOnOutOfMemoryError, -Djdk.tls.ephemeralDHKeySize=2048, -XX:FlightRecorderOptions=stackdepth=256, -XX:+UnlockDiagnosticVMOptions, -XX:+DebugNonSafepoints, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/java.io=ALL-UNNAMED, --add-opens=java.base/sun.nio.ch=ALL-UNNAMED, -Dlog4j2.disable.jmx=true, -Dfile.encoding=UTF-8, -Xmx1048576k]
Configuration files used (ordered by priority):
C:\Users\joanp.Neo4jDesktop\relate-data\dbmss\dbms-225b15d9-d04b-4141-80d0-bc1bff8dd00d\conf\neo4j-admin.conf
C:\Users\joanp.Neo4jDesktop\relate-data\dbmss\dbms-225b15d9-d04b-4141-80d0-bc1bff8dd00d\conf\neo4j.conf

Neo4j aura username (default: neo4j):
Neo4j aura password for neo4j:
Determined DumpSize=858973937 bytes from dump at C:\Users\joanp.Neo4jDesktop\projects\project-fbdfd782-eb8b-4af2-905b-05f15b64b6ba\ctgov.dump
Checking database size 0.8 GB fits at [EDITED]
Successfully authenticated with Aura.
Uploading data of 0.8 GB to https://console.neo4j.io
Generating crc32 of dump, this may take some time...
copying to URL: [EDITED]
Upload
.................... 10%
.................... 20%
.................... 30%
.................... 40%
.................... 50%
.................... 60%
.................... 70%
.................... 80%
.................... 90%
.................... 100%
Upload completed successfully

Polling status
We have received your export and it is currently being loaded into your Aura instance.
You can wait here, or abort this command and head over to the console to be notified of when your database is running.
Import progress (estimated)
Rough guess for how long dump file import will take: 7 minutes; store size on disk is 0.8 GB (858973937 bytes)
.................... 10%
.................... 20%
.................... 30%
......org.neo4j.cli.CommandFailedException: Error: We're sorry, something has gone wrong. Please try again. If the error persists, please open a support case. See: https://support.neo4j.com/
at org.neo4j.export.UploadCommand.execute(UploadCommand.java:228)
at org.neo4j.cli.AbstractCommand.call(AbstractCommand.java:92)
at org.neo4j.cli.AbstractCommand.call(AbstractCommand.java:37)
at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
at picocli.CommandLine.execute(CommandLine.java:2170)
at org.neo4j.cli.AdminTool.execute(AdminTool.java:94)
at org.neo4j.cli.AdminTool.main(AdminTool.java:82)
Caused by: org.neo4j.cli.CommandFailedException: Error: We're sorry, something has gone wrong. Please try again. If the error persists, please open a support case. See: [EDITED]
at org.neo4j.export.aura.AuraClient.formatCommandFailedExceptionError(AuraClient.java:341)
at org.neo4j.export.aura.AuraClient.doStatusPolling(AuraClient.java:311)
at org.neo4j.export.UploadCommand$DumpUploader.process(UploadCommand.java:330)
at org.neo4j.export.UploadCommand.execute(UploadCommand.java:226)
... 12 more

Could you please create an Aura support ticket, the folks there will be able to help you directly as they have access to the server logs.

I have already done it https://support.neo4j.com/s/case/500UN000006zGUD/unable-to-upload-db-dump-to-aura

and they pointed that I was using a different version. The problem persis with the same version. I the ticket I was also told

" For further help, please reach out to the Neo4j Community (as this help is community-driven, no guarantees can be made around answers), and someone may be able to assist you (multiple options):

  • For longer posts and discussions, we recommend the [Community Forum]
  • For shorter queries, the [Discord Server] is a good place to start."

But a dump of 5.19.0 is the same version as on Aura,
you can check with call dbms.components() in Aura.

I asked the support team and they found the error in the logs (we need to get better at exposing them to the end users).

You had too many entities (nodes/relationships) in your dump for the limits of the free tier (200k nodes, 400k rels), best to use an Aura Pro 1 or 2G instance for the initial dump upload.
Or you need to delete data first.

Thanks! Highly appreciated

1 Like