-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
OC 8.2.2 iOS/Android App upload fails #22426
Comments
Looked at the referenced case and made some changes to php upload limit. And now I have a new error:
|
Any details about your server configuration, please? |
Ubuntu 14.04 Not sure what other details you'd need, but, I can provide most of what you are looking at. Thanks! |
Sorry, ownCloud 2.2? The uploads still don't get to the server and have the same error notification in Android, right? |
Typo. Sorry. OwnCloud 8.2.2 Yes, both Android and iOS error when trying to upload. |
Oh, sorry, I should have noticed... Did you test the desktop client? |
Do you mean a desktop sync client? No, I do not. I use the web interface for uploads and accessing the files. |
Yes, that a meant. OK, thinking in Android, the problem now seems that the composition of the file in the server after all the chunks were sent is taking "too long". The Android app should be more resilient for this case, since there is information enough in the response of the last chunk to handle this and do not fail in the app. If I'm not wrong, desktop sync client already takes this into account, that's why I asked about it. BUT, if that was the only problem then you would see the files uploaded in the web interface, sooner or later. If that's not the case, then there's something else in the server side preventing that the composition of the file from the chunks finishes. Can't you see any other error or warning in the logs? Maybe increasing the log verbosity? The problem appears no matter where is the target folder of the upload, or maybe just in some folders? Maybe in external storage? The problem appears also if you disable encryption? |
I forgot: how did you perform the server upgrade: manual installation, packages, upgrader app? |
Could you check to upload a file smaller than 1MB from the Android app and see if there is any difference? |
Yes, the problem happens if I upload to the root of the storage or if I upload to a folder. The problem still happens without encryption. Trying to upload a file smaller than 1MB didn't work. And I updated manually, disabled apps, put OC in maintenance, scanned all the files after upgrade, then reenabled apps and took OC out of maintenance. The logs I've provided are from the web interface's Admin section. I'll check the server side and upload log entries from there in a bit. Thanks for the help! |
@deejaymodish , thank you for the info. You said you made some configuration changes in your server. Anything similar to https://forum.owncloud.org/viewtopic.php?f=17&t=30646 ? |
@davivel I only changed php upload limits. I already had .htaccess limit changed to upload large files from web interface, but, didn't change the /etc/php5/apache2/php.ini side. This is my virutalhost file:
|
New one.
|
This looks like an environment issue. This happens because the data wasn't fully transferred to / received by the server. It can happen in case of timeouts (slow connections) or some configuration issue in the PHP environment (php-fpm, etc). Also check whether you always get the same numbers or different numbers for the same file. If the numbers change for each request, then it's very likely to be a timeout issue. Else it's probably a configuration issue. You might have more luck checking the forums or https://owncloud.org/support/ |
As this seems to be a setup issue I will close this ticket. |
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. |
Updated OC to 8.2.2 recently, upon doing so, it seems that uploading from both the iOS and Android apps no longer work. If I try to upload from either app, I get an error from Android that says cannot upload or from iOS Waiting for Server Connection. The error logs from the gui seem to indicate that it is WebDAV issue, but, I can sync files using a WebDAV sync app.
Any ideas?
The text was updated successfully, but these errors were encountered: