Seafile pro 6.2.9 sync fail - server error


#1

I have seafile pro 6.2.9 running in docker (on windows) but it’s failing to sync my library.
Here is a part of controller.log:

[03/12/18 09:44:05] seafile-controller.c(600): seafevents need restart...
[03/12/18 09:44:05] seafile-controller.c(87): spawn_process: /usr/bin/python2.7 -m seafevents.main --config-file /seafile/conf/seafevents.conf --logfile /seafile/logs/seafevents.log -P /seafile/pids/seafevents.pid
[03/12/18 09:44:05] seafile-controller.c(102): spawned /usr/bin/python2.7, pid 23489
[03/12/18 09:44:15] seafile-controller.c(575): pid file /seafile/pids/seafevents.pid does not exist
[03/12/18 09:44:15] seafile-controller.c(600): seafevents need restart...
[03/12/18 09:44:15] seafile-controller.c(87): spawn_process: /usr/bin/python2.7 -m seafevents.main --config-file /seafile/conf/seafevents.conf --logfile /seafile/logs/seafevents.log -P /seafile/pids/seafevents.pid
[03/12/18 09:44:15] seafile-controller.c(102): spawned /usr/bin/python2.7, pid 23498
[03/12/18 09:44:25] seafile-controller.c(575): pid file /seafile/pids/seafevents.pid does not exist
[03/12/18 09:44:25] seafile-controller.c(600): seafevents need restart...
[03/12/18 09:44:25] seafile-controller.c(87): spawn_process: /usr/bin/python2.7 -m seafevents.main --config-file /seafile/conf/seafevents.conf --logfile /seafile/logs/seafevents.log -P /seafile/pids/seafevents.pid
[03/12/18 09:44:25] seafile-controller.c(102): spawned /usr/bin/python2.7, pid 23507
root@d691d8e8c288:/seafile# ls pids/
ccnet.pid  elasticsearch.pid  seaf-server.pid

seafile.log:

[03/12/2018 09:44:21 AM] ../common/obj-backend-fs.c(169): Failed to rename from /seafile-data/v2/storage/commits/09dc7474-349a-4bcb-8745-262ba4f41649/f9/2cec7b59b7867949ee3e3a152e00f2dd933ae6.T1L4FZ to /seafile-data/v2/storage/commits/09dc7474-349a-4bcb-8745-262ba4f41649/f9/2cec7b59b7867949ee3e3a152e00f2dd933ae6: Resource temporarily unavailable.
[03/12/2018 09:44:21 AM] ../common/obj-backend-fs.c(322): [obj backend] Failed to write obj 09dc7474-349a-4bcb-8745-262ba4f41649:f92cec7b59b7867949ee3e3a152e00f2dd933ae6.
[03/12/2018 09:44:21 AM] http-server.c(1239): Failed to get commit f92cec7b59b7867949ee3e3a152e00f2dd933ae6 for repo 09dc7474-349a-4bcb-8745-262ba4f41649.
[03/12/2018 09:45:26 AM] size-sched.c(103): Repo size compute queue size is 0
[03/12/2018 09:45:28 AM] ../common/obj-backend-fs.c(169): Failed to rename from /seafile-data/v2/storage/commits/09dc7474-349a-4bcb-8745-262ba4f41649/f9/2cec7b59b7867949ee3e3a152e00f2dd933ae6.M4W4FZ to /seafile-data/v2/storage/commits/09dc7474-349a-4bcb-8745-262ba4f41649/f9/2cec7b59b7867949ee3e3a152e00f2dd933ae6: Resource temporarily unavailable.
[03/12/2018 09:45:28 AM] ../common/obj-backend-fs.c(322): [obj backend] Failed to write obj 09dc7474-349a-4bcb-8745-262ba4f41649:f92cec7b59b7867949ee3e3a152e00f2dd933ae6.
[03/12/2018 09:45:28 AM] http-server.c(1239): Failed to get commit f92cec7b59b7867949ee3e3a152e00f2dd933ae6 for repo 09dc7474-349a-4bcb-8745-262ba4f41649.
[03/12/2018 09:46:35 AM] ../common/obj-backend-fs.c(169): Failed to rename from /seafile-data/v2/storage/commits/09dc7474-349a-4bcb-8745-262ba4f41649/f9/2cec7b59b7867949ee3e3a152e00f2dd933ae6.J2PZFZ to /seafile-data/v2/storage/commits/09dc7474-349a-4bcb-8745-262ba4f41649/f9/2cec7b59b7867949ee3e3a152e00f2dd933ae6: Resource temporarily unavailable.
[03/12/2018 09:46:35 AM] ../common/obj-backend-fs.c(322): [obj backend] Failed to write obj 09dc7474-349a-4bcb-8745-262ba4f41649:f92cec7b59b7867949ee3e3a152e00f2dd933ae6.
[03/12/2018 09:46:35 AM] http-server.c(1239): Failed to get commit f92cec7b59b7867949ee3e3a152e00f2dd933ae6 for repo 09dc7474-349a-4bcb-8745-262ba4f41649.
[03/12/2018 09:47:42 AM] ../common/obj-backend-fs.c(169): Failed to rename from /seafile-data/v2/storage/commits/09dc7474-349a-4bcb-8745-262ba4f41649/f9/2cec7b59b7867949ee3e3a152e00f2dd933ae6.CLS3FZ to /seafile-data/v2/storage/commits/09dc7474-349a-4bcb-8745-262ba4f41649/f9/2cec7b59b7867949ee3e3a152e00f2dd933ae6: Resource temporarily unavailable.
[03/12/2018 09:47:42 AM] ../common/obj-backend-fs.c(322): [obj backend] Failed to write obj 09dc7474-349a-4bcb-8745-262ba4f41649:f92cec7b59b7867949ee3e3a152e00f2dd933ae6.
[03/12/2018 09:47:42 AM] http-server.c(1239): Failed to get commit f92cec7b59b7867949ee3e3a152e00f2dd933ae6 for repo 09dc7474-349a-4bcb-8745-262ba4f41649.

seafevent.log

[2018-03-12 09:26:51,275] [INFO] audit is enabled
[2018-03-12 09:26:51,278] [INFO] [seafevents] database: mysql, name: seahub-db
[2018-03-12 09:26:51,798] [INFO] [seafevents] database: mysql, name: seahub-db
[2018-03-12 09:26:51,814] [INFO] Events publish to redis is disabled.
[2018-03-12 09:26:51,817] [DEBUG] seafes enabled: True
[2018-03-12 09:26:51,817] [DEBUG] seafes dir: /seafile/seafile-pro-server-6.2.9/pro/python/seafes
[2018-03-12 09:26:51,818] [DEBUG] seafes logfile: /seafile/logs/index.log
[2018-03-12 09:26:51,818] [DEBUG] seafes index interval: 600 sec
[2018-03-12 09:26:51,819] [DEBUG] seafes index office/pdf: True
[2018-03-12 09:26:51,819] [DEBUG] seahub email enabled: True
[2018-03-12 09:26:51,819] [DEBUG] seahub dir: /seafile/seafile-pro-server-6.2.9/seahub
[2018-03-12 09:26:51,820] [DEBUG] send seahub email interval: 1800 sec
[2018-03-12 09:26:51,822] [INFO] LDAP section is not set, disable ldap sync.
[2018-03-12 09:26:51,824] [INFO] [virus_scan] scan_command option is not found in /seafile/conf/seafile.conf, disable virus scan.
[2018-03-12 09:26:51,831] [INFO] [seafevents] database: mysql, name: seahub-db
[2018-03-12 09:26:52,019] [DEBUG] office enabled: True
[2018-03-12 09:26:52,020] [DEBUG] office convert workers: 1
[2018-03-12 09:26:52,020] [DEBUG] office outputdir: /tmp/seafile-office-output
[2018-03-12 09:26:52,020] [DEBUG] office convert max pages: 50
[2018-03-12 09:26:52,021] [DEBUG] office convert max size: 10 MB
[2018-03-12 09:26:52,021] [DEBUG] using config file /seafile/conf/ccnet.conf
[2018-03-12 09:26:52,029] [INFO] try to connect to ccnet-server...
[2018-03-12 09:26:52,037] [INFO] connected to ccnet server
[2018-03-12 09:26:52,038] [DEBUG] using config file /seafile/conf/ccnet.conf
[2018-03-12 09:26:52,040] [ERROR] Another instance is already running
Traceback (most recent call last):
  File "/seafile/seafile-pro-server-6.2.9/pro/python/seafevents/app/app.py", line 77, in connect_ccnet
    self._sync_client.register_service_sync('seafevents-events-dummy-service', 'rpc-inner')
  File "/seafile/seafile-pro-server-6.2.9/seafile/lib64/python2.7/site-packages/ccnet/sync_client.py", line 94, in register_service_sync
    self.send_cmd(cmd)
  File "/seafile/seafile-pro-server-6.2.9/seafile/lib64/python2.7/site-packages/ccnet/sync_client.py", line 49, in send_cmd
    raise RuntimeError('Failed to send-cmd: %s %s' % (resp.code, resp.code_msg))
RuntimeError: Failed to send-cmd: 516 The service existed
[2018-03-12 09:26:52,048] [INFO] exit with code 1
[2018-03-12 09:26:52,048] [INFO] remove pidfile /seafile/pids/seafevents.pid

Please let me know what logs I should provide seeing as I am completely lost now after spending the whole weekend trying to move from the native windows server to a docker based pro server.

The same errors happened when I used both sqlite and mysql.

Thank you.


Seafile 6.3.2 Pro problem on Debian 8
#2

Hello, did you solve it?
I had similar problem - the only place on the Internet where my error message was found is this topick.