seafile客户端同步&自动删除本地文件

SEAFILE服务端:PRO 6.2.13
SEAFILE客户端:6.1.8

一直没使用过客户端的同步功能,使用SEADRIVE,并用命令CP文件同步,但SEADRIVE升级某个版本后,目录结构变了,也无法用COPY命令拷文件过去,只能尝试SEAFILE的同步功能

操作步骤:用文件浏览器,把某个文件夹拖动到SEAFILE客户端,此时会自动上传,并标记为自动同步。本地目录上传完后,目录里的文件会自动删除,但是SEAFILE上的目录结构及文件全部正常

SEAFILE部份日志:
seafile.log

[06/29/18 17:11:25] seaf-daemon.c(558): starting seafile client 6.1.8
[06/29/18 17:11:25] seaf-daemon.c(560): seafile source code version 529172aa2ee41794299bc22289b555d391cf0beb
[06/29/18 17:11:25] …/common/mq-mgr.c(60): [mq client] mq cilent is started
[06/29/18 17:11:25] …/common/mq-mgr.c(106): [mq mgr] publish to heartbeat mq: seafile.heartbeat
[06/29/18 17:11:25] seafile-session.c(422): Moving blocks for deleted repo 6a800509-b168-4358-b24e-f42554de516f.
[06/29/18 17:11:26] repo-mgr.c(6609): Removing store E:/SYNC/Seafile/Seafile/seafile-data\deleted_store\blocks\6a800509-b168-4358-b24e-f42554de516f
[06/29/18 17:11:27] sync-mgr.c(2252): File syncing protocol version on server https://******** is 2. Client file syncing protocol version is 2. Use version 2.
[06/29/18 17:14:10] clone-mgr.c(847): Transition clone state for 0df1d1ec from [init] to [check server].
[06/29/18 17:14:10] [06/29/18 17:14:10] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘init’) → (‘normal’, ‘check’)
clone-mgr.c(847): Transition clone state for 0df1d1ec from [check server] to [fetch].
[06/29/18 17:14:11] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘check’) → (‘normal’, ‘commit’)
[06/29/18 17:14:11] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘commit’) → (‘normal’, ‘fs’)
[06/29/18 17:14:11] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘fs’) → (‘normal’, ‘data’)
[06/29/18 17:14:11] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘data’) → (‘finished’, ‘finished’)
[06/29/18 17:14:11] clone-mgr.c(847): Transition clone state for 0df1d1ec from [fetch] to [done].
[06/29/18 17:14:12] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘synchronized’ to ‘committing’.
[06/29/18 17:14:12] repo-mgr.c(3741): All events are processed for repo 0df1d1ec-d3ec-43ee-bb7c-f50f8fbd3a4a.
[06/29/18 17:14:12] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘committing’ to ‘uploading’.
[06/29/18 17:14:12] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘init’) → (‘normal’, ‘check’)
[06/29/18 17:14:12] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘check’) → (‘normal’, ‘commit’)
[06/29/18 17:14:12] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘commit’) → (‘normal’, ‘fs’)
[06/29/18 17:14:13] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘fs’) → (‘normal’, ‘data’)
[06/29/18 17:14:15] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘data’) → (‘normal’, ‘update-branch’)
[06/29/18 17:14:15] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘update-branch’) → (‘finished’, ‘finished’)
[06/29/18 17:14:15] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘uploading’ to ‘initializing’.
[06/29/18 17:14:15] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘initializing’ to ‘downloading’.
[06/29/18 17:14:15] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘init’) → (‘normal’, ‘check’)
[06/29/18 17:14:15] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘check’) → (‘normal’, ‘commit’)
[06/29/18 17:14:15] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘commit’) → (‘normal’, ‘fs’)
[06/29/18 17:14:15] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘fs’) → (‘normal’, ‘data’)
[06/29/18 17:14:15] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘data’) → (‘finished’, ‘finished’)
[06/29/18 17:14:15] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘downloading’ to ‘synchronized’.
[06/29/18 17:14:17] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘synchronized’ to ‘committing’.
[06/29/18 17:14:17] repo-mgr.c(3741): All events are processed for repo 0df1d1ec-d3ec-43ee-bb7c-f50f8fbd3a4a.
[06/29/18 17:14:20] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘committing’ to ‘synchronized’.
[06/29/18 17:14:26] repo-mgr.c(6609): Removing store E:/SYNC/Seafile/Seafile/seafile-data\deleted_store\commits\b00c17c0-f962-4596-bbb7-255d8c83d375
[06/29/18 17:14:26] repo-mgr.c(6609): Removing store E:/SYNC/Seafile/Seafile/seafile-data\deleted_store\fs\b00c17c0-f962-4596-bbb7-255d8c83d375
[06/29/18 17:14:39] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘synchronized’ to ‘committing’.
[06/29/18 17:14:39] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘committing’ to ‘initializing’.
[06/29/18 17:14:39] sync-mgr.c(1553): Removing blocks for repo testupload(0df1d1ec).

