bjorn moholt
08/13/2024, 7:39 PMI20240813 02:05:43.657928 1 typesense_server_utils.cpp:341] Starting Typesense 26.0
I20240813 02:05:43.657970 1 typesense_server_utils.cpp:344] Typesense is using jemalloc.
I20240813 02:05:43.658267 1 typesense_server_utils.cpp:395] Thread pool size: 16
I20240813 02:05:43.662729 1 store.h:64] Initializing DB by opening state dir: /data/db
E20240813 02:05:43.877436 1 store.h:68] Error while initializing store: Corruption: Corruption: IO error: No such file or directory: While open a file for random read: /data/db/000132.ldb: No such file or directory in file /data/db/MANIFEST-000842
I20240813 02:05:43.877501 1 store.h:64] Initializing DB by opening state dir: /data/meta
I20240813 02:05:44.629524 1 ratelimit_manager.cpp:546] Loaded 0 rate limit rules.
I20240813 02:05:44.629552 1 ratelimit_manager.cpp:547] Loaded 0 rate limit bans.
E20240813 02:05:45.069788 1 backward.hpp:4200] Stack trace (most recent call last):
E20240813 02:05:45.069828 1 backward.hpp:4200] #7 Object "", at 0xffffffffffffffff, in
E20240813 02:05:45.069840 1 backward.hpp:4200] #6 Object "/opt/typesense-server", at 0x5658020c802d, in _start
E20240813 02:05:45.069849 1 backward.hpp:4200] #5 Object "/usr/lib/x86_64-linux-gnu/libc.so.6", at 0x7a369df6fe3f, in __libc_start_main
E20240813 02:05:45.069859 1 backward.hpp:4200] #4 Object "/usr/lib/x86_64-linux-gnu/libc.so.6", at 0x7a369df6fd8f, in
E20240813 02:05:45.069868 1 backward.hpp:4200] #3 Source "src/main/typesense_server.cpp", line 202, in main [0x5658020d1f6d]
E20240813 02:05:45.069876 1 backward.hpp:4200] #2 Source "src/typesense_server_utils.cpp", line 453, in run_server [0x56580246c2d3]
E20240813 02:05:45.069886 1 backward.hpp:4200] #1 Source "src/conversation_manager.cpp", line 135, in init [0x56580224db9b]
E20240813 02:05:45.069895 1 backward.hpp:4200] #0 Source "include/store.h", line 198, in scan_fill [0x56580212f885]
Segmentation fault (Address not mapped to object [(nil)])
E20240813 02:05:45.500766 1 typesense_server.cpp:137] Typesense 26.0 is terminating abruptly.
looks like a .ldb file is missing. Any idea what would cause this? What is a .ldb file, why is it needed for starting, and why would it be gone?
I am running typesense docker image using an azure web app.