Mac os X client doesn't sync

I look into LOG file

applet.log
[03/26/18 22:49:40][Daemon Mgr] stopping ccnet/seafile daemon
[03/27/18 14:49:05]QObject::connect: No such slot AccountManager::reloginAccount(const Account &)
[03/27/18 14:49:06]starting ccnet: ("-c", “/Users/deleutre/.ccnet”)
[03/27/18 14:49:08]trying to connect to ccnet daemon…

[03/27/18 14:49:08]connected to ccnet daemon

[03/27/18 14:49:08]starting seaf-daemon:  ("-c", "/Users/deleutre/.ccnet", "-d", "/Users/deleutre/Seafile/.seafile-data", "-w", "/Users/deleutre/Seafile")
[03/27/18 14:49:09][Rpc Client] connected to daemon
[03/27/18 14:49:09][Rpc Client] connected to daemon
[03/27/18 14:49:09][MessageListener] connected to daemon
[03/27/18 14:49:10]Starting the network status detector
[03/27/18 14:49:10][Rpc Client] connected to daemon
[03/27/18 14:49:10]setDockIconStyle show failure, status code: -50

[03/27/18 14:49:10][Rpc Client] connected to daemon
[03/27/18 14:49:11][network detector] got a network failure
[03/27/18 14:49:11][api] network error for http://127.0.0.1:8000/media/avatars/f/4/6afbfbb81dd8ba27ddcb4db36974d5/resized/80/96daf702fd1dbe67c113350dea669b98.png: Connection refused

[03/27/18 14:49:11]ServerStatusService: ignore request for host "127.0.0.1"
[03/27/18 14:49:11][network detector] resetting the qt network access manager

The problem is with some program libaries on your mac. They can’t connect to something at localhost. Looks at the paths in the log and check if they’re existing.

Now I get this error
[03/27/18 18:45:45] sync-mgr.c(739): Repo ‘anglais’ sync state transition from ‘synchronized’ to ‘committing’.
[03/27/18 18:45:45] repo-mgr.c(3741): All events are processed for repo 09537175-6a7e-41a0-8f8b-a977660be04d.
[03/27/18 18:45:45] sync-mgr.c(739): Repo ‘anglais’ sync state transition from ‘committing’ to ‘initializing’.
[03/27/18 18:45:46] sync-mgr.c(739): Repo ‘Documents’ sync state transition from ‘synchronized’ to ‘committing’.
[03/27/18 18:46:02] repo-mgr.c(3741): All events are processed for repo e46eb79f-c43d-49c7-9f00-219ee98c25a5.
[03/27/18 18:46:02] cache-tree.c(217): You have both CNRS/Admin/RECONVERSION/UNIMES/ok.pages and CNRS/Admin/RECONVERSION/UNIMES/ok.pages/Data/Hardcover_bullet_black-13.png
[03/27/18 18:46:02] repo-mgr.c(4251): Failed to build cache tree[03/27/18 18:46:02] sync-mgr.c(1708): [Sync mgr] Failed to commit to repo Documents(e46eb79f).
[03/27/18 18:46:02] sync-mgr.c(801): Repo ‘Documents’ sync state transition from committing to ‘error’: ‘Failed to index files.’.
[03/27/18 18:46:17] sync-mgr.c(1553): Removing blocks for repo Documents(e46eb79f).
[03/27/18 18:46:48] sync-mgr.c(739): Repo ‘Documents’ sync state transition from ‘synchronized’ to ‘committing’.
[03/27/18 18:46:57] cache-tree.c(217): You have both CNRS/Admin/RECONVERSION/UNIMES/ok.pages and CNRS/Admin/RECONVERSION/UNIMES/ok.pages/Data/Hardcover_bullet_black-13.png
[03/27/18 18:46:57] repo-mgr.c(4251): Failed to build cache tree[03/27/18 18:46:57] sync-mgr.c(1708): [Sync mgr] Failed to commit to repo Documents(e46eb79f).
[03/27/18 18:46:57] sync-mgr.c(801): Repo ‘Documents’ sync state transition from committing to ‘error’: ‘Failed to index files.’.
[03/27/18 18:47:20] sync-mgr.c(1553): Removing blocks for repo Documents(e46eb79f).

Unsync all libaries an run seaf-fsck on your server, then the problems should be gone. Then you can sync the Data, but be careful with duplicates and delete the folders where Seafile synchronized first.

Can I run seaf-fsck on seafile server while it is runnning ?
or I Must stop seafile and seahub deamon before ?

I don’t understand “delete the folders where Seafile synchronized first”
you are talking about the what ?

  • library in seafile-client
  • folder in my local computer
  • library in seahub.

Thank you

You have to delete the folders on the local computer, they have versioning problems.
Seafile have to run during seaf-fsck. https://manual.seafile.com/maintain/seafile_fsck.html

ok thanks,
and the folder get back after ?

Yes, of course

Hi,

I run seaf-fsck on your server without any argument and save the output to a log file.
I search for keyword “Fail” in the log file to locate corrupted libraries : But everything is all right !

Really? Have you also tried to install the client another time and sync the libaries another time? I don’t now if it could be helpful, but there’s also seaf-gc.sh (If you have CE, you have to stop seafile first), but the tool ist for cleaning.

After few days ,
Mac os X client is syncing !

Perfect! Please make it solved.