location / {
proxy_set_header Host $host:20080;
Thanks explaining this. For clarity for everyone, when you say “For Nginx” that would be the Nginx server inside the Docker container.
Since most people are using a custom port, please consider doing both of the following:
document this in the installation guide
generate the Nginx conf inside the container based on the ports
mapping value (or add an env variable that allows setting the external port), and warn the user that changing the ports
value (or the env value) requires regenerating the docker or manual editing of nginx conf.
Otherwise a lot of people will be caught up by this.
Having the same issue. I followed the instruction about setting the port on the Nginx, and now after log in this appears…
I’ve set the custom port (8181) to location / and location /seafdav - Am I doing something wrong and I’m missing it?
I can’t seem to find the seahub.log file from my docker installation (Unraid), but I found the seahub.access.log - apparently there’s an internal error? What should I look for?
Alternatively, if there’s a place where they explain how to do the installation in unRaid, i’ll look it myself (I couldn’t find any info unfortunately, so I went somewhat blind. Just a hobbyist, so i probably did some step wrong)
10.253.0.3 [01/Dec/2023:23:40:13 -0800] “GET /accounts/login/?next=/ HTTP/1.1” 200 3977 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0” 1.054
10.253.0.3 [01/Dec/2023:23:40:17 -0800] “POST /accounts/login/?next=/ HTTP/1.1” 500 285 “http://(Internal-IP):8181/accounts/login/?next=/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:120.0) Gecko/20100101 Firefox/120.0” 0.386
"Depending on your installation method, seahub.log files are typically located in either of these two directories: /seafile-install-path/logs/
or /tmp/
.
Or, you can enable debug mode by adding DEBUG=True
to seahub_settings.py, after you restart your Seafile, detailed error msg will be showed on the webpage.