Skip to content
This repository was archived by the owner on Sep 3, 2021. It is now read-only.

Commit c92315b

Browse files
committed
set upgrade store flag in start script instead of install
1 parent 2db1272 commit c92315b

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

scripts/install-neo4j.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ if [ ! -d "neo4j/data/databases/graph.db" ]; then
1212
sudo apt-get install unzip
1313
unzip recommendations.db.zip
1414
mv recommendations.db neo4j/data/databases/graph.db
15-
echo "\ndbms.allow_upgrade=true" >> neo4j/conf/neo4j.conf
1615
else
1716
echo "Database is already installed, skipping"
1817
fi

scripts/start-neo4j.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ if [ ! -d "neo4j/data/databases/graph.db" ]; then
66
echo "Neo4j not installed correctly, run ./scripts/install_neo4j"
77
exit 1
88
else
9-
#[ "$NEO4J_VERSION" == "3.4.0" ] && FLAGS="dbms.allow_upgrade=true" || FLAGS=""
109
echo "dbms.allow_upgrade=true" >> ./neo4j/conf/neo4j.conf
1110
# Set initial and max heap to workaround JVM in docker issues
1211
dbms_memory_heap_initial_size="2048m" dbms_memory_heap_max_size="2048m" ./neo4j/bin/neo4j start

0 commit comments

Comments
 (0)