Seadrive 3.0.11 通过软链接更改缓存目录后,下载文件弹窗报错,显示“未能完成该操作。无此文件或目录”

更新了最新版Seadrive, 一切正常运行,但日志里出现了一条报错

[11/30/24 00:52:32] starting applet rpc service
[11/30/24 00:52:32] failed to bind unix socket fd to ../../Volumes/RamDisk/SeadriveCache/seadrive_client.sock : No such file or directory
[11/30/24 00:52:32] failed to start rpc service
[11/30/24 00:52:32] seadrive gui started
[11/30/24 00:52:32] loaded 1 accounts
[11/30/24 00:52:33] [File Provider] Listing domains
[11/30/24 00:52:33] [File Provider] Reenumerating items
[11/30/24 00:52:33] [File Provider] Listing domains
[11/30/24 00:52:34] pipe client failed to connect to server: No such file or directory
[11/30/24 00:52:35] pipe client failed to connect to server: No such file or directory
[11/30/24 00:52:35] Call searpc from disconnected client
[11/30/24 00:52:35] Call searpc from disconnected client
[11/30/24 00:52:35] Call searpc from disconnected client
[11/30/24 00:52:35] Call searpc from disconnected client
[11/30/24 00:52:36] pipe client failed to connect to server: No such file or directory
[11/30/24 00:52:36] Call searpc from disconnected client
[11/30/24 00:52:36] Call searpc from disconnected client
[11/30/24 00:52:36] Call searpc from disconnected client
[11/30/24 00:52:36] Call searpc from disconnected client
[11/30/24 00:52:37] pipe client failed to connect to server: No such file or directory
[11/30/24 00:52:37] Call searpc from disconnected client
[11/30/24 00:52:37] Call searpc from disconnected client
[11/30/24 00:52:37] Call searpc from disconnected client
[11/30/24 00:52:37] Call searpc from disconnected client
[11/30/24 00:52:37] Call searpc from disconnected client
.......

(/Volumes/RamDisk/SeadriveCache/ 是此前我在旧版seadrive里面设置的缓存目录)

此时一切还正常运行,但发现新版Seadrive没有更改缓存目录的选项,于是创建了一个软链接,重命名为Data,替换掉了~/Library/Containers/com.seafile.seadrive.fprovider/下的Data文件夹。

重启Seadrive后一直卡在Starting,报错也是一样的,把软连接去掉后报错依旧。

[11/30/24 00:52:32] starting applet rpc service
[11/30/24 00:52:32] failed to bind unix socket fd to ../../Volumes/RamDisk/SeadriveCache/seadrive_client.sock : No such file or directory
[11/30/24 00:52:32] failed to start rpc service
[11/30/24 00:52:32] seadrive gui started

这个错误可以通过将
/Users/your_name/Library/Preferences/com.seafile.Seafile\ Drive\ Client.plist
里面的 Settings.cacheDir 的值改为 Documents解决,或者删除掉这个文件,重启软件/重启系统

[11/30/24 00:52:34] pipe client failed to connect to server: No such file or directory
[11/30/24 00:52:35] pipe client failed to connect to server: No such file or directory
[11/30/24 00:52:35] Call searpc from disconnected client
[11/30/24 00:52:35] Call searpc from disconnected client
[11/30/24 00:52:35] Call searpc from disconnected client
[11/30/24 00:52:35] Call searpc from disconnected client

这个错误需要在修改完上面的
/Users/your_name/Library/Preferences/com.seafile.Seafile\ Drive\ Client.plist
之后,重启系统解决

但是将~/Library/Containers/com.seafile.seadrive.fprovider/Data通过软连接指向其它地方之后,下载文件会弹窗报错,显示“未能完成该操作。无此文件或目录”

在系统的控制台里面发现有许多报错,主要是如下三个:

失敗	21:11:37.491369+0800	searchpartyuseragent	CoreData: Unable to create token NSXPCConnection.  NSXPCStoreServerEndpointFactory 0x146e258c0 -newEndpoint returned nil

失敗	21:11:37.492651+0800	searchpartyuseragent	Persistent store coordinator created with no stores

失敗	21:11:37.499275+0800	searchpartyuseragent	Couldn't read values in CFPrefsPlistSource<0x14803b9c0> (Domain: com.apple.AddressBook, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: Yes): accessing these preferences requires user-preference-read or file-read-data sandbox access

SeaDrive 3.0 不能用软链接替换 Data 目录的,SeaDrive 3.0 已经不用这个缓存目录了,您需要卸载后把 Data 也删除后重新安装

请问目前还有其他办法可以更换3.0的缓存目录吗?或者说有计划加入‘更改缓存目录’的功能吗?之前SeaDrive 2.0里有个选项可以更改的。

目前没有这个计划