环境:
客户端OS: win7旗舰64bit
客户端:5.1.1
服务器OS:ubuntu server 14.04
服务端版本:5.1.1社区版
出现问题:
用客户端界面下方拖拽的方式上传一个2.28G文件时一段时间后显示失败。
用资源管理器复制该文件至同步目录让客户端自动触发同步,结果一段时间内同步停止,再启动再停止。不断反复。一直无法上传整个文件。
请教这个故障可能是什么原因导致的?如何进行测试及修复?
环境:
客户端OS: win7旗舰64bit
客户端:5.1.1
服务器OS:ubuntu server 14.04
服务端版本:5.1.1社区版
出现问题:
用客户端界面下方拖拽的方式上传一个2.28G文件时一段时间后显示失败。
用资源管理器复制该文件至同步目录让客户端自动触发同步,结果一段时间内同步停止,再启动再停止。不断反复。一直无法上传整个文件。
请教这个故障可能是什么原因导致的?如何进行测试及修复?
这个得看看日志。点击 seafile 客户端托盘图标 -> 菜单里选 “打开日志文件夹”,然后看看 seafile.log 里有什么错误消息。
f053251a314e/block/ff93149e53619d63025b56086be79c7c74af6f67: Operation was aborted by an application callback.
[05/14/16 00:34:48] http-tx-mgr.c(1012): Transfer repo ‘d1c847de’: (‘normal’, ‘data’) --> (‘error’, ‘finished’)
[05/14/16 00:34:48] sync-mgr.c(728): Repo ‘我的资料库’ sync state transition from uploading to ‘error’: ‘Error occured in upload.’.
[05/14/16 00:34:48] sync-mgr.c(660): Repo ‘我的资料库’ sync state transition from ‘synchronized’ to ‘uploading’.
[05/14/16 00:34:48] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.
[05/14/16 00:34:48] http-tx-mgr.c(1012): Transfer repo ‘d1c847de’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)
[05/14/16 00:34:50] http-tx-mgr.c(1012): Transfer repo ‘d1c847de’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[05/14/16 00:34:50] http-tx-mgr.c(1012): Transfer repo ‘d1c847de’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)
[05/14/16 00:34:51] http-tx-mgr.c(1012): Transfer repo ‘d1c847de’: (‘normal’, ‘fs’) --> (‘normal’, ‘data’)
[05/14/16 00:36:17] http-tx-mgr.c(842): libcurl failed to PUT http://133.130.123.235/seafhttp/repo/d1c847de-6b15-4717-a3ef-f053251a314e/block/f7b2471a86ec6342f6167b7022eb3557438a2754: Failure when receiving data from the peer.
[05/14/16 00:36:17] http-tx-mgr.c(842): libcurl failed to PUT http://133.130.123.235/seafhttp/repo/d1c847de-6b15-4717-a3ef-f053251a314e/block/75cc3e33c10c43659cc0474221b4e7135cb1e1ce: Operation was aborted by an application callback.
[05/14/16 00:36:40] http-tx-mgr.c(842): libcurl failed to PUT http://133.130.123.235/seafhttp/repo/d1c847de-6b15-4717-a3ef-f053251a314e/block/b4e8e5711a4cb26dcc03ee6bdb9674b1bf1318e9: Failure when receiving data from the peer.
[05/14/16 00:36:51] http-tx-mgr.c(842): libcurl failed to PUT http://133.130.123.235/seafhttp/repo/d1c847de-6b15-4717-a3ef-
可能是服务器的磁盘满了。 可以检查一下服务器端的 seafile.log 日志。
seafile.log的内容:
[05/11/2016 03:55:12 PM] …/common/mq-mgr.c(60): [mq client] mq cilent is started
[05/11/2016 03:55:12 PM] …/common/mq-mgr.c(106): [mq mgr] publish to hearbeat mq: seaf_server.heartbeat
[05/11/2016 03:55:19 PM] Disconnected from daemon
[05/11/2016 03:55:20 PM] …/common/mq-mgr.c(60): [mq client] mq cilent is started
[05/11/2016 03:55:20 PM] …/common/mq-mgr.c(106): [mq mgr] publish to hearbeat mq: seaf_server.heartbeat
[05/12/2016 05:12:28 PM] …/common/mq-mgr.c(60): [mq client] mq cilent is started
[05/12/2016 05:12:28 PM] …/common/mq-mgr.c(106): [mq mgr] publish to hearbeat mq: seaf_server.heartbeat
一切正常啊。我试过同步一个本地的文件夹生成的资料库是可以的。建立用户时生成的《我的资料库》同步时就会中断。