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

Improve performance of the "fix permissions" step in ncp-update-nc #1688

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

powerflo
Copy link

@powerflo powerflo commented Jan 7, 2023

The "fix permissions" step is really slow when the nextcloud folder contains a lot of data. In a docker setup the data directory is in nextcloud/data so the folder can be really big. Even on my small test setup the "fix permissions" step took more than 20 minutes. Using "chmod -R ..." reduces the time to around 20 seconds.

Signed-off-by: Florian Wallner [email protected]

The "fix permissions" step is really slow when the nextcloud folder contains a lot of data. In a docker setup the data directory is in nextcloud/data so the folder can be really big.
Even on my small test setup the "fix permissions" step took more than 20 minutes.
Using "chmod -R ..." reduces the time to  around 20 seconds.

Signed-off-by: Florian Wallner <[email protected]>
@delete-merged-branch delete-merged-branch bot deleted the branch nextcloud:devel January 8, 2023 20:50
@delete-merged-branch delete-merged-branch bot deleted the branch nextcloud:devel January 22, 2023 00:56
@delete-merged-branch delete-merged-branch bot deleted the branch nextcloud:devel January 22, 2023 13:10
@delete-merged-branch delete-merged-branch bot deleted the branch nextcloud:devel January 22, 2023 13:47
@TobiGr
Copy link

TobiGr commented Jun 26, 2024

This should really be merged, the fix permissions step took more than 30 minutes on my setup.

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

Successfully merging this pull request may close these issues.

2 participants