-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
Migrations not executed with Node 18, stuck on connecting #816
Comments
@wzrdtales Can you have a look? |
not enough information. include verbose run only common information i can share: remove |
if you're using ssl auth, this might be your issue. i just ported from the cockroachdb driver the SSL handling over to the pg driver version Example
|
@wzrdtales
Logs for a verbose run with the native config
|
It runs locally on Node18 but fails to run in a node docker container - node:18.15.0-alpine3.16. |
these are not verbose logs. verbose logs contain more information. do not strip information away... . anyhow the segmentation fault on node 18 is expected with native. so stop using it. I can't do anything about it, this is the fault of brianc/node-libpq#94 . So you will have to ask there for a fix. |
the latest pg driver and cockroachdb driver do have a config parser for the SSL parameters to work with the non native version, that is what we are using since this broke (we use the cockroachdb driver). |
and btw. it runs locally only b/c of some special constraints then in your setup. The whole issue is about openssl being upgraded to version 3. |
Okay, thanks. I'll check my setup to try to find the special constraints. Heroku only provides a DB connection string. We don't have the SSL parameters for the non-native mode. |
end of story is, find out how to run it without the native mode. If there are issues with the non native mode and you provide me with the information what exactly doesn't work, I can look what can be done. |
and that you don't have ssl params is wrong.
in your example it is there. I suggest just install the latest |
Using the latest |
I'm submitting a...
Current behavior
After upgrading to Node 18, db-migrate does not execute the migrations but exits silently without any error message.
We are using a PostgreSQL db. db-migrate seems to try connect, but no matter if the database is running or not, the process exists without any notice.
After going back to Node v16 everything works again as expected.
Expected behavior
Migrations should run
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Environment
The text was updated successfully, but these errors were encountered: