Hi, I am switching from managed services to self hosted. I am using python django, postgres database...
n

Namratha

almost 2 years ago
Hi, I am switching from managed services to self hosted. I am using python django, postgres database and docker. I have added db and supertoken service in my docker-compose.yml file and added connection_uri='http://localhost:3567' . I am getting hello response also if i call GET http://localhost:3567/hello. But I am getting error as "bmerit-api-supertokens-1 | Loading supertokens config. bmerit-api-supertokens-1 | Completed config.yaml loading. bmerit-api-supertokens-1 | Loading storage layer. bmerit-api-supertokens-1 | Loading PostgreSQL config. bmerit-api-supertokens-1 | Loading supertokens version.yaml file. bmerit-api-supertokens-1 | 04 Aug 2023 11:24:27:406 +0000 | INFO | pid: 2a4d173e-cfae-4b4d-9ad4-79486e5e31b6 | [main] thread | io.supertokens.storage.postgresql.ConnectionPool.initPool(ConnectionPool.java:136) | Setting up PostgreSQL connection pool. bmerit-api-supertokens-1 | bmerit-api-supertokens-1 | Setting up PostgreSQL connection pool. bmerit-db-super | 2023-08-04 11:24:27.662 UTC [75] ERROR: relation "apps" does not exist at character 15 bmerit-db-super | 2023-08-04 11:24:27.662 UTC [75] STATEMENT: SELECT 1 FROM apps LIMIT 1 bmerit-db-super | 2023-08-04 11:24:27.693 UTC [75] ERROR: relation "tenants" does not exist at character 15 bmerit-db-super | 2023-08-04 11:24:27.693 UTC [75] STATEMENT: SELECT 1 FROM tenants LIMIT 1 bmerit-db-super | 2023-08-04 11:24:27.705 UTC [75] ERROR: relation "key_value" does not exist at character 15 bmerit-db-super | 2023-08-04 11:24:27.705 UTC [75] STATEMENT: SELECT 1 FROM key_value LIMIT 1 " Please guide me in this.