New Seafile User - Problem up and downloading 127.0.0.1 refuses connection

Hi Seafile Community,

i wanted to Install and use Seafile hosted on my own homeserver (Ubuntu 22.04).
I installed the ce-Version 10.0.1, I have not yet added nginx. I did the installation three times now and always get the same error:

I get the server to run and can access it in the browser and create librarys and so on, but i cant upload or download a file over the browser. I get the a 127.0.0.1 refused connection error.

I can however upload files over Seadrive from the client on a windows pc. It dosent work from an iphone via the app or browser either.

I checked the common problems with the server installation. I let the ports communicate over the firewall, dosent change it, even when completly deactivating it. I checked the File_Server_root address.

Has anyone got an idea whats going worng? I would like to get that to work before i put nginx before it.

Thank you for any answers in advance.

Hi
you have to modify the file “gunicorn.conf.py” in the “conf” folder of Seafile

import os

daemon = True
workers = 15

# default localhost:8000
bind = "127.0.0.1:8000"

# Pid
pids_dir = '/home/boubou/cloud/seafile/pids'
pidfile = os.path.join(pids_dir, 'seahub.pid')

# for file upload, we need a longer timeout value (default is only 30s, too short)
timeout = 86400

limit_request_line = 86400

and you have to change the bind to 0.0.0.0 and restart the server or run the following commands in the “seafile-server-latest” folder :
./seafile.sh restart
./seahub.sh restart

import os

daemon = True
workers = 15

# default localhost:8000
bind = "0.0.0.0:8000"

# Pid
pids_dir = '/home/boubou/cloud/seafile/pids'
pidfile = os.path.join(pids_dir, 'seahub.pid')

# for file upload, we need a longer timeout value (default is only 30s, too short)
timeout = 86400

limit_request_line = 86400

and when nginx is installed, the bind will have to be changed to 127.0.0.1 so that the seafile is only accessible with nginx in https

Thank you for the fast reply, really appreciate it, but I already did that, i looked again, but that seems not to be the issue.

hi
it’s a manual installation of Seafile or with docker
can you post :
seahub.init.log
seafile.init.log
controller.log