Skip to content
New issue

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

sh: line 1: 5722 Segmentation fault sequelize db:migrate #794

Closed
ghost opened this issue Jun 25, 2019 · 1 comment
Closed

sh: line 1: 5722 Segmentation fault sequelize db:migrate #794

ghost opened this issue Jun 25, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 25, 2019

What you are doing?

Trying to migrate to database with sequelize db:migrate.

What do you expect to happen?

Just do it!

What is actually happening?

  • Segmentation fault
-------------------------------------
/var/log/nodejs/nodejs.log
-------------------------------------
> sequelize db:migrate && node server.js


[4mSequelize CLI [Node: 10.16.0, CLI: 5.4.0, ORM: 5.8.7][24m

Loaded configuration file "sequelize/config/config.js".
Using environment "production".
sh: line 1: 10118 Segmentation fault      sequelize db:migrate
npm ERR! code ELIFECYCLE
npm ERR! errno 139
npm ERR! code@1.0.0 start: `sequelize db:migrate && node server.js`
npm ERR! Exit status 139
npm ERR! 
npm ERR! Failed at the timeline_api@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

> code@1.0.0 start /var/app/current
> sequelize db:migrate && node server.js
-------------------------------------

Dialect: postgres
Database version: 11.3
Sequelize CLI version: 5.4.0
Sequelize version: 5.7.1

@ghost
Copy link
Author

ghost commented Jun 27, 2019

Found solution:

brianc/node-pg-native#70

brianc/node-pg-native#71

@ghost ghost closed this as completed Jun 27, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants