Why doesn't Neo4j show any system information (:sysinfo) in the browser? - neo4j

I recently upgraded to Neo4j 4.0.6. (Community Edition)
After upgrading my "old" Neo4j database the browser :sysinfo command (Chrome and Safari) doesn't show any information. It just displays the empty tables for Store Size, id Allocation etc.
All the tables and labels are shown as in Neo4j 3.x but no values are prompted. It doesn't matter if I change the "Use Database" settings (switch to system and back) or if stop and restart the server. No entries for :sysinfo show up.
Any idea how to reactivate the DB :sysinfo in the browser interface again is greatly appreciated.
Krid

I tend to think its an issue with recent versions.
It caused me to believe a multi upgrade store was incorrect.
So I went the long 'dump to cypher and reimport' route.
After node import, sysinfo was working (4.1 CE)
This behaviour appeared when I added relations
CALL db.schema.visualization() is broken too (no graph tab)
What a time loss, I tell you.
Wont count the days
Somewhere I read to reset the indexes, be sure btree was used.
No, it didnt work.
your next move is to file an issue
It seems ppl also have this issue since 3.5 w/ clusters
https://github.com/neo4j/neo4j/issues?q=is%3Aissue+sysinfo

Related

apoc installed on neo4j desktop but no apoc procedures registered for database

I cannot get APOC to work on neo4j.
Documentation is good ... when present!
I installed the apoc library via Neo4j Desktop:
Launch Neo4j Desktop
Locate DBMS
Select Plugins tab on right
installed the plugin
Then I open a project.
I try:
CALL apoc.load.json("file:///person.json")
YIELD value
RETURN value;
but
There is no procedure with the name `apoc.load.json` registered for this database instance. Please ensure you've spelled the procedure name correctly and that the procedure is properly deployed.
Indeed The available procedures does not display apoc, in spite it is installed.
Then, after I cleared out that Neo4j Desktop is not using the installed community edition I had, and found that i can find the installed versions under the "more" options > Terminal:
I checked that my neoj4.conf file have these lines:
# Leaving this unconfigured will load all procedures found.
#dbms.security.procedures.allowlist=apoc.coll.*,apoc.load.*,gds.*
(commented out, to load everything, so apoc should load...)
I think I have done OK, as here:
APOC installation neo4j desktop
I also tried to delete the project and set it up again:
https://community.neo4j.com/t5/general-discussions/some-apoc-procedures-not-available/m-p/41590
but still not working...
--
How do I get APOC to work ??
Do I have to install it for each project ?
Do I need to configure it for each DB in the project ?
I am using neo4j desktop 1.5.6.
#Edited
today I replicated steps of yesterday, paying attention to the recommendations of #William Lion answer.
At launch of neo4j Desktop, I was prompted an alert that "Local graph password has been changed".
That is strange, because I have not changed it...
It did not accept nor my previous password (the one I use for the server), nor the default 'neo4j', but could pass the alert because I could ignore this change until the next Graph start.
So I ignored it, and was prompted to enter the password to connect with the neo4j server. And this time, apoc were found.
I tried to close the neo4j desktop, quitting from all open projects, and relaunch. This time I was not asked to input the password for the local dbms. So, I assumed the to have restarted the next Graph, following the previous alert, and I was expected to be requested to input the password again.
Maybe the problem was here. So, to avoid future hiccups:
does neo4j reset the password of local dbms itself after a while or after certain conditions ?
after neo4j desktop closes, am I sure all server and open dmbs instances are properly shut down ? What does until the next Graph start actually mean ?
Plugins must be installed for each DBMS instance in Neo4j Desktop (there can be multiple DBMS instances in each project). Also, there can only be one active DBMS in Neo4j Desktop at a given time. Make sure that you have installed the plugin for the DBMS instance that you want to work with AND that DBMS is the one that is currently running. I'm guessing that you successfully installed the plugin for one DBMS, but tried querying with a different active DBMS that did not have the plugin.

