版本:seafile-server-10.0.1
原服务器启动正常。
/opt/seafile、/var/lib/mysql rsync完整备份迁移
MySQL、seafile.sh 启动正常
seahub.sh 如下
# ./seahub.sh start
LC_ALL is not set in ENV, set to en_US.UTF-8
Starting seahub at port 8000 ...
Error:Seahub failed to start.
Please try to run "./seahub.sh start" again
# tail ../logs/seahub.log
2024-04-17 16:43:33,963 [ERROR] root:64 <module> Failed to import seafevents package.
Traceback (most recent call last):
File "/opt/seafile/seafile-server-10.0.1/seahub/seahub/utils/__init__.py", line 62, in <module>
from seafevents import seafevents_api
ModuleNotFoundError: No module named 'seafevents'
2024-04-17 16:43:33,973 [ERROR] root:557 <module> Failed to import seafevents package.
Traceback (most recent call last):
File "/opt/seafile/seafile-server-10.0.1/seahub/seahub/utils/__init__.py", line 553, in <module>
import seafevents
ModuleNotFoundError: No module named 'seafevents'
# tail -f logs/controller.log
2024-04-18 09:52:19 seafile-controller.c(447): pid file /opt/seafile/pids/seafevents.pid does not exist
2024-04-18 09:52:19 seafile-controller.c(532): seafevents need restart...
2024-04-18 09:52:19 seafile-controller.c(82): spawn_process: /usr/bin/python3 -m seafevents.main --config-file /opt/seafile/conf/seafevents.conf --logfile /opt/seafile/logs/seafevents.log -P /opt/seafile/pids/seafevents.pid
2024-04-18 09:52:19 seafile-controller.c(116): spawned /usr/bin/python3, pid 146827
2024-04-18 09:52:19 seafile-controller.c(124): /usr/bin/python3: Error while finding module specification for 'seafevents.main' (ModuleNotFoundError: No module named 'seafevents')