Hello,
at first my setup:
Debian 10 (64bit) Docker container on my 64 Bit Raspi OS / Raspberry Pi 4:
No ReverseProxy, just direct communication to the container port
the following did work for me:
- successfully run the build3 script inside debian 10 container
- successfully run the script /home/seafile/seafile-server-8.0.3/setup-seafile-mysql.sh
- successfully started seafile.sh and seahub.sh
- sucessfully accessed the login page at http://192.168.180.111:8000
But after login, I get error 500.
The logs are showing something like “asset = assets[‘assets’][chunk]”. After my research, I could not find anything useful, to solve this issue.
Any idea what I may did wrong?
Heres, the full seahub.log
2021-06-06 20:21:21,314 [ERROR] django.request:228 log_response Internal Server Error: /
Traceback (most recent call last):
File "/home/seafile/seafile-server-8.0.3/seahub/thirdpart/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/seafile/seafile-server-8.0.3/seahub/thirdpart/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/seafile/seafile-server-8.0.3/seahub/thirdpart/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/seafile/seafile-server-8.0.3/seahub/seahub/auth/decorators.py", line 27, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/home/seafile/seafile-server-8.0.3/seahub/seahub/views/__init__.py", line 1214, in react_fake_view
'enable_share_to_department': settings.ENABLE_SHARE_TO_DEPARTMENT,
File "/home/seafile/seafile-server-8.0.3/seahub/thirdpart/django/shortcuts.py", line 36, in render
content = loader.render_to_string(template_name, context, request, using=using)
File "/home/seafile/seafile-server-8.0.3/seahub/thirdpart/django/template/loader.py", line 62, in render_to_string
return template.render(context, request)
File "/home/seafile/seafile-server-8.0.3/seahub/thirdpart/django/template/backends/django.py", line 61, in render
return self.template.render(context)
File "/home/seafile/seafile-server-8.0.3/seahub/thirdpart/django/template/base.py", line 171, in render
return self._render(context)
File "/home/seafile/seafile-server-8.0.3/seahub/thirdpart/django/template/base.py", line 163, in _render
return self.nodelist.render(context)
File "/home/seafile/seafile-server-8.0.3/seahub/thirdpart/django/template/base.py", line 937, in render
bit = node.render_annotated(context)
File "/home/seafile/seafile-server-8.0.3/seahub/thirdpart/django/template/base.py", line 904, in render_annotated
return self.render(context)
File "/home/seafile/seafile-server-8.0.3/seahub/thirdpart/django/template/loader_tags.py", line 150, in render
return compiled_parent._render(context)
File "/home/seafile/seafile-server-8.0.3/seahub/thirdpart/django/template/base.py", line 163, in _render
return self.nodelist.render(context)
File "/home/seafile/seafile-server-8.0.3/seahub/thirdpart/django/template/base.py", line 937, in render
bit = node.render_annotated(context)
File "/home/seafile/seafile-server-8.0.3/seahub/thirdpart/django/template/base.py", line 904, in render_annotated
return self.render(context)
File "/home/seafile/seafile-server-8.0.3/seahub/thirdpart/django/template/library.py", line 192, in render
output = self.func(*resolved_args, **resolved_kwargs)
File "/home/seafile/seafile-server-8.0.3/seahub/thirdpart/webpack_loader/templatetags/webpack_loader.py", line 12, in render_bundle
tags = utils.get_as_tags(bundle_name, extension=extension, config=config, attrs=attrs)
File "/home/seafile/seafile-server-8.0.3/seahub/thirdpart/webpack_loader/utils.py", line 62, in get_as_tags
bundle = _get_bundle(bundle_name, extension, config)
File "/home/seafile/seafile-server-8.0.3/seahub/thirdpart/webpack_loader/utils.py", line 40, in _get_bundle
bundle = get_loader(config).get_bundle(bundle_name)
File "/home/seafile/seafile-server-8.0.3/seahub/thirdpart/webpack_loader/loader.py", line 90, in get_bundle
asset = assets['assets'][chunk]
KeyError: 'assets'