haiwen / seafile

High performance file syncing and sharing, with also Markdown WYSIWYG editing, Wiki, file label and other knowledge management features.
http://seafile.com/
Other
12.4k stars 1.55k forks source link

Docker Seafile 11 Seafdav (Webdav) upload issue: 0 Byte Files #2809

Open nobe80 opened 3 months ago

nobe80 commented 3 months ago

Hi,

i have faced an issue with Seafile webdav (Seafdav) when i use Seafile Version 11 after upgrade to 11.0.11. The issue is the follow:

In Windows file explorer i have successful a Webdav drive over https to the Seafile server. So seafdav is enabled, we can see all folders. When i upload some files like pdf or simple text files i get an error “… file is to big…” and i have 0 Bytes files in the folder.

When i downgrade to Seafile Version 10 again no problems at all. Everything works fine then. We use Seafile docker community.

Does anyone have a hint what could be the reason?

seafdav2 seafdav1

imwhatiam commented 2 months ago

Hello, Seafile’s seafdav is based on the wsgidav project(GitHub - mar10/wsgidav: A generic and extendable WebDAV server based on WSGI 1). Seafile version 10 uses wsgidav 4.1, while version 11 uses wsgidav 4.3.

It seems that wsgidav added some checks in version 4.3, which caused your issue.

We have also conducted tests, and it seems that this issue only occurs when connecting to seafdav using Windows File Explorer. Other WebDAV clients do not encounter this problem.

We will debug it to see if they can resolve this problem.

nobe80 commented 2 months ago

Hi @imwhatiam

so that means that with wsgidav as standalone the bug would also be there?

So the functionality without any apps is the most important thing for using Seafile with Windows. It is a must have that it works further, like before.

Thanks and please keep me updated

imwhatiam commented 2 months ago

@nobe80 We will try to solve this problem, but we need to gain a deep understanding of the WsgiDAV project, which may take quite a long time.

nobe80 commented 2 months ago

@imwhatiam Thanks for that info. Do you know how long Seafile 10 will work further? Because in that case we have to use Seafile 10 until the bug is fixed.

regards

gianogli commented 1 month ago

@imwhatiam Any news regarding this issue? We upgrade our seafile installation to 11 some weeks ago and now all our users have 0 byte files only!!! If they try to upload/restore the correct file, the server change it again with a file of 0 byte after 3/4 seconds. Unusable!!! Can you tell us how the correct way to rollback to 10? (on-premise pro installation without docker). Thanks...

nobe80 commented 1 day ago

Hi @imwhatiam ,

do you have any news on this? The issue is still pending since summer this year! We need that feature because the native webdav is the most important function and the reason why we are using Seafile! So please tell me when this mistake will be fixed? What happend in the meantime ate the dev team?

thanky & regards