This error is similar to a previous one, but affects a fresh install of seatable and a newer version.
I am running seatabl developer edition version 1.8.0 via docker and have issues installing plugins from https://market.seatable.io/plugins/ – the admin user interface shows a simple “Error” message when I upload a plugin zip, the server returns a 500 error.
dtable_web.log
gives the following python error Invalid repo id
.
Log file excerpt
2021-03-27 14:44:21,872 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /api/v2.1/admin/dtable-system-plugins/
Traceback (most recent call last):
File "/opt/seatable/seatable-server-latest/dtable-web/thirdpart/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/opt/seatable/seatable-server-latest/dtable-web/thirdpart/django/core/handlers/base.py", line 249, in _legacy_get_response
response = self._get_response(request)
File "/opt/seatable/seatable-server-latest/dtable-web/thirdpart/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/opt/seatable/seatable-server-latest/dtable-web/thirdpart/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/seatable/seatable-server-latest/dtable-web/thirdpart/django/views/decorators/csrf.py", line 58, in wrapped_view
return view_func(*args, **kwargs)
File "/opt/seatable/seatable-server-latest/dtable-web/thirdpart/django/views/generic/base.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "/opt/seatable/seatable-server-latest/dtable-web/thirdpart/rest_framework/views.py", line 505, in dispatch
response = self.handle_exception(exc)
File "/opt/seatable/seatable-server-latest/dtable-web/thirdpart/rest_framework/views.py", line 465, in handle_exception
self.raise_uncaught_exception(exc)
File "/opt/seatable/seatable-server-latest/dtable-web/thirdpart/rest_framework/views.py", line 476, in raise_uncaught_exception
raise exc
File "/opt/seatable/seatable-server-latest/dtable-web/thirdpart/rest_framework/views.py", line 502, in dispatch
response = handler(request, *args, **kwargs)
File "/opt/seatable/seatable-server-latest/dtable-web/seahub/api2/endpoints/admin/sys_plugins.py", line 238, in post
plugin_path_id = seafile_api.get_dir_id_by_path(PLUGINS_REPO_ID, plugin_path)
File "/opt/seatable/seatable-server-latest/seafile/lib/python3.7/site-packages/seaserv/api.py", line 230, in get_dir_id_by_path
return seafserv_threaded_rpc.get_dir_id_by_path(repo_id, path)
File "/opt/seatable/seatable-server-latest/seafile/lib/python3.7/site-packages/pysearpc/client.py", line 128, in newfunc
return fret(ret_str)
File "/opt/seatable/seatable-server-latest/seafile/lib/python3.7/site-packages/pysearpc/client.py", line 26, in _fret_string
raise SearpcError(dicts['err_msg'])
pysearpc.common.SearpcError: Invalid repo id
I noticed there is an empty variable in dtable_web_settings.py
called PLUGINS_REPO_ID
, but I do not understand what type of ID I would need to fill in there.
All other file-based operations, like uploading images into tables, or changing user pictures, work on my deployment.
Any hint what could be the issue here and if I’m even looking at the right places for error messages would be greatly appreciated!