GithubHelp home page GithubHelp logo

Comments (4)

dhimmel avatar dhimmel commented on August 11, 2024 1

Docker image doesn't seem to be moving run-docker.sh to the right directory

The files in the host directory of this repo are not part of the Docker image. Instead, they must be moved (manually for now) to the home directory of your DigitalOcean droplet. As a start, you may only need run-docker.sh, which is the command to run the Docker in production. If you want to proceed without an SSL certificate, then remove the line:

  --volume=$HOME/ssl:/var/lib/neo4j/certificates \

from hetionet.

zeluspudding avatar zeluspudding commented on August 11, 2024 1

I'm preparing a custom demo much like you have with hetionet but with finance data. What you've done is a great scaffold for my need so the plan is to reverse engineer your processes and modify to suit.

I found workarounds to all the problems I had:

Problem: No space left on device
Solution: Skip figuring it out and just rebuild the droplet

Problem: Running file run-docker.sh from my droplet's root ($HOME) directory made docker fail/complain about \r on the first line (docker run \). I'm guessing it had something to do with carriage returns
Solution: Instead of trying to fix that I skipped uploading your host files and just ran this in my droplet's shell:

 docker run \
    --detach \
    --publish=7474:7474 \
   --publish=7473:7473 \
   --publish=7687:7687 \
   --volume=$HOME/hetionet-data:/data \
   --volume=$HOME/neo4j-logs:/var/lib/neo4j/logs \
   --env=NEO4J_dbms_memory_pagecache_size=1G \
   --env=NEO4J_dbms_memory_heap_maxSize=512 \
     dhimmel/hetionet

This is different from your run-docker.sh command in that it doesn't care about SSL and maps container ports 7474 to host port 7474. Same for 7473 to 7473 (whereas yours did 80:7474 and 443:7473).

Side Problem: Uploading stuff to droplet
Solution: Skip messing with cert files and just connect to the droplet in filezilla doing the following

 Host: sftp://Your_IP
 User: root (or your username)
 Password: Your password

from hetionet.

dhimmel avatar dhimmel commented on August 11, 2024

Regarding the No space left on device error, perhaps this could occur if you're not using a volume for storing the Neo4j database (which is enabled with --volume=$HOME/hetionet-data:/data).

What is your immediate goal? Do you just want to have a personal Hetionet instance to query or are you trying something else?

from hetionet.

dhimmel avatar dhimmel commented on August 11, 2024

I'm preparing a custom demo much like you have with hetionet but with finance data. What you've done is a great scaffold for my need so the plan is to reverse engineer your processes and modify to suit.

Awesome -- can't wait to see your database! I'd recommend making your own Docker image. You can use the Dockerfile as a template -- you'll want to remove the Piwik analytics (or swap in your own analytics).

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.