一个关于seahub无法启动的疑问,请各位大侠指导下!


#1

最近升级了7.0.4版本,但是遇到seahub无法启动的问题,退回到6.3.4版本,依然存在seahub无法启动问题。使用fastcgi看了下报错信息,如下:
[root@localhost seafile-pro-server-6.3.14]# ./seahub.sh start-fastcgi

LC_ALL is not set in ENV, set to en_US.UTF-8
Starting seahub (fastcgi) at 127.0.0.1:8000 …
Traceback (most recent call last):
File “/home/netdisk/seafile-pro-server-6.3.14/seahub/manage.py”, line 10, in
execute_from_command_line(sys.argv)
File “/home/netdisk/seafile-pro-server-6.3.14/seahub/thirdpart/django/core/management/init.py”, line 364, in execute_from_command_line
utility.execute()
File “/home/netdisk/seafile-pro-server-6.3.14/seahub/thirdpart/django/core/management/init.py”, line 338, in execute
django.setup()
File “/home/netdisk/seafile-pro-server-6.3.14/seahub/thirdpart/django/init.py”, line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File “/home/netdisk/seafile-pro-server-6.3.14/seahub/thirdpart/django/apps/registry.py”, line 108, in populate
app_config.import_models()
File “/home/netdisk/seafile-pro-server-6.3.14/seahub/thirdpart/django/apps/config.py”, line 202, in import_models
self.models_module = import_module(models_module_name)
File “/usr/lib64/python2.7/importlib/init.py”, line 37, in import_module
import(name)
File “/home/netdisk/seafile-pro-server-6.3.14/seahub/seahub/base/models.py”, line 13, in
from seahub.group.models import GroupMessage
File “/home/netdisk/seafile-pro-server-6.3.14/seahub/seahub/group/models.py”, line 13, in
from seahub.profile.models import Profile
File “/home/netdisk/seafile-pro-server-6.3.14/seahub/seahub/profile/models.py”, line 206, in
from .utils import refresh_cache
File “/home/netdisk/seafile-pro-server-6.3.14/seahub/seahub/profile/utils.py”, line 8, in
from seahub.utils import normalize_cache_key
File “/home/netdisk/seafile-pro-server-6.3.14/seahub/seahub/utils/init.py”, line 1192, in
seafevents_api.init(EVENTS_CONFIG_FILE)
File “/home/netdisk/seafile-pro-server-6.3.14/pro/python/seafevents/seafevents_api.py”, line 9, in init
load_config(config_file)
File “/home/netdisk/seafile-pro-server-6.3.14/pro/python/seafevents/app/config.py”, line 27, in load_config
appconfig.seaf_session_cls = init_db_session_class(appconfig.seaf_conf_path, db = ‘seafile’)
File “/home/netdisk/seafile-pro-server-6.3.14/pro/python/seafevents/db.py”, line 111, in init_db_session_class
engine = create_engine_from_conf(config_file, db)
File “/home/netdisk/seafile-pro-server-6.3.14/pro/python/seafevents/db.py”, line 52, in create_engine_from_conf
backend = config.get(db_sec, ‘type’)
File “/usr/lib64/python2.7/ConfigParser.py”, line 607, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: ‘database’
Error:Seahub failed to start.
各位看看怎么处理,因为本人小白,实在弄不明白哪里有问题。谢谢大家!!!