neo4j can't see database from terminal

this might be a stupid question but I'm new to neo4j.
I'm using the desktop version and from there I created a new database from a new project. I also can see it from the browser and I can see data and stuff.
But if I go on my terminal and run
cypher-shell
and from there I type
SHOW DATABASES;
I can only see the default dbs:
Does anyone know what I am doing wrong?
From the Neo4j desktop, you'll see the Start/Stop and Open buttons for a project database. Just to the right of these are 3-dots. Click on that and then open folder. This will get you to the various folders for the database. It's useful for seeing the size of the database, working with the config file, managing transaction logs, etc.

Error occurs when creating a new database under Neo4j 4.0

I'm using Debian 9.9 and the version of Neo4j is 4.0. I'm having problems creating a new database using the neo4j browser. The instruction I followed is this.
I have tried the following Cypher command:
create database myNewDatabase
However, an error pops up like this:
Neo.ClientError.Statement.NotSystemDatabaseError
Unsupported administration command: create database myNewDatabase
Please let me know what the error message means and how I can solve it. Thx in advance:-)
In v. 4 (release Feb. 2020) of the professional version of Neo4j, it's easy to create new databases. Documentation
In the community edition, it takes a hack:
1. Edit the file NEO4J_HOME\conf\neo4j.conf
2. Un-comment the line: dbms.default_database=neo4j
3. Change the neo4j to whatever database name you want for a new database. Note: names must have between 3 and 63 characters. For example: dbms.default_database=mydatabase
4. Save the file
5. (If applicable) Kill the database server, and close the browser window with the Neo4j UI
6. Start the neo4j server, and open a new browser window, pointed as usual to http://localhost:7474/
7. Both the old (default) database, "neo4j" and the one you just created will show up. However, attempting to switch between them causes an error. If a switch is desired, repeat the above steps starting from (3)
Note: the above steps will create a folder named mydatabase (or whatever name you used), in NEO4J_HOME\data\databases , and it will populate its contents.
I personally think that switching between databases is such a BASIC operation that Neo4j ought to make it easily accessible in the Community edition!
I think I've got the answer to my question. It turns out that my license (the community edition) is not supported for working with multiple databases. An alternative could be this.

Neo4j - Saved Scripts in Browser Interface Not Saving

I'm just curious - have any fellow Neo4j-ers ever encountered this behavior?
Right now, I've got 30 queries in the 'Saved Scripts' part of the Neo4j browser interface. When I try to save another, it will remain there until the the page is reloaded/refreshed - it then disappears.
I thought that 30 might be some soft limit determined in a Neo4j configuration file (/etc/neo4j/neo4.conf) but I can't find any statements in the file relating to this. If it's at all pertinent, I'm running x64 CentOS 7 as a VM - this is where my Neo4j has been configured. I've checked the debug logs and I don't see any warnings or errors relevant to this issue.
Is this behavior normal? If so, is there a way to change it?
I solved the problem. Just needed to reboot the VM apparently.
Still not sure what the root cause of this is - but rebooting was, in this case, the remedy.

Neo4j 2.0.1 graphstyle.grass stylesheet issue

I've somehow managed to import a bad/malformed graphstyle.grass file and now nothing gets displayed in the new (http://< server >:7474/browser/) graph view. In the table view I can see the nodes, so I know the query is hitting (I'm just using 'match n return n limit 25').
So here's where the rub comes.. because the nodes aren't showing up.. I can't click on them to open the properties where I could say 'View Stylesheet' and hit load default or import a fixed stylesheet. I poked around Neo4j files a bit to see if graphstyle.grass was stored within the files but didn't find anything. Any help is greatly appreciated because I ^think^ the nuclear option is reinstalling the server (which isn't a huge deal but trying to avoid that if I can).
Assuming you're on chrome browser. Press F12 to open web developer, tab Resources, Local storage and remove all the stuff from <server>:7474.
Other browser should offer a similar way.

Resources