Facing Troubles in Understanding Typesense Version and Configuration
TLDR andy couldn't identify the Typesense server version and faced an invalid configuration error. Kishore Nallan suggested accessing version through /debug
and clarified that the configuration error may not matter if Docker isn't being used. andy confirmed a local installation.
Dec 13, 2022 (9 months ago)
andy
11:01 AMi also get the message when running typesense-server
"Invalid configuration: Data directory is not specified."
but it is set in the /etc/typesense/typesense-server.ini as data-dir = /var/lib/typesense which looks correct and it all works, just wondering how to fix that, or does it even matter
Kishore Nallan
11:07 AM/debug
returns the version of the Typesense server.Kishore Nallan
11:08 AMdata-dir
looks fine. If you are using Docker that file is probably not being mounted into the container.andy
11:09 AMandy
11:10 AM{"state":1,"version":"0.23.1"}r
Typesense
Indexed 2764 threads (79% resolved)
Similar Threads
Running Typesense in Docker Container on Windows 10
Christian had issues running Typesense in Docker due to an unrecognized data directory. Jason suggested a solution to fix the file path issue, which Christian successfully implemented using Windows Powershell.
Troubleshooting Typesense Server Error on Docker
vikram was facing an error with Typesense Server Docker container and loss of data on restart. Kishore Nallan guided to avoid mounting tmp directory from localhost and explained stopping the Docker container.

Configuring Typesense via Docker and Resolving "Not Found" Error
Pallavi encountered issues while configuring typesense via docker, including a "Not Found" error message. Jason advised to hit the /health endpoint to check the server's health.