Seafile pro seahub does not start

I have very strange messages ins controller log

File “/mnt/2tb/seafile/seafile-pro-server-7.1.9/pro/python/seafevents/tasks/”, line 25, in init

edit: there is no file, if i create one it complaints. if i delete it it tries to respawn seafevents but fails. obviously there is some python fuckup but i cant read out of the messages what the problem is. isnt there a dependency check in seahub?

[01/06/21 11:27:51] seafile-controller.c(585): pid file /mnt/2tb/seafile/pids/ does not exist
[01/06/21 11:27:51] seafile-controller.c(621): seafevents need restart…
[01/06/21 11:27:51] seafile-controller.c(96): spawn_process: /usr/bin/python3 -m seafevents.main --config-file /mnt/2tb/seafile/conf/seafevents.conf --logfile /mnt/2tb/seafile/logs/seafeven>
[01/06/21 11:27:51] seafile-controller.c(130): spawned /usr/bin/python3, pid 4722
[01/06/21 11:27:52] seafile-controller.c(138): Traceback (most recent call last):
File “/usr/lib/python3.8/”, line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/usr/lib/python3.8/”, line 87, in _run_code
exec(code, run_globals)
File “/mnt/2tb/seafile/seafile-pro-server-7.1.9/pro/python/seafevents/”, line 118, in
File “/mnt/2tb/seafile/seafile-pro-server-7.1.9/pro/python/seafevents/”, line 107, in main
app = App(args, events_handler_enabled=events_handler_enabled,
File “/mnt/2tb/seafile/seafile-pro-server-7.1.9/pro/python/seafevents/app/”, line 44, in init
self._bg_tasks = BackgroundTasks(args.config_file)
File “/mnt/2tb/seafile/seafile-pro-server-7.1.9/pro/python/seafevents/app/”, line 81, in init
self._work_weixin_notice_sender = WorkWinxinNoticeSender(self._app_config)
File “/mnt/2tb/seafile/seafile-pro-server-7.1.9/pro/python/seafevents/tasks/”, line 25, in init
self._parse_config(co�^L���U[01/06/21 11:27:52] seafile-controller.c(138): nfig)
File “/mnt/2tb/seafile/seafile-pro-server-7.1.9/pro/python/seafevents/tasks/”, line 52, in _parse_config
from seahub.settings import ENABLE_WORK_WEIXIN
File “/mnt/2tb/seafile/seafile-pro-server-7.1.9/seahub/seahub/”, line 6, in
from .handlers import repo_created_cb, repo_deleted_cb, clean_up_repo_trash_cb,
File “/mnt/2tb/seafile/seafile-pro-server-7.1.9/seahub/seahub/”, line 4, in
from . import settings
File “/mnt/2tb/seafile/seafile-pro-server-7.1.9/seahub/seahub/”, line 843, in
import seahub_settings
File “/mnt/2tb/seafile/conf/”, line 15, in
NameError: name ‘seahub_settings’ is not defined

why is the file seahub_settings executable and why does it have as last entry ?

done! there was a line “” in, that caused the error :slight_smile: