I used Live to import data from Minio, but it didn’t work
I’ve set the environment variable
MINIO_ACCESS_KEY
MINIO_SECRET_KEY
Dgraph:v21.03.0
Command:
dgraph live -a 127.0.0.1:9580 -z 127.0.0.1:5580 -f minio://192.168.31.10:3080/minio/dgraph/data/movie/21million.rdf.gz?secure=false -s minio://192.168.31.10:3080/minio/dgraph/data/movie/movie.schema?secure=false
Error:
root@server13:/home/user/v21.3.0/dgraph# dgraph live -a 127.0.0.1:9580 -z 127.0.0.1:5580 -f minio://192.168.31.10:3080/minio/dgraph/data/movie/21million.rdf.gz?secure=false -s minio://192.168.31.10:3080/minio/dgraph/data/movie/movie.schema?secure=false
I0426 14:34:17.806668 35427 init.go:110]
Dgraph version : v21.03.0
Dgraph codename : rocket-mod
Dgraph SHA-256 : 7d5902a16e3169b96d9ba8246ffd769c80eba93f9bdff6cfff52a176da7b4ac4
Commit SHA-1 : a77bbe8ae
Commit timestamp : 2021-04-07 21:36:38 +0530
Branch : heads/v21.03.0
Go version : go1.16.2
jemalloc enabled : true
For Dgraph official documentation, visit https://dgraph.io/docs.
For discussions about Dgraph , visit http://discuss.hypermode.com.
For fully-managed Dgraph Cloud , visit https://dgraph.io/cloud.
Licensed variously under the Apache Public License 2.0 and Dgraph Community License.
Copyright 2015-2021 Dgraph Labs, Inc.
Running transaction with dgraph endpoint: 127.0.0.1:9580
Processing schema file "minio://192.168.31.10:3080/minio/dgraph/data/movie/movie.schema?secure=false"
E0426 14:34:17.816828 35427 run.go:257] Error while reading file ReadAll: All access to this bucket has been disabled.
2021/04/26 14:34:17 All access to this bucket has been disabled.
Error while reading file
github.com/dgraph-io/dgraph/x.Checkf
/home/user/v21.3.0/dgraph/x/error.go:51
github.com/dgraph-io/dgraph/dgraph/cmd/live.(*loader).processSchemaFile
/home/user/v21.3.0/dgraph/dgraph/cmd/live/run.go:258
github.com/dgraph-io/dgraph/dgraph/cmd/live.run
/home/user/v21.3.0/dgraph/dgraph/cmd/live/run.go:800
github.com/dgraph-io/dgraph/dgraph/cmd/live.init.0.func1
/home/user/v21.3.0/dgraph/dgraph/cmd/live/run.go:134
github.com/spf13/cobra.(*Command).execute
/home/user/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:830
github.com/spf13/cobra.(*Command).ExecuteC
/home/user/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914
github.com/spf13/cobra.(*Command).Execute
/home/user/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864
github.com/dgraph-io/dgraph/dgraph/cmd.Execute
/home/user/v21.3.0/dgraph/dgraph/cmd/root.go:78
main.main
/home/user/v21.3.0/dgraph/dgraph/main.go:99
runtime.main
/snap/go/7221/src/runtime/proc.go:225
runtime.goexit
/snap/go/7221/src/runtime/asm_amd64.s:1371