GithubHelp home page GithubHelp logo

Comments (5)

dhimmel avatar dhimmel commented on August 11, 2024

I wonder if hetionet-v1.0.db.tar.bz2 is too old to be imported into Neo4j 4.0. That database was exported from Neo4j 3.0.1

From https://neo4j.com/docs/migration-guide/4.0/important-information/#supported-upgrade-paths:

The following upgrade path is supported: 3.5.any → 4.0.x

Is it possible to see the neo4j logs when trying to load the database? Those would make it easier to diagnose the issue.

from hetionet.

jshubhangi2697 avatar jshubhangi2697 commented on August 11, 2024

Below is today's log:

Directories in use:
  home:         /home/ubuntu-user/.config/Neo4j Desktop/Application/neo4jDatabases/database-40a013bb-9709-440c-a2d8-4be36145611d/installation-4.0.4
  config:       /home/ubuntu-user/.config/Neo4j Desktop/Application/neo4jDatabases/database-40a013bb-9709-440c-a2d8-4be36145611d/installation-4.0.4/conf
  logs:         /home/ubuntu-user/.config/Neo4j Desktop/Application/neo4jDatabases/database-40a013bb-9709-440c-a2d8-4be36145611d/installation-4.0.4/logs
  plugins:      /home/ubuntu-user/.config/Neo4j Desktop/Application/neo4jDatabases/database-40a013bb-9709-440c-a2d8-4be36145611d/installation-4.0.4/plugins
  import:       /home/ubuntu-user/.config/Neo4j Desktop/Application/neo4jDatabases/database-40a013bb-9709-440c-a2d8-4be36145611d/installation-4.0.4/import
  data:         /home/ubuntu-user/.config/Neo4j Desktop/Application/neo4jDatabases/database-40a013bb-9709-440c-a2d8-4be36145611d/installation-4.0.4/data
  certificates: /home/ubuntu-user/.config/Neo4j Desktop/Application/neo4jDatabases/database-40a013bb-9709-440c-a2d8-4be36145611d/installation-4.0.4/certificates
  run:          /home/ubuntu-user/.config/Neo4j Desktop/Application/neo4jDatabases/database-40a013bb-9709-440c-a2d8-4be36145611d/installation-4.0.4/run
Starting Neo4j.
WARNING: Max 8192 open files allowed, minimum of 40000 recommended. See the Neo4j manual.
2020-06-18 07:38:58.216+0000 INFO  ======== Neo4j 4.0.4 ========
2020-06-18 07:38:58.343+0000 INFO  Starting...
2020-06-18 07:39:48.918+0000 INFO  Sending metrics to CSV file at /home/ubuntu-user/.config/Neo4j Desktop/Application/neo4jDatabases/database-40a013bb-9709-440c-a2d8-4be36145611d/installation-4.0.4/metrics
2020-06-18 07:39:49.259+0000 INFO  Bolt enabled on localhost:7687.
2020-06-18 07:39:49.259+0000 INFO  Started.
2020-06-18 07:39:52.102+0000 WARN  Server thread metrics not available (missing neo4j.server.threads.jetty.all)
2020-06-18 07:39:52.133+0000 WARN  Server thread metrics not available (missing neo4j.server.threads.jetty.idle)
2020-06-18 07:39:53.511+0000 INFO  Server thread metrics have been registered successfully
2020-06-18 07:40:06.319+0000 INFO  Remote interface available at http://localhost:7474/

from hetionet.

dhimmel avatar dhimmel commented on August 11, 2024

The log output above looks okay to me. I don't see anything in it about loading the database.

For me to help further, I'll need to know a little bit about your setup. Can you describe the steps you took to install & launch neo4j and load Hetionet database?

from hetionet.

jshubhangi2697 avatar jshubhangi2697 commented on August 11, 2024

I followed the instructions given :

Make sure the Neo4j server is stopped. Navigate to the data/databases directory inside the Neo4j directory and run:

# Backup graph.db directory if it exists
if [ -d "graph.db" ]; then
  mv graph.db graph.db.backup_`date +%F`
fi

# Download and extract graph.db for Hetionet v1.0
curl --location https://github.com/hetio/hetionet/raw/master/hetnet/neo4j/hetionet-v1.0.db.tar.bz2 | tar --extract --bzip2

After this in the config file I changed the default db to "graph"

from hetionet.

dhimmel avatar dhimmel commented on August 11, 2024

I looked into upgrading our docker image to use Neo4j 4.0 in #33. I ran into an error that is unrelated to this. But until that error is fixed (or at least I can find additional info on it), I don't plan on working on Neo4j 4.0 support for the Hetionet database.

In a95ae76, I updated the README to link to "Running the docker". Docker is another way to launch the database. It should work similarly across systems, so requires less user-specific support. Perhaps this will be sufficient for your needs.

from hetionet.

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.