Move / Download Directory Error (Webinterface) SeafileAPI

Hi,

I am running seafile-pro-server-6.0.8 on Ubuntu 14.04 (upgrade from an earlier CE-Version to 6.0.8 CE, then to 6.0.8 Pro) and experience problems with moving directories and downloading directories as ZIP.

Looking into the seahub.log I see following entries:

11:21:32,621 [ERROR] seahub.api2.endpoints.query_zip_progress:34 get 'SeafileAPI' object has no attribute 'query_zip_progress'
2017-03-31 11:30:45,032 [ERROR] seahub.api2.endpoints.admin.sysinfo:113 get 'SeafileAPI' object has no attribute 'get_total_file_number'
2017-03-31 11:30:45,032 [ERROR] seahub.api2.endpoints.admin.sysinfo:120 get 'SeafileAPI' object has no attribute 'get_total_storage'

Similar with seaf-backup-cmd.sh from console:

./seaf-backup-cmd.sh status

Traceback (most recent call last):
File “/home/seafile/xxx/seafile-pro-server-6.0.8/seaf-backup-cmd.py”, line 50, in
args.func(args)
File “/home/seafile/xxx/seafile-pro-server-6.0.8/seaf-backup-cmd.py”, line 11, in show_backup_status
ret_str = seafile_api.get_backup_status()
AttributeError: ‘SeafileAPI’ object has no attribute ‘get_backup_status’

Any ideas on this error?

Thanks,
Martin

If you installed seafile client on this computer too, removing seafile client should solve the problem.

Hi Daniel,

that helped my problem, thanks!

Having both, server and client, on the exact same machine would be a nice feature in some situation, though.

Best, Martin

Edit:

The problem with seaf-backup-cmd.sh persists:

#> ./seaf-backup-cmd.sh status
Traceback (most recent call last):
File “/home/seafile/xxx/seafile-pro-server-6.0.8/seaf-backup-cmd.py”, line 50, in
args.func(args)
File “/home/seafile/xxx/seafile-pro-server-6.0.8/seaf-backup-cmd.py”, line 11, in show_backup_status
ret_str = seafile_api.get_backup_status()
File “/home/seafile/xxx/seafile-pro-server-6.0.8/seafile/lib/python2.7/site-packages/seaserv/api.py”, line 876, in get_backup_status
return seafserv_threaded_rpc.get_backup_status()
File “/home/seafile/xxx/seafile-pro-server-6.0.8/seafile/lib/python2.7/site-packages/pysearpc/client.py”, line 112, in newfunc
return fret(ret_str)
File “/home/seafile/xxx/seafile-pro-server-6.0.8/seafile/lib/python2.7/site-packages/pysearpc/client.py”, line 25, in _fret_string
raise SearpcError(dicts[‘err_msg’])
pysearpc.common.SearpcError: cannot find function get_backup_status.

Hi there,

I am getting the exact same error (with pro-6.1.8). Did you manage to solve this problem?

Best regards,
Hp