Neo4j Community Version how to start - neo4j

I installed the community version of Neo4j.
How do I start/stop the server from the user interface for CE version. With the server version I knew how to use the .bat or powershell files but the CE version is slightly different. And I see no icon in the Windows Start List

There should be an entry it the start menu or on the desktop to start a launcher application. It then resides in the systray.
There is a video here: https://www.youtube.com/watch?time_continue=1&v=Foj2tzq84DY

in the folder C:\Program Files\Neo4j CE 3.0.1\bin there is the Neo4j icon. If you create a shortcut to it and place it for example on your desktop, then you can start the app from there.

Related

Neo4J Community 4.1.6 Stops after starting

I try to run Neo4J Community Edition 4.1.6 and need a hint. I have downloaded the winzip-package and unzipped it on a Windows 10 PC. I created a folder for the Neo4j files and another for the current JDK 15 package. The path for JDK has been put into system path variables. The log-flags in the neo4j conf has been set to DEBUG for HTPP. JAVA version throws the correct "15.0.2". No JAVA error message while starting.
I can start the service and the status gives back "Neo4j Service started...". After roughly 10 seconds the status shows that Neo4j has stopped without any further notice.
I can't see any logs in the \logs folder - the folder is empty.
I do not see a graphdb been created under neo4j-community-4.1.6\data\databases - the folder is empty
I cannot access the DB by localhost:7474
I do not see any error messages in the cmd windows.
I restarted the system several times but I still have the same outcome. Any hints?
Thank you
I believe we only support JDK 11 when using Neo4j 4.x.
https://neo4j.com/docs/operations-manual/current/installation/requirements/#deployment-requirements-java
Your errors may be because you are using JDK 15.
When diagnosing issues, it also helps to check the neo4j.log and debug.log files in the logs directory.

Docker Desktop cannot switch to Windows Container

I have installed latest Docker Desktop. Currently unable to switch to Windows container. The option is blocked from task bar :
I am running Windows 10 Home 64-bit Build 19042.
You need windows 10 Pro or Enterprise to have access to Windows containers.
Source
The other answer will indeed switch your daemon mode to Windows, but you will not be able to pull any Windows container.
Update 2022:
The link above now mentions that it should work for
Windows 11 64-bit: Home or Pro version 21H2 or higher, or Enterprise or Education version 21H2 or higher.
Windows 10 64-bit: Home or Pro 21H1 (build 19043) or higher, or Enterprise or Education 20H2 (build 19042) or higher.
I had spent hours debugging this issue and have to purchase win 10 pro license as well but still faced the same issue, by default it takes linux containers, switching to windows shows waiting forever, anyway here is how I fixed:
Windows Pro
Close/Shutt down the client by right clicking on the tiny icon on taskbar, and wait for a minute or two to have it close itself.
3.Open command prompt with Administrative rights
Type in this command:
c:\Program Files\Docker\Docker\resources>dockerd.exe
Open another command prompt with Administrative rights
C:\Program Files\Docker\Docker>DockerCli.exe -SwitchDaemon
Type "C:\Program Files\Docker\Docker>docker version" command to make sure it has switched to windows containers, it should look like attached screenshot
as per the latest Docker Desktop version, your settings should look like this
Quit Docker Desktop, and open again, Hope it helps some.
This command will change from windows to linux and vice versa.
I could not switch it easily, even using Altaf's approach. Eventually I went to Services (services.msc) and disabled Docker Desktop Service and updated docker service (Docker Engine) to make sure it can automatically start (for example, make sure the daemon.json config file exists in the location as the service command specified).
Then I can verify the result by typing docker version (in non-Administrative command prompt).
https://kontext.tech/article/1216/how-to-change-docker-data-root-path-on-windows-10#h-switch-to-windows-containers

How to start the Community Edition in Neo4j Desktop?

I would like to use Neo4j to learn how graph databases work and make some experiences with my own datasets. According to that and since Neo4j claims to be open source I've downloaded the Windows Neo4j Desktop version, but every project and database initialized shows the "Enterprise" attribute which means that I just initialized the Enterprise edition.
Any idea how to setup a project and a database based on the community edition?
Solved it. If you dont setup path variables you have enter the bin directory via cmd and type "neo4j.bat install-service" and then neo4j.bat to start the database-server. The officiall installation instructions should have those details.
just open a commandline in the bin folder. There you execute the command "neo4j.bat console" which creates a local server, that you then reach via localhost:7474.
The neo4j Download Center allows you to choose between downloading the Enterprise Edition, the Community Edition, and the Desktop.

How to perform a Neo4j database backup in Windows 10?

The neo4j documentation says that I gotta run some commands from the neo4j-admin tool, which is a terminal supposedly located in the bin folder, but I can't find that tool. there's also a cypher shell but when I open it as an administrator it shuts down immediately. Is there any other way of performing the backup? The neo4j version is 3.2.3.
I think that the simplest way to do a full database backup is coping the content of the data folder.
According the docs (file locations):
For /Windows zip installation the folder is <neo4j-home>\data
Using desktop installer the folder is %APPDATA%\Neo4j Community Edition

Neo4j Community Windows JMX monitoring

Is it an out-of-box function for community version?
I cannot connect to neo4j-jmx using JConsole.
I tried to follow this link: http://neo4j.com/docs/snapshot/jmx-remote.html
But I couldn't find conf/neo4j-wrapper.conf.
Is it only for Enterprise edition?
Thanks.
If you open the service dashboard app there's a settings button where you can edit the config files. If you can't find what you need there, you can download the zip instead of the installer, and that should have a full conf folder.

Resources