We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm unable to deploy my instance of nocodb on Railway. The deployment link throws a "cannot GET" error.
Working deployment
NocoDB hosted on Railway
The text was updated successfully, but these errors were encountered:
Looks like it's related to your database, can you restart your database and then restart the nocodb app/docker.
Sorry, something went wrong.
@pranavxc you're a life-saver! Restarting the database and redeploying the app worked perfectly!
Potentially related: #390 #1150 #5467
o1lab
No branches or pull requests
Please confirm if bug report does NOT exists already ?
Steps to reproduce ?
I'm unable to deploy my instance of nocodb on Railway. The deployment link throws a "cannot GET" error.
Desired Behavior
Working deployment
Project Details
NocoDB hosted on Railway
Attachments
Deployment logs (click to view)
ο»Ώ[Nest] 10 - 06/05/2023, 2:19:05 AM LOG [NestFactory] Starting Nest application... ο»Ώ[Nest] 10 - 06/05/2023, 2:19:05 AM LOG [InstanceLoader] PassportModule dependencies initialized +79ms ο»Ώ[Nest] 10 - 06/05/2023, 2:19:05 AM LOG [InstanceLoader] MulterModule dependencies initialized +0ms ο»Ώ[Nest] 10 - 06/05/2023, 2:19:05 AM LOG [InstanceLoader] MulterModule dependencies initialized +0ms ο»Ώ[Nest] 10 - 06/05/2023, 2:19:05 AM LOG [InstanceLoader] o dependencies initialized +0ms ο»Ώ[Nest] 10 - 06/05/2023, 2:19:05 AM LOG [InstanceLoader] DiscoveryModule dependencies initialized +25ms ο»Ώ[Nest] 10 - 06/05/2023, 2:19:05 AM LOG [InstanceLoader] EventEmitterModule dependencies initialized +2ms ο»Ώ(node:10) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023. ο»ΏPlease migrate your code to use AWS SDK for JavaScript (v3). ο»ΏFor more information, check the migration guide at https://a.co/7PzMCcy ο»Ώ(Use `node --trace-warnings ...` to show where the warning was created) ο»Ώβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ββ EXCEPTION OCCURED!! in PGClient @ createDatabaseIfNotExists ββ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ββ - - - - - - - - - - - - - - - - - - - - - - ββ MESSAGE: ββ Knex: Timeout acquiring a connection. The pool is probably full. Are you ββ missing a .transacting(trx) call? ββ ββ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ββ - - - - - - - - - - - - - - - - - - - - - - ββ CODE: ββ undefined ββ ββ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ββ - - - - - - - - - - - - - - - - - - - - - - ββ STACK: ββ KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is ββ probably full. Are you missing a .transacting(trx) call? ββ at Client_PG.acquireConnection ββ (/usr/src/app/node_modules/knex/lib/client.js:307:26) ββ at async Runner.ensureConnection ββ (/usr/src/app/node_modules/knex/lib/execution/runner.js:287:28) ββ at async Runner.run ββ (/usr/src/app/node_modules/knex/lib/execution/runner.js:30:19) ββ at async f.createDatabaseIfNotExists ββ (/usr/src/app/docker/main.js:1:468119) ββ at async metaDbCreateIfNotExist (/usr/src/app/docker/main.js:1:1313979) ββ at async Function.create (/usr/src/app/docker/main.js:1:1312760) ββ at async InstanceWrapper.useFactory [as metatype] ββ (/usr/src/app/docker/main.js:1:888504) ββ at async Injector.instantiateClass ββ (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:355:37) ββ at async callback ββ (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:56:34) ββ at async Injector.resolveConstructorParams ββ (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:136:24) ββ ββ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ββ - - - - - - - - - - - - - - - - - - - - - - ββ ββ βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ο»ΏKnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? ο»Ώat Client_PG.acquireConnection (/usr/src/app/node_modules/knex/lib/client.js:307:26) ο»Ώat async Runner.ensureConnection (/usr/src/app/node_modules/knex/lib/execution/runner.js:287:28) ο»Ώat async Runner.run (/usr/src/app/node_modules/knex/lib/execution/runner.js:30:19) ο»Ώat async f.createDatabaseIfNotExists (/usr/src/app/docker/main.js:1:468119) ο»Ώat async metaDbCreateIfNotExist (/usr/src/app/docker/main.js:1:1313979) ο»Ώat async Function.create (/usr/src/app/docker/main.js:1:1312760) ο»Ώat async InstanceWrapper.useFactory [as metatype] (/usr/src/app/docker/main.js:1:888504) ο»Ώat async Injector.instantiateClass (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:355:37) ο»Ώat async callback (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:56:34) ο»Ώat async Injector.resolveConstructorParams (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:136:24) { ο»Ώsql: "SELECT datname as database FROM pg_database WHERE datistemplate = false and datname = 'railway'", ο»Ώbindings: undefined ο»Ώ} ο»Ώ[Nest] 10 - 06/05/2023, 2:20:05 AM ERROR [ExceptionHandler] KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? ο»ΏError: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? ο»Ώat Function.create (/usr/src/app/docker/main.js:1:1312808) ο»Ώat async InstanceWrapper.useFactory [as metatype] (/usr/src/app/docker/main.js:1:888504) ο»Ώat async Injector.instantiateClass (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:355:37) ο»Ώat async callback (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:56:34) ο»Ώat async Injector.resolveConstructorParams (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:136:24) ο»Ώat async Injector.loadInstance (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:61:13) ο»Ώat async /usr/src/app/node_modules/@nestjs/core/injector/instance-loader.js:56:13 ο»Ώat async Promise.all (index 3) ο»Ώat async InstanceLoader.createInstancesOfProviders (/usr/src/app/node_modules/@nestjs/core/injector/instance-loader.js:55:9) ο»Ώat async Injector.loadProvider (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:88:9) ο»Ώ[Nest] 8 - 06/05/2023, 2:20:11 AM LOG [NestFactory] Starting Nest application... ο»Ώ[Nest] 8 - 06/05/2023, 2:20:11 AM LOG [InstanceLoader] PassportModule dependencies initialized +76ms ο»Ώ[Nest] 8 - 06/05/2023, 2:20:11 AM LOG [InstanceLoader] MulterModule dependencies initialized +1ms ο»Ώ[Nest] 8 - 06/05/2023, 2:20:11 AM LOG [InstanceLoader] MulterModule dependencies initialized +0ms ο»Ώ[Nest] 8 - 06/05/2023, 2:20:11 AM LOG [InstanceLoader] o dependencies initialized +0ms ο»Ώ[Nest] 8 - 06/05/2023, 2:20:11 AM LOG [InstanceLoader] DiscoveryModule dependencies initialized +23ms ο»Ώ[Nest] 8 - 06/05/2023, 2:20:11 AM LOG [InstanceLoader] EventEmitterModule dependencies initialized +2ms ο»Ώ(node:8) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023. ο»ΏPlease migrate your code to use AWS SDK for JavaScript (v3). ο»ΏFor more information, check the migration guide at https://a.co/7PzMCcy ο»Ώ(Use `node --trace-warnings ...` to show where the warning was created) ο»Ώβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ββ EXCEPTION OCCURED!! in PGClient @ createDatabaseIfNotExists ββ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ββ - - - - - - - - - - - - - - - - - - - - - - ββ MESSAGE: ββ Knex: Timeout acquiring a connection. The pool is probably full. Are you ββ missing a .transacting(trx) call? ββ ββ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ββ - - - - - - - - - - - - - - - - - - - - - - ββ CODE: ββ undefined ββ ββ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ββ - - - - - - - - - - - - - - - - - - - - - - ββ STACK: ββ KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is ββ probably full. Are you missing a .transacting(trx) call? ββ at Client_PG.acquireConnection ββ (/usr/src/app/node_modules/knex/lib/client.js:307:26) ββ at async Runner.ensureConnection ββ (/usr/src/app/node_modules/knex/lib/execution/runner.js:287:28) ββ at async Runner.run ββ (/usr/src/app/node_modules/knex/lib/execution/runner.js:30:19) ββ at async f.createDatabaseIfNotExists ββ (/usr/src/app/docker/main.js:1:468119) ββ at async metaDbCreateIfNotExist (/usr/src/app/docker/main.js:1:1313979) ββ at async Function.create (/usr/src/app/docker/main.js:1:1312760) ββ at async InstanceWrapper.useFactory [as metatype] ββ (/usr/src/app/docker/main.js:1:888504) ββ at async Injector.instantiateClass ββ (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:355:37) ββ at async callback ββ (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:56:34) ββ at async Injector.resolveConstructorParams ββ (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:136:24) ββ ββ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ββ - - - - - - - - - - - - - - - - - - - - - - ββ ββ βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ ο»ΏKnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? ο»Ώat Client_PG.acquireConnection (/usr/src/app/node_modules/knex/lib/client.js:307:26) ο»Ώat async Runner.ensureConnection (/usr/src/app/node_modules/knex/lib/execution/runner.js:287:28) ο»Ώat async Runner.run (/usr/src/app/node_modules/knex/lib/execution/runner.js:30:19) ο»Ώat async f.createDatabaseIfNotExists (/usr/src/app/docker/main.js:1:468119) ο»Ώat async metaDbCreateIfNotExist (/usr/src/app/docker/main.js:1:1313979) ο»Ώat async Function.create (/usr/src/app/docker/main.js:1:1312760) ο»Ώat async InstanceWrapper.useFactory [as metatype] (/usr/src/app/docker/main.js:1:888504) ο»Ώat async Injector.instantiateClass (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:355:37) ο»Ώat async callback (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:56:34) ο»Ώat async Injector.resolveConstructorParams (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:136:24) { ο»Ώsql: "SELECT datname as database FROM pg_database WHERE datistemplate = false and datname = 'railway'", ο»Ώbindings: undefined ο»Ώ} ο»Ώ[Nest] 8 - 06/05/2023, 2:21:11 AM ERROR [ExceptionHandler] KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? ο»ΏError: KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? ο»Ώat Function.create (/usr/src/app/docker/main.js:1:1312808) ο»Ώat async InstanceWrapper.useFactory [as metatype] (/usr/src/app/docker/main.js:1:888504) ο»Ώat async Injector.instantiateClass (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:355:37) ο»Ώat async callback (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:56:34) ο»Ώat async Injector.resolveConstructorParams (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:136:24) ο»Ώat async Injector.loadInstance (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:61:13) ο»Ώat async Injector.loadProvider (/usr/src/app/node_modules/@nestjs/core/injector/injector.js:88:9) ο»Ώat async /usr/src/app/node_modules/@nestjs/core/injector/instance-loader.js:56:13The text was updated successfully, but these errors were encountered: