Error:Seahub failed to start报错,请协助,谢谢!

7.12升级到8.0.3,删除掉ccnet和seafile-data重新运行./setup-seafile.sh安装全部配置完成,启动seafile正常,启动seahub报错如下:

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 “/usr/lib64/python3.6/configparser.py”, line 1138, in _unify_values
sectiondict = self._sections[section]
KeyError: ‘database’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/seafile/seafile-pro-server-8.0.3/pro/python/seafevents/db.py”, line 112, in init_db_session_class
engine = create_engine_from_conf(config_file, db)
File “/usr/seafile/seafile-pro-server-8.0.3/pro/python/seafevents/db.py”, line 52, in create_engine_from_conf
backend = config.get(db_sec, ‘type’)
File “/usr/lib64/python3.6/configparser.py”, line 781, in get
d = self._unify_values(section, vars)
File “/usr/lib64/python3.6/configparser.py”, line 1141, in _unify_values
raise NoSectionError(section)
configparser.NoSectionError: No section: ‘database’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/seafile/seafile-pro-server-8.0.3/seahub/manage.py”, line 10, in
execute_from_command_line(sys.argv)
File “/usr/seafile/seafile-pro-server-8.0.3/seahub/thirdpart/django/core/management/init.py”, line 381, in execute_from_command_line
utility.execute()
File “/usr/seafile/seafile-pro-server-8.0.3/seahub/thirdpart/django/core/management/init.py”, line 357, in execute
django.setup()
File “/usr/seafile/seafile-pro-server-8.0.3/seahub/thirdpart/django/init.py”, line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File “/usr/seafile/seafile-pro-server-8.0.3/seahub/thirdpart/django/apps/registry.py”, line 114, in populate
app_config.import_models()
File “/usr/seafile/seafile-pro-server-8.0.3/seahub/thirdpart/django/apps/config.py”, line 211, in import_models
self.models_module = import_module(models_module_name)
File “/usr/lib64/python3.6/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 994, in _gcd_import
File “”, line 971, in _find_and_load
File “”, line 955, in _find_and_load_unlocked
File “”, line 665, in _load_unlocked
File “”, line 678, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/usr/seafile/seafile-pro-server-8.0.3/seahub/seahub/base/models.py”, line 13, in
from seahub.utils import calc_file_path_hash, within_time_range,
File “/usr/seafile/seafile-pro-server-8.0.3/seahub/seahub/utils/init.py”, line 68, in
seafevents_api.init(EVENTS_CONFIG_FILE)
File “/usr/seafile/seafile-pro-server-8.0.3/pro/python/seafevents/seafevents_api.py”, line 13, in init
load_config(config_file)
File “/usr/seafile/seafile-pro-server-8.0.3/pro/python/seafevents/app/config.py”, line 44, in load_config
appconfig.seaf_session_cls = init_db_session_class(appconfig.seaf_conf_path, db = ‘seafile’)
File “/usr/seafile/seafile-pro-server-8.0.3/pro/python/seafevents/db.py”, line 115, in init_db_session_class
raise RuntimeError(“invalid config file %s”, config_file)
RuntimeError: (‘invalid config file %s’, ‘/usr/seafile/conf/seafile.conf’)
Error:Seahub failed to start.

请问需要怎么处理?

报错说了 配置文件问题,先检查一下这个报错
(‘invalid config file %s’, ‘/usr/seafile/conf/seafile.conf’)