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

Sharing big folders still a problem in my opinion #30868

Closed
ghost opened this issue Mar 22, 2018 · 11 comments
Closed

Sharing big folders still a problem in my opinion #30868

ghost opened this issue Mar 22, 2018 · 11 comments

Comments

@ghost
Copy link

ghost commented Mar 22, 2018

Steps to reproduce

  1. Create a folder with a lot of files (3000-4000) and a size of more than one GB
  2. Share this folder with another user with the webclient
  3. Try access the files with the webclient by the other user or try to sync this folder by the syncclient logged in with the user credentials from the other user

Expected behaviour

The webclient should show the files or the syncclient should sync the files

Actual behaviour

The webclient can't open a lot of the files and the syncclient can't sync the files

There is one possibility to repair the synchronization. I move the files out of the cloud (with the syncclient for example) by the user with has shared the files and move the files after the synchronization in the cloud again.

Server configuration

Operating system:
Hosted ownCloud

Web server:
Hosted ownCloud

Database:
Hosted ownCloud

PHP version:
Hosted ownCloud

ownCloud version: (see ownCloud admin page)
10.0.3

Updated from an older ownCloud or fresh install:
Updated

Where did you install ownCloud from:

Signing status (ownCloud 9.0 and above):

@ownclouders
Copy link
Contributor

GitMate.io thinks the contributor most likely able to help you is @PVince81.

Possibly related issues are #10531 (Problem with shared folders), #11433 ([Sharing] Not possible to share after having shared a folder), #3360 (Shared folder disappear ), #16871 (Force share a folder), and #4690 (Shared folder Issue).

@PVince81
Copy link
Contributor

Is encryption enabled ? Can you check open the network console before sharing and see whether the server call for sharing ends or whether it takes ages ?

can't sync the files

Can you post some logs or a more precise error message ?

@PVince81 PVince81 added this to the backlog milestone Mar 26, 2018
@PVince81
Copy link
Contributor

I'm mostly suspecting a PHP timeout during the share operation which possibly takes too long when using encryption, because encryption needs to update keys for every single file.

@ghost
Copy link
Author

ghost commented Mar 26, 2018

Thanks for responding.

Encryption is enabled. I have no access to the network console.

I try to create the same situation again because in the meanwhile I was uploading the folders again after they have been shared and then it worked. Then I try to post you the error messages.

@PVince81
Copy link
Contributor

Please ask your hoster to increase the PHP timeout value to make sure the operation can complete properly.

I'll close this in favor of #24509 which is a concept about have long running operations run outside the current PHP request context.

@ghost
Copy link
Author

ghost commented Mar 26, 2018

A few months ago the hoster increased the time out up to 30 seconds and the keep alive to 15 seconds. Is there any other value?

@PVince81
Copy link
Contributor

It's all a matter of how much data. the more data, the higher the value needs to be.
Also depends on the server performance and how fast it can handle the query.

15 seconds is way too low. Maybe try with 1-5 minutes.

@ghost
Copy link
Author

ghost commented Mar 26, 2018

Ok. Are you sure that only the keep alive value has to be increased to 1-5 minutes? What about the time out value?

@PVince81
Copy link
Contributor

Same for the timeout value AFAIK

@ghost
Copy link
Author

ghost commented Mar 31, 2018

The hoster said, that he doesn't increase the time because the system would be unstable. But to me the case could be closed.

@lock
Copy link

lock bot commented Jul 30, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants