接上贴日志1,windows客户端始终只能同步部分内容

故障现象: windows客户端始终只能同步部分内容,无法全部完成同步

[12/12/16 21:04:37] seaf-daemon.c(548): starting seafile client 6.0.1
[12/12/16 21:04:37] seaf-daemon.c(550): seafile source code version 471e3eeccfbf4f15a887784cc8750dd622f61e70
[12/12/16 21:04:37] …/common/mq-mgr.c(60): [mq client] mq cilent is started
[12/12/16 21:04:37] …/common/mq-mgr.c(106): [mq mgr] publish to heartbeat mq: seafile.heartbeat
[12/12/16 21:10:56] seaf-daemon.c(548): starting seafile client 6.0.1
[12/12/16 21:10:56] seaf-daemon.c(550): seafile source code version 471e3eeccfbf4f15a887784cc8750dd622f61e70
[12/12/16 21:10:56] …/common/mq-mgr.c(60): [mq client] mq cilent is started
[12/12/16 21:10:56] …/common/mq-mgr.c(106): [mq mgr] publish to heartbeat mq: seafile.heartbeat
[12/12/16 21:13:33] seaf-daemon.c(548): starting seafile client 6.0.1
[12/12/16 21:13:33] seaf-daemon.c(550): seafile source code version 471e3eeccfbf4f15a887784cc8750dd622f61e70
[12/12/16 21:13:33] …/common/mq-mgr.c(60): [mq client] mq cilent is started
[12/12/16 21:13:37] …/common/mq-mgr.c(106): [mq mgr] publish to heartbeat mq: seafile.heartbeat
[12/12/16 21:16:25] clone-mgr.c(819): Transition clone state for 9e8f7308 from [init] to [connect].
[12/12/16 21:16:25] http-tx-mgr.c(1113): Bad response code for GET http://166.111.9.43:8000/seafhttp/protocol-version: 404.
[12/12/16 21:16:25] [12/12/16 21:16:25] clone-mgr.c(819): Transition clone state for 9e8f7308 from [connect] to [fetch].
http-tx-mgr.c(4130): Download with HTTP sync protocol version 1.

[12/12/16 21:16:26] http-tx-mgr.c(1012): Transfer repo ‘9e8f7308’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)
[12/12/16 21:16:26] http-tx-mgr.c(1012): Transfer repo ‘9e8f7308’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[12/12/16 21:16:26] http-tx-mgr.c(1012): Transfer repo ‘9e8f7308’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)
[12/12/16 21:16:26] http-tx-mgr.c(1012): Transfer repo ‘9e8f7308’: (‘normal’, ‘fs’) --> (‘normal’, ‘data’)
[12/12/16 21:16:27] http-tx-mgr.c(1012): Transfer repo ‘9e8f7308’: (‘normal’, ‘data’) --> (‘finished’, ‘finished’)
[12/12/16 21:16:28] clone-mgr.c(819): Transition clone state for 9e8f7308 from [fetch] to [done].
[12/12/16 21:16:29] http-tx-mgr.c(1113): Bad response code for GET http://166.111.9.43:8000/seafhttp/protocol-version: 404.
[12/12/16 21:16:30] sync-mgr.c(660): Repo ‘我的资料库’ sync state transition from ‘synchronized’ to ‘committing’.
[12/12/16 21:16:30] repo-mgr.c(3592): All events are processed for repo 9e8f7308-20ab-4216-88fd-9eee60e2a01b.
[12/12/16 21:16:30] sync-mgr.c(660): Repo ‘我的资料库’ sync state transition from ‘committing’ to ‘initializing’.
[12/12/16 21:16:30] sync-mgr.c(1479): Removing blocks for repo 我的资料库(9e8f7308).
[12/12/16 21:16:59] clone-mgr.c(819): Transition clone state for 72d85d11 from [init] to [connect].
[12/12/16 21:16:59] http-tx-mgr.c(1113): Bad response code for GET http://166.111.9.43:8000/seafhttp/protocol-version: 404.
[12/12/16 21:16:59] clone-mgr.c(819): Transition clone state for 72d85d11 from [connect] to [fetch].
[12/12/16 21:16:59] http-tx-mgr.c(4130): Download with HTTP sync protocol version 1.
[12/12/16 21:16:59] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)
[12/12/16 21:16:59] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[12/12/16 21:16:59] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)
[12/12/16 21:16:59] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘fs’) --> (‘normal’, ‘data’)
[12/12/16 21:17:00] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘data’) --> (‘finished’, ‘finished’)
[12/12/16 21:17:02] clone-mgr.c(819): Transition clone state for 72d85d11 from [fetch] to [done].
[12/12/16 21:17:02] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘synchronized’ to ‘committing’.
[12/12/16 21:17:04] repo-mgr.c(2429): Creating partial commit after adding .
[12/12/16 21:17:04] repo-mgr.c(2445): Remain files for .

