qdrant-client icon indicating copy to clipboard operation
qdrant-client copied to clipboard

Local Qdrant db Error on loading: KeyError: '__pydantic_fields_set__'

Open AntoninLeroy opened this issue 7 months ago • 4 comments

Hello,

I've been using Qdrant for a few months for RAG applications. Recently I've been adding new GPU so I needed to reboot the application for the vector db. And now it seems I can't use the python client anymore because of a pydantic related error ? Is my database got corrupted or something ?

Current Behavior

from qdrant_client import  QdrantClient
client = QdrantClient(path="/home/xxxxxxx/work/Vector_db_serving/demo_db")

---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
Cell In [6], line 1
----> 1 client = QdrantClient(path="/home/xxxxxxx/work/Vector_db_serving/demo_db")

File /opt/conda/lib/python3.9/site-packages/qdrant_client/qdrant_client.py:89, in QdrantClient.__init__(self, location, url, port, grpc_port, prefer_grpc, https, api_key, prefix, timeout, host, path, **kwargs)
     87 else:
     88     if path is not None:
---> 89         self._client = QdrantLocal(location=path)
     90     else:
     91         if location is not None and url is None:

File /opt/conda/lib/python3.9/site-packages/qdrant_client/local/qdrant_local.py:46, in QdrantLocal.__init__(self, location)
     44 self.aliases: Dict[str, str] = {}
     45 self._flock_file: Optional[TextIOWrapper] = None
---> 46 self._load()
     47 self._closed: bool = False

File /opt/conda/lib/python3.9/site-packages/qdrant_client/local/qdrant_local.py:73, in QdrantLocal._load(self)
     71             config = rest_models.CreateCollection(**config_json)
     72             collection_path = self._collection_path(collection_name)
---> 73             self.collections[collection_name] = LocalCollection(config, collection_path)
     74         self.aliases = meta["aliases"]
     76 lock_file_path = os.path.join(self.location, ".lock")

File /opt/conda/lib/python3.9/site-packages/qdrant_client/local/local_collection.py:58, in LocalCollection.__init__(self, config, location)
     56 if location is not None:
     57     self.storage = CollectionPersistence(location)
---> 58 self.load()

File /opt/conda/lib/python3.9/site-packages/qdrant_client/local/local_collection.py:69, in LocalCollection.load(self)
     66 vectors = defaultdict(list)
     67 deleted_ids = []
---> 69 for idx, point in enumerate(self.storage.load()):
     70     self.ids[point.id] = idx
     71     self.ids_inv.append(point.id)

File /opt/conda/lib/python3.9/site-packages/qdrant_client/local/persistence.py:131, in CollectionPersistence.load(self)
    129 cursor.execute("SELECT point FROM points")
    130 for row in cursor.fetchall():
--> 131     yield pickle.loads(row[0])

File /opt/conda/lib/python3.9/site-packages/pydantic/main.py:864, in BaseModel.__setstate__(self, state)
    863 def __setstate__(self, state: dict[Any, Any]) -> None:
--> 864     _object_setattr(self, '__pydantic_fields_set__', state['__pydantic_fields_set__'])
    865     _object_setattr(self, '__pydantic_extra__', state['__pydantic_extra__'])
    866     _object_setattr(self, '__pydantic_private__', state['__pydantic_private__'])

KeyError: '__pydantic_fields_set__'

Steps to Reproduce

No idea how ?

Context (Environment)

Machine not connected to internet Parrallel GPU processes in place

pip freeze:

