Downloads through Cloud File Browser and web UI fails with 404 but syncs fine


I have used the quick-install script to install seafile on Debian 8, installed valid SSL certificates and successfully synced a number of encrypted and unencrypted libraries on macos Sierra.

However, if I try and download anything from the Cloud File Browser I get ‘Failed to download file’ and in ~/.ccnet/logs/applet.log I get ‘Failed to download file:’ and ‘request failed to https://…/files//’

On the server I can’t see anything relevant other than ccnet has a bunch of:

[09/29/16 01:28:27] ../common/session.c(398): Accepted a local client
[09/29/16 01:38:24] ../common/peer.c(943): Local peer down
[09/29/16 01:42:39] ../common/session.c(398): Accepted a local client
[09/29/16 01:53:24] ../common/peer.c(943): Local peer down
[09/29/16 01:54:39] ../common/session.c(398): Accepted a local client

and seahub_django_request.log has the following corresponding to the requests from the Cloud Browser:

2016-09-29 01:49:07,793 [WARNING] django.request:170 get_response Not Found: /apple-touch-icon.png
2016-09-29 01:49:54,155 [WARNING] django.request:170 get_response Not Found: /files/4bf4ebea-c219-460e-9492-bbd2415593a1/seafile-tutorial.doc
2016-09-29 01:58:07,134 [WARNING] django.request:170 get_response Not Found: /files/19e98ff3-3e81-48ab-8854-134906b7efcb/seafile-tutorial.doc

I can successfully view files through the web interface but I can’t actually download them from there either.

Any thoughts?


have you changed your SERVICE_URL and FILE_SERVER_ROOT setting at sysadmin->settings page ?

You rock @lian - yep, I had forgotten the trailing /seafhttp on FILE_SERVER_ROOT. Everything works fine now. Thanks again :-).