E:/SYNC/Seafile/Seafile/为我本地SEAFILE的缓存目录

更换过一台电脑,情况一样。

seafile-2

seafile-3

seafile-4

e:\xxx\testupload为我本地目录,上传完目录下的文件自动删除,seafile上的目录正常
如需提供什么配置或文件,请回复

另外借楼问下,怎么让PDF预览支持大于50M的文件,这个50M好像是程序固定限制的,通过改配置文件似乎无法突破

最新情况:
最后一个测试后隔大概一个小时零几分钟,突然右下角弹出SEAFILE已同步几个文件的气泡。
我到测试目录看了下,文件重新回来了(中间不管怎么重新同步,本地文件都没出现,后来我就没再理会)
本地文件回来后,我再次尝试丢几个文件到测试目录里,文件还是自动同步上传到SEAFILE后自动删除(只有这几个文件删除)
还是一样过了大概一个小时这几个文件再次被SEAFILE客户端同步回来

莫名奇妙。。

附最后的日志:

[06/29/18 18:14:35] [06/29/18 18:14:35] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘initializing’ to ‘downloading’.
http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘init’) → (‘normal’, ‘check’)
[06/29/18 18:14:35] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘check’) → (‘normal’, ‘commit’)
[06/29/18 18:14:35] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘commit’) → (‘normal’, ‘fs’)
[06/29/18 18:14:35] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘fs’) → (‘normal’, ‘data’)
[06/29/18 18:14:43] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘data’) → (‘finished’, ‘finished’)
[06/29/18 18:14:43] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘downloading’ to ‘synchronized’.
[06/29/18 18:14:45] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘synchronized’ to ‘committing’.
[06/29/18 18:14:45] repo-mgr.c(3741): All events are processed for repo 0df1d1ec-d3ec-43ee-bb7c-f50f8fbd3a4a.
[06/29/18 18:14:45] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘committing’ to ‘synchronized’.
[06/29/18 18:20:40] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘synchronized’ to ‘committing’.
[06/29/18 18:20:40] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘committing’ to ‘initializing’.
[06/29/18 18:20:40] sync-mgr.c(1553): Removing blocks for repo testupload(0df1d1ec).
[06/29/18 18:21:16] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘synchronized’ to ‘committing’.
[06/29/18 18:21:17] repo-mgr.c(3741): All events are processed for repo 0df1d1ec-d3ec-43ee-bb7c-f50f8fbd3a4a.
[06/29/18 18:21:17] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘committing’ to ‘uploading’.
[06/29/18 18:21:17] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘init’) → (‘normal’, ‘check’)
[06/29/18 18:21:17] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘check’) → (‘normal’, ‘commit’)
[06/29/18 18:21:17] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘commit’) → (‘normal’, ‘fs’)
[06/29/18 18:21:17] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘fs’) → (‘normal’, ‘data’)
[06/29/18 18:21:17] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘data’) → (‘normal’, ‘update-branch’)
[06/29/18 18:21:17] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘update-branch’) → (‘finished’, ‘finished’)
[06/29/18 18:21:17] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘uploading’ to ‘initializing’.
[06/29/18 18:21:17] [06/29/18 18:21:17] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘initializing’ to ‘downloading’.
http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘init’) → (‘normal’, ‘check’)
[06/29/18 18:21:17] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘check’) → (‘normal’, ‘commit’)
[06/29/18 18:21:17] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘commit’) → (‘normal’, ‘fs’)
[06/29/18 18:21:17] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘fs’) → (‘normal’, ‘data’)
[06/29/18 18:21:17] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘data’) → (‘finished’, ‘finished’)
[06/29/18 18:21:17] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘downloading’ to ‘synchronized’.
[06/29/18 18:21:19] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘synchronized’ to ‘committing’.
[06/29/18 18:21:20] repo-mgr.c(3741): All events are processed for repo 0df1d1ec-d3ec-43ee-bb7c-f50f8fbd3a4a.
[06/29/18 18:21:20] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘committing’ to ‘synchronized’.
[06/29/18 18:21:50] sync-mgr.c(1553): Removing blocks for repo testupload(0df1d1ec).
[06/29/18 18:22:12] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘synchronized’ to ‘committing’.
[06/29/18 18:22:12] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘committing’ to ‘initializing’.
[06/29/18 18:34:18] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘synchronized’ to ‘committing’.
[06/29/18 18:34:18] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘committing’ to ‘initializing’.
[06/29/18 18:51:38] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘synchronized’ to ‘committing’.
[06/29/18 18:51:38] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘committing’ to ‘initializing’.
[06/29/18 18:51:49] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘synchronized’ to ‘committing’.
[06/29/18 18:51:49] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘committing’ to ‘initializing’.
[06/29/18 19:14:42] wt-monitor-win32.c(570): GetQueuedCompletionStatus failed, error code 121[06/29/18 19:15:04] [06/29/18 19:15:04] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘initializing’ to ‘downloading’.
http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘init’) → (‘normal’, ‘check’)
[06/29/18 19:15:04] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘check’) → (‘normal’, ‘commit’)
[06/29/18 19:15:04] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘commit’) → (‘normal’, ‘fs’)
[06/29/18 19:15:04] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘fs’) → (‘normal’, ‘data’)
[06/29/18 19:15:05] http-tx-mgr.c(1153): Transfer repo ‘0df1d1ec’: (‘normal’, ‘data’) → (‘finished’, ‘finished’)
[06/29/18 19:15:05] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘downloading’ to ‘synchronized’.
[06/29/18 19:15:07] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘synchronized’ to ‘committing’.
[06/29/18 19:15:07] repo-mgr.c(3741): All events are processed for repo 0df1d1ec-d3ec-43ee-bb7c-f50f8fbd3a4a.
[06/29/18 19:15:07] sync-mgr.c(739): Repo ‘testupload’ sync state transition from ‘committing’ to ‘synchronized’.

Seafile 自身不会删除本地的数据的,你可以查看一下服务器上这个资料库的修改历史,看是哪个客户端删除过数据。

没有,暂时只有自己用,没装或启动其它客户端

刚测试登录另一个新帐号同步,也是同样情况。。

貌似没听说过有类似情况。从你提供的信息我也猜测不出是什么原因。如果服务器上的修改历史没有显示删除过文件,那就是没有删除。

另外,挂载盘客户端换了目录结构之后,也是可以复制文件进去的,不过是只能复制进去资料库里面,不能复制到 “我的资料库” 这一级。

真是搞不懂原因

修改历史只有添加文件。我觉得是客户端的问题,服务端我觉得也不可能会有设置是同步时删除本地文件的