seafile-server-12.0.14 安装成功,服务启动正常,但是浏览器无法访问?

请按照以下模版详细描述您遇到的问题:

当前服务器版本

安装的 seafile-server-12.0.14 版本

部署/操作过程(请说明二进制部署/docker部署;出现错误的操作步骤)

使用二进制包安装的

错误截图

查看 cat seafile-monitor.log 文件,提示全部都是 ModuleNotFoundError: No module named ‘gevent’ 报错。

错误日志

cat seafile-monitor.log

[2025-10-29 20:09:58] Start Monitor
[2025-10-29 20:09:58] Start seafevents.main
Traceback (most recent call last):
File “”, line 198, in _run_module_as_main
File “”, line 88, in _run_code
File “/opt/seafile/seafile-server-12.0.14/pro/python/seafevents/main.py”, line 9, in
from seafevents.app.app import App
File “/opt/seafile/seafile-server-12.0.14/pro/python/seafevents/app/app.py”, line 8, in
from seafevents.repo_metadata.index_worker import RepoMetadataIndexWorker
File “/opt/seafile/seafile-server-12.0.14/pro/python/seafevents/repo_metadata/index_worker.py”, line 6, in
import gevent
ModuleNotFoundError: No module named ‘gevent’
[2025-10-29 20:10:29] Start seafevents.main
Traceback (most recent call last):
File “”, line 198, in _run_module_as_main
File “”, line 88, in _run_code
File “/opt/seafile/seafile-server-12.0.14/pro/python/seafevents/main.py”, line 9, in
from seafevents.app.app import App
File “/opt/seafile/seafile-server-12.0.14/pro/python/seafevents/app/app.py”, line 8, in
from seafevents.repo_metadata.index_worker import RepoMetadataIndexWorker
File “/opt/seafile/seafile-server-12.0.14/pro/python/seafevents/repo_metadata/index_worker.py”, line 6, in
import gevent
ModuleNotFoundError: No module named ‘gevent’
[2025-10-29 20:11:00] Start seafevents.main
Traceback (most recent call last):
File “”, line 198, in _run_module_as_main
File “”, line 88, in _run_code
File “/opt/seafile/seafile-server-12.0.14/pro/python/seafevents/main.py”, line 9, in
from seafevents.app.app import App
File “/opt/seafile/seafile-server-12.0.14/pro/python/seafevents/app/app.py”, line 8, in
from seafevents.repo_metadata.index_worker import RepoMetadataIndexWorker
File “/opt/seafile/seafile-server-12.0.14/pro/python/seafevents/repo_metadata/index_worker.py”, line 6, in
import gevent
ModuleNotFoundError: No module named ‘gevent’
[2025-10-29 20:11:31] Start seafevents.main

浏览器控制台错误信息(如果相关,请提供截图信息)

浏览器访问服务,白页面,提示 无法访问此网站。

执行 ./seafile.sh start 启动正常

接着执行启动 ./seahub.sh start

Cannot find JWT_PRIVATE_KEY value from environment, try to read .env file.
LC_ALL is not set in ENV, set to en_US.UTF-8
Starting seahub at port 8000 …


It’s the first time you start the seafile server. Now let’s create the admin account

What is the email for the admin account?
[ admin email ] *****@163.com

What is the password for the admin account?
[ admin password ]

Enter the password again:
[ admin password again ]


Successfully created seafile admin

Seahub is started

Done.

ps -ef|grep seafile

root 7086 6839 0 19:45 pts/0 00:00:00 python3 setup-seafile-mysql.py
root 9356 1 0 20:09 pts/0 00:00:00 /opt/seafile/seafile-server-12.0.14/seafile/bin/seaf-server -F /opt/seafile/conf -c /opt/seafile/ccnet -d /opt/seafile/seafile-data -l /opt/seafile/logs/seafile.log -P /opt/seafile/pids/seaf-server.pid -p /opt/seafile/seafile-server-12.0.14/runtime -f
root 9375 1 0 20:09 pts/0 00:00:00 /bin/bash /opt/seafile/seafile-server-12.0.14/seafile-monitor.sh
root 9485 1 3 20:11 ? 00:00:02 python3 /opt/seafile/seafile-server-12.0.14/seahub/thirdpart/bin/gunicorn seahub.wsgi:application -c /opt/seafile/conf/gunicorn.conf.py --preload
root 9488 9485 0 20:11 ? 00:00:00 python3 /opt/seafile/seafile-server-12.0.14/seahub/thirdpart/bin/gunicorn seahub.wsgi:application -c /opt/seafile/conf/gunicorn.conf.py --preload
root 9489 9485 0 20:11 ? 00:00:00 python3 /opt/seafile/seafile-server-12.0.14/seahub/thirdpart/bin/gunicorn seahub.wsgi:application -c /opt/seafile/conf/gunicorn.conf.py --preload
root 9490 9485 0 20:11 ? 00:00:00 python3 /opt/seafile/seafile-server-12.0.14/seahub/thirdpart/bin/gunicorn seahub.wsgi:application -c /opt/seafile/conf/gunicorn.conf.py --preload
root 9491 9485 0 20:11 ? 00:00:00 python3 /opt/seafile/seafile-server-12.0.14/seahub/thirdpart/bin/gunicorn seahub.wsgi:application -c /opt/seafile/conf/gunicorn.conf.py --preload
root 9492 9485 0 20:11 ? 00:00:00 python3 /opt/seafile/seafile-server-12.0.14/seahub/thirdpart/bin/gunicorn seahub.wsgi:application -c /opt/seafile/conf/gunicorn.conf.py --preload
root 9558 6839 0 20:12 pts/0 00:00:00 grep --color=auto seafile

浏览器就是无法访问,不知道啥情况?

二进制安装应该在profile文件里配置环境变量

ModuleNotFoundError: No module named ‘gevent’应该是python环境中缺少库,建议您使用docker部署seafile来避免环境依赖问题,而且从13.0开始社区版不再支持二进制包部署了

公司都是老系统,无法连接互联网,docker 部署无法实施啊?