[12/12/16 21:17:04] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘committing’ to ‘uploading’.
[12/12/16 21:17:04] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.
[12/12/16 21:17:04] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)
[12/12/16 21:17:04] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[12/12/16 21:17:04] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)
[12/12/16 21:17:04] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘fs’) --> (‘normal’, ‘data’)
[12/12/16 21:17:15] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘data’) --> (‘normal’, ‘update-branch’)
[12/12/16 21:17:16] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘update-branch’) --> (‘finished’, ‘finished’)
[12/12/16 21:17:16] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘uploading’ to ‘initializing’.
[12/12/16 21:17:16] sync-mgr.c(1479): Removing blocks for repo music(72d85d11).
[12/12/16 21:17:17] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘synchronized’ to ‘committing’.
[12/12/16 21:17:17] repo-mgr.c(2458): Adding remaining files for .
[12/12/16 21:17:22] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘committing’ to ‘uploading’.
[12/12/16 21:17:22] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.
[12/12/16 21:17:22] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)
[12/12/16 21:17:23] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[12/12/16 21:17:23] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)
[12/12/16 21:17:23] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘fs’) --> (‘normal’, ‘data’)
[12/12/16 21:17:40] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘data’) --> (‘normal’, ‘update-branch’)
[12/12/16 21:17:42] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘update-branch’) --> (‘finished’, ‘finished’)
[12/12/16 21:17:42] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘uploading’ to ‘initializing’.
[12/12/16 21:17:43] sync-mgr.c(1479): Removing blocks for repo music(72d85d11).
[12/12/16 21:17:44] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘synchronized’ to ‘committing’.
[12/12/16 21:17:44] repo-mgr.c(2458): Adding remaining files for .

[12/12/16 21:17:46] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘committing’ to ‘uploading’.
[12/12/16 21:17:46] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.
[12/12/16 21:17:46] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)
[12/12/16 21:17:47] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[12/12/16 21:17:47] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)
[12/12/16 21:17:47] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘fs’) --> (‘normal’, ‘data’)
[12/12/16 21:17:51] sync-mgr.c(660): Repo ‘我的资料库’ sync state transition from ‘synchronized’ to ‘committing’.
[12/12/16 21:17:51] repo-mgr.c(3592): All events are processed for repo 9e8f7308-20ab-4216-88fd-9eee60e2a01b.
[12/12/16 21:17:51] sync-mgr.c(660): Repo ‘我的资料库’ sync state transition from ‘committing’ to ‘synchronized’.
[12/12/16 21:17:59] sync-mgr.c(660): Repo ‘我的资料库’ sync state transition from ‘synchronized’ to ‘committing’.
[12/12/16 21:17:59] repo-mgr.c(3592): All events are processed for repo 9e8f7308-20ab-4216-88fd-9eee60e2a01b.
[12/12/16 21:17:59] sync-mgr.c(660): Repo ‘我的资料库’ sync state transition from ‘committing’ to ‘synchronized’.
[12/12/16 21:18:05] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘data’) --> (‘normal’, ‘update-branch’)
[12/12/16 21:18:07] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘update-branch’) --> (‘finished’, ‘finished’)
[12/12/16 21:18:07] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘uploading’ to ‘initializing’.
[12/12/16 21:18:07] sync-mgr.c(1479): Removing blocks for repo music(72d85d11).
[12/12/16 21:18:08] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘synchronized’ to ‘committing’.
[12/12/16 21:18:08] repo-mgr.c(2458): Adding remaining files for .
[12/12/16 21:18:10] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘committing’ to ‘uploading’.
[12/12/16 21:18:10] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.

