Cannot download file via web-interface: Error 404. Upload works fine

Hello!

I just set up seafile pro version 12.0.16 (binary-setup) with nginx web-server on Ubuntu Server. Everything works fine except when I want to download a file via the web-interface. When I click the little download button my web browser shows this in a new tab:

{"error":{"code":404,"description":"The requested resource could not be found.","reason":"Not Found"}}

The URL looks like this:

https://domain.example/seafhttp/repos/934ed71a-b715-4823-88c7-d476c52dc3ba/files//New Text Document 2.txt/?op=download

That is odd because file preview works.

Upload via web-interface works as expected. Also file sync via client works fine.

Is this a known issue and also should I add my config files (seafile, nginx) to this topic? How do I fix this?

Regards

https://domain.example/seafhttp/repos/934ed71a-b715-4823-88c7-d476c52dc3ba/files//New Text Document 2.txt/?op=download

you the double slash / symbol? try to remove one. I had the same issue and I fixed it using a rule on Traefik

Thank you for your reply. When I remove the extra slash, it still shows the same error JSON.

Regards

Check for errors in the logs

Nothing in the logs regarding this error 404.

I just upgraded to version 13.0.14 and this issue this remains. Any ideas?

11升级12留下的问题要修改seahub-***.conf配置文件的seahftp应该这是大致的

Thanks. My seahub-settings.conf file only contains SECRET_KEY =

What do I need to add to the conf file to make the download-Button work?

1 Like