Upgrading from 1.0.3 to 2.0.0 fails
Description
I upgraded my verba 1.0.3 install to 2.0.0 and I cannot create a local verba instance. When I click on 'Local' I get the error:
Failed to connect to Weaviate Collection may not have been created properly.! Unexpected status code: 422, with response body: {'error': [{'message': 'class already exists: found similar class "VERBA_Config"'}]}.
How can I wipe my existing install or migrate it to 2.0.0?
Installation
- [ ] pip install goldenverba
- [X] pip install from source
- [ ] Docker installation
If you installed via pip, please specify the version: 24.2
Weaviate Deployment
- [X] Local Deployment
- [ ] Docker Deployment
- [ ] Cloud Deployment
Configuration
Reader: N/A Chunker: N/A Embedder: N/A Retriever: N/A Generator: N/A
Steps to Reproduce
- Install verba 1.0.3
- import documents , issue queries, etc.
- pip install verba 2.0.0
- restart verba
- access https://loaclhost:8000
- click on 'local'
Additional context
One solution for embedded weaviate (nuclear option):
- go to local storage directory (default is here)
- delete all files
- restart verba
verba restart - reload https://localhost:8000
- click on local
- happy verba-ing!
Good catch! Same happend to me, will add some CLI commands to fix this in the future + documentation. Thanks a lot for the issue 🚀
Thanks a lot for the issue, I fixed it in the newest release and added it to the documentation as well 🚀
Awesome, looking forward to testing the new version!