Seafile started but no response

Hi, thank you seafile team for creating this product.

First and foremost, my seafile and seahub started without a hitch. But whenever i access
10.0.0.18:8000 or 10.0.0.18:8082 from my chrome nothing working, connect from client nothing working. When i start seafile i have a message shown on terminal not sure it matter or not.

  • ** Message : 09:58:38.265: seafile-controller.c(572): No seafevents.

Seafile server started

seafile.conf

[file-server]
port=8082

ccnet.conf

[General]
SERVICE_URL = 10.0.0.18:8000

seafdav.conf

[WEBDAV]

enabled = false

port = 8080

fastcgi = false

host = 0.0.0.0

share_name = / 

seafile.logs

[11/19/20 09:40:35] http-server.c(196): fileserver: fixed_block_size = 8388608
[11/19/20 09:40:35] http-server.c(211): fileserver: web_token_expire_time = 3600
[11/19/20 09:40:35] http-server.c(226): fileserver: max_indexing_threads = 1
[11/19/20 09:40:35] http-server.c(241): fileserver: max_index_processing_threads= 3
[11/19/20 09:40:35] http-server.c(263): fileserver: cluster_shared_temp_file_mode = 600

ccnet.logs

[11/19/20 09:37:45] …/common/session.c(148): using config file /home/bft-server-1/bioforcetech/conf/ccnet.conf

[11/19/20 09:37:45] …/common/session.c(268): Update pubinfo file

[11/19/20 09:37:45] socket file exists, delete it anyway

[11/19/20 09:40:35] …/common/session.c(148): using config file /home/bft-server-1/bioforcetech/conf/ccnet.conf

[11/19/20 09:40:35] …/common/session.c(268): Update pubinfo file

[11/19/20 09:40:35] socket file exists, delete it anyway

xie xie.

Hi Dennis, welcome to the Seafile Forum!
For the following answers, I assume you do not run Seafile behind a proxy.
The seafdav.conf is irrelevant because webdav is disabled.
The seafile.conf and the ccnet.conf look ok.
More important are the gunicorn.conf.py and the seahub_settings.py. Please post them too (after removing passwords from seahub_settings.py).
I’d say that your gunicorn only listens to requests from localhost.

Hi rdb, thank you for your prompt reply. I’m very thankful for your technical help.
I’m currently running everything locally, no proxy, everything connected to same network.

Firewall is already unblocked on port 8000, and 8002 as well. I don’t think it matters at this point.

Below are the configuration file.

seahub_settings.py
I commented secret key

-- coding: utf-8 --
#SECRET_KEY = “@=dfh@vc=*fnv0pm5^zasadaaaaaaas”

gunicorn.conf.py

import os
daemon = True
workers = 5
#default localhost:8000
bind = “127.0.0.1:8000”
#Pid
pids_dir = ‘/home/dennisserver/dennisseafile/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 = 1200
limit_request_line = 8190

I started lsof grep listen

python3 28380 dennisserver 6u IPv4 1558157 0t0 TCP 127.0.0.1:8000 (LISTEN)
python3 28382 dennisserver 6u IPv4 1558157 0t0 TCP 127.0.0.1:8000 (LISTEN)
python3 28383 dennisserver 6u IPv4 1558157 0t0 TCP 127.0.0.1:8000 (LISTEN)
python3 28384 dennisserver 6u IPv4 1558157 0t0 TCP 127.0.0.1:8000 (LISTEN)
python3 28385 dennisserver 6u IPv4 1558157 0t0 TCP 127.0.0.1:8000 (LISTEN)
python3 28386 dennisserver 6u IPv4 1558157 0t0 TCP 127.0.0.1:8000 (LISTEN)
seaf-serv 31020 dennisserver 15u IPv4 1686412 0t0 TCP *:8082 (LISTEN)

gunicorn.conf.py

try this
bind = “0.0.0.0:8000”

restart seafile

Same thing, no connection after restarting :woozy_face:

Is this your entire seahub_settings.py??

Below is my entire seahub_settings.py

Is something wrong? maybe i should reinstall?

seahub_settings.py

-- coding: utf-8 --
#SECRET_KEY = “@=dfh@vc=fnv0pm5^zrl@^8p44g2hkdro&&=g6vbp-e1wf%s”
DEBUG = True

Your seahub_settings.py is not ok. It is surprising that seahub starts after all.

Add this:

FILE_SERVER_ROOT = ‘http://10.0.0.18:8000/seafhttp
SERVE_STATIC = False
MEDIA_URL = ‘/media/’
SITE_ROOT = ‘/’
SITE_NAME = ‘WHATEVERNAME’
SITE_TITLE = ‘WHATEVERNAME’
LOGIN_URL = SITE_ROOT + ‘accounts/login’
COMPRESS_URL = MEDIA_URL
STATIC_URL = MEDIA_URL + ‘assets/’
TIME_ZONE = ‘Europe/Berlin’
ENABLE_SETTINGS_VIA_WEB = True
DEBUG = False

DATABASES = {
‘default’: {
‘ENGINE’: ‘django.db.backends.mysql’,
‘NAME’: ‘seahub_db’,
‘USER’: ‘seafile’,
‘PASSWORD’: ‘YOURPASSWORD’,
‘HOST’: ‘127.0.0.1’,
‘PORT’: ‘3306’,
}
}

Make sure that you replace WHATEVERNAME and YOURPASSWORD above. I also assume a.) you use MySQL/MariaDB (as opposed to SQLite) and b.) you run your DB on localhost under the default port 3306. The password required in the database block is the password of the database user created when executing ./setup-seafile-mysql.sh This may be the Seafile user, but maybe you gave it a different name.

If this doesn’t work, I sugggest you start over.