-
Notifications
You must be signed in to change notification settings - Fork 17
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
Upload fails on files > 10 MB #198
Comments
I guess when guests do not have a home some temporary files cannot be created. So This is not a guests app issue but a core/webdav issue. Suggestion: close here and reopen in core. See my logs below. js errors
owncloud.log
|
Workaround:
|
@cortho We can use for the guest app that the guest-users use only the temp folder instead of a home folder like step 3 or the defined PHP temp folder. IMO this is a requirement for this app and not from the main core behavior. @PVince81 @felixboehm What's your opinion? I'm just trying to avoid change the core to fix any app. Keep the core simple 😄 |
That workaround shouldn't be necessary. The bug might be that core's read-only wrapper is too strong and also applies to the "cache" and "uploads" folder where it shouldn't. @IljaN please investigate |
@IljaN Any news? |
Still debugging, All directories can be created now but final chunk assembly MOVE fails with a 404 on .file |
I'm quite convinced this is a core issue, because guests do not have an upload directory in their homes (as opposed to full ownCloud users), maybe you'll find something there. |
Yes, likely a core issue to be identified with the readonly storage wrapper. |
Does anyone have a clue why this happens at 10MB and not with a smaller/bigger file size? |
less than 10MB the file is uploaded in 1 go, no intermediate pieces. |
@IljaN please link to your PR when done |
The fix was merged but there's some challenges with the tests:
|
and forward port needs fixing for code style:
|
all merged, closing |
@PVince81 |
@patrickjahns let's use a new ticket, is anyone of you working on this or do you need assignment from the server team ? |
new ticket here: #219 |
If a guest user uploads a file that is bigger than 10 MB the upload fails without a helpful error message in the web UI or the ownCloud log
Steps to reproduce:
Tested with OC 10.0.3, 10.0.4, 10.0.7
Tested on docker Ubuntu with apache2 PHP 7
enabled apps: guest app.
This is the only thing in the owncloud.log, but it seems not related to the problem, because it is also displayed if the upload is successful.
here is the network tab taken during a failed upload
@tomneedham @butonic @PVince81
The text was updated successfully, but these errors were encountered: