haiwen / seafile-client

Seafile desktop client.
http://seafile.com
Apache License 2.0
462 stars 281 forks source link

Seadrive + Windows Server 2019, Failed to delete file in explorer #1500

Closed rorschach-py closed 4 months ago

rorschach-py commented 7 months ago

Windows Server2019 Desktop, Seadrive 3.0.7

Explorer warn and refuse to delete any file: Invalid file handle.

but deleting a file via command line works. Create/Copy/Move a file in Explorer also works well.

seadrive-gui.log: failed to read request from shell extension: ??????????

Works well in Windows 10 LTSC and Windows Server2022.

killing commented 7 months ago

You can refer to this FAQ: https://cloud.seatable.io/dtable/external-links/7b976c85f504491cbe8e/?tid=78wK&vid=0000&row-id=ZWA0DbigSKGWtnnGivkFmw

killing commented 7 months ago

Perhaps the error in Windows Explorer is not related to the message in seadriv-gui.log. Deleting a file doesn't involve the extension.

rorschach-py commented 6 months ago

I tried Seadrive 3.0.7 in Windows 10 LTSC, Explorer delete files on the same server with no error. After that, Explorer on Server2019 removed the placeholder file in time.

I'm sure files on server are not cropted, they're just several txt file with a few bytes. I'll paste some screenshots later.

剪贴板01

[12/22/23 11:35:27] starting applet rpc service
[12/22/23 11:35:27] applet rpc service started
[12/22/23 11:35:27] seadrive gui started
[12/22/23 11:35:27] loaded 1 accounts
[12/22/23 11:35:27] Using cache directory: C:/Users/Administrator/seadrive_root
[12/22/23 11:35:27] starting seadrive daemon: seadrive.exe "-d" "C:/Users/Administrator/seadrive/data" "-l" "C:/Users/Administrator/seadrive/logs/seadrive.log" "-L" "zh_cn" "C:\\Users\\Administrator\\seadrive_root"
[12/22/23 11:35:27] use exist syncroot name test_1
[12/22/23 11:35:30] Add account http://192.168.1.5 test@a.com 7b82ba4
[12/22/23 11:35:30] [ext listener] listening on \\.\pipe\seadrive_ext_pipe_QWRtaW5pc3RyYXRvcg==
[12/22/23 11:37:30] failed to read request from shell extension: ??????????

[12/22/23 11:37:44] failed to read request from shell extension: ??????????

[12/22/23 11:37:59] failed to read request from shell extension: ??????????

[12/22/23 11:43:41] app event loop exited with 0

[12/22/23 11:43:41] [Daemon Mgr] stopping seadrive daemon
[12/22/23 11:43:42] Seadrive daemon process exited normally with code 0 
[12/22/23 11:43:42] Please call QDesktopServices::unsetUrlHandler() before destroying a registered URL handler object.
Support for destroying a registered URL handler object is deprecated, and will be removed in Qt 6.6.
feiniks commented 4 months ago

Hello @rorschach-py , do you install third party antivirus? If you stop the antivirus software, are you able to delete the files under seadrive properly?

rorschach-py commented 4 months ago

Hello @rorschach-py , do you install third party antivirus? If you stop the antivirus software, are you able to delete the files under seadrive properly?

I tried Windows Server2022 and everything works well, there maybe some bugs in Server2019.