Comments (15)
@coeus01 Do you see anything in the logs for the failed container? Most likely problem is running out of memory, I would have thought. You may need to set an increased size for heap or cache size -- the environment variable you need depends on which version of Neo4j you're using.
from docker-neo4j.
@benbc Nothing in the logs, this problem also happens sometimes on docker-compose up
where
db_1 | 2016-05-12 13:05:58.796+0000 INFO No SSL certificate found, generating a self-signed certificate..
db_1 | 2016-05-12 13:06:00.809+0000 INFO Starting...
db_1 | 2016-05-12 13:06:01.836+0000 INFO Bolt enabled on localhost:7687.
db_1 | 2016-05-12 13:17:06.634+0000 INFO Starting...
db_1 | 2016-05-12 13:17:09.079+0000 INFO Bolt enabled on localhost:7687.
db_1 | 2016-05-12 13:28:04.189+0000 INFO Starting...
db_1 | 2016-05-12 13:28:05.602+0000 INFO Bolt enabled on localhost:7687.
db_1 | 2016-05-12 13:34:23.909+0000 INFO Starting...
db_1 | 2016-05-12 13:34:24.508+0000 INFO Bolt enabled on localhost:7687.
db_1 | 2016-05-12 13:36:18.871+0000 INFO Starting...
db_1 | 2016-05-12 13:36:22.748+0000 INFO Bolt enabled on localhost:7687.
db_1 | 2016-05-12 13:37:32.095+0000 INFO Starting...
db_1 | 2016-05-12 13:37:32.821+0000 INFO Bolt enabled on localhost:7687.
db_1 | 2016-05-12 13:37:36.578+0000 INFO Started.
db_1 | 2016-05-12 13:37:38.397+0000 INFO Remote interface available at http://localhost:7474/
db_1 | 2016-05-12 13:37:39.044+0000 WARN Failed authentication attempt for 'neo4j' from 127.0.0.1
db_1 | 2016-05-12 13:37:39.346+0000 INFO Neo4j Server shutdown initiated by request
db_1 | 2016-05-12 13:37:39.390+0000 INFO Stopping...
db_1 | 2016-05-12 13:37:41.320+0000 INFO Stopped.
db_1 | 2016-05-12 13:45:15.939+0000 INFO Starting...
db_1 | 2016-05-12 13:45:19.587+0000 INFO Bolt enabled on 0.0.0.0:7687.
db_1 | 2016-05-12 13:45:50.703+0000 INFO Starting...
db_1 | 2016-05-12 13:45:51.382+0000 INFO Bolt enabled on 0.0.0.0:7687.
db_1 | 2016-05-12 13:45:55.091+0000 INFO Started.
db_1 | 2016-05-12 13:45:56.355+0000 INFO Remote interface available at http://0.0.0.0:7474/
db_1 | 2016-05-12 13:45:57.066+0000 INFO Neo4j Server shutdown initiated by request
db_1 | 2016-05-12 13:45:57.109+0000 INFO Stopping...
db_1 | 2016-05-12 13:45:57.374+0000 INFO Stopped.
db_1 | 2016-05-13 05:20:46.266+0000 INFO Starting...
db_1 | 2016-05-13 05:20:46.890+0000 INFO Bolt enabled on 0.0.0.0:7687.
db_1 | 2016-05-13 05:20:50.237+0000 INFO Started.
db_1 | 2016-05-13 05:20:51.540+0000 INFO Remote interface available at http://0.0.0.0:7474/
db_1 | 2016-05-13 05:20:52.648+0000 INFO Neo4j Server shutdown initiated by request
db_1 | 2016-05-13 05:20:52.716+0000 INFO Stopping...
db_1 | 2016-05-13 05:20:53.022+0000 INFO Stopped.
db_1 | 2016-05-16 05:17:36.086+0000 INFO Starting...
db_1 | 2016-05-16 05:17:37.043+0000 INFO Bolt enabled on 0.0.0.0:7687.
db_1 | 2016-05-16 05:17:42.135+0000 INFO Started.
db_1 | 2016-05-16 05:17:43.614+0000 INFO Remote interface available at http://0.0.0.0:7474/
db_1 | 2016-05-16 05:17:44.074+0000 INFO Neo4j Server shutdown initiated by request
db_1 | 2016-05-16 05:17:44.125+0000 INFO Stopping...
db_1 | 2016-05-16 05:17:44.480+0000 INFO Stopped.
db_1 | 2016-05-16 08:40:55.584+0000 INFO Starting...
db_1 | 2016-05-16 08:40:57.331+0000 INFO Bolt enabled on 0.0.0.0:7687.
db_1 | Neo4j failed to start
other times it exits earlier:
db_1 | 2016-05-16 08:43:01.494+0000 INFO No SSL certificate found, generating a self-signed certificate..
db_1 | 2016-05-16 08:43:04.206+0000 INFO Starting...
db_1 | 2016-05-16 08:43:08.044+0000 INFO Bolt enabled on localhost:7687.
db_1 | Neo4j failed to start
after a few docker-compose up
it works
from docker-neo4j.
@coeus01 Do you have any insight into why there are those repeated logs "Starting/Bolt enabled"? Are you trying to start it multiple times there, or is Docker Compose doing that?
from docker-neo4j.
@benbc no.. they are completely random, sometimes it's only one, other times they are 10
from docker-neo4j.
@coeus01 Can you give us as much information as possible about your system? Docker and Neo4j versions, OS and version, system memory available, anything else that might be relevant.
from docker-neo4j.
- neo4j 3.0.0
- Docker version 1.11.1, build
- docker-compose version 1.7.1, build 6c29830
- Debian GNU/Linux 8.4 (jessie)
- Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
- MemTotal: 4060764 kB
from docker-neo4j.
UPDATE even when I start all the containers with docker start <1> <2> <3>
instead of docker-compose up
again the neo4j container takes a few shots to start and stay up
from docker-neo4j.
@coeus01 Thank you, that's useful information. We'll take a look.
from docker-neo4j.
@coeus01 the problem is in your docker-compose.yml
file
this line:
NEO4J_AUTH: "neo4j/neo4j"
change the password to anything other than neo4j
.
NEO4J_AUTH: "neo4j/foo"
Neo4j does not support setting a custom password equal to the default neo4j password. That's why the container never comes up. An error message is shown if you try to do it in the browser.
We should probably add some logic to the docker entrypoint script that clearly tells you not to set the password to neo4j
from docker-neo4j.
@spacecowboy my password is not neo4j
, it was for the sake of an example. Also as I said before after a few times it works ok, so even if I had the password neo4j
it wouldn't matter if I could get it working after a few tries.
from docker-neo4j.
@coeus01 We have now reproduced your problem. Setting the password via NEO4J_AUTH
doesn't work on Debian Jessie (although it works fine on various Ubuntu versions). We are investigating further.
from docker-neo4j.
@coeus01 The fix for this will be in Neo4j 3.0.2.
from docker-neo4j.
@benbc when will this version be available in the Docker Hub? Currently it's still showing 3.0.1, so I think the issue should still show as open.
from docker-neo4j.
@textbook The 3.0.2 image will be published later today.
from docker-neo4j.
For anyone else wondering, the new image will be available when this PR is accepted: docker-library/official-images#1809
from docker-neo4j.
Related Issues (20)
- VSCode can't start a stopped devcontainer HOT 2
- Downloaded Plugin (APOC) File Permission HOT 5
- Missing docker-entrypoint.sh in latest image? HOT 2
- Error using or configuring APOC in GithubAction HOT 1
- Why am I encountering an issue with the GDS library on a Neo4j Docker container on Windows, despite it working on Linux? HOT 5
- Version 4.4.19 fails when installing APOC HOT 3
- Missing proper health check
- chown: changing ownership of '/var/lib/neo4j/conf/neo4j.conf': Read-only file system HOT 3
- Volume inaccessible, although uid and gid match those of the user parameter HOT 2
- my_ip:7474 >> This site canβt be reached HOT 3
- Pods unready/CrashLoopBackOff with message "sed: cannot rename /var/lib/neo4j/conf/sed8pylkX: Operation not permitted" HOT 2
- neo4j-admin:5.10.0 not released on Docker Hub HOT 2
- Unable to mount local config folder with apoc.conf HOT 2
- ERROR: No compatible "graph-data-science" plugin found for Neo4j 5.13.0. HOT 8
- neo4j-admin:5.17.0 not released on Docker Hub HOT 1
- Docker bind only 192.168.58.110 address and not all interfaces HOT 1
- Plugins for "genai","n10s","graphql","graph-algorithms" missing after docker install neo4j:5.18 HOT 3
- Critical/High Severity issues reported by Snyk for neo4j:5.18.1
- conf folder not persisted
- openshift support with "random UID"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-neo4j.