seahub 启动不了


#1

seahub 启动不了
OS是centos 8 seafile启动没问题

[root@centos8 seafile-pro-server-7.1.12]# ./seahub.sh start-fastcgi

LC_ALL is not set in ENV, set to en_US.UTF-8
./seahub.sh:行230: 警告:setlocale: LC_ALL: 无法改变区域选项 (en_US.UTF-8): 没有那个文件或目录
./seahub.sh:行230: 警告:setlocale: LC_ALL: 无法改变区域选项 (en_US.UTF-8)
Starting seahub (fastcgi) at 127.0.0.1:8000 …
Traceback (most recent call last):
File “/opt/seafile/seafile/seafile-pro-server-7.1.12/seahub/manage.py”, line 10, in
execute_from_command_line(sys.argv)
File “/opt/seafile/seafile/seafile-pro-server-7.1.12/seahub/thirdpart/django/core/management/init.py”, line 364, in execute_from_command_line
utility.execute()
File “/opt/seafile/seafile/seafile-pro-server-7.1.12/seahub/thirdpart/django/core/management/init.py”, line 308, in execute
settings.INSTALLED_APPS
File “/opt/seafile/seafile/seafile-pro-server-7.1.12/seahub/thirdpart/django/conf/init.py”, line 56, in getattr
self._setup(name)
File “/opt/seafile/seafile/seafile-pro-server-7.1.12/seahub/thirdpart/django/conf/init.py”, line 41, in _setup
self._wrapped = Settings(settings_module)
File “/opt/seafile/seafile/seafile-pro-server-7.1.12/seahub/thirdpart/django/conf/init.py”, line 110, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
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 941, in _find_and_load_unlocked
File “”, line 219, in _call_with_frames_removed
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 “/opt/seafile/seafile/seafile-pro-server-7.1.12/seahub/seahub/init.py”, line 6, in
from .handlers import repo_created_cb, repo_deleted_cb, clean_up_repo_trash_cb,
File “/opt/seafile/seafile/seafile-pro-server-7.1.12/seahub/seahub/handlers.py”, line 4, in
from . import settings
File “/opt/seafile/seafile/seafile-pro-server-7.1.12/seahub/seahub/settings.py”, line 842, in
import seahub_settings
File “/opt/seafile/seafile/conf/seahub_settings.py”, line 11
‘HOST’: ‘127.0.0.1’,
^
SyntaxError: invalid syntax
Error:Seahub failed to start.


#2

配置文件 11行看一下有没有写错