heCodes
heCodes
JJanusGraph
Created by heCodes on 4/23/2025 in #questions
Unable to use mounted configuration
As per documentation https://docs.janusgraph.org/operations/container/#mounted-configuration, I need to provide ro to volume parameter for mounting custom configurations. However, I get below error in container Attaching to wfx-janusgraph-1 wfx-janusgraph-1 | cp: cannot create regular file '/etc/opt/janusgraph/janusgraph.properties': Read-only file system wfx-janusgraph-1 | cp: cannot create regular file '/etc/opt/janusgraph/janusgraph-server.yaml': Read-only file system wfx-janusgraph-1 | chown: changing ownership of '/etc/opt/janusgraph': Read-only file system wfx-janusgraph-1 | chmod: changing permissions of '/etc/opt/janusgraph': Read-only file system wfx-janusgraph-1 | chmod: changing permissions of '/etc/opt/janusgraph/janusgraph.properties': Read-only file system wfx-janusgraph-1 | chmod: changing permissions of '/etc/opt/janusgraph/janusgraph-server.yaml': Read-only file system
2 replies
JJanusGraph
Created by heCodes on 4/10/2025 in #questions
The traversal source [g] for alias [g] is not configured on the server.
I am running a janusgraph container locally and trying to execute graph traversal commands via my java application code. (I have verified the janusgraph container connection with backend storage which is a cassandra container) However, I get the error mentioned in the title. I have explicitly set alias in relevant plugin in janusgraph-server.yaml ( org.apache.tinkerpop.gremlin.server.jsr223.GremlinServerGremlinPlugin: { MAPPING_ALIAS: g=graph }, however, I keep getting aforementioned text as warning in janus graph container logs and as error in my client code. I am using janusgraph image with tag 1.1.0 which internally uses tinkerpop 3.7.3
1 replies