my SeafileServer won’t update my indexes. If i try to update or clear the indexes manually i get some errors see below.
[seafile@ArchNAS pro]$ python2.7 pro.py search --update
Updating search index, this may take a while...
No handlers could be found for logger "seafes"
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/seafile/seafile/seafile-pro-server-6.2.7/pro/python/seafes/index_local.py", line 15, in <module>
from seafes.file_index_updater import FileIndexUpdater
File "/home/seafile/seafile/seafile-pro-server-6.2.7/pro/python/seafes/file_index_updater.py", line 16, in <module>
from seafes.repo_data import repo_data
File "/home/seafile/seafile/seafile-pro-server-6.2.7/pro/python/seafes/repo_data/__init__.py", line 103, in <module>
repo_data = RepoData()
File "/home/seafile/seafile/seafile-pro-server-6.2.7/pro/python/seafes/repo_data/__init__.py", line 10, in __init__
self.db_session = init_db_session_class(seafes_config.seafile_conf)
File "/home/seafile/seafile/seafile-pro-server-6.2.7/pro/python/seafes/repo_data/db.py", line 56, in init_db_session_class
raise RuntimeError("invalid config file %s", config_file)
RuntimeError: ('invalid config file %s', '/home/seafile/seafile/conf/seafile.conf')
seafile.conf contains:
[network]
port=12001
[httpserver]
port=8082
# Set maximum upload file size to 4096M.
max_upload_size=12288
# Set maximum download directory size to 25600M.
max_download_dir_size=25600
[history]
keep_days = 14
[zip]
# The filename encoding of the download zip file.
windows_encoding = iso-8859-1
The Database was the problem.
For Support i switch back to CE-Version. Migrate from sqlite to mysql. Upgrade to Pro-Version.
The error does not occur anymore.
If users upgrade from CE to Pro a notice for requirement of mysql would be nice.
Very helpful for me:
Edit: Migrating from Pro sqlite to Pro mysql its possible by following the steps from the Link above but make a fresh mysql installation from seafile-PRO instead seafile-CE.