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/work_weixin_notice_sender.py”, line 25, in init
self._parse_config(co�^L���U

edit: there is no seafevents.pid 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/seafevents.pid 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/runpy.py”, line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/usr/lib/python3.8/runpy.py”, line 87, in _run_code
exec(code, run_globals)
File “/mnt/2tb/seafile/seafile-pro-server-7.1.9/pro/python/seafevents/main.py”, line 118, in
main()
File “/mnt/2tb/seafile/seafile-pro-server-7.1.9/pro/python/seafevents/main.py”, 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/app.py”, 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/app.py”, 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/work_weixin_notice_sender.py”, 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/work_weixin_notice_sender.py”, line 52, in _parse_config
from seahub.settings import ENABLE_WORK_WEIXIN
File “/mnt/2tb/seafile/seafile-pro-server-7.1.9/seahub/seahub/init.py”, 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/handlers.py”, line 4, in
from . import settings
File “/mnt/2tb/seafile/seafile-pro-server-7.1.9/seahub/seahub/settings.py”, line 843, in
import seahub_settings
File “/mnt/2tb/seafile/conf/seahub_settings.py”, line 15, in
seahub_settings.py
NameError: name ‘seahub_settings’ is not defined

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

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