我正在使用最新的Docker image of OrientDB(3.0.0m2
,但这也发生在2.2.26
图片上),当我尝试使用3个卷映射运行它时config
,databases
和backup
)+ ORIENTDB_ROOT_PASSWORD
环境变量,我有以下错误,无法访问OrientDB Studio:
2017-09-11 20:28:44:304 INFO Installing dynamic plugin 'orientdb-studio-3.0.0m2.zip'... [OServerPluginManager]Error on installing dynamic plugin 'studio'
com.orientechnologies.orient.core.exception.OConfigurationException: HTTP listener not registered while installing Static Content command
at com.orientechnologies.orient.server.plugin.OServerPluginManager.registerStaticDirectory(OServerPluginManager.java:224)
at com.orientechnologies.orient.server.plugin.OServerPluginManager.installDynamicPlugin(OServerPluginManager.java:383)
at com.orientechnologies.orient.server.plugin.OServerPluginManager.updatePlugin(OServerPluginManager.java:211)
at com.orientechnologies.orient.server.plugin.OServerPluginManager.updatePlugins(OServerPluginManager.java:309)
at com.orientechnologies.orient.server.plugin.OServerPluginManager.startup(OServerPluginManager.java:95)
at com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:1064)
at com.orientechnologies.orient.server.OServer.activate(OServer.java:400)
at com.orientechnologies.orient.server.OServerMain$1.run(OServerMain.java:46)
我正在使用以下命令启动图像:
docker run -it --rm -p 2424:2424 -p 2480:2480 \
-v /run/shm/docker_data/config:/orientdb/config \
-v /run/shm/docker_data/databases:/orientdb/databases \
-v /run/shm/docker_data/backup:/orientdb/backup \
-e ORIENTDB_ROOT_PASSWORD=orientdb_root_password \
orientdb:3.0.0m2
它实际上在包含此orientdb-server-config.xml
卷的config
文件中生成<network>
<protocols>
<protocol implementation="com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary" name="binary"/>
</protocols>
<listeners>
<listener protocol="binary" socket="default" port-range="2424-2430" ip-address="127.0.0.1"/>
</listeners>
</network>
文件(确实缺少任何HTTP侦听器):
LocalDateTime.now().format(DateTimeFormatter.ofPattern("HHmm");
somebedoy知道如何使Studio真正起作用吗?