安装seatable最新开发版启动不了

输入账号密码,点登录后,

image

dtable_web.log

2024-06-27 23:05:38 [INFO] xmlschema[1261] - Resource 'XMLSchema.xsd' is already loaded
2024-06-27 23:09:59 [ERROR] django.request[241] - Internal Server Error: /accounts/login/
Traceback (most recent call last):
  File "/opt/seatable/seatable-server-latest/seafile/lib/python3/site-packages/pysearpc/named_pipe.py", line 85, in _get_transport
    transport = self._pool.get(False)
  File "/usr/lib/python3.8/queue.py", line 167, in get
    raise Empty
_queue.Empty

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/seatable/seatable-server-latest/dtable-web/thirdpart/django/core/handlers/exception.py", line 55, in inner
    response = get_response(request)
  File "/opt/seatable/seatable-server-latest/dtable-web/thirdpart/django/core/handlers/base.py", line 197, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/opt/seatable/seatable-server-latest/dtable-web/thirdpart/django/utils/decorators.py", line 134, in _wrapper_view
    response = view_func(request, *args, **kwargs)
  File "/opt/seatable/seatable-server-latest/dtable-web/thirdpart/django/views/decorators/cache.py", line 62, in _wrapper_view_func
    response = view_func(request, *args, **kwargs)
  File "/opt/seatable/seatable-server-latest/dtable-web/seahub/auth/views.py", line 147, in login
    if form.is_valid():
  File "/opt/seatable/seatable-server-latest/dtable-web/thirdpart/django/forms/forms.py", line 201, in is_valid
    return self.is_bound and not self.errors
  File "/opt/seatable/seatable-server-latest/dtable-web/thirdpart/django/forms/forms.py", line 196, in errors
    self.full_clean()
  File "/opt/seatable/seatable-server-latest/dtable-web/thirdpart/django/forms/forms.py", line 434, in full_clean
    self._clean_form()
  File "/opt/seatable/seatable-server-latest/dtable-web/thirdpart/django/forms/forms.py", line 455, in _clean_form
    cleaned_data = self.clean()
  File "/opt/seatable/seatable-server-latest/dtable-web/seahub/auth/forms.py", line 51, in clean
    self.user_cache = authenticate(username=username,
  File "/opt/seatable/seatable-server-latest/dtable-web/seahub/auth/__init__.py", line 58, in authenticate
    user = backend.authenticate(**credentials)
  File "/opt/seatable/seatable-server-latest/dtable-web/seahub/base/accounts.py", line 734, in authenticate
    user = self.get_user(username)
  File "/opt/seatable/seatable-server-latest/dtable-web/seahub/base/accounts.py", line 728, in get_user
    user = self.get_user_with_import(username)
  File "/opt/seatable/seatable-server-latest/dtable-web/seahub/base/accounts.py", line 699, in get_user_with_import
    emailuser = seaserv.get_emailuser_with_import(username)
  File "/opt/seatable/seatable-server-latest/seafile/lib/python3/site-packages/seaserv/service.py", line 114, in get_emailuser_with_import
    return ccnet_threaded_rpc.get_emailuser_with_import(email)
  File "/opt/seatable/seatable-server-latest/seafile/lib/python3/site-packages/pysearpc/client.py", line 125, in newfunc
    ret_str = self.call_remote_func_sync(fcall_str)
  File "/opt/seatable/seatable-server-latest/seafile/lib/python3/site-packages/pysearpc/named_pipe.py", line 97, in call_remote_func_sync
    transport = self._get_transport()
  File "/opt/seatable/seatable-server-latest/seafile/lib/python3/site-packages/pysearpc/named_pipe.py", line 87, in _get_transport
    transport = self._create_transport()
  File "/opt/seatable/seatable-server-latest/seafile/lib/python3/site-packages/pysearpc/named_pipe.py", line 80, in _create_transport
    transport.connect()
  File "/opt/seatable/seatable-server-latest/seafile/lib/python3/site-packages/pysearpc/named_pipe.py", line 44, in connect
    self.pipe.connect(self.socket_path)
FileNotFoundError: [Errno 2] No such file or directory

昨儿个给别人部署看到这个报错,解决办法就是,看到4.4.1版本给的默认docker-yaml配置中,mariadb部分使用的是db、这部分需要修改

我服务器意外宕机,重启服务自动给我升级了,也出现了这个问题,原来的版本好像是4.2,数据还能恢复不?