diff --git a/hugegraph-server/hugegraph-dist/src/main/java/org/apache/hugegraph/cmd/InitStore.java b/hugegraph-server/hugegraph-dist/src/main/java/org/apache/hugegraph/cmd/InitStore.java index a18ae63330..d78f8a5eda 100644 --- a/hugegraph-server/hugegraph-dist/src/main/java/org/apache/hugegraph/cmd/InitStore.java +++ b/hugegraph-server/hugegraph-dist/src/main/java/org/apache/hugegraph/cmd/InitStore.java @@ -101,6 +101,8 @@ private static HugeGraph initGraph(String configPath) throws Exception { LOG.info("Skip init-store due to the backend store of '{}' " + "had been initialized", graph.name()); backendStoreInfo.checkVersion(); + // Initializing the information required for creating the admin account. + graph.initSystemInfo(); } else { initBackend(graph); }