sagemathinc / cocalc-docker

DEPRECATED (was -- Docker setup for running CoCalc as downloadable software on your own computer)
https://cocalc.com
Other
398 stars 103 forks source link

Cannot download shared files #185

Closed Maarrk closed 1 year ago

Maarrk commented 1 year ago

On the public page of a shared file, after clicking the links "Embed", "Download" and "Raw", the page shown is "404 - Page Not Found". The "Edit" button works as expected, displaying the file if logged in. The issue is the same for all publishing settings (listed, unlisted, authenticated), and when logged in and out. I also tried with different types of files, and using vanity link, all to the same effect. Before doing any of this, I enabled the "Allow public file sharing" in "Site Settings".

It may be relevant that I am running the server behind a http reverse proxy, having set base path according to instructions in README. As far as I know, all other features work correctly.

obraz

obraz

obraz

Thanks in advance for any help!

williamstein commented 1 year ago

Is there any quick test you could do to make sure the problem is with the base path? It might be way easier for us to fix this if you can come up with some steps to follow:

I know it's a lot of work, but we'd have to do the same. It'll help a lot. Thanks!

Maarrk commented 1 year ago

No worries, thanks for suggestion on specific steps. I'll get back to you once I try them

Maarrk commented 1 year ago

I had the same issue on new containers, even not having a base path, and then another day something I did resolved it, also for my original instance. Since the problem behaved in the same way for different containers, it's probably on my host system.

I think I should close the issue, since I am unable to reproduce it, sorry to bother you.