XigmaNas (6026, FreeBSD 11.2-RELEASE-p3)
I tried to install seafile (not upgrade) in jail. Everything was good (installation of packages, connection to MySQL, launch of seafile server), except for launching seahub, it gives an error, see below:
root@seafile:/ # service seafile start
[10/31/18 19:02:22] …/common/session.c(132): using config file /usr/local/www/haiwen/conf/ccnet.conf
Starting seafile server, please wait …
Seafile server started
root@seafile:/ # service seahub start
LANG is not set in ENV, set to en_US.UTF-8
LC_ALL is not set in ENV, set to en_US.UTF-8
Starting seahub at port 8000 …
Error: ‘/usr/local/www/haiwen/conf/gunicorn.conf’ doesn’t exist
Error:Seahub failed to start.
Please try to run “./seahub.sh start” again
Pls, help to solve my problem.
I even do not know what to look for…
There is not a lot of information in the internet.
The update couldn’t write into the conf/ folder due its permissions. Change them, update again, them change them back. Best you change them for all seafile folders.
import os
daemon = True
workers = 5
# default localhost:8000
bind = "0.0.0.0:8000"
# Pid
pids_dir = '/path/to/seafile-installation/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
root@seafile:/usr/local/www/haiwen/seafile-server # service seahub start LANG is not set in ENV, set to en_US.UTF-8 LC_ALL is not set in ENV, set to en_US.UTF-8 Starting seahub at port 8000 … Error:Seahub failed to start. Please try to run “./seahub.sh start” again root@seafile:/usr/local/www/haiwen/seafile-server # ./seahub.sh start
Starting seahub at port 8000 … python2.7: can’t open file ‘/usr/local/www/haiwen/seafile-server/seahub/thirdpart/gunicorn’: [Errno 2] No such file or directory Error:Seahub failed to start. Please try to run “./seahub.sh start” again root@seafile:/usr/local/www/haiwen/seafile-server #
Hi there … had the same problem while activating a seafile server installing from scratch version 6.3.4
seafile-server_6.3.4_x86-64.tar.gz
while starting seahub.service (systemctl start seahub.service ) i receive a
Apr 16 17:03:34 seafile-int-01.amana.vpn seahub.sh[9065]: Error: ‘/opt/seafile/conf/gunicorn.conf’ doesn’t exist
I noticed @marcusm sent the file content which can be easily edited to suit my needs however it would be beneficial (specially for me since i am creating an ansible role) to have a proper install with all bell and whistles … is it possible ?
Hello,
Thank you @marcusm and @bionade24 for your gunicorn.conf content.
I am trying to get a new seafile server (version 6.3.9 pro) to run before a migration, using the install script with nginx and MariaDB. Despite the fact that I did add the gunicorn file to the conf directory, seahub will still not start
Why does the official script doesn’t come clean with the gunicorn file and a working seahub ?
Here is what I’ve got :
Starting seahub at port 8000 ...
Error:Seahub failed to start.
Please try to run "./seahub.sh start" again```
Have you got any idea of what could go wrong ?