[12/12/16 21:18:10] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)
[12/12/16 21:18:11] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[12/12/16 21:18:11] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)
[12/12/16 21:18:13] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘fs’) --> (‘normal’, ‘data’)
[12/12/16 21:18:31] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘data’) --> (‘normal’, ‘update-branch’)
[12/12/16 21:18:35] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘update-branch’) --> (‘finished’, ‘finished’)
[12/12/16 21:18:36] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘uploading’ to ‘initializing’.
[12/12/16 21:18:36] sync-mgr.c(1479): Removing blocks for repo music(72d85d11).
[12/12/16 21:18:36] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘synchronized’ to ‘committing’.
[12/12/16 21:18:36] repo-mgr.c(2458): Adding remaining files for .
[12/12/16 21:18:38] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘committing’ to ‘uploading’.
[12/12/16 21:18:38] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.
[12/12/16 21:18:38] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)
[12/12/16 21:18:39] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[12/12/16 21:18:39] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)
[12/12/16 21:18:39] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘fs’) --> (‘normal’, ‘data’)
[12/12/16 21:19:04] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘data’) --> (‘normal’, ‘update-branch’)
[12/12/16 21:19:06] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘update-branch’) --> (‘finished’, ‘finished’)
[12/12/16 21:19:06] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘uploading’ to ‘initializing’.
[12/12/16 21:19:06] sync-mgr.c(1479): Removing blocks for repo music(72d85d11).
[12/12/16 21:19:06] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘synchronized’ to ‘committing’.
[12/12/16 21:19:06] repo-mgr.c(2458): Adding remaining files for .

[12/12/16 21:19:08] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘committing’ to ‘uploading’.
[12/12/16 21:19:08] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.
[12/12/16 21:19:08] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)
[12/12/16 21:19:08] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[12/12/16 21:19:09] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)
[12/12/16 21:19:09] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘fs’) --> (‘normal’, ‘data’)
[12/12/16 21:19:28] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘data’) --> (‘normal’, ‘update-branch’)
[12/12/16 21:19:30] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘update-branch’) --> (‘finished’, ‘finished’)
[12/12/16 21:19:30] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘uploading’ to ‘initializing’.
[12/12/16 21:19:30] sync-mgr.c(1479): Removing blocks for repo music(72d85d11).
[12/12/16 21:19:30] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘synchronized’ to ‘committing’.
[12/12/16 21:19:30] repo-mgr.c(2458): Adding remaining files for .
[12/12/16 21:19:35] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘committing’ to ‘uploading’.
[12/12/16 21:19:35] http-tx-mgr.c(3272): Upload with HTTP sync protocol version 1.
[12/12/16 21:19:35] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘init’) --> (‘normal’, ‘check’)
[12/12/16 21:19:35] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘check’) --> (‘normal’, ‘commit’)
[12/12/16 21:19:35] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘commit’) --> (‘normal’, ‘fs’)
[12/12/16 21:19:35] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘fs’) --> (‘normal’, ‘data’)
[12/12/16 21:19:35] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘data’) --> (‘normal’, ‘update-branch’)
[12/12/16 21:19:36] http-tx-mgr.c(1012): Transfer repo ‘72d85d11’: (‘normal’, ‘update-branch’) --> (‘finished’, ‘finished’)
[12/12/16 21:19:36] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘uploading’ to ‘initializing’.
[12/12/16 21:19:36] sync-mgr.c(1479): Removing blocks for repo music(72d85d11).
[12/12/16 21:19:36] sync-mgr.c(660): Repo ‘music’ sync state transition from ‘synchronized’ to ‘committing’.
[12/12/16 21:19:36] repo-mgr.c(2458): Adding remaining files for .

抱歉,粘贴最后一段日志的时候论坛总提示“有链接无法粘贴”,所以只好存成图片上传

这个问题有人关注么?

错误显示,你的 music 资料库在服务器上已经不存在了。如果在 web 界面上看没有问题的话,可以检查一下服务器的 seafile.log,看看有没有错误。

服务器seafile.log只有如下日志:

[12/12/16 21:03:13] …/common/mq-mgr.c(60): [mq client] mq cilent is started
[12/12/16 21:03:13] …/common/mq-mgr.c(106): [mq mgr] publish to hearbeat mq: seaf_server.heartbeat
[12/12/16 21:03:13] listen-mgr.c(120): listen on port 12001 for block tranfer
[12/12/16 21:15:22] http-server.c(1268): Failed to find repo 9e8f7308.

ccnet.log

[12/12/16 21:03:12] …/common/session.c(369): Exit at Mon Dec 12 21:03:12 2016

