We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de5904a commit 1dd0580Copy full SHA for 1dd0580
hugegraph-server/hugegraph-dist/src/main/java/org/apache/hugegraph/cmd/InitStore.java
@@ -101,6 +101,11 @@ private static HugeGraph initGraph(String configPath) throws Exception {
101
LOG.info("Skip init-store due to the backend store of '{}' " +
102
"had been initialized", graph.name());
103
backendStoreInfo.checkVersion();
104
+ /*
105
+ * Init the required information for creating the admin account
106
+ * (when switch from non-auth mode to auth mode)
107
+ */
108
+ graph.initSystemInfo();
109
} else {
110
initBackend(graph);
111
}
0 commit comments