Thanks!! @xiez
Hi,
I just upgraded my test server from Pro 6.2.2 to 6.2.7. LDAP users can log in, everything seems to be fine, but when I call ldapsync I get the following errors:
# pro/pro.py ldapsync --test
Traceback (most recent call last):
File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/seafile/seafile-pro-server-6.2.7/pro/python/seafevents/ldap_syncer/run_ldap_sync.py", line 128, in <module>
setting = Settings(True if arg.test else False)
File "/home/seafile/seafile-pro-server-6.2.7/pro/python/seafevents/ldap_syncer/ldap_settings.py", line 51, in __init__
self.read_config()
File "/home/seafile/seafile-pro-server-6.2.7/pro/python/seafevents/ldap_syncer/ldap_settings.py", line 54, in read_config
if not appconfig.ccnet_conf_path:
AttributeError: 'AppConfig' object has no attribute 'ccnet_conf_path'
Am I missing something?
No, you havenāt missed anything.
Unable to run virus_scanner and ldap_syncer with pro.py is a developerās oversight.
Next version will be fixed. Sorry for your failure.