some-planet-21266
01/28/2022, 1:28 AMkratos-kratos-migrate-1 | time=2022-01-28T01:24:05Z level=info msg=No tracer configured - skipping tracing setup audience=application service_name=Ory Kratos service_version=v0.8.0-alpha.3
kratos-kratos-migrate-1 | time=2022-01-28T01:24:05Z level=debug msg=Connecting to SQL Database audience=application connMaxLifetime=0s idlePool=6 pool=12 service_name=Ory Kratos service_version=v0.8.0-alpha.3
kratos-kratos-migrate-1 | time=2022-01-28T01:24:05Z level=warning msg=Unable to connect to database, retrying. audience=application error=map[message:unsupported dialect 'sqlite3'] service_name=Ory Kratos service_version=v0.8.0-alpha.3
kratos-kratos-migrate-1 | time=2022-01-28T01:24:06Z level=debug msg=Connecting to SQL Database audience=application connMaxLifetime=0s idlePool=6 pool=12 service_name=Ory Kratos service_version=v0.8.0-alpha.3
kratos-kratos-migrate-1 | time=2022-01-28T01:24:06Z level=warning msg=Unable to connect to database, retrying. audience=application error=map[message:unsupported dialect 'sqlite3'] service_name=Ory Kratos service_version=v0.8.0-alpha.3
kratos-kratos-1 | time=2022-01-28T01:24:06Z level=debug msg=Adding config files. func=<http://github.com/ory/x/configx.(*Provider).createProviders|github.com/ory/x/configx.(*Provider).createProviders> file=/go/pkg/mod/github.com/ory/x@v0.0.300/configx/provider.go:154 audience=application files=[/etc/config/kratos/kratos.yml] service_name=Ory Kratos service_version=v0.8.0-alpha.3
kratos-kratos-1 | time=2022-01-28T01:24:06Z level=info msg=No tracer configured - skipping tracing setup func=<http://github.com/ory/x/tracing.(*Tracer).setup|github.com/ory/x/tracing.(*Tracer).setup> file=/go/pkg/mod/github.com/ory/x@v0.0.300/tracing/tracer.go:168 audience=application service_name=Ory Kratos service_version=v0.8.0-alpha.3
kratos-kratos-1 | time=2022-01-28T01:24:06Z level=debug msg=Connecting to SQL Database func=<http://github.com/ory/kratos/driver.(*RegistryDefault).Init.func1|github.com/ory/kratos/driver.(*RegistryDefault).Init.func1> file=/home/ory/driver/registry_default.go:518 audience=application connMaxLifetime=0s idlePool=6 pool=12 service_name=Ory Kratos service_version=v0.8.0-alpha.3
kratos-kratos-migrate-1 | time=2022-01-28T01:24:06Z level=debug msg=Connecting to SQL Database audience=application connMaxLifetime=0s idlePool=6 pool=12 service_name=Ory Kratos service_version=v0.8.0-alpha.3
kratos-kratos-migrate-1 | time=2022-01-28T01:24:06Z level=warning msg=Unable to connect to database, retrying. audience=application error=map[message:unsupported dialect 'sqlite3'] service_name=Ory Kratos service_version=v0.8.0-alpha.3
kratos-kratos-1 | time=2022-01-28T01:24:07Z level=warning msg=Unable to determine network, retrying. func=<http://github.com/ory/kratos/driver.(*RegistryDefault).Init.func1|github.com/ory/kratos/driver.(*RegistryDefault).Init.func1> file=/home/ory/driver/registry_default.go:565 audience=application error=map[debug: message:sqlite select one: no such table: networks: Unable to locate the table reason: status:Internal Server Error status_code:500 trace:
docker-compose -f quickstart.yml -f quickstart-postgres.yml up --build --force-recreate
Now, I am getting the following error...
kratos-kratos-1 | time=2022-01-28T07:37:36Z level=debug msg=Adding config files. func=<http://github.com/ory/x/configx.(*Provider).createProviders|github.com/ory/x/configx.(*Provider).createProviders> file=/go/pkg/mod/github.com/ory/x@v0.0.300/configx/provider.go:154 audience=application files=[/etc/config/kratos/kratos.yml] service_name=Ory Kratos service_version=v0.8.0-alpha.3
kratos-kratos-1 |
kratos-kratos-1 | The configuration contains values or keys which are invalid:
kratos-kratos-1 | identity.schemas.0: map[id:default url:file:///etc/contrib/quickstart/kratos/email-password/identity.schema.json]
kratos-kratos-1 | ^-- not failed
kratos-kratos-1 |
kratos-kratos-1 | time=2022-01-28T07:37:36Z level=fatal msg=Unable to instantiate configuration. func=<http://github.com/ory/kratos/driver.NewWithoutInit|github.com/ory/kratos/driver.NewWithoutInit> file=/home/ory/driver/factory.go:26 audience=application error=map[message:I[#/identity/schemas/0] S[#/properties/identity/properties/schemas/items/not] not failed trace:stack trace could not be recovered from error type *jsonschema.ValidationError] service_name=Ory Kratos service_version=v0.8.0-alpha.3
kratos-kratos-1 exited with code 1
kratos-kratos-1 | time=2022-01-28T07:37:38Z level=debug msg=Adding config files. func=<http://github.com/ory/x/configx.(*Provider).createProviders|github.com/ory/x/configx.(*Provider).createProviders> file=/go/pkg/mod/github.com/ory/x@v0.0.300/configx/provider.go:154 audience=application files=[/etc/config/kratos/kratos.yml] service_name=Ory Kratos service_version=v0.8.0-alpha.3
kratos-kratos-1 |
kratos-kratos-1 | The configuration contains values or keys which are invalid:
kratos-kratos-1 | identity.schemas.0: map[id:default url:file:///etc/contrib/quickstart/kratos/email-password/identity.schema.json]
kratos-kratos-1 | ^-- not failed
kratos-kratos-1 |
kratos-kratos-1 | time=2022-01-28T07:37:38Z level=fatal msg=Unable to instantiate configuration. func=<http://github.com/ory/kratos/driver.NewWithoutInit|github.com/ory/kratos/driver.NewWithoutInit> file=/home/ory/driver/factory.go:26 audience=application error=map[message:I[#/identity/schemas/0] S[#/properties/identity/properties/schemas/items/not] not failed trace:stack trace could not be recovered from error type *jsonschema.ValidationError] service_name=Ory Kratos service_version=v0.8.0-alpha.3
version: v0.7.1-alpha.1
dsn: memory
serve:
public:
base_url: <http://127.0.0.1:4433/>
cors:
enabled: true
admin:
base_url: <http://kratos:4434/>
selfservice:
default_browser_return_url: <http://127.0.0.1:4455/>
whitelisted_return_urls:
- <http://127.0.0.1:4455>
methods:
password:
enabled: true
flows:
error:
ui_url: <http://127.0.0.1:4455/error>
settings:
ui_url: <http://127.0.0.1:4455/settings>
privileged_session_max_age: 15m
recovery:
enabled: true
ui_url: <http://127.0.0.1:4455/recovery>
verification:
enabled: true
ui_url: <http://127.0.0.1:4455/verification>
after:
default_browser_return_url: <http://127.0.0.1:4455/>
logout:
after:
default_browser_return_url: <http://127.0.0.1:4455/login>
login:
ui_url: <http://127.0.0.1:4455/login>
lifespan: 10m
registration:
lifespan: 10m
ui_url: <http://127.0.0.1:4455/registration>
after:
password:
hooks:
-
hook: session
log:
level: debug
format: text
leak_sensitive_values: true
secrets:
cookie:
- PLEASE-CHANGE-ME-I-AM-VERY-INSECURE
cipher:
- 32-LONG-SECRET-NOT-SECURE-AT-ALL
ciphers:
algorithm: xchacha20-poly1305
hashers:
algorithm: bcrypt
bcrypt:
cost: 8
identity:
default_schema_url: file:///etc/contrib/quickstart/kratos/email-password/identity.schema.json
schemas:
-
id: default
url: file:///etc/contrib/quickstart/kratos/email-password/identity.schema.json
courier:
smtp:
connection_uri: <smtps://test:test@mailslurper:1025/?skip_ssl_verify=true>
lively-soccer-24145
01/28/2022, 12:59 PMmagnificent-energy-493
some-planet-21266
01/28/2022, 3:23 PMmagnificent-energy-493
some-planet-21266
01/28/2022, 3:29 PMmagnificent-energy-493
some-planet-21266
01/28/2022, 3:37 PMkratos_1 | time="2020-01-20T14:52:13Z" level=info msg="Starting the admin httpd on: 0.0.0.0:4434"
kratos_1 | time="2020-01-20T14:52:13Z" level=info msg="Starting the public httpd on: 0.0.0.0:4433"
I did not see any log message like this, so I didnot try checking if the dashboard was workingmagnificent-energy-493
kratos-migrate_1 | Successfully applied SQL migrations!
kratos_kratos-migrate_1 exited with code 0
kratos-selfservice-ui-node_1 | Listening on <http://0.0.0.0:4455>
I see. I get the above output when starting. Maybe the log has changed there, will investigate a bit.
Can you check if the dashboard works? On what OS are you?some-planet-21266
01/28/2022, 3:50 PMkratos-kratos-1 | time=2022-01-28T17:05:46Z level=debug msg=Adding config files. func=<http://github.com/ory/x/configx.(*Provider).createProviders|github.com/ory/x/configx.(*Provider).createProviders> file=/go/pkg/mod/github.com/ory/x@v0.0.300/configx/provider.go:154 audience=application files=[/etc/config/kratos/kratos.yml] service_name=Ory Kratos service_version=v0.8.0-alpha.3
kratos-kratos-1 |
kratos-kratos-1 | The configuration contains values or keys which are invalid:
kratos-kratos-1 | identity: map[default_schema_id:default schemas:[map[id:default schema:file:///etc/config/kratos/identity.schema.json]]]
kratos-kratos-1 | ^-- validation failed
kratos-kratos-1 |
kratos-kratos-1 | The configuration contains values or keys which are invalid:
kratos-kratos-1 | identity.default_schema_url: <nil>
kratos-kratos-1 | ^-- one or more required properties are missing
kratos-kratos-1 |
kratos-kratos-1 | The configuration contains values or keys which are invalid:
kratos-kratos-1 | identity.schemas.0: map[id:default schema:file:///etc/config/kratos/identity.schema.json]
kratos-kratos-1 | ^-- validation failed
kratos-kratos-1 |
kratos-kratos-1 | The configuration contains values or keys which are invalid:
kratos-kratos-1 | identity.schemas.0: map[id:default schema:file:///etc/config/kratos/identity.schema.json]
kratos-kratos-1 | ^-- not failed
kratos-kratos-1 |
kratos-kratos-1 | The configuration contains values or keys which are invalid:
kratos-kratos-1 | identity.schemas.0.url: <nil>
kratos-kratos-1 | ^-- one or more required properties are missing
kratos-kratos-1 |
kratos-kratos-1 | The configuration contains values or keys which are invalid:
kratos-kratos-1 | identity: map[default_schema_id:default schemas:[map[id:default schema:file:///etc/config/kratos/identity.schema.json]]]
kratos-kratos-1 | ^-- additionalProperties "default_schema_id" not allowed
kratos-kratos-1 |
kratos-kratos-1 | time=2022-01-28T17:05:46Z level=fatal msg=Unable to instantiate configuration. func=<http://github.com/ory/kratos/driver.NewWithoutInit|github.com/ory/kratos/driver.NewWithoutInit> file=/home/ory/driver/factory.go:26 audience=application error=map[message:I[#/identity] S[#/properties/identity] validation failed
kratos-kratos-1 | I[#/identity] S[#/properties/identity/required] missing properties: "default_schema_url"
kratos-kratos-1 | I[#/identity/schemas/0] S[#/properties/identity/properties/schemas/items] validation failed
kratos-kratos-1 | I[#/identity/schemas/0] S[#/properties/identity/properties/schemas/items/not] not failed
kratos-kratos-1 | I[#/identity/schemas/0] S[#/properties/identity/properties/schemas/items/required] missing properties: "url"
kratos-kratos-1 | I[#/identity] S[#/properties/identity/additionalProperties] additionalProperties "default_schema_id" not allowed trace:stack trace could not be recovered from error type *jsonschema.ValidationError] service_name=Ory Kratos service_version=v0.8.0-alpha.3
kratos-kratos-1 exited with code 1
magnificent-energy-493
v0.8.0-alpha.3
version: v0.7.1-alpha.1
dsn: memory
serve:
public:
base_url: <http://127.0.0.1:4433/>
cors:
enabled: true
admin:
base_url: <http://kratos:4434/>
selfservice:
default_browser_return_url: <http://127.0.0.1:4455/>
whitelisted_return_urls:
- <http://127.0.0.1:4455>
methods:
password:
enabled: true
flows:
error:
ui_url: <http://127.0.0.1:4455/error>
settings:
ui_url: <http://127.0.0.1:4455/settings>
privileged_session_max_age: 15m
recovery:
enabled: true
ui_url: <http://127.0.0.1:4455/recovery>
verification:
enabled: true
ui_url: <http://127.0.0.1:4455/verification>
after:
default_browser_return_url: <http://127.0.0.1:4455/>
logout:
after:
default_browser_return_url: <http://127.0.0.1:4455/login>
login:
ui_url: <http://127.0.0.1:4455/login>
lifespan: 10m
registration:
lifespan: 10m
ui_url: <http://127.0.0.1:4455/registration>
after:
password:
hooks:
-
hook: session
log:
level: debug
format: text
leak_sensitive_values: true
secrets:
cookie:
- PLEASE-CHANGE-ME-I-AM-VERY-INSECURE
cipher:
- 32-LONG-SECRET-NOT-SECURE-AT-ALL
ciphers:
algorithm: xchacha20-poly1305
hashers:
argon2:
parallelism: 1
memory: 128MB
iterations: 2
salt_length: 16
key_length: 16
identity:
default_schema_url: file:///etc/config/kratos/identity.schema.json
courier:
smtp:
connection_uri: <smtps://test:test@mailslurper:1025/?skip_ssl_verify=true>
some-planet-21266
01/28/2022, 5:12 PMv0.8
v0.8.0-alpha.3
magnificent-energy-493
some-planet-21266
01/28/2022, 5:17 PMmagnificent-energy-493