I have problems with client synchronization

I am was trying to sync a local folder on the same machine my seafile-server is running on with the seafile-cli client. I used the following command:

seaf-cli sync -l “xxxxx” -s “http://127.0.0.1:8000” -d xxx -u “xxxx”

The client itself generates the error:

Traceback (most recent call last):
File “/usr/bin/seaf-cli”, line 845, in
main()
File “/usr/bin/seaf-cli”, line 841, in main
args.func(args)
File “/usr/bin/seaf-cli”, line 542, in seaf_sync
token = get_token(url, username, password, conf_dir)
File “/usr/bin/seaf-cli”, line 235, in get_token
token_json = urlopen("%s/api2/auth-token/" % url, data=data)
File “/usr/bin/seaf-cli”, line 208, in urlopen
resp = urllib2.urlopen(req)
File “/usr/lib/python2.7/urllib2.py”, line 154, in urlopen
return opener.open(url, data, timeout)
File “/usr/lib/python2.7/urllib2.py”, line 437, in open
response = meth(req, response)
File “/usr/lib/python2.7/urllib2.py”, line 550, in http_response
‘http’, request, response, code, msg, hdrs)
File “/usr/lib/python2.7/urllib2.py”, line 475, in error
return self._call_chain(*args)
File “/usr/lib/python2.7/urllib2.py”, line 409, in _call_chain
result = func(*args)
File “/usr/lib/python2.7/urllib2.py”, line 558, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 500: INTERNAL SERVER ERROR

Could you solve the problem?

I’ve just reported something very similar under https://github.com/haiwen/seafile-client/issues/1348 - but iny my case only syncing on the seafile server works.

@Jonathan As you requested…

You can post this issue on our forum. There should be something wrong on the server side. This is not a bug. Usage problems belongs to the forum.

…in https://github.com/haiwen/seafile-client/issues/1348#issuecomment-801652347 I wanted to add my error report with the issue title…

“seaf-cli sync” reports “urllib2.HTTPError: HTTP Error 500: Internal Server Error”

…here.

Unfortunately my report https://github.com/haiwen/seafile-client/issues/1348 seems to be deleted. May I ask if you have a mail copy of the content (issue 1348)? I think I made a quite elaborated report there and I’m barely in mood to reproduce all steps again.

You should check seahub.log on the server.

Thank you. Just wanted to check seahub.log after triggering the reported problem again and noticed: I dond’t have a seahub.log in /seafile/logs. :astonished:

