@Kishore Nallan This is still not working for me.
The server has been running typesense since 24, I've been able to successfully upgrade the previous versions by changing the version in docker-compose.yml in the past with no problems.
I've tried starting it multiple times, I've tried restoring from the last snapshot, they all return with the error above.
I tried following the code to understand. The error message is happening here:
https://github.com/typesense/typesense/blob/4b6ef566859b0f15fb7ca907d5b4e4c88b845a73/src/store.cpp#L54
It appears my "state_dir_path" is an empty string?
My docker-compose.yaml looks like:
typesense:
image: typesense/typesense:27.0
restart: on-failure
ports:
- "5724:8108"
environment:
TYPESENSE_LOG_DIR: /logs
TYPESENSE_DATA_DIR: /data
TYPESENSE_API_KEY: REDACTED
TYPESENSE_HEALTHY_READ_LAG: 10000
TYPESENSE_HELATHY_WRITE_LAG: 1000
TYPESENSE_DB_COMPACTION_SECONDS: 0
volumes:
- /var/local/typesense/data:/data
- /var/local/typesense/logs:/logs