# The error occurs when I upgrade from version 1.24.12 to 1.25.1

**URL:** <https://forum.weaviate.io/t/the-error-occurs-when-i-upgrade-from-version-1-24-12-to-1-25-1/2418>\
**Category:** General\
**Created:** [May 22, 2024, 9:48am UTC](https://forum.weaviate.io/t/the-error-occurs-when-i-upgrade-from-version-1-24-12-to-1-25-1/2418 "2024-05-22T09:48:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![user3](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/user3/32/465_2.png) [@user3](https://forum.weaviate.io/u/user3)\
**Post date:** [May 22, 2024, 9:48am UTC](https://forum.weaviate.io/t/the-error-occurs-when-i-upgrade-from-version-1-24-12-to-1-25-1/2418/1 "2024-05-22T09:48:17Z")

</div>

Error reported when starting:

[+] Running 2/0  
✔ Container multi2vec-clip-service Created 0.0s  
✔ Container weaviate-multi2vec Recreated 0.0s  
Attaching to multi2vec-clip-service, weaviate-multi2vec  
weaviate-multi2vec | {“level”:“error”,“msg”:“Recovered from panic: runtime error: invalid memory address or nil pointer dereference”,“time”:“2024-05-22T09:34:15Z”}  
weaviate-multi2vec | goroutine 125 [running]:  
weaviate-multi2vec | runtime/debug.Stack()  
weaviate-multi2vec | /usr/local/go/src/runtime/debug/stack.go:24 +0x64  
weaviate-multi2vec | runtime/debug.PrintStack()  
weaviate-multi2vec | /usr/local/go/src/runtime/debug/stack.go:16 +0x1c  
weaviate-multi2vec | [github.com/weaviate/weaviate/entities/errors.GoWrapper.func1.1()](http://github.com/weaviate/weaviate/entities/errors.GoWrapper.func1.1())  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/entities/errors/go\_wrapper.go:30 +0x138  
weaviate-multi2vec | panic({0x13b9fe0?, 0x288f3b0?})  
weaviate-multi2vec | /usr/local/go/src/runtime/panic.go:914 +0x218  
weaviate-multi2vec | [github.com/weaviate/weaviate/modules/text2vec-openai.(\*OpenAIModule).Arguments(0x4002392d18?)](http://github.com/weaviate/weaviate/modules/text2vec-openai.(*OpenAIModule).Arguments(0x4002392d18?))  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/modules/text2vec-openai/nearText.go:26 +0x20  
weaviate-multi2vec | [github.com/weaviate/weaviate/usecases/modules.(\*Provider).GetArguments](http://github.com/weaviate/weaviate/usecases/modules.(*Provider).GetArguments)(0x4003762a00, 0x40028e2498)  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/usecases/modules/modules.go:356 +0x1b0  
weaviate-multi2vec | [github.com/weaviate/weaviate/adapters/handlers/graphql/local/get.buildGetClassField](http://github.com/weaviate/weaviate/adapters/handlers/graphql/local/get.buildGetClassField)(0x13a7000?, 0x40028e2498, {0x1b25580?, 0x4003762a00}, 0xffff4ae0e3b0?)  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/adapters/handlers/graphql/local/get/class\_builder\_fields.go:242 +0x728  
weaviate-multi2vec | [github.com/weaviate/weaviate/adapters/handlers/graphql/local/get.(\*classBuilder).classField](http://github.com/weaviate/weaviate/adapters/handlers/graphql/local/get.(*classBuilder).classField)(0x40036edd40, 0x40028e2498, 0x4002cea780?)  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/adapters/handlers/graphql/local/get/class\_builder.go:102 +0xb4  
weaviate-multi2vec | [github.com/weaviate/weaviate/adapters/handlers/graphql/local/get.(\*classBuilder).kinds](http://github.com/weaviate/weaviate/adapters/handlers/graphql/local/get.(*classBuilder).kinds)(0x40001a36b0?, 0x40036edd00)  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/adapters/handlers/graphql/local/get/class\_builder.go:83 +0x1b8  
weaviate-multi2vec | [github.com/weaviate/weaviate/adapters/handlers/graphql/local/get.(\*classBuilder).objects(...)](http://github.com/weaviate/weaviate/adapters/handlers/graphql/local/get.(*classBuilder).objects(...))  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/adapters/handlers/graphql/local/get/class\_builder.go:65  
weaviate-multi2vec | [github.com/weaviate/weaviate/adapters/handlers/graphql/local/get.Build](http://github.com/weaviate/weaviate/adapters/handlers/graphql/local/get.Build)(0x40001a36b0, {0x1b383a8?, 0x40036e2700?}, {0x1b25580?, 0x4003762a00?})  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/adapters/handlers/graphql/local/get/get.go:47 +0x64  
weaviate-multi2vec | [github.com/weaviate/weaviate/adapters/handlers/graphql/local.Build](http://github.com/weaviate/weaviate/adapters/handlers/graphql/local.Build)(_, {_, _}, {{0x0, 0x0}, 0x0, {0x19}, 0x2710, 0x186a0, {{0x0, …}}, …}, …)  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/adapters/handlers/graphql/local/local.go:29 +0x40  
weaviate-multi2vec | [github.com/weaviate/weaviate/adapters/handlers/graphql.buildGraphqlSchema](http://github.com/weaviate/weaviate/adapters/handlers/graphql.buildGraphqlSchema)(_, {_, }, {{0x0, 0x0}, 0x0, {0x19}, 0x2710, 0x186a0, {{0x0, …}}, …}, …)  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/adapters/handlers/graphql/schema.go:87 +0x60  
weaviate-multi2vec | [github.com/weaviate/weaviate/adapters/handlers/graphql.Build](http://github.com/weaviate/weaviate/adapters/handlers/graphql.Build)(, {_, _}, {_, _}, {{0x0, 0x0}, 0x0, {0x19}, 0x2710, …}, …)  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/adapters/handlers/graphql/schema.go:57 +0x170  
weaviate-multi2vec | [github.com/weaviate/weaviate/adapters/handlers/rest.rebuildGraphQL](http://github.com/weaviate/weaviate/adapters/handlers/rest.rebuildGraphQL)({_}, {\_, \_}, {{0x0, 0x0}, 0x0, {0x19}, 0x2710, 0x186a0, {{0x0, …}}, …}, …)  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/adapters/handlers/rest/configure\_server.go:70 +0xa8  
weaviate-multi2vec | [github.com/weaviate/weaviate/adapters/handlers/rest.MakeAppState.makeUpdateSchemaCall.func6({0x28f7240?})](http://github.com/weaviate/weaviate/adapters/handlers/rest.MakeAppState.makeUpdateSchemaCall.func6(%7B0x28f7240?%7D))  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/adapters/handlers/rest/configure\_server.go:52 +0x84  
weaviate-multi2vec | [github.com/weaviate/weaviate/usecases/schema.(\*executor).rebuildGQL](http://github.com/weaviate/weaviate/usecases/schema.(*executor).rebuildGQL)(0x40037d2000, {{0x40037d2e00, 0xe, 0xe}, {0x0, 0x0}, {0x0, 0x0}})  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/usecases/schema/executor.go:239 +0x13c  
weaviate-multi2vec | [github.com/weaviate/weaviate/usecases/schema.(\*executor).ReloadLocalDB](http://github.com/weaviate/weaviate/usecases/schema.(*executor).ReloadLocalDB)(0x40037d2000, {0x1b1fb48, 0x28f7240}, {0x4003393c00, 0xe, 0x59658c?})  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/usecases/schema/executor.go:64 +0x204  
weaviate-multi2vec | [github.com/weaviate/weaviate/cluster/store.(\*Store).reloadDBFromSchema(0x400375e120)](http://github.com/weaviate/weaviate/cluster/store.(*Store).reloadDBFromSchema(0x400375e120))  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/cluster/store/store.go:944 +0x19c  
weaviate-multi2vec | [github.com/weaviate/weaviate/cluster/store.(\*Store).reloadDBFromSnapshot.func1()](http://github.com/weaviate/weaviate/cluster/store.(*Store).reloadDBFromSnapshot.func1())  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/cluster/store/store.go:916 +0x2c  
weaviate-multi2vec | [github.com/weaviate/weaviate/cluster/store.(\*Store).reloadDBFromSnapshot(0x400375e120)](http://github.com/weaviate/weaviate/cluster/store.(*Store).reloadDBFromSnapshot(0x400375e120))  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/cluster/store/store.go:928 +0x294  
weaviate-multi2vec | [github.com/weaviate/weaviate/cluster/store.(\*Store).Restore](http://github.com/weaviate/weaviate/cluster/store.(*Store).Restore)(0x400375e120, {0x1b16c88?, 0x4003748ab0})  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/cluster/store/store.go:767 +0x1e0  
weaviate-multi2vec | [github.com/hashicorp/raft.fsmRestoreAndMeasure](http://github.com/hashicorp/raft.fsmRestoreAndMeasure)({0x1b328a0, 0x4003748a98}, {0x1b1b790, 0x400375e120}, {0x1b16cb0?, 0x40037586a0}, 0x10?)  
weaviate-multi2vec | /go/pkg/mod/github.com/hashicorp/raft@v1.5.0/fsm.go:271 +0x178  
weaviate-multi2vec | [github.com/hashicorp/raft.(\*Raft).tryRestoreSingleSnapshot](http://github.com/hashicorp/raft.(*Raft).tryRestoreSingleSnapshot)(0x4003416840, 0x40036e2480)  
weaviate-multi2vec | /go/pkg/mod/github.com/hashicorp/raft@v1.5.0/api.go:679 +0x3c4  
weaviate-multi2vec | [github.com/hashicorp/raft.(\*Raft).restoreSnapshot(0x4003416840)](http://github.com/hashicorp/raft.(*Raft).restoreSnapshot(0x4003416840))  
weaviate-multi2vec | /go/pkg/mod/github.com/hashicorp/raft@v1.5.0/api.go:622 +0x11c  
weaviate-multi2vec | [github.com/hashicorp/raft.NewRaft](http://github.com/hashicorp/raft.NewRaft)(0x40024700a0, {0x1b1b790?, 0x400375e120}, {0x1b24c30?, 0x400370c380}, {0x1b1ff00?, 0x4003748318}, {0x1b1b7c0?, 0x40037fedb0}, {0x1b2b3a8?, …})  
weaviate-multi2vec | /go/pkg/mod/github.com/hashicorp/raft@v1.5.0/api.go:575 +0x7dc  
weaviate-multi2vec | [github.com/weaviate/weaviate/cluster/store.(\*Store).Open](http://github.com/weaviate/weaviate/cluster/store.(*Store).Open)(0x400375e120, {0x1b1fb48, 0x28f7240})  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/cluster/store/store.go:250 +0x314  
weaviate-multi2vec | [github.com/weaviate/weaviate/cluster/store.(\*Service).Open](http://github.com/weaviate/weaviate/cluster/store.(*Service).Open)(0x40037be0a0, {0x1b1fb48, 0x28f7240}, {0x1b2ddd0?, 0x40037d2000})  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/cluster/store/service.go:58 +0x104  
weaviate-multi2vec | [github.com/weaviate/weaviate/cluster.(\*Service).Open](http://github.com/weaviate/weaviate/cluster.(*Service).Open)(0x40000c0050, {0x1b1fb48, 0x28f7240}, {0x1b2ddd0, 0x40037d2000})  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/cluster/cluster.go:67 +0x110  
weaviate-multi2vec | [github.com/weaviate/weaviate/adapters/handlers/rest.MakeAppState.func3()](http://github.com/weaviate/weaviate/adapters/handlers/rest.MakeAppState.func3())  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/adapters/handlers/rest/configure\_api.go:340 +0x4c  
weaviate-multi2vec | [github.com/weaviate/weaviate/entities/errors.GoWrapper.func1()](http://github.com/weaviate/weaviate/entities/errors.GoWrapper.func1())  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/entities/errors/go\_wrapper.go:34 +0x64  
weaviate-multi2vec | created by [github.com/weaviate/weaviate/entities/errors.GoWrapper](http://github.com/weaviate/weaviate/entities/errors.GoWrapper) in goroutine 1  
weaviate-multi2vec | /go/src/github.com/weaviate/weaviate/entities/errors/go\_wrapper.go:25 +0x80  
multi2vec-clip-service | INFO: Started server process [7]  
multi2vec-clip-service | INFO: Waiting for application startup.  
multi2vec-clip-service | INFO: Running on CPU  
multi2vec-clip-service | INFO: Model initialization complete  
multi2vec-clip-service | INFO: Application startup complete.  
multi2vec-clip-service | INFO: Uvicorn running on [http://0.0.0.0:8080](http://0.0.0.0:8080) (Press CTRL+C to quit)  
multi2vec-clip-service | INFO: 192.168.247.2:33270 - “GET /.well-known/ready HTTP/1.1” 204 No Content  
multi2vec-clip-service | INFO: 192.168.247.2:33270 - “GET /meta HTTP/1.1” 200 OK  
multi2vec-clip-service | INFO: 192.168.247.2:48108 - “GET /meta HTTP/1.1” 200 OK

* * *

When creating a collection, the error is reported as follows:  
panic: status code: 422, error: {“error”:[{“message”:“leader not found”}]}  
docker-compose.yml

version: ‘3.4’  
services:  
multi2vec-clip:  
image: semitechnologies/multi2vec-clip:sentence-transformers-clip-ViT-B-32-multilingual-v1  
container\_name: multi2vec-clip-service  
weaviate:  
command:  
- --host  
- 0.0.0.0  
- --port  
- ‘8070’  
- --scheme  
- http  
image: semitechnologies/weaviate:1.25.1  
container\_name: weaviate-multi2vec  
ports:  
- 8070:8070  
volumes:  
- $HOME/weaviate/weaviate\_data:/var/lib/weaviate  
- $HOME/weaviate/backup:/var/lib/weaviate\_backup  
restart: on-failure:0  
environment:  
LOG\_LEVEL: error  
CLIP\_INFERENCE\_API: ‘[http://multi2vec-clip-service:8080](http://multi2vec-clip-service:8080)’  
QUERY\_DEFAULTS\_LIMIT: 25  
AUTHENTICATION\_ANONYMOUS\_ACCESS\_ENABLED: ‘true’  
PERSISTENCE\_DATA\_PATH: ‘/var/lib/weaviate’  
# DEFAULT\_VECTORIZER\_MODULE: ‘text2vec-openai’  
ENABLE\_MODULES: ‘text2vec-aws,text2vec-palm,text2vec-openai,backup-filesystem,multi2vec-clip,generative-openai’  
BACKUP\_FILESYSTEM\_PATH: ‘/var/lib/weaviate\_backup’  
CLUSTER\_HOSTNAME: node1

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [May 22, 2024, 10:07am UTC](https://forum.weaviate.io/t/the-error-occurs-when-i-upgrade-from-version-1-24-12-to-1-25-1/2418/2 "2024-05-22T10:07:13Z")

</div>

Hi!

I assume this is a multi node setup.

On that case, be aware that there are some new env variables to define.

Check here the guide for K8S:

> **[1.25 (For Kubernetes users) | Weaviate - Vector Database](https://weaviate.io/developers/weaviate/more-resources/migration/weaviate-1-25)**
>
> Assumptions & requirements

And here for the environment variables for multi node:

> **[Environment variables | Weaviate - Vector Database](https://weaviate.io/developers/weaviate/config-refs/env-vars#multi-node-instances)**
>
> To configure Weaviate in a Docker or a Kubernetes deployment, set these environment variables

Let me know if this helps!

Thanks!

---

<div class="post-metadata">

**Author:** ![user3](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/user3/32/465_2.png) [@user3](https://forum.weaviate.io/u/user3)\
**Post date:** [May 22, 2024, 1:24pm UTC](https://forum.weaviate.io/t/the-error-occurs-when-i-upgrade-from-version-1-24-12-to-1-25-1/2418/3 "2024-05-22T13:24:25Z")

</div>

It looks like this is a bug in version 1.25.1  
It has been fixed [one](https://github.com/weaviate/weaviate/pull/4969)

---

<div class="post-metadata">

**Author:** ![antas-marcin](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/antas-marcin/32/20_2.png) [@antas-marcin](https://forum.weaviate.io/u/antas-marcin)\
**Post date:** [May 22, 2024, 1:44pm UTC](https://forum.weaviate.io/t/the-error-occurs-when-i-upgrade-from-version-1-24-12-to-1-25-1/2418/4 "2024-05-22T13:44:17Z")

</div>

@user3 I think that this [thread](https://forum.weaviate.io/t/error-when-upgrading-to-weaviate-1-25-1/2386/13) contains a solution to your problem, especially check [here](https://forum.weaviate.io/t/error-when-upgrading-to-weaviate-1-25-1/2386/10) my response.

---

<div class="post-metadata">

**Author:** ![user3](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/user3/32/465_2.png) [@user3](https://forum.weaviate.io/u/user3)\
**Post date:** [May 23, 2024, 2:52am UTC](https://forum.weaviate.io/t/the-error-occurs-when-i-upgrade-from-version-1-24-12-to-1-25-1/2418/5 "2024-05-23T02:52:57Z")

</div>

The error is gone .thanks
