You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like no data is saved to /data but instead everything is written in /var/lib/jetty/bigdata.jnl.
I tried to mount ./data/blazegraph:/var/lib/jetty instead but it fails as it turns /var/lib/jetty in an empty directory.
What did work was to mount the sole bigdata.jnl after having created it (to avoid letting docker create it as a directory) and set the file uid and gid to jetty user and group in the container, that is 100.
Without this flag, the root user fails to access /wdqs/data/data.jnl: "Permission Denied"
in the following environment:
- CentOS 7.6
- Docker 1.13.1
- SELinux enabled
Clues on why we get this message:
- SELinux is enabled and might be messing with this container's file permissions
- there are known issues with mounting BlazeGraph data file: lyrasis/docker-blazegraph#12
Co-authored-by: Jums <jums@inventaire.io>
It looks like no data is saved to
/data
but instead everything is written in/var/lib/jetty/bigdata.jnl
.I tried to mount
./data/blazegraph:/var/lib/jetty
instead but it fails as it turns/var/lib/jetty
in an empty directory.What did work was to mount the sole
bigdata.jnl
after having created it (to avoid letting docker create it as a directory) and set the fileuid
andgid
tojetty
user and group in the container, that is100
.then
--volume ./data/blazegraph/bigdata.jnl:/var/lib/jetty/bigdata.jnl
successfully persist the dataThe text was updated successfully, but these errors were encountered: