Webdav 500 Server internal Error on specific folder. 'Seaffile object has no attribute mtime'

Hi, I have a problem with a specific folder while using webdav and rclone for a backup system

Here is the output of the error to seafdav.log

00:58:36.315 - INFO    : 127.0.0.1 - ptanim@email - [2025-07-21 23:58:36] "PROPFIND /xxxassets/Models/source/B7B74A6A-C0C1-4461-BA7F-47893257D8CF/" depth=1, elap=0.057sec -> 500 Internal Server Error
00:58:38.313 - ERROR   : Traceback (most recent call last):
  File "/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/wsgidav/error_printer.py", line 50, in __call__
    for v in app_iter:
  File "/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/wsgidav/request_resolver.py", line 224, in __call__
    for v in app_iter:
  File "/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/wsgidav/request_server.py", line 127, in __call__
    app_iter = provider.custom_request_handler(environ, start_response, method)
  File "/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/wsgidav/dav_provider.py", line 1594, in custom_request_handler
    return default_handler(environ, start_response)
  File "/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/wsgidav/request_server.py", line 362, in do_PROPFIND
    propList = child.get_properties("allprop")
  File "/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/wsgidav/dav_provider.py", line 580, in get_properties
    name_list = self.get_property_names(is_allprop=mode == "allprop")
  File "/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/wsgidav/dav_provider.py", line 534, in get_property_names
    if self.get_last_modified() is not None:
  File "/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/wsgidav/seafile_dav_provider.py", line 153, in get_last_modified
    if self.obj.mtime > 0:
AttributeError: 'SeafFile' object has no attribute 'mtime'

00:58:38.313 - ERROR   : Caught HTTPRequestException(HTTP_INTERNAL_ERROR)
Traceback (most recent call last):
  File "/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/wsgidav/error_printer.py", line 50, in __call__
    for v in app_iter:
  File "/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/wsgidav/request_resolver.py", line 224, in __call__
    for v in app_iter:
  File "/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/wsgidav/request_server.py", line 127, in __call__
    app_iter = provider.custom_request_handler(environ, start_response, method)
  File "/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/wsgidav/dav_provider.py", line 1594, in custom_request_handler
    return default_handler(environ, start_response)
  File "/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/wsgidav/request_server.py", line 362, in do_PROPFIND
    propList = child.get_properties("allprop")
  File "/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/wsgidav/dav_provider.py", line 580, in get_properties
    name_list = self.get_property_names(is_allprop=mode == "allprop")
  File "/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/wsgidav/dav_provider.py", line 534, in get_property_names
    if self.get_last_modified() is not None:
  File "/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/wsgidav/seafile_dav_provider.py", line 153, in get_last_modified
    if self.obj.mtime > 0:
AttributeError: 'SeafFile' object has no attribute 'mtime'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/seafile/seafile-server-11.0.3/seahub/thirdpart/wsgidav/error_printer.py", line 83, in __call__
    raise as_DAVError(e)
wsgidav.dav_error.DAVError: 500

Another output from rclone

2025/07/22 09:34:03 ERROR : Attempt 1/3 failed with 1 errors and: couldn't list files: <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01//EN' 'http://www.w3.org/TR/html4/strict.dtd'>
<html><head>
  <meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
  <title>500 Internal Server Error</title>
</head><body>
  <h1>500 Internal Server Error</h1>
  <p>500 Internal Server Error: An internal server error occurred
    Source exception: &#x27;&#x27;SeafFile&#x27; object has no attribute &#x27;mtime&#x27;&#x27;</p>
<hr/>
<a href='https://github.com/mar10/wsgidav/'>WsgiDAV/4.1.0</a> - 2025-07-22 09:34:03.473994
</body></html>: 500 Internal Server Error
2025/07/22 09:34:05 DEBUG : pacer: Reducing sleep to 1.5s
2025/07/22 09:34:05 DEBUG : {B7B74A6A-C0C1-4461-BA7F-47893257D8CF}.zip: Sizes identical
2025/07/22 09:34:05 DEBUG : {B7B74A6A-C0C1-4461-BA7F-47893257D8CF}.zip: Unchanged skipping
2025/07/22 09:34:07 DEBUG : pacer: low level retry 1/10 (error <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01//EN' 'http://www.w3.org/TR/html4/strict.dtd'>
<html><head>
  <meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
  <title>500 Internal Server Error</title>
</head><body>
  <h1>500 Internal Server Error</h1>
  <p>500 Internal Server Error: An internal server error occurred
    Source exception: &#x27;&#x27;SeafFile&#x27; object has no attribute &#x27;mtime&#x27;&#x27;</p>
<hr/>

It can’t seem to get inside that folder and list the files and it seems to have something to do with the date modified from what I’ve read online?

All the other folders are working correctly
Anyone got any ideas?

The problem is likely to have already been resolved in version 12.0.

Please upgrade your server to 12.0 and check if the problem has already been solved.