报错
Starting seafile server, please wait …
Seafile server started
Done.
Starting seahub at port 8000 …
Error:Seahub failed to start.
Please try to run “./seahub.sh start” again
Traceback (most recent call last):
File “/scripts/start.py”, line 94, in
main()
File “/scripts/start.py”, line 80, in main
call(‘{} start’.format(get_script(‘seahub.sh’)))
File “/scripts/utils.py”, line 70, in call
return subprocess.check_call(*a, **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.12/subprocess.py”, line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘/opt/seafile/seafile-pro-server-12.0.14/seahub.sh start’ returned non-zero exit status 1.
seafevents文件的配置 主要删除seasearch相关配置就正常
[INDEX FILES]
external_es_server = false
es_host = elasticsearch
es_port = 9200
enabled = true
interval = 10m
highlight = fvh
If true, indexes the contents of office/pdf files while updating search index
Note: If you change this option from “false” to “true”, then you need to clear the search index and update the index again. See the FAQ for details.
index_office_pdf = true
Enable file history
[FILE HISTORY]
enabled = true
suffix = md,txt,doc,docx,xls,xlsx,ppt,pptx,sdoc
[SEASEARCH]
enabled = true
seasearch_url = http://seasearch:4080
seasearch_token = ODU3MDc0NjA5QHFxLmNvbTpsbjE5ODUw
interval = 10m
env加入
COMPOSE_FILE=‘seafile-server.yml,seasearch.yml’
COMPOSE_PATH_SEPARATOR=‘,’
SEASEARCH_IMAGE=seafileltd/seasearch:0.9-latest
SS_DATA_PATH=/opt/seasearch-data
INIT_SS_ADMIN_USER=11111
INIT_SS_ADMIN_PASSWORD=1111
seasearch.yml无更改