Dgraph v1.1.0 is not working properly

Dear sir
I want to use Dgraph v1.1.0 with Docker
the docker-compose.yml file

version: "3.2"
services:
  zero:
    image: dgraph/dgraph:v1.1.0
    container_name: test_zero
    volumes:
      - type: volume
        source: dgraph
        target: /dgraph
        volume:
          nocopy: true
    ports:
      - 5081:5080
      - 6081:6080
    restart: on-failure
    command: dgraph zero --my=zero:5080
  server:
    image: dgraph/dgraph:v1.1.0
    container_name: test_alpha
    volumes:
      - type: volume
        source: dgraph
        target: /dgraph
        volume:
          nocopy: true
    ports:
      - 8081:8080
      - 9081:9080
    restart: on-failure
    command: dgraph alpha --my=server:7080 --lru_mb=2048 --zero=zero:5080

volumes:
  dgraph:

then run the following command from the folder containing the file.

docker-compose up -d

But the Ratel - Schema show Error while trying to fetch schema
and query schema error : “Unsupported Content-Type. Supported content types are application/json, application/graphql±”

schema(){
 }

I also can’t create new data or predicate, alpha will disconnect

{
  set{
    _:abc <name> "Tom" .
    _:abc <age> "14" .
  }
}

I try to run in the Linux, But encountered the same problem

curl https://get.dgraph.io -sSf | bash
 nohup dgraph zero -o=2 &
 nohup dgraph alpha --lru_mb=4096 -o=2 --zero=localhost:5082 &

I have been using Dgraph v1.0.16 before, and I have not had these problems.
Plz help me

Looks like you use your old ratel, you have used with v1.0.16 to connect to the new dgraph db v1.1.
You need to upgrade ratel too.

yep, this error is cuz we have changed the HTTP API. So, only new Ratel UI builds can run it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.