Skip to content

fail to persist data with the recommanded setup #12

@maxlath

Description

@maxlath

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.

mkdir -p ./data/blazegraph
touch ./data/blazegraph/bigdata.jnl
sudo chown 100:100 ./data/blazegraph/bigdata.jnl

then --volume ./data/blazegraph/bigdata.jnl:/var/lib/jetty/bigdata.jnl successfully persist the data

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions