Skip to content

Instantly share code, notes, and snippets.

@alegomes
Created April 5, 2024 08:03
Show Gist options
  • Save alegomes/328b8e9b3cad81d154c28c8e027da45c to your computer and use it in GitHub Desktop.
Save alegomes/328b8e9b3cad81d154c28c8e027da45c to your computer and use it in GitHub Desktop.
docker-compose sql exceptions
─ ~/coding/waltid-identity/docker-compose  on   main *1 ?9   INT ✘  took 57s   at 18:23:41 
╰─ git pull
Already up to date.
╭─ ~/coding/waltid-identity/docker-compose  on   main *1 ?9   ✔  at 18:23:46 
╰─ docker-compose up
[+] Running 7/0
⠿ Container docker-compose-wallet-api-1 Created 0.0s
⠿ Container docker-compose-web-portal-1 Created 0.0s
⠿ Container docker-compose-caddy-1 Created 0.0s
⠿ Container docker-compose-verifier-api-1 Created 0.0s
⠿ Container docker-compose-vc-repo-1 Created 0.0s
⠿ Container docker-compose-issuer-api-1 Created 0.0s
⠿ Container docker-compose-waltid-web-wallet-1 Created 0.0s
Attaching to docker-compose-caddy-1, docker-compose-issuer-api-1, docker-compose-vc-repo-1, docker-compose-verifier-api-1, docker-compose-wallet-api-1, docker-compose-waltid-web-wallet-1, docker-compose-web-portal-1
docker-compose-caddy-1 | {"level":"info","ts":1712265833.9431334,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":"caddyfile"}
docker-compose-caddy-1 | {"level":"warn","ts":1712265833.960241,"msg":"Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies","adapter":"caddyfile","file":"/etc/caddy/Caddyfile","line":8}
docker-compose-caddy-1 | {"level":"warn","ts":1712265833.9637396,"logger":"admin","msg":"admin endpoint disabled"}
docker-compose-caddy-1 | {"level":"warn","ts":1712265833.96525,"logger":"http.auto_https","msg":"automatic HTTPS is completely disabled for server","server_name":"srv0"}
docker-compose-caddy-1 | {"level":"warn","ts":1712265833.9695098,"logger":"http.auto_https","msg":"automatic HTTPS is completely disabled for server","server_name":"srv1"}
docker-compose-caddy-1 | {"level":"warn","ts":1712265833.9697728,"logger":"http.auto_https","msg":"automatic HTTPS is completely disabled for server","server_name":"srv2"}
docker-compose-caddy-1 | {"level":"warn","ts":1712265833.9700286,"logger":"http.auto_https","msg":"automatic HTTPS is completely disabled for server","server_name":"srv3"}
docker-compose-caddy-1 | {"level":"warn","ts":1712265833.9700556,"logger":"http.auto_https","msg":"automatic HTTPS is completely disabled for server","server_name":"srv4"}
docker-compose-caddy-1 | {"level":"warn","ts":1712265833.970067,"logger":"http.auto_https","msg":"automatic HTTPS is completely disabled for server","server_name":"srv5"}
docker-compose-caddy-1 | {"level":"info","ts":1712265833.9675434,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc00049da00"}
docker-compose-caddy-1 | {"level":"info","ts":1712265833.9855266,"logger":"http.log","msg":"server running","name":"srv2","protocols":["h1","h2","h3"]}
docker-compose-caddy-1 | {"level":"info","ts":1712265833.9928622,"logger":"http.log","msg":"server running","name":"srv3","protocols":["h1","h2","h3"]}
docker-compose-caddy-1 | {"level":"info","ts":1712265833.9939122,"logger":"http.log","msg":"server running","name":"srv4","protocols":["h1","h2","h3"]}
docker-compose-caddy-1 | {"level":"info","ts":1712265833.9945195,"logger":"http.log","msg":"server running","name":"srv5","protocols":["h1","h2","h3"]}
docker-compose-caddy-1 | {"level":"info","ts":1712265833.9956167,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
docker-compose-caddy-1 | {"level":"info","ts":1712265833.9960139,"logger":"http.log","msg":"server running","name":"srv1","protocols":["h1","h2","h3"]}
docker-compose-caddy-1 | {"level":"info","ts":1712265833.9975271,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
docker-compose-caddy-1 | {"level":"info","ts":1712265833.99801,"msg":"serving initial configuration"}
docker-compose-caddy-1 | {"level":"warn","ts":1712265834.0081336,"logger":"tls","msg":"storage cleaning happened too recently; skipping for now","storage":"FileStorage:/data/caddy","instance":"706e44b4-a786-4908-bc3f-55220a8993a3","try_again":1712352234.0081186,"try_again_in":86399.999998176}
docker-compose-caddy-1 | {"level":"info","ts":1712265834.008583,"logger":"tls","msg":"finished cleaning storage units"}
docker-compose-verifier-api-1 | [main] DEBUG id.walt.verifier.Main - verfier CLI starting ...
docker-compose-verifier-api-1 | [main] DEBUG id.walt.verifier.Main - Init walt services...
docker-compose-wallet-api-1 | 202 [main] INFO id.walt.webwallet.Main - Starting walt.id wallet...
docker-compose-wallet-api-1 | 261 [main] DEBUG id.walt.webwallet.Main - Running in path: /waltid-wallet-api/.
docker-compose-wallet-api-1 | 280 [main] INFO id.walt.webwallet.Main - Setting up...
docker-compose-web-portal-1 | ▲ Next.js 14.1.0
docker-compose-web-portal-1 | - Local: http://02708d839aca:7102
docker-compose-web-portal-1 | - Network: http://172.21.0.6:7102
docker-compose-web-portal-1 |
docker-compose-waltid-web-wallet-1 | Listening on http://[::]:7101
docker-compose-web-portal-1 | ✓ Ready in 779ms
docker-compose-verifier-api-1 | [main] INFO id.walt.verifier.Main - Reading configurations...
docker-compose-verifier-api-1 | [main] DEBUG id.walt.verifier.base.config.ConfigManager - Loading configurations...
docker-compose-verifier-api-1 | [main] DEBUG id.walt.verifier.base.config.ConfigManager - Loading configuration: "web"...
docker-compose-vc-repo-1 | Listening on http://[::]:7103
docker-compose-verifier-api-1 | [main] DEBUG id.walt.verifier.base.config.ConfigManager - Loading configuration: "verifier-service"...
docker-compose-verifier-api-1 | [main] DEBUG id.walt.verifier.base.config.ConfigManager - Loading configuration: "entra"...
docker-compose-verifier-api-1 | [main] ERROR id.walt.verifier.base.config.ConfigManager - Could not load configuration for "entra": com.sksamuel.hoplite.ConfigException: Error loading config because:
docker-compose-verifier-api-1 |
docker-compose-verifier-api-1 | - Could not instantiate 'id.walt.verifier.entra.EntraConfig' because:
docker-compose-verifier-api-1 |
docker-compose-verifier-api-1 | - 'callbackUrl': Missing from config
docker-compose-verifier-api-1 | at com.sksamuel.hoplite.ConfigLoader$returnOrThrow$1.invoke(ConfigLoader.kt:247)
docker-compose-verifier-api-1 | at com.sksamuel.hoplite.ConfigLoader$returnOrThrow$1.invoke(ConfigLoader.kt:244)
docker-compose-verifier-api-1 | at com.sksamuel.hoplite.fp.ValidatedKt.getOrElse(Validated.kt:115)
docker-compose-verifier-api-1 | at com.sksamuel.hoplite.ConfigLoader.returnOrThrow(ConfigLoader.kt:244)
docker-compose-verifier-api-1 | at com.sksamuel.hoplite.ConfigLoader.loadConfigOrThrow(ConfigLoader.kt:118)
docker-compose-verifier-api-1 | at id.walt.verifier.base.config.ConfigManager.loadConfig(ConfigManager.kt:33)
docker-compose-verifier-api-1 | at id.walt.verifier.base.config.ConfigManager.loadConfigs(ConfigManager.kt:76)
docker-compose-verifier-api-1 | at id.walt.verifier.MainKt.main(Main.kt:32)
docker-compose-verifier-api-1 | at id.walt.verifier.MainKt$main$8.invoke(Main.kt)
docker-compose-verifier-api-1 | at id.walt.verifier.MainKt$main$8.invoke(Main.kt)
docker-compose-verifier-api-1 | at kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsJvmKt$createCoroutineUnintercepted$$inlined$createCoroutineFromSuspendFunction$IntrinsicsKt__IntrinsicsJvmKt$1.invokeSuspend(IntrinsicsJvm.kt:270)
docker-compose-verifier-api-1 | at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
docker-compose-verifier-api-1 | at kotlin.coroutines.ContinuationKt.startCoroutine(Continuation.kt:115)
docker-compose-verifier-api-1 | at kotlin.coroutines.jvm.internal.RunSuspendKt.runSuspend(RunSuspend.kt:19)
docker-compose-verifier-api-1 | at id.walt.verifier.MainKt.main(Main.kt)
docker-compose-verifier-api-1 |
docker-compose-verifier-api-1 | [main] INFO id.walt.verifier.Main - Starting web server (binding to 0.0.0.0, listening on port 7003)...
docker-compose-verifier-api-1 | [DefaultDispatcher-worker-3] INFO ktor.application - Autoreload is disabled because the development mode is off.
docker-compose-wallet-api-1 | 5864 [main] INFO id.walt.webwallet.Main - Reading configurations...
docker-compose-wallet-api-1 | 5876 [main] DEBUG id.walt.webwallet.config.ConfigManager - Loading configurations...
docker-compose-wallet-api-1 | 5940 [main] DEBUG id.walt.webwallet.config.ConfigManager - Loading configuration: "db"...
docker-compose-issuer-api-1 | [DefaultDispatcher-worker-4] INFO io.ktor.client.HttpClient - REQUEST: https://uniregistrar.io/1.0/methods
docker-compose-issuer-api-1 | METHOD: HttpMethod(value=GET)
docker-compose-issuer-api-1 | COMMON HEADERS
docker-compose-issuer-api-1 | -> Accept: application/json
docker-compose-issuer-api-1 | -> Accept-Charset: UTF-8
docker-compose-issuer-api-1 | -> Content-Type: application/json
docker-compose-issuer-api-1 | CONTENT HEADERS
docker-compose-issuer-api-1 | -> Content-Length: 0
docker-compose-issuer-api-1 | BODY Content-Type: null
docker-compose-issuer-api-1 | BODY START
docker-compose-issuer-api-1 |
docker-compose-issuer-api-1 | BODY END
docker-compose-issuer-api-1 | [DefaultDispatcher-worker-2] INFO io.ktor.client.HttpClient - RESPONSE: 200 OK
docker-compose-issuer-api-1 | METHOD: HttpMethod(value=GET)
docker-compose-issuer-api-1 | FROM: https://uniregistrar.io/1.0/methods
docker-compose-issuer-api-1 | COMMON HEADERS
docker-compose-issuer-api-1 | -> Access-Control-Allow-Origin: *
docker-compose-issuer-api-1 | -> Connection: keep-alive
docker-compose-issuer-api-1 | -> Content-Type: application/json
docker-compose-issuer-api-1 | -> Date: Thu, 04 Apr 2024 21:24:02 GMT
docker-compose-issuer-api-1 | -> Strict-Transport-Security: max-age=15724800; includeSubDomains
docker-compose-issuer-api-1 | -> Transfer-Encoding: chunked
docker-compose-issuer-api-1 | -> Vary: Accept-Encoding
docker-compose-issuer-api-1 | BODY Content-Type: application/json
docker-compose-issuer-api-1 | BODY START
docker-compose-issuer-api-1 | ["btcr","sov","v1","key","ion","web","ebsi","oyd","cheqd","ethr","dyne"]
docker-compose-issuer-api-1 | BODY END
docker-compose-issuer-api-1 | [DefaultDispatcher-worker-7] INFO id.walt.issuer.Main - Reading configurations...
docker-compose-wallet-api-1 | 7680 [main] DEBUG id.walt.webwallet.config.ConfigManager - Loading configuration: "tenant"...
docker-compose-verifier-api-1 | [DefaultDispatcher-worker-3] INFO ktor.application - Application started in 2.53 seconds.
docker-compose-verifier-api-1 | [DefaultDispatcher-worker-3] INFO ktor.application - Application started: io.ktor.server.application.Application@5eade7a0
docker-compose-wallet-api-1 | 7917 [main] DEBUG id.walt.webwallet.config.ConfigManager - Loading configuration: "web"...
docker-compose-wallet-api-1 | 8111 [main] DEBUG id.walt.webwallet.config.ConfigManager - Loading configuration: "push"...
docker-compose-wallet-api-1 | 8288 [main] ERROR id.walt.webwallet.config.ConfigManager - Could not load configuration for "push": com.sksamuel.hoplite.ConfigException: Error loading config because:
docker-compose-wallet-api-1 |
docker-compose-wallet-api-1 | - Could not instantiate 'id.walt.webwallet.config.PushConfig' because:
docker-compose-wallet-api-1 |
docker-compose-wallet-api-1 | - 'pushPublicKey': Missing from config
docker-compose-wallet-api-1 |
docker-compose-wallet-api-1 | - 'pushPrivateKey': Missing from config
docker-compose-wallet-api-1 |
docker-compose-wallet-api-1 | - 'pushSubject': Missing from config
docker-compose-wallet-api-1 | at com.sksamuel.hoplite.ConfigLoader$returnOrThrow$1.invoke(ConfigLoader.kt:247)
docker-compose-wallet-api-1 | at com.sksamuel.hoplite.ConfigLoader$returnOrThrow$1.invoke(ConfigLoader.kt:244)
docker-compose-wallet-api-1 | at com.sksamuel.hoplite.fp.ValidatedKt.getOrElse(Validated.kt:115)
docker-compose-wallet-api-1 | at com.sksamuel.hoplite.ConfigLoader.returnOrThrow(ConfigLoader.kt:244)
docker-compose-wallet-api-1 | at com.sksamuel.hoplite.ConfigLoader.loadConfigOrThrow(ConfigLoader.kt:118)
docker-compose-wallet-api-1 | at id.walt.webwallet.config.ConfigManager.loadConfig(ConfigManager.kt:32)
docker-compose-wallet-api-1 | at id.walt.webwallet.config.ConfigManager.loadConfigs(ConfigManager.kt:89)
docker-compose-wallet-api-1 | at id.walt.webwallet.MainKt.main(Main.kt:34)
docker-compose-wallet-api-1 |
docker-compose-wallet-api-1 | 8289 [main] DEBUG id.walt.webwallet.config.ConfigManager - Loading configuration: "wallet"...
docker-compose-wallet-api-1 | 8418 [main] DEBUG id.walt.webwallet.config.ConfigManager - Loading configuration: "marketplace"...
docker-compose-wallet-api-1 | 8844 [main] DEBUG id.walt.webwallet.config.ConfigManager - Loading configuration: "chainexplorer"...
docker-compose-wallet-api-1 | 9093 [main] DEBUG id.walt.webwallet.config.ConfigManager - Loading configuration: "runtime"...
docker-compose-wallet-api-1 | 9207 [main] DEBUG id.walt.webwallet.config.ConfigManager - Loading configuration: "oidc"...
docker-compose-wallet-api-1 | 9494 [main] DEBUG id.walt.webwallet.config.ConfigManager - Loading configuration: "logins"...
docker-compose-wallet-api-1 | 9602 [main] DEBUG id.walt.webwallet.config.ConfigManager - Loading configuration: "trust"...
docker-compose-issuer-api-1 | [DefaultDispatcher-worker-7] INFO id.walt.issuer.Main - Starting web server (binding to 0.0.0.0, listening on port 7002)...
docker-compose-wallet-api-1 | 9718 [main] DEBUG id.walt.webwallet.config.ConfigManager - Loading configuration: "rejectionreason"...
docker-compose-wallet-api-1 | 9840 [main] DEBUG id.walt.webwallet.config.ConfigManager - Loading configuration: "db.sqlite"...
docker-compose-issuer-api-1 | [DefaultDispatcher-worker-3] INFO ktor.application - Autoreload is disabled because the development mode is off.
docker-compose-wallet-api-1 | 10062 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
docker-compose-wallet-api-1 | 10970 [main] INFO com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Added connection org.sqlite.jdbc4.JDBC4Connection@42c28305
docker-compose-wallet-api-1 | 10977 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
docker-compose-wallet-api-1 | 10996 [main] INFO id.walt.webwallet.db.Db - Connecting to database at "jdbc:sqlite:data/data.db"...
docker-compose-wallet-api-1 | Will use sqlite database (jdbc:sqlite:data/data.db), working directory: /waltid-wallet-api/.
docker-compose-wallet-api-1 | 11386 [main] INFO Exposed - Preparing create tables statements took 136ms
docker-compose-wallet-api-1 | 11426 [main] INFO Exposed - Executing create tables statements took 40ms
docker-compose-wallet-api-1 | 11673 [main] INFO Exposed - Extracting table columns took 247ms
docker-compose-issuer-api-1 | [DefaultDispatcher-worker-3] INFO ktor.application - Application started in 2.46 seconds.
docker-compose-issuer-api-1 | [DefaultDispatcher-worker-3] INFO ktor.application - Application started: io.ktor.server.application.Application@2af72e55
docker-compose-wallet-api-1 | 12256 [main] INFO Exposed - Extracting primary keys took 583ms
docker-compose-wallet-api-1 | 12302 [main] INFO Exposed - Preparing alter table statements took 876ms
docker-compose-wallet-api-1 | 12493 [main] DEBUG Exposed - ALTER TABLE wallet_issuers ADD issuer BINARY(16) NOT NULL
docker-compose-wallet-api-1 | 12494 [main] WARN Exposed - Transaction attempt #0 failed: java.sql.SQLException: Query returns results. Statement(s): ALTER TABLE wallet_issuers ADD issuer BINARY(16) NOT NULL
docker-compose-wallet-api-1 | org.jetbrains.exposed.exceptions.ExposedSQLException: java.sql.SQLException: Query returns results
docker-compose-wallet-api-1 | SQL: [ALTER TABLE wallet_issuers ADD issuer BINARY(16) NOT NULL]
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:94)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:248)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:225)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:191)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:161)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec$default(Transaction.kt:157)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.SchemaUtils.execStatements(SchemaUtils.kt:340)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.SchemaUtils.createMissingTablesAndColumns(SchemaUtils.kt:468)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.SchemaUtils.createMissingTablesAndColumns$default(SchemaUtils.kt:453)
docker-compose-wallet-api-1 | at id.walt.webwallet.db.Db$start$1.invoke(Db.kt:115)
docker-compose-wallet-api-1 | at id.walt.webwallet.db.Db$start$1.invoke(Db.kt:114)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.inTopLevelTransaction$run(ThreadLocalTransactionManager.kt:306)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.access$inTopLevelTransaction$run(ThreadLocalTransactionManager.kt:1)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt$inTopLevelTransaction$1.invoke(ThreadLocalTransactionManager.kt:353)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.keepAndRestoreTransactionRefAfterRun(ThreadLocalTransactionManager.kt:361)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.inTopLevelTransaction(ThreadLocalTransactionManager.kt:352)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt$transaction$1.invoke(ThreadLocalTransactionManager.kt:261)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.keepAndRestoreTransactionRefAfterRun(ThreadLocalTransactionManager.kt:361)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:231)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:209)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction$default(ThreadLocalTransactionManager.kt:208)
docker-compose-wallet-api-1 | at id.walt.webwallet.db.Db.start(Db.kt:114)
docker-compose-wallet-api-1 | at id.walt.webwallet.MainKt.main(Main.kt:36)
docker-compose-wallet-api-1 | Caused by: java.sql.SQLException: Query returns results
docker-compose-wallet-api-1 | at org.sqlite.jdbc3.JDBC3PreparedStatement.executeLargeUpdate(JDBC3PreparedStatement.java:110)
docker-compose-wallet-api-1 | at org.sqlite.jdbc3.JDBC3PreparedStatement.executeUpdate(JDBC3PreparedStatement.java:102)
docker-compose-wallet-api-1 | at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61)
docker-compose-wallet-api-1 | at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.statements.jdbc.JdbcPreparedStatementImpl.executeUpdate(JdbcPreparedStatementImpl.kt:55)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction$exec$2.executeInternal(Transaction.kt:200)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:92)
docker-compose-wallet-api-1 | ... 22 more
docker-compose-wallet-api-1 | 12502 [main] WARN Exposed - Wait 0 milliseconds before retrying
docker-compose-wallet-api-1 | 12523 [main] INFO Exposed - Preparing create tables statements took 18ms
docker-compose-wallet-api-1 | 12524 [main] INFO Exposed - Executing create tables statements took 0ms
docker-compose-wallet-api-1 | 12637 [main] INFO Exposed - Extracting table columns took 112ms
docker-compose-wallet-api-1 | 12791 [main] INFO Exposed - Extracting primary keys took 154ms
docker-compose-wallet-api-1 | 12794 [main] INFO Exposed - Preparing alter table statements took 269ms
docker-compose-wallet-api-1 | 12796 [main] DEBUG Exposed - ALTER TABLE wallet_issuers ADD issuer BINARY(16) NOT NULL
docker-compose-wallet-api-1 | 12796 [main] WARN Exposed - Transaction attempt #1 failed: java.sql.SQLException: Query returns results. Statement(s): ALTER TABLE wallet_issuers ADD issuer BINARY(16) NOT NULL
docker-compose-wallet-api-1 | org.jetbrains.exposed.exceptions.ExposedSQLException: java.sql.SQLException: Query returns results
docker-compose-wallet-api-1 | SQL: [ALTER TABLE wallet_issuers ADD issuer BINARY(16) NOT NULL]
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:94)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:248)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:225)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:191)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:161)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec$default(Transaction.kt:157)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.SchemaUtils.execStatements(SchemaUtils.kt:340)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.SchemaUtils.createMissingTablesAndColumns(SchemaUtils.kt:468)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.SchemaUtils.createMissingTablesAndColumns$default(SchemaUtils.kt:453)
docker-compose-wallet-api-1 | at id.walt.webwallet.db.Db$start$1.invoke(Db.kt:115)
docker-compose-wallet-api-1 | at id.walt.webwallet.db.Db$start$1.invoke(Db.kt:114)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.inTopLevelTransaction$run(ThreadLocalTransactionManager.kt:306)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.access$inTopLevelTransaction$run(ThreadLocalTransactionManager.kt:1)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt$inTopLevelTransaction$1.invoke(ThreadLocalTransactionManager.kt:353)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.keepAndRestoreTransactionRefAfterRun(ThreadLocalTransactionManager.kt:361)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.inTopLevelTransaction(ThreadLocalTransactionManager.kt:352)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt$transaction$1.invoke(ThreadLocalTransactionManager.kt:261)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.keepAndRestoreTransactionRefAfterRun(ThreadLocalTransactionManager.kt:361)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:231)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:209)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction$default(ThreadLocalTransactionManager.kt:208)
docker-compose-wallet-api-1 | at id.walt.webwallet.db.Db.start(Db.kt:114)
docker-compose-wallet-api-1 | at id.walt.webwallet.MainKt.main(Main.kt:36)
docker-compose-wallet-api-1 | Caused by: java.sql.SQLException: Query returns results
docker-compose-wallet-api-1 | at org.sqlite.jdbc3.JDBC3PreparedStatement.executeLargeUpdate(JDBC3PreparedStatement.java:110)
docker-compose-wallet-api-1 | at org.sqlite.jdbc3.JDBC3PreparedStatement.executeUpdate(JDBC3PreparedStatement.java:102)
docker-compose-wallet-api-1 | at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61)
docker-compose-wallet-api-1 | at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.statements.jdbc.JdbcPreparedStatementImpl.executeUpdate(JdbcPreparedStatementImpl.kt:55)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction$exec$2.executeInternal(Transaction.kt:200)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:92)
docker-compose-wallet-api-1 | ... 22 more
docker-compose-wallet-api-1 | 12834 [main] WARN Exposed - Wait 0 milliseconds before retrying
docker-compose-wallet-api-1 | 12869 [main] INFO Exposed - Preparing create tables statements took 33ms
docker-compose-wallet-api-1 | 12870 [main] INFO Exposed - Executing create tables statements took 1ms
docker-compose-wallet-api-1 | 12988 [main] INFO Exposed - Extracting table columns took 118ms
docker-compose-wallet-api-1 | 13126 [main] INFO Exposed - Extracting primary keys took 137ms
docker-compose-wallet-api-1 | 13128 [main] INFO Exposed - Preparing alter table statements took 258ms
docker-compose-wallet-api-1 | 13129 [main] DEBUG Exposed - ALTER TABLE wallet_issuers ADD issuer BINARY(16) NOT NULL
docker-compose-wallet-api-1 | 13129 [main] WARN Exposed - Transaction attempt #2 failed: java.sql.SQLException: Query returns results. Statement(s): ALTER TABLE wallet_issuers ADD issuer BINARY(16) NOT NULL
docker-compose-wallet-api-1 | org.jetbrains.exposed.exceptions.ExposedSQLException: java.sql.SQLException: Query returns results
docker-compose-wallet-api-1 | SQL: [ALTER TABLE wallet_issuers ADD issuer BINARY(16) NOT NULL]
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:94)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:248)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:225)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:191)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:161)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec$default(Transaction.kt:157)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.SchemaUtils.execStatements(SchemaUtils.kt:340)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.SchemaUtils.createMissingTablesAndColumns(SchemaUtils.kt:468)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.SchemaUtils.createMissingTablesAndColumns$default(SchemaUtils.kt:453)
docker-compose-wallet-api-1 | at id.walt.webwallet.db.Db$start$1.invoke(Db.kt:115)
docker-compose-wallet-api-1 | at id.walt.webwallet.db.Db$start$1.invoke(Db.kt:114)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.inTopLevelTransaction$run(ThreadLocalTransactionManager.kt:306)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.access$inTopLevelTransaction$run(ThreadLocalTransactionManager.kt:1)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt$inTopLevelTransaction$1.invoke(ThreadLocalTransactionManager.kt:353)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.keepAndRestoreTransactionRefAfterRun(ThreadLocalTransactionManager.kt:361)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.inTopLevelTransaction(ThreadLocalTransactionManager.kt:352)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt$transaction$1.invoke(ThreadLocalTransactionManager.kt:261)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.keepAndRestoreTransactionRefAfterRun(ThreadLocalTransactionManager.kt:361)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:231)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:209)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction$default(ThreadLocalTransactionManager.kt:208)
docker-compose-wallet-api-1 | at id.walt.webwallet.db.Db.start(Db.kt:114)
docker-compose-wallet-api-1 | at id.walt.webwallet.MainKt.main(Main.kt:36)
docker-compose-wallet-api-1 | Caused by: java.sql.SQLException: Query returns results
docker-compose-wallet-api-1 | at org.sqlite.jdbc3.JDBC3PreparedStatement.executeLargeUpdate(JDBC3PreparedStatement.java:110)
docker-compose-wallet-api-1 | at org.sqlite.jdbc3.JDBC3PreparedStatement.executeUpdate(JDBC3PreparedStatement.java:102)
docker-compose-wallet-api-1 | at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61)
docker-compose-wallet-api-1 | at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.statements.jdbc.JdbcPreparedStatementImpl.executeUpdate(JdbcPreparedStatementImpl.kt:55)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction$exec$2.executeInternal(Transaction.kt:200)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:92)
docker-compose-wallet-api-1 | ... 22 more
docker-compose-wallet-api-1 | Exception in thread "main" org.jetbrains.exposed.exceptions.ExposedSQLException: java.sql.SQLException: Query returns results
docker-compose-wallet-api-1 | SQL: [ALTER TABLE wallet_issuers ADD issuer BINARY(16) NOT NULL]
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:94)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:248)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:225)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:191)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec(Transaction.kt:161)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction.exec$default(Transaction.kt:157)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.SchemaUtils.execStatements(SchemaUtils.kt:340)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.SchemaUtils.createMissingTablesAndColumns(SchemaUtils.kt:468)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.SchemaUtils.createMissingTablesAndColumns$default(SchemaUtils.kt:453)
docker-compose-wallet-api-1 | at id.walt.webwallet.db.Db$start$1.invoke(Db.kt:115)
docker-compose-wallet-api-1 | at id.walt.webwallet.db.Db$start$1.invoke(Db.kt:114)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.inTopLevelTransaction$run(ThreadLocalTransactionManager.kt:306)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.access$inTopLevelTransaction$run(ThreadLocalTransactionManager.kt:1)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt$inTopLevelTransaction$1.invoke(ThreadLocalTransactionManager.kt:353)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.keepAndRestoreTransactionRefAfterRun(ThreadLocalTransactionManager.kt:361)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.inTopLevelTransaction(ThreadLocalTransactionManager.kt:352)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt$transaction$1.invoke(ThreadLocalTransactionManager.kt:261)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.keepAndRestoreTransactionRefAfterRun(ThreadLocalTransactionManager.kt:361)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:231)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction(ThreadLocalTransactionManager.kt:209)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.transactions.ThreadLocalTransactionManagerKt.transaction$default(ThreadLocalTransactionManager.kt:208)
docker-compose-wallet-api-1 | at id.walt.webwallet.db.Db.start(Db.kt:114)
docker-compose-wallet-api-1 | at id.walt.webwallet.MainKt.main(Main.kt:36)
docker-compose-wallet-api-1 | Caused by: java.sql.SQLException: Query returns results
docker-compose-wallet-api-1 | at org.sqlite.jdbc3.JDBC3PreparedStatement.executeLargeUpdate(JDBC3PreparedStatement.java:110)
docker-compose-wallet-api-1 | at org.sqlite.jdbc3.JDBC3PreparedStatement.executeUpdate(JDBC3PreparedStatement.java:102)
docker-compose-wallet-api-1 | at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61)
docker-compose-wallet-api-1 | at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.statements.jdbc.JdbcPreparedStatementImpl.executeUpdate(JdbcPreparedStatementImpl.kt:55)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.Transaction$exec$2.executeInternal(Transaction.kt:200)
docker-compose-wallet-api-1 | at org.jetbrains.exposed.sql.statements.Statement.executeIn$exposed_core(Statement.kt:92)
docker-compose-wallet-api-1 | ... 22 more
docker-compose-wallet-api-1 exited with code 1
docker-compose-verifier-api-1 | [DefaultDispatcher-worker-6] INFO ktor.application - Responding at http://0.0.0.0:7003
docker-compose-issuer-api-1 | [DefaultDispatcher-worker-8] INFO ktor.application - Responding at http://0.0.0.0:7002
docker-compose-issuer-api-1 | [DefaultDispatcher-worker-5] INFO ktor.application - 404 Not Found: POST /onboard/issuer in 77 ms (172.21.0.1 - curl/8.4.0)
docker-compose-issuer-api-1 | [DefaultDispatcher-worker-4] INFO ktor.application - 404 Not Found: POST /onboard/issuer in 3 ms (172.21.0.1 - curl/8.4.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment