Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-20-2021 03:45 AM
I deleted several DBMS directories on the file system.
They still show up in neo4j Desktop with an orange warning icon - and that is actually a cool feature for DBMS installs on removable media!
BUT in my case I really want to delete those entries ... question is HOW?
I think the best UX for this would be the red trashcan icon to appear on hover (like in the projects list) OR the 3-dots-menu with the "Remove" option (like with all other DBMS in a project)
05-20-2021 04:48 AM
Did you remove the databases via a OS command of rm
or similar? Ideally we would expect you to remove said database via a drop database <databaseName>;
Databases - Neo4j Cypher Manual
05-20-2021 05:02 AM
I had several different test installs with different neo versions and some were so corrupted that Desktop didn't work properly anymore so YES I deleted them directly on the file system.
Really my only problem is that I need to get those entries out of desktop somehow since they are usesless garbage now and I think the UI should really provide such a feature.
Is there another way to remove those entries or do I have to look at them forever now?
05-20-2021 06:29 AM
so I suspect there is a mismatch as performing a rm
or similar is not expected or supported. and specificially when you create a database among many things it does it also creates a record in the system
database that this new database is now available. And when you drop database ....
besides removing the files from the filesystem it would also remove the record of the database existence from system
. And so your rm
has some what short circuited the process.
05-20-2021 06:53 AM
hm ... I am not talking about databases inside a DBMS, I am talking about the entire DBMSs
where are these entries stored? And again, I think there really should be a feature to remove them...
05-26-2021 06:24 AM
@chris3 I agree with you that this should be a feature (and actually I thought this was possible). Until that happens though, depending on which OS you're using, you'll find the list of DBMSs in one of these locations.
~/Library/Application Support/Neo4j Desktop/Application/persist/databases.json
~/.config/Neo4j Desktop/Application/persist/databases.json
%USERPROFILE%\.Neo4jDesktop\persist\databases.json
We don't recommend manually editing the persist files, but in this case, it should be fine if you just remove the entries that no longer exist in the filesystem.
05-26-2021 09:35 AM
Thank you for the file info - it worked!
AWESOME!
All the sessions of the conference are now available online