Еhanks for your reply.
I tried to run ./manage.py runserver and got the following error:
./manage.py runserver
Traceback (most recent call last):
File “/usr/lib/python3.10/site-packages/django/core/management/base.py”, line 354, in run_from_argv
self.execute(*args, **cmd_options)
File “/usr/lib/python3.10/site-packages/django/core/management/commands/runserver.py”, line 61, in execute
super().execute(*args, **options)
File “/usr/lib/python3.10/site-packages/django/core/management/base.py”, line 398, in execute
output = self.handle(*args, **options)
File “/usr/lib/python3.10/site-packages/django/core/management/commands/runserver.py”, line 68, in handle
if not settings.DEBUG and not settings.ALLOWED_HOSTS:
File “/usr/lib/python3.10/site-packages/django/conf/init.py”, line 82, in getattr
self._setup(name)
File “/usr/lib/python3.10/site-packages/django/conf/init.py”, line 69, in _setup
self._wrapped = Settings(settings_module)
File “/usr/lib/python3.10/site-packages/django/conf/init.py”, line 170, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File “/usr/lib64/python3.10/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1050, in _gcd_import
File “”, line 1027, in _find_and_load
File “”, line 992, in _find_and_load_unlocked
File “”, line 241, in _call_with_frames_removed
File “”, line 1050, in _gcd_import
File “”, line 1027, in _find_and_load
File “”, line 1006, in _find_and_load_unlocked
File “”, line 688, in _load_unlocked
File “”, line 883, in exec_module
File “”, line 241, in _call_with_frames_removed
File “/opt/seafile/seafile-server-9.0.2/seahub/seahub/init.py”, line 4, in
from .handlers import repo_created_cb, repo_deleted_cb, clean_up_repo_trash_cb,
File “/opt/seafile/seafile-server-9.0.2/seahub/seahub/handlers.py”, line 4, in
from . import settings
File “/opt/seafile/seafile-server-9.0.2/seahub/seahub/settings.py”, line 9, in
from seaserv import FILE_SERVER_PORT
ModuleNotFoundError: No module named ‘seaserv’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/opt/seafile/seafile-server-9.0.2/seahub/./manage.py”, line 10, in
execute_from_command_line(sys.argv)
File “/usr/lib/python3.10/site-packages/django/core/management/init.py”, line 419, in execute_from_command_line
utility.execute()
File “/usr/lib/python3.10/site-packages/django/core/management/init.py”, line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File “/usr/lib/python3.10/site-packages/django/core/management/base.py”, line 367, in run_from_argv
connections.close_all()
File “/usr/lib/python3.10/site-packages/django/db/utils.py”, line 208, in close_all
for alias in self:
File “/usr/lib/python3.10/site-packages/django/utils/connection.py”, line 73, in iter
return iter(self.settings)
File “/usr/lib/python3.10/site-packages/django/utils/functional.py”, line 48, in get
res = instance.dict[self.name] = self.func(instance)
File “/usr/lib/python3.10/site-packages/django/utils/connection.py”, line 45, in settings
self._settings = self.configure_settings(self._settings)
File “/usr/lib/python3.10/site-packages/django/db/utils.py”, line 144, in configure_settings
databases = super().configure_settings(databases)
File “/usr/lib/python3.10/site-packages/django/utils/connection.py”, line 50, in configure_settings
settings = getattr(django_settings, self.settings_name)
File “/usr/lib/python3.10/site-packages/django/conf/init.py”, line 82, in getattr
self._setup(name)
File “/usr/lib/python3.10/site-packages/django/conf/init.py”, line 69, in _setup
self._wrapped = Settings(settings_module)
File “/usr/lib/python3.10/site-packages/django/conf/init.py”, line 170, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File “/usr/lib64/python3.10/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1050, in _gcd_import
File “”, line 1027, in _find_and_load
File “”, line 992, in _find_and_load_unlocked
File “”, line 241, in _call_with_frames_removed
File “”, line 1050, in _gcd_import
File “”, line 1027, in _find_and_load
File “”, line 1006, in _find_and_load_unlocked
File “”, line 688, in _load_unlocked
File “”, line 883, in exec_module
File “”, line 241, in _call_with_frames_removed
File “/opt/seafile/seafile-server-9.0.2/seahub/seahub/init.py”, line 4, in
from .handlers import repo_created_cb, repo_deleted_cb, clean_up_repo_trash_cb,
File “/opt/seafile/seafile-server-9.0.2/seahub/seahub/handlers.py”, line 4, in
from . import settings
File “/opt/seafile/seafile-server-9.0.2/seahub/seahub/settings.py”, line 9, in
from seaserv import FILE_SERVER_PORT
ModuleNotFoundError: No module named ‘seaserv’