Seafile Pro S3 Errors

Hey guys,

Got my Seafile Pro Docker setup with S3 back-end and running into few issues.

  1. Libraries get initially created with S3, but then I lose access after certain period of time and error messages start showing up below.
  2. Only way to fix this is to set S3 buckets as public.
  3. Even creating buckets from IAM user used within Seafile config returns the error messages below.
  4. IAM user has full S3 access.
  5. By default AWS S3 owner / creator should have full access, but error message shows up not long after creation. https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html

Have any of you guys ran into these types of errors?

Thanks,

AccessDeniedAccess Denied7E0B4570E33D4FD0g93/osd6PmSTQN4WtfBg0zlGb5snI41DQ1hwo2OJmYakYd+Kz7hYHeEMcISOVhwn409aTCPB7j4=
Dec 18 04:28:43 73af929c3935 seaf-server[151]: repo-mgr.c(6309): Failed to add commit.
Dec 18 04:28:43 73af929c3935 2018-12-18 04:28:43,527 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /api2/repos/public/
Traceback (most recent call last):
File “/opt/seafile/seafile-pro-server-6.3.7/seahub/thirdpart/django/core/handlers/exception.py”, line 41, in inner
response = get_response(request)
File “/opt/seafile/seafile-pro-server-6.3.7/seahub/thirdpart/django/core/handlers/base.py”, line 249, in _legacy_get_response
response = self._get_response(request)
File “/opt/seafile/seafile-pro-server-6.3.7/seahub/thirdpart/django/core/handlers/base.py”, line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File “/opt/seafile/seafile-pro-server-6.3.7/seahub/thirdpart/django/core/handlers/base.py”, line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-pro-server-6.3.7/seahub/thirdpart/django/views/decorators/csrf.py”, line 58, in wrapped_view
return view_func(*args, **kwargs)
File “/opt/seafile/seafile-pro-server-6.3.7/seahub/thirdpart/django/views/generic/base.py”, line 68, in view
return self.dispatch(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-6.3.7/seahub/seahub/api2/base.py”, line 23, in dispatch
response = super(APIView, self).dispatch(*a, **kw)
File “/opt/seafile/seafile-pro-server-6.3.7/seahub/thirdpart/rest_framework/views.py”, line 466, in dispatch
response = self.handle_exception(exc)
File “/opt/seafile/seafile-pro-server-6.3.7/seahub/seahub/api2/base.py”, line 20, in handle_exception
return super(APIView, self).handle_exception(exc)
File “/opt/seafile/seafile-pro-server-6.3.7/seahub/thirdpart/rest_framework/views.py”, line 463, in dispatch
response = handler(request, *args, **kwargs)
File “/opt/seafile/seafile-pro-server-6.3.7/seahub/seahub/api2/views.py”, line 1059, in post
repo_desc, username, passwd)
File “/opt/seafile/seafile-pro-server-6.3.7/seafile/lib/python2.7/site-packages/seaserv/api.py”, line 89, in create_repo
return seafserv_threaded_rpc.create_repo(name, desc, username, passwd, storage_id)
File “/opt/seafile/seafile-pro-server-6.3.7/seafile/lib/python2.7/site-packages/pysearpc/client.py”, line 112, in newfunc
return fret(ret_str)
File “/opt/seafile/seafile-pro-server-6.3.7/seafile/lib/python2.7/site-packages/pysearpc/client.py”, line 25, in _fret_string
raise SearpcError(dicts[‘err_msg’])
SearpcError: Failed to add commit