absl-py==2.0.0
accelerate==0.23.0
aiohttp==3.8.6
aioprometheus==23.12.0
aiosignal==1.3.1
alembic @ file:///home/conda/feedstock_root/build_artifacts/alembic_1657813896088/work
altair @ file:///home/conda/feedstock_root/build_artifacts/altair_1640799865332/work
annotated-types==0.6.0
antlr4-python3-runtime==4.9.3
anyio==3.7.1
argon2-cffi @ file:///home/conda/feedstock_root/build_artifacts/argon2-cffi_1640817743617/work
argon2-cffi-bindings @ file:///home/conda/feedstock_root/build_artifacts/argon2-cffi-bindings_1649500321618/work
astor==0.8.1
asttokens @ file:///home/conda/feedstock_root/build_artifacts/asttokens_1660605382950/work
async-generator==1.10
async-timeout==4.0.3
attrdict==2.0.1
attrs @ file:///home/conda/feedstock_root/build_artifacts/attrs_1659291887007/work
Babel==2.13.1
backcall @ file:///home/conda/feedstock_root/build_artifacts/backcall_1592338393461/work
backoff==2.2.1
backports.functools-lru-cache @ file:///home/conda/feedstock_root/build_artifacts/backports.functools_lru_cache_1618230623929/work
bce-python-sdk==0.8.92
beautifulsoup4 @ file:///home/conda/feedstock_root/build_artifacts/beautifulsoup4_1649463573192/work
black==23.10.1
bleach @ file:///home/conda/feedstock_root/build_artifacts/bleach_1656355450470/work
blinker==1.7.0
bokeh @ file:///home/conda/feedstock_root/build_artifacts/bokeh_1660586590972/work
Bottleneck @ file:///home/conda/feedstock_root/build_artifacts/bottleneck_1656803758298/work
brotlipy @ file:///home/conda/feedstock_root/build_artifacts/brotlipy_1648854164373/work
cached-property @ file:///home/conda/feedstock_root/build_artifacts/cached_property_1615209429212/work
cachetools==5.3.2
certifi==2023.11.17
certipy==0.1.3
cffi @ file:///home/conda/feedstock_root/build_artifacts/cffi_1656782830073/work
chardet==5.2.0
charset-normalizer==3.3.2
click @ file:///home/conda/feedstock_root/build_artifacts/click_1651215153723/work
cloudpickle @ file:///home/conda/feedstock_root/build_artifacts/cloudpickle_1662587369221/work
cmake==3.27.7
colorama @ file:///home/conda/feedstock_root/build_artifacts/colorama_1655412516417/work
coloredlogs==15.0.1
conda==22.9.0
conda-package-handling @ file:///home/conda/feedstock_root/build_artifacts/conda-package-handling_1663583601640/work
contourpy @ file:///home/conda/feedstock_root/build_artifacts/contourpy_1662135108659/work
cryptography @ file:///home/conda/feedstock_root/build_artifacts/cryptography_1664921465148/work
cssselect==1.2.0
cssutils==2.9.0
cycler @ file:///home/conda/feedstock_root/build_artifacts/cycler_1635519461629/work
Cython @ file:///home/conda/feedstock_root/build_artifacts/cython_1659101934693/work
cytoolz @ file:///home/conda/feedstock_root/build_artifacts/cytoolz_1657553452326/work
dask @ file:///home/conda/feedstock_root/build_artifacts/dask-core_1664589610536/work
dataclasses-json==0.6.1
debugpy @ file:///home/conda/feedstock_root/build_artifacts/debugpy_1660619001967/work
decorator @ file:///home/conda/feedstock_root/build_artifacts/decorator_1641555617451/work
defusedxml @ file:///home/conda/feedstock_root/build_artifacts/defusedxml_1615232257335/work
Deprecated==1.2.14
detectron2 @ git+https://github.com/facebookresearch/detectron2.git@57bdb21249d5418c130d54e2ebdc94dda7a4c01a
dill @ file:///home/conda/feedstock_root/build_artifacts/dill_1653058582944/work
distributed @ file:///home/conda/feedstock_root/build_artifacts/distributed_1664591325420/work
duckdb @ file:///tmp/duckdb-0.9.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=a5cfb93e73911696a98b9479299d19cfbc21dd05bb7ab11a923a903f86b4d06e
effdet==0.4.1
einops==0.7.0
emoji==2.8.0
entrypoints @ file:///home/conda/feedstock_root/build_artifacts/entrypoints_1643888246732/work
et-xmlfile==1.1.0
exceptiongroup==1.1.3
executing @ file:///home/conda/feedstock_root/build_artifacts/executing_1665301981797/work
fastapi==0.104.0
fastjsonschema @ file:///home/conda/feedstock_root/build_artifacts/python-fastjsonschema_1663619548554/work/dist
filelock==3.9.0
filetype==1.2.0
Flask==3.0.0
flask-babel==4.0.0
flatbuffers==23.5.26
flit_core @ file:///home/conda/feedstock_root/build_artifacts/flit-core_1645629044586/work/source/flit_core
fonttools @ file:///home/conda/feedstock_root/build_artifacts/fonttools_1664574251770/work
frozenlist==1.4.0
fschat==0.2.31
fsspec==2023.9.2
future==0.18.3
fvcore==0.1.5.post20221221
gmpy2 @ file:///home/conda/feedstock_root/build_artifacts/gmpy2_1641732907770/work
google-auth==2.23.4
google-auth-oauthlib==1.1.0
greenlet @ file:///home/conda/feedstock_root/build_artifacts/greenlet_1661444167495/work
grpcio==1.59.0
grpcio-tools==1.59.0
h11==0.14.0
h2==4.1.0
h5py @ file:///home/conda/feedstock_root/build_artifacts/h5py_1660488114257/work
HeapDict==1.0.1
hpack==4.0.0
httpcore==0.18.0
httptools==0.6.1
httpx==0.25.0
huggingface-hub==0.20.3
humanfriendly==10.0
hydra-core==1.3.2
hyperframe==6.0.1
idna==3.4
imagecodecs @ file:///home/conda/feedstock_root/build_artifacts/imagecodecs_1664235982716/work
imageio @ file:///home/conda/feedstock_root/build_artifacts/imageio_1663572338894/work
imgaug==0.4.0
importlib-metadata @ file:///home/conda/feedstock_root/build_artifacts/importlib-metadata_1653252797772/work
importlib-resources @ file:///home/conda/feedstock_root/build_artifacts/importlib_resources_1665204935269/work
iopath==0.1.9
ipykernel @ file:///home/conda/feedstock_root/build_artifacts/ipykernel_1664214716573/work
ipympl @ file:///home/conda/feedstock_root/build_artifacts/ipympl_1661165023080/work
ipython @ file:///home/conda/feedstock_root/build_artifacts/ipython_1662481517711/work
ipython-genutils==0.2.0
ipywidgets @ file:///home/conda/feedstock_root/build_artifacts/ipywidgets_1662482321563/work
itsdangerous==2.1.2
jedi @ file:///home/conda/feedstock_root/build_artifacts/jedi_1659959867326/work
Jinja2==3.1.2
joblib @ file:///home/conda/feedstock_root/build_artifacts/joblib_1663332044897/work
json5 @ file:///home/conda/feedstock_root/build_artifacts/json5_1600692310011/work
jsonpatch==1.33
jsonpath-python==1.0.6
jsonpointer==2.4
jsonschema @ file:///home/conda/feedstock_root/build_artifacts/jsonschema-meta_1662736858348/work
jupyter-client @ file:///home/conda/feedstock_root/build_artifacts/jupyter_client_1654730843242/work
jupyter-server @ file:///home/conda/feedstock_root/build_artifacts/jupyter_server_1664327557912/work
jupyter-telemetry @ file:///home/conda/feedstock_root/build_artifacts/jupyter_telemetry_1605173804246/work
jupyter_core @ file:///home/conda/feedstock_root/build_artifacts/jupyter_core_1658332352542/work
jupyterhub @ file:///home/conda/feedstock_root/build_artifacts/jupyterhub-feedstock_1662986664893/work
jupyterlab @ file:///home/conda/feedstock_root/build_artifacts/jupyterlab_1664896434903/work
jupyterlab-pygments @ file:///home/conda/feedstock_root/build_artifacts/jupyterlab_pygments_1649936611996/work
jupyterlab-widgets @ file:///home/conda/feedstock_root/build_artifacts/jupyterlab_widgets_1662157840858/work
jupyterlab_server @ file:///home/conda/feedstock_root/build_artifacts/jupyterlab_server_1664216665765/work
kiwisolver @ file:///home/conda/feedstock_root/build_artifacts/kiwisolver_1657953076186/work
langchain==0.0.322
langdetect==1.0.9
langsmith==0.0.51
lanms-neo==1.0.2
layoutparser==0.3.4
libmambapy @ file:///home/conda/feedstock_root/build_artifacts/mamba-split_1664905016189/work/libmambapy
lit==17.0.3
llvmlite==0.39.1
lmdb==1.4.1
locket @ file:///home/conda/feedstock_root/build_artifacts/locket_1650660393415/work
lxml==4.9.3
lz4 @ file:///home/conda/feedstock_root/build_artifacts/lz4_1652795536065/work
Mako @ file:///home/conda/feedstock_root/build_artifacts/mako_1663885412539/work
mamba @ file:///home/conda/feedstock_root/build_artifacts/mamba-split_1664905016189/work/mamba
Markdown==3.5.1
markdown-it-py==3.0.0
markdown2==2.4.10
MarkupSafe==2.1.2
marshmallow==3.20.1
matplotlib @ file:///home/conda/feedstock_root/build_artifacts/matplotlib-suite_1663358908800/work
matplotlib-inline @ file:///home/conda/feedstock_root/build_artifacts/matplotlib-inline_1660814786464/work
mdurl==0.1.2
mistune @ file:///home/conda/feedstock_root/build_artifacts/mistune_1657892024508/work
mpmath==1.2.1
msg-parser==1.2.0
msgpack @ file:///home/conda/feedstock_root/build_artifacts/msgpack-python_1654260630346/work
multidict==6.0.4
munkres==1.1.4
mypy-extensions==1.0.0
nbclassic @ file:///home/conda/feedstock_root/build_artifacts/nbclassic_1665246954203/work
nbclient @ file:///home/conda/feedstock_root/build_artifacts/nbclient_1665125402713/work
nbconvert @ file:///home/conda/feedstock_root/build_artifacts/nbconvert-meta_1665098304483/work
nbformat @ file:///home/conda/feedstock_root/build_artifacts/nbformat_1664204096384/work
nest-asyncio @ file:///home/conda/feedstock_root/build_artifacts/nest-asyncio_1664684991461/work
networkx==3.0rc1
nh3==0.2.14
ninja==1.11.1.1
nltk==3.8.1
notebook @ file:///home/conda/feedstock_root/build_artifacts/notebook_1654636967533/work
notebook-shim @ file:///home/conda/feedstock_root/build_artifacts/notebook-shim_1646330736330/work
numba @ file:///home/conda/feedstock_root/build_artifacts/numba_1664507837797/work
numexpr @ file:///home/conda/feedstock_root/build_artifacts/numexpr_1658076421292/work
numpy==1.24.1
nvidia-cublas-cu11==11.10.3.66
nvidia-cublas-cu12==12.1.3.1
nvidia-cuda-cupti-cu11==11.7.101
nvidia-cuda-cupti-cu12==12.1.105
nvidia-cuda-nvrtc-cu11==11.7.99
nvidia-cuda-nvrtc-cu12 @ file:///home/cepargne/work/modules/nvidia_cuda_nvrtc_cu12-12.1.105-py3-none-manylinux1_x86_64.whl#sha256=339b385f50c309763ca65456ec75e17bbefcbbf2893f462cb8b90584cd27a1c2
nvidia-cuda-runtime-cu11==11.7.99
nvidia-cuda-runtime-cu12 @ file:///home/cepargne/work/modules/nvidia_cuda_runtime_cu12-12.1.105-py3-none-manylinux1_x86_64.whl#sha256=6e258468ddf5796e25f1dc591a31029fa317d97a0a94ed93468fc86301d61e40
nvidia-cudnn-cu11==8.5.0.96
nvidia-cudnn-cu12==8.9.2.26
nvidia-cufft-cu11==10.9.0.58
nvidia-cufft-cu12==11.0.2.54
nvidia-curand-cu11==10.2.10.91
nvidia-curand-cu12==10.3.2.106
nvidia-cusolver-cu11==11.4.0.1
nvidia-cusolver-cu12==11.4.5.107
nvidia-cusparse-cu11==11.7.4.91
nvidia-cusparse-cu12==12.1.0.106
nvidia-nccl-cu11==2.14.3
nvidia-nccl-cu12==2.18.1
nvidia-nvjitlink-cu12==12.3.101
nvidia-nvtx-cu11==11.7.91
nvidia-nvtx-cu12==12.1.105
oauthlib @ file:///home/conda/feedstock_root/build_artifacts/oauthlib_1662766753257/work
olefile==0.46
omegaconf==2.3.0
onnx==1.15.0
onnxruntime==1.15.1
openai==0.28.1
opencv-contrib-python==4.8.0.76
opencv-python==4.8.0.76
openpyxl==3.1.2
opt-einsum==3.3.0
orjson==3.9.12
packaging==23.2
paddlepaddle==2.5.2
paddlepaddle-gpu==2.5.2
pamela==1.0.0
pandas==1.5.0
pandocfilters @ file:///home/conda/feedstock_root/build_artifacts/pandocfilters_1631603243851/work
parso @ file:///home/conda/feedstock_root/build_artifacts/parso_1638334955874/work
partd @ file:///home/conda/feedstock_root/build_artifacts/partd_1660316728562/work
pathspec==0.11.2
patsy @ file:///home/conda/feedstock_root/build_artifacts/patsy_1632667180946/work
pdf2image==1.16.3
pdfminer==20191125
pdfminer.six==20221105
pdfplumber==0.10.3
pdftotext==2.2.2
pexpect @ file:///home/conda/feedstock_root/build_artifacts/pexpect_1602535608087/work
pickleshare @ file:///home/conda/feedstock_root/build_artifacts/pickleshare_1602536217715/work
pikepdf==8.11.2
pillow @ file:///home/cepargne/work/modules/pillow-10.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=c365fd1703040de1ec284b176d6af5abe21b427cb3a5ff68e0759e1e313a5e7e
pkgutil_resolve_name @ file:///home/conda/feedstock_root/build_artifacts/pkgutil-resolve-name_1633981968097/work
platformdirs==3.11.0
Polygon3==3.0.9.1
poppler-utils==0.1.0
portalocker==2.8.2
premailer==3.10.0
prometheus-client @ file:///home/conda/feedstock_root/build_artifacts/prometheus_client_1649447152425/work
prompt-toolkit @ file:///home/conda/feedstock_root/build_artifacts/prompt-toolkit_1662384672173/work
protobuf==4.21.7
psutil @ file:///home/conda/feedstock_root/build_artifacts/psutil_1662356159478/work
ptyprocess @ file:///home/conda/feedstock_root/build_artifacts/ptyprocess_1609419310487/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
pure-eval @ file:///home/conda/feedstock_root/build_artifacts/pure_eval_1642875951954/work
pyarrow==13.0.0
pyasn1==0.5.0
pyasn1-modules==0.3.0
pyclipper==1.3.0.post5
pycocotools==2.0.7
pycosat @ file:///home/conda/feedstock_root/build_artifacts/pycosat_1649384802055/work
pycparser @ file:///home/conda/feedstock_root/build_artifacts/pycparser_1636257122734/work
pycryptodome==3.19.0
pycurl==7.45.1
pydantic==2.6.0
pydantic_core==2.16.1
Pygments @ file:///home/conda/feedstock_root/build_artifacts/pygments_1660666458521/work
PyJWT @ file:///home/conda/feedstock_root/build_artifacts/pyjwt_1663432570896/work
pynvml==11.5.0
pyOpenSSL @ file:///home/conda/feedstock_root/build_artifacts/pyopenssl_1665350324128/work
pypandoc==1.12
pyparsing @ file:///home/conda/feedstock_root/build_artifacts/pyparsing_1652235407899/work
pypdf==3.17.4
PyPDF2==3.0.1
pypdfium2==4.22.0
pyrsistent @ file:///home/conda/feedstock_root/build_artifacts/pyrsistent_1649013355209/work
PySocks @ file:///home/conda/feedstock_root/build_artifacts/pysocks_1661604839144/work
pytesseract==0.3.10
python-dateutil @ file:///home/conda/feedstock_root/build_artifacts/python-dateutil_1626286286081/work
python-docx==1.1.0
python-dotenv==1.0.0
python-iso639==2023.6.15
python-json-logger @ file:///home/conda/feedstock_root/build_artifacts/python-json-logger_1602545356084/work
python-magic==0.4.27
python-multipart==0.0.6
python-pptx==0.6.21
pytorch-triton==2.1.0+6e4932cda8
pytz==2023.3.post1
pytz-deprecation-shim @ file:///home/conda/feedstock_root/build_artifacts/pytz-deprecation-shim_1656249456182/work
PyWavelets @ file:///home/conda/feedstock_root/build_artifacts/pywavelets_1649616400802/work
PyYAML @ file:///home/conda/feedstock_root/build_artifacts/pyyaml_1648757097602/work
pyzmq @ file:///home/conda/feedstock_root/build_artifacts/pyzmq_1663830512540/work
qdrant-client==1.6.3
quantile-python==1.1
rapidfuzz==3.5.2
rarfile==4.1
ray==2.9.1
regex==2023.10.3
requests==2.31.0
requests-oauthlib==1.3.1
rich==13.6.0
rpy2 @ file:///home/conda/feedstock_root/build_artifacts/rpy2_1649599334331/work
rsa==4.9
ruamel-yaml-conda @ file:///home/conda/feedstock_root/build_artifacts/ruamel_yaml_1653464393916/work
ruamel.yaml @ file:///home/conda/feedstock_root/build_artifacts/ruamel.yaml_1649033202141/work
ruamel.yaml.clib @ file:///home/conda/feedstock_root/build_artifacts/ruamel.yaml.clib_1649013070954/work
safetensors==0.4.2
scikit-image @ file:///home/conda/feedstock_root/build_artifacts/scikit-image_1660146513757/work
scikit-learn @ file:///home/conda/feedstock_root/build_artifacts/scikit-learn_1659726099166/work
scipy==1.9.1
seaborn @ file:///home/conda/feedstock_root/build_artifacts/seaborn-split_1662491375569/work
Send2Trash @ file:///home/conda/feedstock_root/build_artifacts/send2trash_1628511208346/work
sentence-transformers==2.2.2
sentencepiece==0.1.99
shapely==2.0.2
shortuuid==1.0.11
simplegeneric==0.8.1
six @ file:///home/conda/feedstock_root/build_artifacts/six_1620240208055/work
sniffio @ file:///home/conda/feedstock_root/build_artifacts/sniffio_1662051266223/work
sortedcontainers @ file:///home/conda/feedstock_root/build_artifacts/sortedcontainers_1621217038088/work
soupsieve @ file:///home/conda/feedstock_root/build_artifacts/soupsieve_1658207591808/work
SQLAlchemy @ file:///home/conda/feedstock_root/build_artifacts/sqlalchemy_1662536026831/work
stack-data @ file:///home/conda/feedstock_root/build_artifacts/stack_data_1664126450622/work
starlette==0.27.0
statsmodels @ file:///home/conda/feedstock_root/build_artifacts/statsmodels_1654787094041/work
svgwrite==1.4.3
sympy==1.11.1
tables @ file:///home/conda/feedstock_root/build_artifacts/pytables_1660375071976/work
tabulate==0.9.0
tblib @ file:///home/conda/feedstock_root/build_artifacts/tblib_1616261298899/work
tenacity==8.2.3
tensorboard==2.15.1
tensorboard-data-server==0.7.2
termcolor==2.3.0
terminado @ file:///home/conda/feedstock_root/build_artifacts/terminado_1664482163879/work
threadpoolctl @ file:///home/conda/feedstock_root/build_artifacts/threadpoolctl_1643647933166/work
tifffile @ file:///home/conda/feedstock_root/build_artifacts/tifffile_1660549926389/work
tiktoken==0.5.1
timm==0.9.10
tinycss2 @ file:///home/conda/feedstock_root/build_artifacts/tinycss2_1637612658783/work
tokenizers==0.15.1
tomli @ file:///home/conda/feedstock_root/build_artifacts/tomli_1644342247877/work
toolz @ file:///home/conda/feedstock_root/build_artifacts/toolz_1657485559105/work
torch==2.1.2
torchaudio==2.2.0.dev20231018+cu118
torchvision==0.15.2
tornado @ file:///home/conda/feedstock_root/build_artifacts/tornado_1648827245914/work
tqdm @ file:///home/conda/feedstock_root/build_artifacts/tqdm_1662214488106/work
traitlets @ file:///home/conda/feedstock_root/build_artifacts/traitlets_1663005918942/work
transformers==4.37.2
triton==2.1.0
typing-inspect==0.9.0
typing_extensions==4.8.0
tzdata @ file:///home/conda/feedstock_root/build_artifacts/python-tzdata_1664247338807/work
tzlocal @ file:///home/conda/feedstock_root/build_artifacts/tzlocal_1656259931343/work
unicodedata2 @ file:///home/conda/feedstock_root/build_artifacts/unicodedata2_1649111919389/work
unstructured @ file:///home/cepargne/work/modules/unstructured-0.11.8-py3-none-any.whl#sha256=71e8d135a723d8c692a0a43683e3dca4a9b3e0fd8a1d255f57689591ed3860c0
unstructured-client==0.15.1
unstructured-inference==0.7.18
unstructured.paddleocr==2.6.1.3
unstructured.pytesseract==0.3.12
urllib3==1.26.18
uvicorn==0.23.2
uvloop==0.18.0
visualdl==2.5.3
vllm==0.3.0
watchfiles==0.21.0
wavedrom==2.0.3.post3
wcwidth @ file:///home/conda/feedstock_root/build_artifacts/wcwidth_1600965781394/work
webencodings==0.5.1
websocket-client @ file:///home/conda/feedstock_root/build_artifacts/websocket-client_1662334000707/work
websockets==11.0.3
Werkzeug==3.0.1
widgetsnbextension @ file:///home/conda/feedstock_root/build_artifacts/widgetsnbextension_1662157836868/work
wrapt==1.16.0
xformers==0.0.23.post1
xlrd @ file:///home/conda/feedstock_root/build_artifacts/xlrd_1610224409810/work
XlsxWriter==3.1.9
yacs==0.1.8
yarl==1.9.2
zict @ file:///home/conda/feedstock_root/build_artifacts/zict_1651156074437/work
zipp @ file:///home/conda/feedstock_root/build_artifacts/zipp_1665306627898/work

