Coder Social home page Coder Social logo

Comments (3)

domdavis avatar domdavis commented on August 20, 2024

Further investigation may point to the way the DB is being shut down within docker:

  • 2.1.8 running directly on the box -> 2.3.1 running directly on the box works fine
  • 2.1.8 running in docker -> 2.3.1 running directly on the box errors

However, if you go 2.1.8 in Docker, then run 2.1.8 locally against that DB you get the following in the logs:

Detected incorrectly shut down database, performing recovery..

Running 2.3.1 locally now works fine, as does running it in Docker.

I suspect the issue is that docker stop (in the vinelab image at the very least) isn't shutting down Neo4j in a nice way which is leaving the DB in a state where it can't be upgraded.

from docker-neo4j.

domdavis avatar domdavis commented on August 20, 2024

Now I've got a workaround on this it's no longer a blocker for me.

from docker-neo4j.

benbc avatar benbc commented on August 20, 2024

@domdavis Ah! Well spotted -- I should have thought of that.

There is a change in Neo4j 2.3.0 which allows Docker to shut it down cleanly. All earlier versions of Neo4j have a problem where Docker has to kill them at shutdown. I wasn't aware that this would cause a problem with upgrades, but I'm sure it's what you're seeing.

We don't support running Neo4j under Docker before 2.3.0. I recommend that you use the latest official image, neo4j.

I'm going to close this now, on that basis. Please let me know if you have any more questions.

from docker-neo4j.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.