AttributeError: 'module' object has no attribute 'DATABASES'

I have a running 6.3.6 con CentOS7 with all updates.

I cannot open any office document.

Log says AttributeError: ‘module’ object has no attribute ‘DATABASES’

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.3.6/pro/python/seafevents/main.py”, line 12, in
from seafevents.app.app import App
File “/home/seafile/seafile-pro-server-6.3.6/pro/python/seafevents/app/app.py”, line 12, in
from seafevents.app.mq_listener import EventsMQListener
File “/home/seafile/seafile-pro-server-6.3.6/pro/python/seafevents/app/mq_listener.py”, line 5, in
import seafevents.events.handlers as events_handlers
File “/home/seafile/seafile-pro-server-6.3.6/pro/python/seafevents/events/handlers.py”, line 13, in
changer = ChangeFilePathHandler()
File “/home/seafile/seafile-pro-server-6.3.6/pro/python/seafevents/events/change_file_path.py”, line 16, in init
self.init_seahub_db()
File “/home/seafile/seafile-pro-server-6.3.6/pro/python/seafevents/events/change_file_path.py”, line 27, in init_seahub_db
db_infos = seahub_settings.DATABASES[‘default’]
AttributeError: ‘module’ object has no attribute ‘DATABASES’

Any help appreciated! Thank you