Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

keystone not working after heroku deployment #19

Open
datadu-de opened this issue Apr 3, 2021 · 0 comments
Open

keystone not working after heroku deployment #19

datadu-de opened this issue Apr 3, 2021 · 0 comments

Comments

@datadu-de
Copy link

2021-04-03T20:31:24.982547+00:00 app[web.1]: 
2021-04-03T20:31:24.982565+00:00 app[web.1]: > keystone-blog-enrichment@0.0.0 prestart /app
2021-04-03T20:31:24.982565+00:00 app[web.1]: > npm run initialise_db
2021-04-03T20:31:24.982566+00:00 app[web.1]: 
2021-04-03T20:31:25.343799+00:00 app[web.1]: 
2021-04-03T20:31:25.343849+00:00 app[web.1]: > keystone-blog-enrichment@0.0.0 initialise_db /app
2021-04-03T20:31:25.343850+00:00 app[web.1]: > knex seed:run && knex migrate:up
2021-04-03T20:31:25.343851+00:00 app[web.1]: 
2021-04-03T20:31:57.570539+00:00 app[web.1]: Could not connect to database: 'xxx'
2021-04-03T20:31:57.571038+00:00 app[web.1]: If this is the first time you've run Keystone, you can create your database with the following command:
2021-04-03T20:31:57.571134+00:00 app[web.1]: createdb xxx
2021-04-03T20:31:57.571668+00:00 app[web.1]: Error: Error while executing "/app/data/seeds/initial_data.js" seed: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
2021-04-03T20:31:57.571669+00:00 app[web.1]:     at Seeder._waterfallBatch (/app/node_modules/knex/lib/seed/Seeder.js:118:23)
2021-04-03T20:31:57.571670+00:00 app[web.1]: Error: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
2021-04-03T20:31:57.571671+00:00 app[web.1]:     at /app/node_modules/@keystonejs/utils/dist/utils.cjs.prod.js:45:97
2021-04-03T20:31:57.571671+00:00 app[web.1]:     at async Object.exports.seed (/app/data/seeds/initial_data.js:10:3)
2021-04-03T20:31:57.571672+00:00 app[web.1]:     at async Seeder._waterfallBatch (/app/node_modules/knex/lib/seed/Seeder.js:115:9)
2021-04-03T20:31:57.589002+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2021-04-03T20:31:57.589342+00:00 app[web.1]: npm ERR! errno 1
2021-04-03T20:31:57.595322+00:00 app[web.1]: npm ERR! keystone-blog-enrichment@0.0.0 initialise_db: `knex seed:run && knex migrate:up`
2021-04-03T20:31:57.595402+00:00 app[web.1]: npm ERR! Exit status 1
2021-04-03T20:31:57.595518+00:00 app[web.1]: npm ERR! 
2021-04-03T20:31:57.595595+00:00 app[web.1]: npm ERR! Failed at the keystone-blog-enrichment@0.0.0 initialise_db script.
2021-04-03T20:31:57.595686+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-04-03T20:31:57.603710+00:00 app[web.1]: 
2021-04-03T20:31:57.604015+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2021-04-03T20:31:57.604159+00:00 app[web.1]: npm ERR!     /app/.npm/_logs/2021-04-03T20_31_57_596Z-debug.log
2021-04-03T20:31:57.617713+00:00 app[web.1]: npm ERR! code ELIFECYCLE
2021-04-03T20:31:57.617990+00:00 app[web.1]: npm ERR! errno 1
2021-04-03T20:31:57.623283+00:00 app[web.1]: npm ERR! keystone-blog-enrichment@0.0.0 prestart: `npm run initialise_db`
2021-04-03T20:31:57.623364+00:00 app[web.1]: npm ERR! Exit status 1
2021-04-03T20:31:57.623466+00:00 app[web.1]: npm ERR! 
2021-04-03T20:31:57.623549+00:00 app[web.1]: npm ERR! Failed at the keystone-blog-enrichment@0.0.0 prestart script.
2021-04-03T20:31:57.623616+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2021-04-03T20:31:57.629937+00:00 app[web.1]: 
2021-04-03T20:31:57.630158+00:00 app[web.1]: npm ERR! A complete log of this run can be found in:
2021-04-03T20:31:57.630247+00:00 app[web.1]: npm ERR!     /app/.npm/_logs/2021-04-03T20_31_57_624Z-debug.log
2021-04-03T20:31:57.710482+00:00 heroku[web.1]: Process exited with status 1
2021-04-03T20:31:57.765381+00:00 heroku[web.1]: State changed from starting to crashed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant