Fix: Neo4j permissions + stop-on-failure (install.sh)
Browse files- install.sh +2 -3
install.sh
CHANGED
|
@@ -211,14 +211,13 @@ for epoch in "${EPOCHS[@]}"; do
|
|
| 211 |
# Step 1: Download
|
| 212 |
log " [1/3] Downloading epoch ${epoch}..."
|
| 213 |
python scripts/download_epoch_artifacts.py --epoch "$epoch" || {
|
| 214 |
-
|
| 215 |
-
continue
|
| 216 |
}
|
| 217 |
|
| 218 |
# Step 2: Ingest (always pass --merge-neo4j; auto-detect handles empty DB)
|
| 219 |
log " [2/3] Ingesting epoch ${epoch} into databases..."
|
| 220 |
python scripts/ingest_epoch.py --epoch "$epoch" --merge-neo4j || {
|
| 221 |
-
|
| 222 |
}
|
| 223 |
|
| 224 |
# Step 3: Delete parquet files to free disk space
|
|
|
|
| 211 |
# Step 1: Download
|
| 212 |
log " [1/3] Downloading epoch ${epoch}..."
|
| 213 |
python scripts/download_epoch_artifacts.py --epoch "$epoch" || {
|
| 214 |
+
error "Failed to download epoch ${epoch}. Cannot continue."
|
|
|
|
| 215 |
}
|
| 216 |
|
| 217 |
# Step 2: Ingest (always pass --merge-neo4j; auto-detect handles empty DB)
|
| 218 |
log " [2/3] Ingesting epoch ${epoch} into databases..."
|
| 219 |
python scripts/ingest_epoch.py --epoch "$epoch" --merge-neo4j || {
|
| 220 |
+
error "Ingestion failed for epoch ${epoch}. Cannot continue."
|
| 221 |
}
|
| 222 |
|
| 223 |
# Step 3: Delete parquet files to free disk space
|