Seafile community edition 8.0.5 is ready!

This is a maintenance release with following fixes and updates:

  • Add “Open via Client” button in file view page
  • Add an admin API to change a user’s email
  • [fix] Fix a bug in seaf-gc
  • [fix] Fix wrong links of files in library history details dialog
  • [fix] Fix deleting libraries without owner in admin panel
  • [fix] Fix a XSS problem in notification
  • [fix] Fix JWT token support in OnlyOffice integration
  • [fix] Fix sometimes webdav cache files are not cleaned

Unfortunately Seafile doesn’t start because the socket runtime/seafile.sock is missing. No problems with 8.0.3

[fix] Fix a XSS problem in notification

Can you give some more information about this?

Upgrade went smoothly from 8.0.4! Thank you @daniel.pan!

Thanks for the bugfixes. :+1:

Pleaser consider fixing the following one:

thanks. also missing the fix for:

We will check the issue.

1 Like

We will check the issue.


I want report a bug too.

Since 8.0.4 the collabora integration is not working any more.
An upgrade to 8.0.5 didn’t solve the problem:

If I want to edit a document, Collabora can’t lock the file, so it’s read-only
There`s a problem with the wopi:

> wsd-00007-00298 2021-05-16 19:44:02.880549 [ docbroker_011 ] WRN  Un-successful WOPI::Lock with status 500 and response: <!DOCTYPE html>
>     <html lang="en">
>     <head>
>         <title>Page unavailable</title>
>     </head>
>     <body>
>         <h1>Page unavailable</h1>
>         <p>Sorry, but the requested page is unavailable due to a server hiccup.</p>
>         <p>Our engineers have been notified, so check back later.</p>
>     </body>
>     </html>
>     | wsd/Storage.cpp:881
>     wsd-00007-00298 2021-05-16 19:44:02.880850 [ docbroker_011 ] ERR  Failed to lock!| wsd/DocumentBroker.cpp:813
>     wsd-00007-00043 2021-05-16 19:44:03.665652 [ websrv_poll ] WRN  FileServerRequestHandler: File not found: Invalid URI request: [/loleaflet/6a844e4/undefined].| wsd/FileServer.cpp:487
>     sh: 1: /usr/bin/loolmount: Operation not permitted

After a downgrade to 8.0.3 collabora is working.

@daniel.pan Could you check the issue too?
Thank you!

It will be fixed in the next release 8.0.6.

1 Like

[fix] Fix a bug in seaf-gc

More info on this?

Hello, can you have a look at the logs/seahub.log and copy the related log here when showing Page unavailable.

how about a docker tag i.e. 8 so we can get version 8 via docker too?

Was this the seaf-gc bug?

Hey lian, this should be this part of the seahub.log:

2021-06-01 18:57:09,253 [ERROR] django.request:228 log_response Internal Server Error: /api2/wopi/files/1504c6d2fcf70746d61dfd23e3cf34c3b7a97805
Traceback (most recent call last):
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/django/core/handlers/", line 34, in inner
    response = get_response(request)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/django/core/handlers/", 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/", line 113, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/django/views/decorators/", line 54, in wrapped_view
    return view_func(*args, **kwargs)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/django/views/generic/", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/rest_framework/", line 505, in dispatch
    response = self.handle_exception(exc)
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/rest_framework/", line 465, in handle_exception
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/rest_framework/", line 476, in raise_uncaught_exception
    raise exc
  File "/opt/seafile/seafile-server-8.0.5/seahub/thirdpart/rest_framework/", line 502, in dispatch
    response = handler(request, *args, **kwargs)
  File "/opt/seafile/seafile-server-8.0.5/seahub/seahub/wopi/", line 167, in _decorated
    return func(view, request, file_id, *args, **kwargs)
  File "/opt/seafile/seafile-server-8.0.5/seahub/seahub/wopi/", line 298, in post
  File "/opt/seafile/seafile-server-8.0.5/seahub/seahub/wopi/", line 72, in lock_file
    seafile_api.lock_file(repo_id, file_path, ONLINE_OFFICE_LOCK_OWNER,
AttributeError: 'SeafileAPI' object has no attribute 'lock_file'