neo4j-devtools / neo4j-desktop

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

Mac Version 1.4.12 doesn't start after changing name of user directory #118

Open ogoldberg opened 2 years ago

ogoldberg commented 2 years ago

Context: I changed my mac username and the name of my user folder on my mac. When I use 1.3.4 I don't have any problems, but when I upgrade or do a clean install of 1.4.12 it shows the menu top bar, but simply doesn't load any window.

In the logs I see [2022-01-25 14:42:44.419] [error] App initialization error Error: EACCES: permission denied, mkdir '/Users/orengoldberg'

This is referencing my old username. This leads me to assume that this absolute path is being stored somewhere, even after uninstalling. I recommend exclusively using relative paths instead of absolute paths--and also not storing or relying on previous installation-related data after the application has been uninstalled

ogoldberg commented 2 years ago

I'm still dealing with this issue more than a month later. Any thoughts or feedback?

ogoldberg commented 2 years ago

Ok, I came up with the most ridiculous hack for this. I had to actually create a new user with my old username, give my new user permissions to that user's folders. Specifically, I had to give myself permissions for /Users/orengoldberg/Library/Application Support/, where I had to manually create a folder called Neo4j Desktop.

Now everything works.

This is obviously not ideal, but hopefully my solution will help someone else who may be going through this.