How to troubleshoot upload failures?

many files, especially pdf files, cannot be uploaded from my android client. it just shows “upload failed” in red text next to the file in the transfer-list.

what can I do to figure out the problem?

My specific issue turned out to be a 413 Request Entity Too Large error from the server. I found this under Network in Web Developer Tools in the browser when trying to upload.

On my Mac I see the same error code in the log file: ~/.ccnet/logs/seafile.log

It would have been helpful if the client would show the error code instead of just “Upload error” or “Unknown error”, which is all I get in the gui. “Upload error (413)” would have been very helpful.

Is there a way to view the log file for the android client?