hello, I got this working well on macos but not ...
# support-questions-legacy
d
hello, I got this working well on macos but not on a linux debian server. I want to get supertokens to connect and use postgresql on that linux distrib but it seems it does not load the db layer at startup. installation was made using this page: https://supertokens.com/docs/thirdpartyemailpassword/pre-built-ui/setup/core/without-docker config file is there based on the --help output
Default config file                 /usr/lib/supertokens/config.yaml
I added the following content:
Copy code
#  their tenants. It only exposes that information when this key is used instead of the regular api_keys config.
postgresql_config_version: 0
# postgresql_connection_pool_size:
# following format: postgresql://[user[:[password]]@]host[:port][/dbname][?attr1=val1&attr2=val2...
postgresql_connection_uri: "postgresql://<mydbuser>:<mypass>@localhost:5432/<mydb>"
but when I run supertoken it gives me the following output
Copy code
Loading supertokens config.
Completed config.yaml loading.
Loading storage layer.
Using in memory storage.
Loading supertokens version.yaml file.
when on a mac I got this
Copy code
Loading supertokens config.
Completed config.yaml loading.
Loading storage layer.
Loading PostgreSQL config.
Loading supertokens version.yaml file.
Setting up PostgreSQL connection pool.
something I noticed also is that the config file was full of MySQL info and not Postgres when I first edited it.
2 Views