404 not found when using seaf-cli


#1

After installing Seafile server 6.2.5 I’d like to experiment with the seaf-cli interface.

I am however getting 404 not found error messages when trying to download a library.

This is the command I issue
seaf-cli sync -l 4c8b916a-b2c0-4d31-a73c-b0953ab79eac -s http://10.11.7.229:8082 -d ./testSeafile -u test@test.com -p Test1234

The error i get:

Traceback (most recent call last):
  File "/usr/bin/seaf-cli", line 869, in <module>
    main()
  File "/usr/bin/seaf-cli", line 865, in main
    args.func(args)
  File "/usr/bin/seaf-cli", line 564, in seaf_sync
    token = get_token(url, username, password, tfa, conf_dir)
  File "/usr/bin/seaf-cli", line 277, in get_token
    token_json = urlopen("%s/api2/auth-token/" % url, data=data, headers=headers)
  File "/usr/bin/seaf-cli", line 210, 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 435, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found

ccnet.conf:

[General]
USER_NAME = SeafileTest
ID = 47bfa40cd024102286c53391ff380ea9989df08f
NAME = SeafileTest
SERVICE_URL = http://10.11.7.229:8000

[Client]
PORT = 13419

Uploading,downloading,deleting,… libraries i through the webinterface works just fine.

Can anyone see a problem?