[12/12/16 21:03:12] …/common/session.c(132): using config file E:/seafile-server\conf\ccnet.conf
[12/12/16 21:03:12] …/common/session.c(418): Listen on 127.0.0.1 13418
[12/12/16 21:03:12] …/common/session.c(290): Update pubinfo file
[12/12/16 21:03:12] …/common/connect-mgr.c(515): Opened port 10001 to listen for incoming peer connections
[12/12/16 21:03:13] …/common/session.c(398): Accepted a local client
[12/12/16 21:03:13] …/common/session.c(398): Accepted a local client
[12/12/16 21:03:13] …/common/session.c(398): Accepted a local client
[12/12/16 21:03:13] …/common/session.c(398): Accepted a local client
[12/12/16 21:03:13] …/common/session.c(398): Accepted a local client
[12/12/16 21:03:15] …/common/session.c(398): Accepted a local client
[12/12/16 21:03:15] …/common/session.c(398): Accepted a local client
[12/12/16 21:03:33] …/common/session.c(398): Accepted a local client
[12/12/16 21:03:35] …/common/session.c(398): Accepted a local client
[12/12/16 21:03:35] …/common/session.c(398): Accepted a local client
[12/12/16 21:03:35] …/common/session.c(398): Accepted a local client
[12/12/16 21:03:35] …/common/session.c(398): Accepted a local client
[12/12/16 21:03:35] …/common/session.c(398): Accepted a local client
[12/12/16 21:03:35] …/common/peer.c(943): Local peer down

seafserv.log

[12/12/16 21:03:12] seafserv/seafserv.c(474): Restarting …
[12/12/16 21:03:12] seafserv/seafserv.c(569): [process monitor] stopped.
[12/12/16 21:03:12] seafserv/seafserv.c(63): starting ccnet-server …
[12/12/16 21:03:12] created “ccnet-server.exe -c “E:/seafile-server\ccnet” -f “E:/seafile-server\logs\ccnet.log” -F “E:/seafile-server\conf””, pid 2764
[12/12/16 21:03:12] seafserv/seafserv.c(466): ccnet server started
[12/12/16 21:03:13] seafserv/seafserv.c(334): trying to connect to ccnet-sever…
[12/12/16 21:03:13] seafserv/seafserv.c(360): connected to ccnet server
[12/12/16 21:03:13] seafserv/seafserv.c(90): starting seaf-server …
[12/12/16 21:03:13] created “seaf-server.exe -c “E:/seafile-server\ccnet” -d “E:/seafile-server\seafile-data” -l “E:/seafile-server\logs\seafile.log” -F “E:/seafile-server\conf””, pid 1716
[12/12/16 21:03:13] seafserv/seafserv.c(161): starting seahub …
[12/12/16 21:03:13] created “python.exe “C:\seafile-server-5.1.3\seafile\bin…\seahub\manage.py” runwsgiserver host=0.0.0.0 port=8000 autoreload=False staticserve=False”, pid 3508
[12/12/16 21:03:13] seafserv/seafserv.c(560): [process monitor] started.

服务器时间和客户端时间没有使用NTP,所以显示上看时间不一致

你用的什么版本的服务器?在 web 界面上能看到这个资料库吗?

Windows Server 2008 R2 ,上一贴里有讲 windows客户端始终只能同步部分内容,无法全部完成同步

web界面里只能看到客户端上传后的文件和文件夹,看不到这个名字的资料库

可能是这个资料库损坏了,你可以执行一下 seaf-fsck 看看 https://manual.seafile.com/deploy_windows/windows_fsck.html

这是执行的情况,好像repo没有问题吧?

PS C:\seafile-server-5.1.3\seafile\bin> .\seaf-fsck.exe --repair -c E:\seafile-server\ccnet -d E:\seafile-server\seafile
-data -F E:\seafile-server\conf
[12/16/16 17:30:58] fsck.c(586): Running fsck for repo 72d85d11-dbe8-44c1-b5e8-cd1a1fbeb58b.
[12/16/16 17:30:58] fsck.c(413): Checking file system integrity of repo music(72d85d11)…
[12/16/16 17:31:01] fsck.c(650): Fsck finished for repo 72d85d11.

[12/16/16 17:31:01] fsck.c(586): Running fsck for repo 9e8f7308-20ab-4216-88fd-9eee60e2a01b.
[12/16/16 17:31:01] fsck.c(413): Checking file system integrity of repo µêæτÜäΦ╡äµûÖσ║ô(9e8f7308)…
[12/16/16 17:31:08] fsck.c(650): Fsck finished for repo 9e8f7308.

[12/16/16 17:31:08] fsck.c(586): Running fsck for repo 13945958-1ef5-421a-ae15-98ae31917ecd.
[12/16/16 17:31:08] fsck.c(413): Checking file system integrity of repo My Library Template(13945958)…
[12/16/16 17:31:08] fsck.c(650): Fsck finished for repo 13945958.

PS C:\seafile-server-5.1.3\seafile\bin>