haiwen / seafile-rpi

Seafile server package for Raspberry Pi.
Other
556 stars 89 forks source link

build3 failed at step 7 #87

Closed Druson closed 3 years ago

Druson commented 3 years ago

in debian 64, run ./build3.sh -7 error as below:

tar: The following options were used after any non-optional arguments in archive create or update mode.  These options are positional and affect only arguments that follow them.  Please, rearrange them properly.
tar: --exclude ‘*.pyc’ has no effect
tar: --exclude ‘*~’ has no effect
tar: --exclude ‘*#’ has no effect
tar: --exclude ‘seafile-server-8.0.5/seahub/.git*’ has no effect
tar: --exclude ‘seafile-server-8.0.5/seahub/media/flexpaper*’ has no effect
tar: --exclude ‘seafile-server-8.0.5/seahub/avatar/testdata*’ has no effect
tar: --exclude ‘seafile-server-8.0.5/seafile/share*’ has no effect
tar: --exclude ‘seafile-server-8.0.5/seafile/include*’ has no effect
tar: --exclude ‘seafile-server-8.0.5/seafile/lib/pkgconfig*’ has no effect
tar: --exclude ‘seafile-server-8.0.5/seafile/lib64/pkgconfig*’ has no effect
tar: --exclude ‘seafile-server-8.0.5/seafile/bin/searpc-codegen.py’ has no effect
tar: --exclude ‘seafile-server-8.0.5/seafile/bin/seafile-admin’ has no effect
tar: --exclude ‘seafile-server-8.0.5/seafile/bin/seafile’ has no effect
tar: Exiting with failure status due to previous errors
---------------------------------------------
The build is successful. Output is:     /home/pi/seafile-dev/seafile-rpi/built-seafile-server-pkgs/seafile-server-8.0.5-buster-aarch64.tar.gz
---------------------------------------------

[INFO] remove builddir before exit

the tar version:

$ tar --version
tar (GNU tar) 1.30
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.

And below error occur when I access the login page if I use above output package:

2021-07-26 14:49:06,221 [ERROR] django.request:228 log_response Internal Server Error: /seafile/
Traceback (most recent call last):
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/django/core/handlers/base.py", line 115, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/django/core/handlers/base.py", line 113, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/opt/seafile/seafile-server-8.0.5/seahub/seahub/auth/decorators.py", line 27, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/opt/seafile/seafile-server-8.0.5/seahub/seahub/views/__init__.py", line 1207, in react_fake_view
    'group_import_members_extra_msg': GROUP_IMPORT_MEMBERS_EXTRA_MSG,
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/django/shortcuts.py", line 36, in render
    content = loader.render_to_string(template_name, context, request, using=using)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/django/template/loader.py", line 62, in render_to_string
    return template.render(context, request)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/django/template/backends/django.py", line 61, in render
    return self.template.render(context)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/django/template/base.py", line 171, in render
    return self._render(context)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/django/template/base.py", line 163, in _render
    return self.nodelist.render(context)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/django/template/base.py", line 937, in render
    bit = node.render_annotated(context)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/django/template/base.py", line 904, in render_annotated
    return self.render(context)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/django/template/loader_tags.py", line 150, in render
    return compiled_parent._render(context)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/django/template/base.py", line 163, in _render
    return self.nodelist.render(context)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/django/template/base.py", line 937, in render
    bit = node.render_annotated(context)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/django/template/base.py", line 904, in render_annotated
    return self.render(context)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/django/template/library.py", line 192, in render
    output = self.func(*resolved_args, **resolved_kwargs)
  File "/opt/seafile/seafile-server-8.0.5/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 "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/webpack_loader/utils.py", line 62, in get_as_tags
    bundle = _get_bundle(bundle_name, extension, config)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/webpack_loader/utils.py", line 40, in _get_bundle
    bundle = get_loader(config).get_bundle(bundle_name)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/webpack_loader/loader.py", line 90, in get_bundle
    asset = assets['assets'][chunk]
KeyError: 'assets'