When i am trying to use supertokens-python = "0.13.0" updated version it gives me below error while...
k
When i am trying to use supertokens-python = "0.13.0" updated version it gives me below error while calling the signup/code
r
hey! you need to update the core to the latest version. Checkout the new-release channel on our discord for more details
k
can you please help me with that? how can i update the core? because i have update only https://github.com/supertokens/supertokens-python package
@rp_st
r
you are using our managed service?
k
no, self hosted
r
right. So get the new docker image for the core (tag is
5.0
), and then see the migration steps in the change log - you have to run db query
k
i got the db migration steps but not getting the docker point
here is my docker file
Copy code
supertokens:
    image: registry.supertokens.io/supertokens/supertokens-postgresql
    ports:
      - 3567:3567
    environment:
      POSTGRESQL_CONNECTION_URI: "postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:${POSTGRES_PORT}/${POSTGRES_SUPER_TOKEN_DB}"
      ACCESS_TOKEN_BLACKLISTING: "true"
    networks:
      - backend
    depends_on:
      - postgres
    volumes:
      - $HOME/.cache/pip-docker:/root/.cache/pip
    env_file:
      - .env.stage
    restart: unless-stopped
    healthcheck:
      test: >
        bash -c 'exec 3<>/dev/tcp/127.0.0.1/3567 && echo -e "GET /hello HTTP/1.1\r\nhost: 127.0.0.1:3567\r\nConnection: close\r\n\r\n" >&3 && cat <&3 | grep "Hello"'
      interval: 10s
      timeout: 5s
      retries: 5
r
change
registry.supertokens.io/supertokens/supertokens-postgresql
to
registry.supertokens.io/supertokens/supertokens-postgresql:5.0
k
okay, i am confused because it is not listed in docker hub 😀
let me check and will get back to you
Thanks @rp_st it is working fine. after adding the migration steps in db and also updating the docker image
r
great