root@vm-seafile:/opt/seafile/logs# ls
ccnet.log        ccnet.log.33.gz  ccnet.log.9.gz        seafdav.log        seaf-fuse.log.1         seafile.init.log.17.gz  seafile.log.2.gz
ccnet.log.1      ccnet.log.34.gz  controller.log        seafdav.log.1      seaf-fuse.log.10.gz     seafile.init.log.2.gz   seafile.log.3.gz
ccnet.log.10.gz  ccnet.log.35.gz  controller.log.1      seafdav.log.10.gz  seaf-fuse.log.11.gz     seafile.init.log.3.gz   seafile.log.4.gz
ccnet.log.11.gz  ccnet.log.36.gz  controller.log.10.gz  seafdav.log.11.gz  seaf-fuse.log.12.gz     seafile.init.log.4.gz   seafile.log.5.gz
ccnet.log.12.gz  ccnet.log.37.gz  controller.log.11.gz  seafdav.log.12.gz  seaf-fuse.log.13.gz     seafile.init.log.5.gz   seafile.log.6.gz
ccnet.log.13.gz  ccnet.log.38.gz  controller.log.12.gz  seafdav.log.13.gz  seaf-fuse.log.14.gz     seafile.init.log.6.gz   seafile.log.7.gz
ccnet.log.14.gz  ccnet.log.39.gz  controller.log.13.gz  seafdav.log.14.gz  seaf-fuse.log.15.gz     seafile.init.log.7.gz   seafile.log.8.gz
ccnet.log.15.gz  ccnet.log.3.gz   controller.log.14.gz  seafdav.log.15.gz  seaf-fuse.log.16.gz     seafile.init.log.8.gz   seafile.log.9.gz
ccnet.log.16.gz  ccnet.log.40.gz  controller.log.15.gz  seafdav.log.16.gz  seaf-fuse.log.17.gz     seafile.init.log.9.gz   seahub.init.log
ccnet.log.17.gz  ccnet.log.41.gz  controller.log.16.gz  seafdav.log.17.gz  seaf-fuse.log.2.gz      seafile.log             seahub.init.log.1
ccnet.log.18.gz  ccnet.log.42.gz  controller.log.17.gz  seafdav.log.18.gz  seaf-fuse.log.3.gz      seafile.log.1           seahub.init.log.10.gz
ccnet.log.19.gz  ccnet.log.43.gz  controller.log.18.gz  seafdav.log.19.gz  seaf-fuse.log.4.gz      seafile.log.10.gz       seahub.init.log.11.gz
ccnet.log.20.gz  ccnet.log.44.gz  controller.log.19.gz  seafdav.log.20.gz  seaf-fuse.log.5.gz      seafile.log.11.gz       seahub.init.log.12.gz
ccnet.log.21.gz  ccnet.log.45.gz  controller.log.20.gz  seafdav.log.21.gz  seaf-fuse.log.6.gz      seafile.log.12.gz       seahub.init.log.13.gz
ccnet.log.22.gz  ccnet.log.46.gz  controller.log.21.gz  seafdav.log.22.gz  seaf-fuse.log.7.gz      seafile.log.13.gz       seahub.init.log.14.gz
ccnet.log.23.gz  ccnet.log.47.gz  controller.log.22.gz  seafdav.log.23.gz  seaf-fuse.log.8.gz      seafile.log.14.gz       seahub.init.log.15.gz
ccnet.log.24.gz  ccnet.log.48.gz  controller.log.23.gz  seafdav.log.24.gz  seaf-fuse.log.9.gz      seafile.log.15.gz       seahub.init.log.16.gz
ccnet.log.25.gz  ccnet.log.49.gz  controller.log.24.gz  seafdav.log.2.gz   seafile.init.log        seafile.log.16.gz       seahub.init.log.17.gz
ccnet.log.26.gz  ccnet.log.4.gz   controller.log.2.gz   seafdav.log.3.gz   seafile.init.log.1      seafile.log.17.gz       seahub.init.log.2.gz
ccnet.log.27.gz  ccnet.log.50.gz  controller.log.3.gz   seafdav.log.4.gz   seafile.init.log.10.gz  seafile.log.18.gz       seahub.init.log.3.gz
ccnet.log.28.gz  ccnet.log.51.gz  controller.log.4.gz   seafdav.log.5.gz   seafile.init.log.11.gz  seafile.log.19.gz       seahub.init.log.4.gz
ccnet.log.29.gz  ccnet.log.52.gz  controller.log.5.gz   seafdav.log.6.gz   seafile.init.log.12.gz  seafile.log.20.gz       seahub.init.log.5.gz
ccnet.log.2.gz   ccnet.log.5.gz   controller.log.6.gz   seafdav.log.7.gz   seafile.init.log.13.gz  seafile.log.21.gz       seahub.init.log.6.gz
ccnet.log.30.gz  ccnet.log.6.gz   controller.log.7.gz   seafdav.log.8.gz   seafile.init.log.14.gz  seafile.log.22.gz       seahub.init.log.7.gz
ccnet.log.31.gz  ccnet.log.7.gz   controller.log.8.gz   seafdav.log.9.gz   seafile.init.log.15.gz  seafile.log.23.gz       seahub.init.log.8.gz
ccnet.log.32.gz  ccnet.log.8.gz   controller.log.9.gz   seaf-fuse.log      seafile.init.log.16.gz  seafile.log.24.gz       seahub.init.log.9.gz
root@vm-seafile:/opt/seafile/logs# 

As you see: I didn’t touch the directory for a while but somehow this isn’t the first time I notice a missing seahub.log. :astonished: Is there any option I may have touched deactivating seahub.log accidently?