diff --git a/code/common/service/src/main/java/nu/marginalia/service/server/NodeStatusWatcher.java b/code/common/service/src/main/java/nu/marginalia/service/server/NodeStatusWatcher.java index 6bba6dfd..b193b240 100644 --- a/code/common/service/src/main/java/nu/marginalia/service/server/NodeStatusWatcher.java +++ b/code/common/service/src/main/java/nu/marginalia/service/server/NodeStatusWatcher.java @@ -57,7 +57,8 @@ public class NodeStatusWatcher { private void setupNode() { try { - configurationService.create(nodeId, "Node " + nodeId, nodeId == 1, false); + configurationService.create(nodeId, "Node " + nodeId, true, false); + fileStorageService.createStorageBase("Index Data", Path.of("/idx"), nodeId, FileStorageBaseType.CURRENT); fileStorageService.createStorageBase("Index Backups", Path.of("/backup"), nodeId, FileStorageBaseType.BACKUP); fileStorageService.createStorageBase("Crawl Data", Path.of("/storage"), nodeId, FileStorageBaseType.STORAGE);