Error Starting Seafile Docker

I’m unable to start Seafile after I tried to migrate to seafile-pro but without success. Then I tried to start the ce version again.

Seahub start inside the container fails with the following error:

[2026-06-16 20:51:55 +0200] [317] [ERROR] Error handling request /
Traceback (most recent call last):
[...]
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/opt/seafile/seafile-server-13.0.12/seahub/seahub/utils/rooturl.py", line 41, in <module>
    re_path(r'^%s' % settings.SITE_ROOT[1:], include(settings.SITE_ROOT_URLCONF)),
                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/seafile/seafile-server-13.0.12/seahub/thirdpart/django/urls/conf.py", line 39, in include
    urlconf_module = import_module(urlconf_module)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/opt/seafile/seafile-server-13.0.12/seahub/seahub/urls.py", line 65, in <module>
    from seahub.api2.endpoints.repos_batch import ReposBatchView, \
  File "/opt/seafile/seafile-server-13.0.12/seahub/seahub/api2/endpoints/repos_batch.py", line 21, in <module>
    from seahub.api2.views import HTTP_443_ABOVE_QUOTA
  File "/opt/seafile/seafile-server-13.0.12/seahub/seahub/api2/views.py", line 99, in <module>
    from seahub.search.utils import search_files, get_search_repos_map, SEARCH_FILEEXT, ai_search_files, \
  File "/opt/seafile/seafile-server-13.0.12/seahub/seahub/search/utils.py", line 34, in <module>
    from seafes import es_search, es_wiki_search
ModuleNotFoundError: No module named 'seafes'

The request in the browser shows “Internal Server Error”.

Any help is greatly appreciated.

There were remnants in /opt/seafile-data/seafile/conf/seafevents.conf that still pointed to the Elasticsearch under the [INDEX] section - this was used for the migration to PRO.

Once that section [INDEX] was removed, seafile container started again.