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

Alternative to rsync when using NFS #1582

Closed
quentinus95 opened this issue Sep 11, 2021 · 1 comment
Closed

Alternative to rsync when using NFS #1582

quentinus95 opened this issue Sep 11, 2021 · 1 comment

Comments

@quentinus95
Copy link

Hello,

I'm trying to deploy NextCloud using image library/nextcloud:22.1.0-apache. My NextCloud folder is mounted in an NFS volume.

When deploying, the entrypoint script hangs on step Initializing nextcloud 22.1.0.1.

Using strace I found that it starts to hang when calling rsync. My understanding is that rsync has very poor performance when used over NFS.

  • Could the entrypoint.sh be updated to get rid of rsync or maybe updated to only transfer a few large files instead of lots of small files?
  • Do you have any workaround or additional troubleshooting hints?
@quentinus95
Copy link
Author

I enabled a 3 minutes startup probe (it was disabled by default): https://github.com/nextcloud/helm/blob/master/charts/nextcloud/values.yaml#L370
It gave sufficient time for the app to start.

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

1 participant