Also tried to backup using binary backup and then import again.
New dgraph_instance not response for query
Update CORS logs
dgraph upgrade --from v20.11.0 --to v21.03.0 --alpha localhost:9080 --alpha-http localhost:8080 --deleteOld
**********************************************
Version to upgrade from: v20.11.0
Version to upgrade to : v21.03.0
**********************************************
Skipping the change set introduced in version: v20.03.0
Skipping the change set introduced in version: v20.07.0
3. Applying the change set introduced in version: v21.03.0
Applying change 1:
Name : Upgrade Persistent Query
Description: This updates the persisted query from old format to new format.Persistent query had 2 predicates which have been merged into a single predicate dgraph.graphql.p_query. For more info, see: https://github.com/dgraph-io/dgraph/pull/7451
Running transaction with dgraph endpoint: localhost:9080
Status : Successful
Applying change 2:
Name : Upgrade CORS
Description: This updates GraphQL schema to contain the CORS information. Some of the dgraph internal predicates are removed in v21.03.0. dgraph.cors that used to store CORS information is one of them. For more info, see: https://github.com/dgraph-io/dgraph/pull/7431
Running transaction with dgraph endpoint: localhost:9080
Nothing to update in GraphQL shchema. Either schema or cors not found.
error in alter, retrying: rpc error: code = DeadlineExceeded desc = context deadline exceeded
error in alter, retrying: rpc error: code = Unknown desc = Can't store predicate `dgraph.cors` as it is prefixed with `dgraph.` which is reserved as the namespace for dgraph's internal types/predicates.
error in alter, retrying: rpc error: code = Unknown desc = Can't store predicate `dgraph.cors` as it is prefixed with `dgraph.` which is reserved as the namespace for dgraph's internal types/predicates.
Status : Error
Error : error deleting old predicate dgraph.cors: rpc error: code = Unknown desc = Can't store predicate `dgraph.cors` as it is prefixed with `dgraph.` which is reserved as the namespace for dgraph's internal types/predicates.
Can't continue. Exiting!!!
Dgraph Alpha logs
dgraph_alpha_2103.log (47.8 KB)
And after some time it crash with logs:
2021/05/16 09:04:47 Assert failed
github.com/dgraph-io/dgraph/x.AssertTrue
/ext-go/1/src/github.com/dgraph-io/dgraph/x/error.go:100
github.com/dgraph-io/dgraph/x.ParseNamespaceAttr
/ext-go/1/src/github.com/dgraph-io/dgraph/x/keys.go:87
github.com/dgraph-io/dgraph/query.filterTypesForNamespace
/ext-go/1/src/github.com/dgraph-io/dgraph/query/query.go:2955
github.com/dgraph-io/dgraph/query.(*Request).Process
/ext-go/1/src/github.com/dgraph-io/dgraph/query/query.go:2943
github.com/dgraph-io/dgraph/edgraph.processQuery
/ext-go/1/src/github.com/dgraph-io/dgraph/edgraph/server.go:1354
github.com/dgraph-io/dgraph/edgraph.(*Server).doQuery
/ext-go/1/src/github.com/dgraph-io/dgraph/edgraph/server.go:1257
github.com/dgraph-io/dgraph/edgraph.(*Server).Query
/ext-go/1/src/github.com/dgraph-io/dgraph/edgraph/server.go:1139
github.com/dgraph-io/dgraph/dgraph/cmd/alpha.queryHandler
/ext-go/1/src/github.com/dgraph-io/dgraph/dgraph/cmd/alpha/http.go:249
net/http.HandlerFunc.ServeHTTP
/usr/local/go/src/net/http/server.go:2069
net/http.(*ServeMux).ServeHTTP
/usr/local/go/src/net/http/server.go:2448
github.com/dgraph-io/dgraph/ee/audit.AuditRequestHttp.func1
/ext-go/1/src/github.com/dgraph-io/dgraph/ee/audit/interceptor_ee.go:91
net/http.HandlerFunc.ServeHTTP
/usr/local/go/src/net/http/server.go:2069
net/http.(*ServeMux).ServeHTTP
/usr/local/go/src/net/http/server.go:2448
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:2887
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:1952
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1371