Seafile Android, both from Google Play and downloading the last version from Github (3.0.7) fail to sync the files. Tapping on a file, gives “Failed to download file, “Network Error””. Conversely, I can download the file via long pressing it and downloading locally, but it fails to sync when I update it.
The only exception are pictures. Pictures get downloaded by single tap.
This way is pretty useless.
I am using Oxygen 15 (Android 15)
1 Like
Something similar happens to me, it shows an Network Error anytime I try to upload a video file, which is larger then 100MB. I don’t know what is going on on the app side, maybe something related to http vs https when splitting the bigger file into chunks? Pure guess at this point since the error is not informative at all!
I can upload it through https on my phone when I open a browser tab
I have exactly the same phenomenon that was already reported by CarloPiana. Download works on Web and Windows-Sync-Client, pics get shown in the app, but nothing that requires external applications such as pdf, svg and txt. It always reports a network error. But when I download a file by long pressing, it works as expected. My Android is 13. On the server I don’t see any errors in the log. Really seems to be related to the app.
1 Like
I just encountered the same issue today on a Pixel 6 Pro running Android 15. Anything that uses an external viewer seems to report a Network error, but pictures and movies open without an issue.
I’m running into the same issue on two servers, one running v11 and one on v12, both running in Docker.
I can access everything perfectly fine from the Windows clients and Web UIs. Android can upload but can’t download anything that needs to open in an external app.
In the access logs I was able to find this:
Android fails:
“GET /api2/repos//file/detail/?p=%2F.pdf HTTP/1.1” 500 285 “-” “okhttp/3.14.9” 0.188
Windows accessing the same file:
“GET /api2/repos//file/?p=%2F.pdf HTTP/1.1” 200 107 “-” “Mozilla/5.0” 0.024
The Android app is trying to access the file details api while Windows is using the file api. The Windows request is followed up with a request to seafhttp but the Android one is not.
Edit: My client is also using an iPhone and having the same problem on the v11 server.
Edit 2: Realized it seems to be the file details api function in my v12 server just isn’t working at all. If I try to check the properties of a file from my WebUI I get the same error in the logs. So my next step if to try and fix that and see if it solves the problem.
Edit 3: In case this helps anyone else, I finally solved my problem. There was a database update that was apparently missed at some point in the past which broke file comments, and the mobile apps need that working.
https://manual.seafile.com/11.0/upgrade/ce-7.0/
1 Like