Skip to content

Commit

Permalink
neo4j 3.5.12 upgrade bugfixes
Browse files Browse the repository at this point in the history
Update configuration to reduce warnings

Fix issues reported at #26 (comment)
  • Loading branch information
dhimmel committed Oct 28, 2019
1 parent dc6fb38 commit f62edbb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions hetnet/neo4j/deployment/install_ssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ cat > ./sync-neo4j-ssl.sh << EOF
# Use 'cp --dereference' to emphasize that we are copying the actual files.
cp --dereference --force /etc/letsencrypt/live/$SSL_DOMAIN/fullchain.pem /home/ubuntu/ssl/neo4j.cert
cp --dereference --force /etc/letsencrypt/live/$SSL_DOMAIN/privkey.pem /home/ubuntu/ssl/neo4j.key
# neo4j docker users neo4j user with id 101 and must be able to read neo4j.key. See https://github.com/hetio/hetionet/pull/26#issuecomment-547090526
chmod 644 /home/ubuntu/ssl/neo4j.key
EOF

mkdir -p /home/ubuntu/ssl/
Expand Down
2 changes: 1 addition & 1 deletion hetnet/neo4j/deployment/run-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ docker run \
--volume=/home/ubuntu/neo4j-logs:/logs \
--volume=/home/ubuntu/ssl:/ssl \
--env=NEO4J_dbms_memory_pagecache_size=1g \
--env=NEO4J_dbms_memory_heap_maxSize=2g \
--env=NEO4J_dbms_memory_heap_max__size=2g \
dhimmel/hetionet
4 changes: 2 additions & 2 deletions hetnet/neo4j/docker/files/neo4j.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# https://neo4j.com/docs/operations-manual/current/reference/configuration-settings/
#*****************************************************************

# The name of the database to mount
# The name of the database to mount (deprecated argument)
dbms.active_database=graph.db

# This setting constrains all `LOAD CSV` import files to be under the `import` directory. Remove or comment it out to
Expand All @@ -18,7 +18,7 @@ dbms.directories.import=import
dbms.security.auth_enabled=false

# Enable this to be able to upgrade a store from an older version.
dbms.allow_format_migration=true
dbms.allow_upgrade=true

#*****************************************************************
# Network connector configuration
Expand Down

0 comments on commit f62edbb

Please sign in to comment.