-
Notifications
You must be signed in to change notification settings - Fork 278
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
Crash when uploading a file from seafile android app #758
Comments
App Version 2.2.6, Android 7.0, Moto G5 Plus |
The problem occurs, when choosing a file to upload from SD card. When choosing a file stored in internal memory of the smartphone, the upload works... |
same thing happening to me. device Note8 Oreo |
Yeah, and just look at google play store comments. There are plenty, who have the same problem that upload does not work. And that problem does not exists since yesterday, but for months. Is seafile still activley developed?! Only other option would be to move to nextcloud, but i don't want to yet. Plzz fix, uploading is crucial for an uploading and downloading app. And Android is the consumer most used plattform these days. So please please, fix it. |
We have fixed a few related issues that causing file uploading crash in recent versions. We will check a again. |
@freeplant I really, really appreciate your fast response 👍 . Is the version, in which the few related issues are solved, the play store version at this moment? If not, when will it be published in play store? Edit: I'm using version 2.2.8 (from playstore). And it still has a problem. On this https://github.com/haiwen/seadroid/releases site, there is only one newer version, which doesn't fix anything according file uploading regaring realese notes. So the problem still exists. If there is any way to help you, give you logs or something, I would be happy to help. |
@freeplant
prepareApiGetRequest redirects to The following check ( I have not yet looked at the upload function but I suspect it might be the same issue. |
Found the same issue for SeafConnection.java#getUploadLink. |
I created a PR for this, see #772 |
@Firefly1337 Thanks for debugging the problem. What version of the server do you use? In our API document
should return something like
|
@freeplant Ah! Issue is probably because my For me, the issue is clear now. But why are other people having issues uploading/downloading files? I am using the latest Seafile server 6.3.4 (Community edition). |
I tried another phone with android 8 - there was no problem. Thus the problem seems to be related to android 7 (tested with my smartphone and my tablet - they are using android 7). I now tested on my android 7 tablet all 2.2* versions (including the newest release at this moment): (Switching to seafile during uploading says "Hochladen fehlgeschlagen" or translated "upload failed") As you can see 2.2.1 is the last working version. So the new changes made in 2.2.2 are faulty. I hope that knowing the problem is related to android 7 and the problem began in 2.2.2 and there are still many people with android 7 having the problem (look play store page), it is easier for you to fix this now. If i can do anything to help you, post logs somehow or test if a new release fixes the problem or so, just say, i'm happy to help you. |
Btw, i too have a problem with note 8 android 8. Auto upload is working. But it wont upload all/completely all the folder images. Tried 2.2.1 ~ upload halfway then nothing. Phone is not root. Not sure where to find log from my android phone. Server : community 6.3.4 raspi Alex |
@alexharnozd Oh, you think someone will fix that? I don't think so. I'm a bit depressed that nobody did something after my clear information and nobody even commented on that. For now I just accepted, that android 7 will never work with newer versions and just use the older version for that. For Android 8 newest version is ok. But anyway, you have android 8, so I suppose it's maybe more a thing of battery optimizing. Go into os deselect seafile for battery optimazation/saving. Does the problem then still appear? |
@DoS007 nothing much we can do on our end. Unless we go deep to the on how and do by ourself which is unlikely. Hahaha Thanks for you advise. I will give it a try now. And while for your problem. All the best for your problem, really hope someone could assist you for a help/hints |
@DoS007 been trying outbyour way for permission battery optimization and so on to be switch off/ignore for seafile apps. |
Hi @DoS007, I actually tried out 2.2.13 android to my wife phone. While for me. Edit : i follow yoir advise by switching off battery optimisation by ignored seafile apps on my phone. Alex |
@alexharnozd don't know why this is happening |
My Android app version 2.2.14 also crashes. Is there anything I can do to help debug? My seafile server is behind a fritzbox router and an Apache proxy. |
Same here with F-Droid version 2.2.46 (121, added on 2022-07-12) under Android 7.1.1. |
When Choosing "Add" --> "Upload file" the app crashes each time.. Several crash reports via android crash reporting has been already sent.
The text was updated successfully, but these errors were encountered: