planka icon indicating copy to clipboard operation
planka copied to clipboard

Installation issue - KnexTimeoutError

Open AndyYangUK opened this issue 3 years ago • 4 comments

Hi

I'm trying to install Planka via the provided docker-compose file but running into an error that I cannot figure out.

In the docker-compose file, I updated the domain to https://test.mydomain.com and updated the secret key, as per the instructions.

After doing docker-compose up, I check the logs and see the following message on the planka container

today at 4:01 PM  /app/node_modules/knex/lib/client.js:348
today at 4:01 PM          convertedError = new KnexTimeoutError(
today at 4:01 PM                           ^
today at 4:01 PM  
today at 4:01 PM  KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
today at 4:01 PM      at Client_PG.acquireConnection (/app/node_modules/knex/lib/client.js:348:26)
today at 4:01 PM      at async /app/db/init.js:7:22 {
today at 4:01 PM    sql: undefined,
today at 4:01 PM    bindings: undefined
today at 4:01 PM  }
today at 4:01 PM  Tried 5 times. Waiting 5 seconds...

For context, here's my setup

AndyYangUK avatar Mar 10 '21 16:03 AndyYangUK

did you fix it ?

VozDeOuro avatar Jul 14 '22 19:07 VozDeOuro

I realize this is a year+ old issue, but I'm having the exact same problem with a Synology NAS when deploying using Portainer. Everything worked well the first time around, but a reboot has left things in a broken state.

amitjethani avatar Oct 12 '22 13:10 amitjethani

Edit: this is solved. Turned out to be a firewall issue.

amitjethani avatar Oct 13 '22 02:10 amitjethani