启用seasearch做完搜索导致seahub无法启动是什么原因

报错

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无更改

这里的enabled = true改成false试试,感觉是两个搜索都启用了,是否有冲突

[SEASEARCH]
enabled = true
seasearch_url = http://seasearch:4080
seasearch_token = <your auth token>
interval = 10m

这里面的touken 是通过echo -n ‘用户:密码’ | base64 获取的吗
而这里面的用户和密码是不是env文件里面 这两个参数定义的?

NIT_SS_ADMIN_USER=
INIT_SS_ADMIN_PASSWORD=

是的,使用你设置的用户名和密码,然后通过base64算出一个密码,填到seasearch_token = ,同时要禁用原来的搜索
INIT_SEAFILE_ADMIN_EMAIL=
INIT_SEAFILE_ADMIN_PASSWORD=
是这两个,和你写的那两个应该是一样的,总之就是seafile网站的登录邮箱和密码

好的 谢谢好的 谢谢好的 谢谢好的 谢谢