Hi
I have tried to enable Seasearch as the search engine and followed the guide:
added this to the seafevents.conf
[SEASEARCH]
enabled = true
seasearch_url = http://seasearch:4080
seasearch_token = <your auth token> (added the base64 version of the user:pwd)
interval = 10m
I have added seasearch to my docker-compose file but it will never get away from using ES for indexing.
Is there somewhere you can configure this setting that I'm missing?
Hello Inxgeek,
By default, Seafile will use ES as the indexer, even if you enable SeaSearch. If you would like to use SeaSearch, please set enabled = false
in INDEX FILES
section, i.e.
[INDEX FILES]
enabled = false
...
If it’s still not work, please provide the whole details of your configurations in seafevents.conf
.
Good luck,
lnxgeek
January 13, 2025, 12:33pm
3
Okay, I think I got something.
2025-01-13T12:28:36Z DBG open .env: no such file or directory
2025-01-13T12:28:42Z INF Loading index... [filename_0d3ee580-6587-45b6-84ef-f712a77f3973:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_226228b9-6233-4ff9-a2bf-7dc0ad777b1c:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_272b9b98-dad2-45f8-ad42-4c043af106dc:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_3c1df18b-a94e-4a5a-86f1-0383188c7c81:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_58ce68cc-6115-410b-a94a-6158f9af4772:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_6d8bbc1f-f050-406d-a57e-e7bf3a4facdf:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_7c20eb8b-058e-4733-8b17-a10f146c1224:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_7d4dc930-2e32-43ee-9017-f92d8b153f5e:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_863df048-7e34-4323-b5ae-f3729ea3e469:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_8878f5aa-4cd8-4468-bf78-787b9ae0fe65:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_98a3e513-236a-417a-a2a6-14540036332b:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_a94a032b-adf9-4160-abcf-9030ed748319:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_adc84e0b-e662-45e1-ab5a-3b308bb044f5:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_b1a088c0-6be6-4295-8fca-387b54930d57:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_bf3f32fb-a47a-4053-89fe-11752bca25ea:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_c5ac4124-b338-4462-ac56-1ba8c53061d3:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_c6063b3a-750b-4236-9836-ecd1ab2a7319:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_c86bb5ea-cf89-4596-8229-9a3146973dfa:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_cb7c1338-55d0-435f-9bbf-1eee549a5ec8:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_d04537c5-49a8-455d-9eb7-309083fade59:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_d4698374-110a-470f-a56f-debfb4e45eeb:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [filename_fb930a5d-68d6-4a40-9772-6b4837413be7:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [repo_status_filename:disk] shards[1:1]
2025-01-13T12:28:42Z INF Loading index... [wiki_status:disk] shards[1:1]
When I search I don’t get any results and this comes in the log:
/seafile-pro/seafile-data/seafile/logs/seahub.log <==
2025-01-13 12:23:07,525 [WARNING] django.request:241 log_response Not Found: /api2/search/
2025-01-13 12:23:07,693 [WARNING] django.request:241 log_response Not Found: /api2/search/
2025-01-13 12:23:07,865 [WARNING] django.request:241 log_response Not Found: /api2/search/
2025-01-13 12:23:08,041 [WARNING] django.request:241 log_response Not Found: /api2/search/
2025-01-13 12:23:08,217 [WARNING] django.request:241 log_response Not Found: /api2/search/
2025-01-13 12:23:08,399 [WARNING] django.request:241 log_response Not Found: /api2/search/
2025-01-13 12:23:08,589 [WARNING] django.request:241 log_response Not Found: /api2/search/
2025-01-13 12:23:08,759 [WARNING] django.request:241 log_response Not Found: /api2/search/
2025-01-13 12:23:10,177 [WARNING] django.request:241 log_response Not Found: /api2/search/
2025-01-13 12:23:10,993 [WARNING] django.request:241 log_response Not Found: /api2/search/
Can I start a force reindexing like with the pro.py script?
There seem to be a bug with SeaSearch backend. You can test again with the next release.
lnxgeek
January 14, 2025, 11:05am
5
Roger.
Which version would that be?