Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stardog cannot write on the persistent volume #75

Open
fungiboletus opened this issue Jul 8, 2022 · 1 comment
Open

Stardog cannot write on the persistent volume #75

fungiboletus opened this issue Jul 8, 2022 · 1 comment

Comments

@fungiboletus
Copy link

When using the default configuration, stardog does not have the permission to write ont he persistent volume. This is because the persistent volume is owned by root and stardog doesn't use run with the root user by default.

STARDOG_HOME '/var/opt/stardog/' is not writeable by the current user

A workaround is to run stardog as root:

  securityContext:
    enabled: true
    runAsUser: 0
    runAsGroup: 0
    fsGroup: 0

A better solution would be to use the busybox init container, not only when the cluster is enabled, to change the permissions before stardog starts.

@pcompieta
Copy link

If it helps, this problem was gone the moment we tried "storage type : azurefile" required by AKS for #74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants