neo4j-devtools / neo4j-desktop

The Neo4j Graph Platform, on your desktop OS.
19 stars 1 forks source link

Issues with Neo4j desktop 1.4.7 on Windows 10 - DBMS failed to create: Error: Could not find any version of neo4j-jwt-addon compatible with Neo4j 4.3.1 #111

Open kixxalot opened 3 years ago

kixxalot commented 3 years ago

I am having a horrible time trying to get Neo4j desktop 1.4.7 to run on Windows 10.

I was running 1.4.1 without issues, but after installing 1.4.7 (offline version) I cannot get it to create a database:

DBMS failed to create: Error: Could not find any version of neo4j-jwt-addon compatible with Neo4j 4.3.1

Note that this machine does not have internet access (behind firewall) - perhaps it's related to this? The log.log file is full of "Online check errors"

nglgzz commented 3 years ago

Hi @kixxalot, could you check if this path exists in your installation and if contains anything?

%USERPROFILE%\.Neo4jDesktop\relate-data\plugin-versions

When installing a new DBMS Desktop fetches the version list for the JWT plugin, if there's no internet access, it falls back to looking in this folder. Since you're getting an error my guess is that in your case it's empty.

If that's the case, then it's an issue on our end, and until we have a fix you can work around it by adding a file called neo4j-jwt-addon.json with the content from this URL https://dist.neo4j.org/relate/neo4j-jwt-addon/versions.json.

Let me know if that helps.

kixxalot commented 3 years ago

HI @nglgzz - the folder was indeed empty, and your workaround fixed my issue. Thanks!

nglgzz commented 3 years ago

Awesome, happy it helped!

I created a ticket to bundle this file with Desktop, will close this issue once the fix is released.