Do you have any idea how I could sucessfully access my collections again ?

Thank you in advance

AntoninLeroy avatar Jan 31 '24 16:01 AntoninLeroy

Hi @AntoninLeroy Sorry for the late response

It seems like you used to use pydantic<2.0.0, stored your objects and then updated to pydantic>=2.0.0 Your database is not corrupted I guess you just need to switch back to pydantic<2.0.0

Btw, it seems like you are running it in production and using local mode. We usually recommend to switch to qdrant in docker, or qdrant cloud to run applications in production.

joein avatar Feb 05 '24 21:02 joein

@joein

Thanks for your answer. Yes it was the issue because I had to upgrade vllm version. I had to create a new database and re-vectorise my documents. I agree that I should use docker but I'm not sure how on my specific offline setup ? Is it something possible without being connected to internet ?

AntoninLeroy avatar Feb 06 '24 09:02 AntoninLeroy

If you have docker installed on your server, then it is not complicated, you just need to save qdrant docker image to an archive and deliver it to the server somehow, and then load it

If you don't have docker installed on the server, it might be a little bit more complicated, but should be still doable, there should be instructions on docker website how to install it without internet connection

joein avatar Feb 06 '24 09:02 joein

@joein Thanks will try to do that.

AntoninLeroy avatar Feb 06 '24 13:02 AntoninLeroy