Seahub/Seafile started correctly, but cannot access web interface

Hi,
I’ve done installed Seafile Server and Seahub/Seafile started correctly, but when I access url it’s cannot access. Could you please help as I’ve tried almost 8 hrs?
my web: 40.65.164.242:8000

Also there is no error in seahub.log
But found error in seafile-monitor.log here.
[2024-12-20 09:24:13] Start seafevents.main
Traceback (most recent call last):
File “/usr/lib/python3.10/runpy.py”, line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/usr/lib/python3.10/runpy.py”, line 86, in _run_code
exec(code, run_globals)
File “/opt/seafile/seafile-server-11.0.13/pro/python/seafevents/main.py”, line 6, in
from seafevents.db import create_db_tables, prepare_db_tables
File “/opt/seafile/seafile-server-11.0.13/pro/python/seafevents/db.py”, line 7, in
from sqlalchemy import create_engine
ModuleNotFoundError: No module named ‘sqlalchemy’
[2024-12-20 09:24:44] Start seafevents.main
Traceback (most recent call last):
File “/usr/lib/python3.10/runpy.py”, line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/usr/lib/python3.10/runpy.py”, line 86, in _run_code
exec(code, run_globals)
File “/opt/seafile/seafile-server-11.0.13/pro/python/seafevents/main.py”, line 6, in
from seafevents.db import create_db_tables, prepare_db_tables
File “/opt/seafile/seafile-server-11.0.13/pro/python/seafevents/db.py”, line 7, in
from sqlalchemy import create_engine
ModuleNotFoundError: No module named ‘sqlalchemy’

I’ve checked the sqlalchemy and it’s install.
Name: SQLAlchemy
Version: 2.0.18
Summary: Database Abstraction Library
License: MIT
Location: /usr/local/lib/python3.10/dist-packages
Requires: greenlet, typing-extensions
Required-by: Flask-SQLAlchemy

I’ve tried many ways to figure it out but still no luck.
Applicate any help!

Thanks,
Nan

I don’t really know what’s happening there. I tried to compare to my own setup and I only see a few differences. I am using python 3.11, and my SQLAlchemy (the same version) is installed in a venv location. Is your python actually looking for modules in /usr/local/lib/python3.10/dist-packages ? You can find out with the “python -m site” command, which should list the paths it checks for libraries.

Also, can you tell us more about your system, like what is the Linux distribution, and have you done anything really weird with the way it is set up? I’m not a python expert, but I think it is a bit unusual for modules to be installed in /usr/local, but maybe that’s normal in your distribution.

Thanks for your replied. I let our ex-developer to help and it’s working now.
His way is installed by docker which is easier way.